From f22159e257056557c9f710e99d5f86edaaeb2910 Mon Sep 17 00:00:00 2001 From: photonstorm Date: Thu, 28 Nov 2013 15:57:09 +0000 Subject: [PATCH] Updated documentation. --- Gruntfile.js | 14 - README.md | 6 +- build/phaser.js | 3031 ++-- build/phaser.min.js | 22 +- docs/Animation.js.html | 80 +- docs/AnimationManager.js.html | 546 +- docs/AnimationParser.js.html | 105 +- docs/ArcadePhysics.js.html | 297 +- docs/BitmapData.js.html | 1603 +++ docs/BitmapText.js.html | 181 +- docs/Body.js.html | 336 +- docs/Bullet.js.html | 1068 -- docs/Button.js.html | 191 +- docs/Cache.js.html | 319 +- docs/Camera.js.html | 127 +- docs/Canvas.js.html | 82 +- docs/Circle.js.html | 89 +- docs/Color.js.html | 121 +- docs/Debug.js.html | 132 +- docs/Device.js.html | 107 +- docs/Easing.js.html | 804 +- docs/Emitter.js.html | 302 +- docs/Events.js.html | 130 +- docs/Filter.js.html | 635 + docs/Frame.js.html | 256 +- docs/FrameData.js.html | 90 +- docs/Game.js.html | 764 +- docs/GameObjectFactory.js.html | 161 +- docs/Graphics.js.html | 65 +- docs/Group.js.html | 2428 ++-- docs/Input.js.html | 181 +- docs/InputHandler.js.html | 565 +- docs/IntroDocs.js.html | 44 +- docs/Key.js.html | 202 +- docs/Keyboard.js.html | 127 +- docs/LinkedList.js.html | 222 +- docs/Loader.js.html | 2339 +-- docs/LoaderParser.js.html | 56 +- docs/MSPointer.js.html | 123 +- docs/Math.js.html | 926 +- docs/Mouse.js.html | 238 +- docs/Net.js.html | 334 +- docs/Particles.js.html | 129 +- docs/Phaser.Animation.html | 54 +- docs/Phaser.AnimationManager.html | 42 +- docs/Phaser.AnimationParser.html | 42 +- docs/Phaser.BitmapData.html | 11992 ++++++++++++++++ docs/Phaser.BitmapText.html | 518 +- docs/Phaser.Button.html | 112 +- docs/Phaser.Cache.html | 516 +- docs/Phaser.Camera.html | 62 +- docs/Phaser.Canvas.html | 53 +- docs/Phaser.Circle.html | 52 +- docs/Phaser.Color.html | 130 +- docs/Phaser.Device.html | 560 +- docs/Phaser.Easing.Back.html | 50 +- docs/Phaser.Easing.Bounce.html | 50 +- docs/Phaser.Easing.Circular.html | 50 +- docs/Phaser.Easing.Cubic.html | 50 +- docs/Phaser.Easing.Elastic.html | 50 +- docs/Phaser.Easing.Exponential.html | 50 +- docs/Phaser.Easing.Linear.html | 46 +- docs/Phaser.Easing.Quadratic.html | 50 +- docs/Phaser.Easing.Quartic.html | 50 +- docs/Phaser.Easing.Quintic.html | 50 +- docs/Phaser.Easing.Sinusoidal.html | 50 +- docs/Phaser.Easing.html | 44 +- docs/Phaser.Events.html | 54 +- docs/Phaser.Filter.html | 1925 +++ docs/Phaser.Frame.html | 42 +- docs/Phaser.FrameData.html | 42 +- docs/Phaser.Game.html | 56 +- docs/Phaser.GameObjectFactory.html | 527 +- docs/Phaser.Graphics.html | 48 +- docs/Phaser.Group.html | 155 +- docs/Phaser.Input.html | 288 +- docs/Phaser.InputHandler.html | 1319 +- docs/Phaser.Key.html | 42 +- docs/Phaser.Keyboard.html | 88 +- docs/Phaser.LinkedList.html | 42 +- docs/Phaser.Loader.html | 1938 ++- docs/Phaser.LoaderParser.html | 42 +- docs/Phaser.MSPointer.html | 387 +- docs/Phaser.Math.html | 94 +- docs/Phaser.Mouse.html | 339 +- docs/Phaser.Net.html | 52 +- docs/Phaser.Particles.Arcade.Emitter.html | 149 +- docs/Phaser.Particles.html | 160 +- docs/Phaser.Physics.Arcade.Body.html | 42 +- docs/Phaser.Physics.Arcade.html | 275 +- docs/Phaser.Physics.html | 42 +- docs/Phaser.Plugin.html | 42 +- docs/Phaser.PluginManager.html | 135 +- docs/Phaser.Point.html | 215 +- docs/Phaser.Pointer.html | 792 +- docs/Phaser.Polygon.html | 42 +- docs/Phaser.QuadTree.html | 50 +- docs/Phaser.RandomDataGenerator.html | 140 +- docs/Phaser.Rectangle.html | 78 +- docs/Phaser.RenderTexture.html | 67 +- docs/Phaser.RequestAnimationFrame.html | 58 +- docs/Phaser.Signal.html | 60 +- docs/Phaser.Sound.html | 524 +- docs/Phaser.SoundManager.html | 553 +- docs/Phaser.Sprite.html | 207 +- docs/Phaser.Stage.html | 48 +- docs/Phaser.StageScaleMode.html | 1009 +- docs/Phaser.State.html | 52 +- docs/Phaser.StateManager.html | 516 +- docs/Phaser.Text.html | 668 +- docs/Phaser.Tile.html | 3092 ++++ docs/Phaser.TileSprite.html | 7069 ++++++++- docs/Phaser.Tilemap.html | 5205 +++++++ ...r.Bullet.html => Phaser.TilemapLayer.html} | 1593 +- docs/Phaser.TilemapParser.html | 1341 ++ docs/Phaser.Tileset.html | 2780 ++++ docs/Phaser.Time.html | 312 +- docs/Phaser.Timer.html | 746 + docs/Phaser.Touch.html | 390 +- docs/Phaser.Tween.html | 121 +- docs/Phaser.TweenManager.html | 48 +- docs/Phaser.Utils.Debug.html | 428 +- docs/Phaser.Utils.html | 52 +- docs/Phaser.World.html | 62 +- docs/Phaser.html | 66 +- docs/Phaser.js.html | 47 +- docs/Plugin.js.html | 88 +- docs/PluginManager.js.html | 122 +- docs/Point.js.html | 124 +- docs/Pointer.js.html | 237 +- docs/Polygon.js.html | 46 +- docs/QuadTree.js.html | 437 +- docs/RandomDataGenerator.js.html | 487 +- docs/Rectangle.js.html | 83 +- docs/RenderTexture.js.html | 366 +- docs/RequestAnimationFrame.js.html | 261 +- docs/Signal.js.html | 589 +- docs/SignalBinding.html | 48 +- docs/SignalBinding.js.html | 86 +- docs/Sound.js.html | 307 +- docs/SoundManager.js.html | 183 +- docs/Sprite.js.html | 217 +- docs/Stage.js.html | 104 +- docs/StageScaleMode.js.html | 151 +- docs/State.js.html | 128 +- docs/StateManager.js.html | 681 +- docs/Text.js.html | 192 +- docs/Tile.js.html | 693 + docs/TileSprite.js.html | 77 +- docs/Tilemap.js.html | 1111 ++ docs/TilemapLayer.js.html | 1307 ++ docs/TilemapParser.js.html | 698 + docs/Tileset.js.html | 680 + docs/Time.js.html | 132 +- docs/Timer.js.html | 601 + docs/Touch.js.html | 144 +- docs/Tween.js.html | 678 +- docs/TweenManager.js.html | 313 +- docs/Utils.js.html | 481 +- docs/World.js.html | 122 +- docs/classes.list.html | 66 +- docs/global.html | 499 +- docs/index.html | 44 +- docs/namespaces.list.html | 66 +- docs/styles/site.amelia.css | 6349 -------- docs/styles/site.cosmo.css | 5910 -------- docs/styles/site.cyborg.css | 6104 -------- docs/styles/site.darkstrap.css | 5638 -------- docs/styles/site.flatly.css | 5949 -------- docs/styles/site.journal.css | 5719 -------- docs/styles/site.readable.css | 5407 ------- docs/styles/site.simplex.css | 5732 -------- docs/styles/site.slate.css | 6178 -------- docs/styles/site.spacelab.css | 5734 -------- docs/styles/site.spruce.css | 5889 -------- docs/styles/site.superhero.css | 6074 -------- docs/styles/site.united.css | 5519 ------- examples/_site/js/phaser-examples.js | 4 +- examples/_site/js/phaser-viewer.js | 14 + examples/_site/view_full.html | 20 +- examples/_site/view_lite.html | 18 + examples/loader/load tilemap json.js | 16 +- src/core/Filter.js | 1 - src/core/Signal.js | 14 +- src/core/SignalBinding.js | 14 +- src/gameobjects/BitmapData.js | 101 +- src/gameobjects/BitmapText.js | 9 +- src/gameobjects/Button.js | 15 +- src/gameobjects/Events.js | 13 +- src/gameobjects/GameObjectFactory.js | 10 +- src/gameobjects/Sprite.js | 6 +- src/loader/Loader.js | 3 +- src/tilemap/Tile.js | 1 - 193 files changed, 67984 insertions(+), 92183 deletions(-) create mode 100644 docs/BitmapData.js.html delete mode 100644 docs/Bullet.js.html create mode 100644 docs/Filter.js.html create mode 100644 docs/Phaser.BitmapData.html create mode 100644 docs/Phaser.Filter.html create mode 100644 docs/Phaser.Tile.html create mode 100644 docs/Phaser.Tilemap.html rename docs/{Phaser.Bullet.html => Phaser.TilemapLayer.html} (57%) create mode 100644 docs/Phaser.TilemapParser.html create mode 100644 docs/Phaser.Tileset.html create mode 100644 docs/Phaser.Timer.html create mode 100644 docs/Tile.js.html create mode 100644 docs/Tilemap.js.html create mode 100644 docs/TilemapLayer.js.html create mode 100644 docs/TilemapParser.js.html create mode 100644 docs/Tileset.js.html create mode 100644 docs/Timer.js.html delete mode 100644 docs/styles/site.amelia.css delete mode 100644 docs/styles/site.cosmo.css delete mode 100644 docs/styles/site.cyborg.css delete mode 100644 docs/styles/site.darkstrap.css delete mode 100644 docs/styles/site.flatly.css delete mode 100644 docs/styles/site.journal.css delete mode 100644 docs/styles/site.readable.css delete mode 100644 docs/styles/site.simplex.css delete mode 100644 docs/styles/site.slate.css delete mode 100644 docs/styles/site.spacelab.css delete mode 100644 docs/styles/site.spruce.css delete mode 100644 docs/styles/site.superhero.css delete mode 100644 docs/styles/site.united.css diff --git a/Gruntfile.js b/Gruntfile.js index 3ea7d3116d..d44632b22f 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -28,21 +28,7 @@ module.exports = function (grunt) { 'src/pixi/extras/Rope.js', 'src/pixi/extras/TilingSprite.js', 'src/pixi/filters/AbstractFilter.js', - 'src/pixi/filters/BlurFilter.js', - 'src/pixi/filters/BlurXFilter.js', - 'src/pixi/filters/BlurYFilter.js', - 'src/pixi/filters/ColorMatrixFilter.js', - 'src/pixi/filters/CrossHatchFilter.js', - 'src/pixi/filters/DisplacementFilter.js', - 'src/pixi/filters/DotScreenFilter.js', 'src/pixi/filters/FilterBlock.js', - 'src/pixi/filters/GreyFilter.js', - 'src/pixi/filters/InvertFilter.js', - 'src/pixi/filters/PixelateFilter.js', - 'src/pixi/filters/RGBSplitFilter.js', - 'src/pixi/filters/SepiaFilter.js', - 'src/pixi/filters/SmartBlurFilter.js', - 'src/pixi/filters/TwistFilter.js', 'src/pixi/primitives/Graphics.js', 'src/pixi/renderers/canvas/CanvasGraphics.js', 'src/pixi/renderers/canvas/CanvasRenderer.js', diff --git a/README.md b/README.md index 28b97daf2e..8d6a43a647 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ Phaser 1.1 Phaser is a fast, free and fun open source game framework for making desktop and mobile browser HTML5 games. It uses [Pixi.js](https://github.com/GoodBoyDigital/pixi.js/) internally for fast 2D Canvas and WebGL rendering. -Version: 1.1.3 - Released: -in development- +Version: 1.1.3 - Released: November 28th 2013 By Richard Davey, [Photon Storm](http://www.photonstorm.com) @@ -39,7 +39,7 @@ Phaser is everything we ever wanted from an HTML5 game framework. It powers all Change Log ---------- -Version 1.1.3 - in build +Version 1.1.3 - November 28th 2013 * New: Added a .jshintrc so contributions can be run through JSHint to help retain formatting across the library (thanks kevinthompson) * New: The entire Phaser library has been updated to match the new JSHint configuration. @@ -250,7 +250,7 @@ Before submitting a pull request, please run your code through [JSHint](http://w Bugs? ----- -Please add them to the [Issue Tracker][1] with as much info as possible. +Please add them to the [Issue Tracker][1] with as much info as possible, especially source code demonstrating the issue. ![Phaser Tilemap](http://www.photonstorm.com/wp-content/uploads/2013/04/phaser_tilemap_collision.png) diff --git a/build/phaser.js b/build/phaser.js index 87026954dc..0b9878964f 100644 --- a/build/phaser.js +++ b/build/phaser.js @@ -18,7 +18,7 @@ * * Phaser - http://www.phaser.io * -* v1.1.3 - Built at: Mon Nov 25 2013 14:14:28 +* v1.1.3 - Built at: Thu Nov 28 2013 14:52:32 * * By Richard Davey http://www.photonstorm.com @photonstorm * @@ -2602,539 +2602,6 @@ PIXI.AbstractFilter = function(fragmentSrc, uniforms) */ -/** - * - * The BlurFilter applies a Gaussian blur to an object. - * The strength of the blur can be set for x- and y-axis separately (always relative to the stage). - * - * @class BlurFilter - * @contructor - */ -PIXI.BlurFilter = function() -{ - - this.blurXFilter = new PIXI.BlurXFilter(); - this.blurYFilter = new PIXI.BlurYFilter(); - - this.passes =[this.blurXFilter, this.blurYFilter]; - -} - -/** - * Sets the strength of both the blurX and blurY properties simultaneously - * - * @property blur - * @type Number the strength of the blur - * @default 2 - */ -Object.defineProperty(PIXI.BlurFilter.prototype, 'blur', { - get: function() { - return this.blurXFilter.blur; - }, - set: function(value) { - this.blurXFilter.blur = this.blurYFilter.blur = value; - } -}); - -/** - * Sets the strength of the blurX property simultaneously - * - * @property blurX - * @type Number the strength of the blurX - * @default 2 - */ -Object.defineProperty(PIXI.BlurFilter.prototype, 'blurX', { - get: function() { - return this.blurXFilter.blur; - }, - set: function(value) { - this.blurXFilter.blur = value; - } -}); - -/** - * Sets the strength of the blurX property simultaneously - * - * @property blurY - * @type Number the strength of the blurY - * @default 2 - */ -Object.defineProperty(PIXI.BlurFilter.prototype, 'blurY', { - get: function() { - return this.blurYFilter.blur; - }, - set: function(value) { - this.blurYFilter.blur = value; - } -}); - -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - - - -PIXI.BlurXFilter = function() -{ - PIXI.AbstractFilter.call( this ); - - this.passes = [this]; - - // set the uniforms - this.uniforms = { - blur: {type: '1f', value: 1/512}, - }; - - this.fragmentSrc = [ - "precision mediump float;", - "varying vec2 vTextureCoord;", - "varying float vColor;", - "uniform float blur;", - "uniform sampler2D uSampler;", - "void main(void) {", - "vec4 sum = vec4(0.0);", - - "sum += texture2D(uSampler, vec2(vTextureCoord.x - 4.0*blur, vTextureCoord.y)) * 0.05;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x - 3.0*blur, vTextureCoord.y)) * 0.09;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x - 2.0*blur, vTextureCoord.y)) * 0.12;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x - blur, vTextureCoord.y)) * 0.15;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y)) * 0.16;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x + blur, vTextureCoord.y)) * 0.15;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x + 2.0*blur, vTextureCoord.y)) * 0.12;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x + 3.0*blur, vTextureCoord.y)) * 0.09;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x + 4.0*blur, vTextureCoord.y)) * 0.05;", - - "gl_FragColor = sum;", - - "}" - ]; -} - -PIXI.BlurXFilter.prototype = Object.create( PIXI.AbstractFilter.prototype ); -PIXI.BlurXFilter.prototype.constructor = PIXI.BlurXFilter; - - -Object.defineProperty(PIXI.BlurXFilter.prototype, 'blur', { - get: function() { - return this.uniforms.blur.value / (1/7000); - }, - set: function(value) { - - this.dirty = true; - this.uniforms.blur.value = (1/7000) * value; - } -}); - -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - - - -PIXI.BlurYFilter = function() -{ - PIXI.AbstractFilter.call( this ); - - this.passes = [this]; - - // set the uniforms - this.uniforms = { - blur: {type: '1f', value: 1/512}, - }; - - this.fragmentSrc = [ - "precision mediump float;", - "varying vec2 vTextureCoord;", - "varying float vColor;", - "uniform float blur;", - "uniform sampler2D uSampler;", - "void main(void) {", - "vec4 sum = vec4(0.0);", - - "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 4.0*blur)) * 0.05;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 3.0*blur)) * 0.09;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 2.0*blur)) * 0.12;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - blur)) * 0.15;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y)) * 0.16;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + blur)) * 0.15;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 2.0*blur)) * 0.12;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 3.0*blur)) * 0.09;", - "sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 4.0*blur)) * 0.05;", - - "gl_FragColor = sum;", - - "}" - ]; -} - -PIXI.BlurYFilter.prototype = Object.create( PIXI.AbstractFilter.prototype ); -PIXI.BlurYFilter.prototype.constructor = PIXI.BlurYFilter; - -Object.defineProperty(PIXI.BlurYFilter.prototype, 'blur', { - get: function() { - return this.uniforms.blur.value / (1/7000); - }, - set: function(value) { - //this.padding = value; - this.uniforms.blur.value = (1/7000) * value; - } -}); - -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - -/** - * - * The ColorMatrixFilter class lets you apply a 4x4 matrix transformation on the RGBA - * color and alpha values of every pixel on your displayObject to produce a result - * with a new set of RGBA color and alpha values. Its pretty powerful! - * @class ColorMatrixFilter - * @contructor - */ -PIXI.ColorMatrixFilter = function() -{ - PIXI.AbstractFilter.call( this ); - - this.passes = [this]; - - // set the uniforms - this.uniforms = { - matrix: {type: 'mat4', value: [1,0,0,0, - 0,1,0,0, - 0,0,1,0, - 0,0,0,1]}, - }; - - this.fragmentSrc = [ - "precision mediump float;", - "varying vec2 vTextureCoord;", - "varying float vColor;", - "uniform float invert;", - "uniform mat4 matrix;", - "uniform sampler2D uSampler;", - "void main(void) {", - "gl_FragColor = texture2D(uSampler, vTextureCoord) * matrix;", - "gl_FragColor = gl_FragColor * vColor;", - "}" - ]; - -} - -PIXI.ColorMatrixFilter.prototype = Object.create( PIXI.AbstractFilter.prototype ); -PIXI.ColorMatrixFilter.prototype.constructor = PIXI.ColorMatrixFilter; - -/** - * Sets the matrix of the color matrix filter - * - * @property matrix - * @type Array and array of 26 numbers - * @default [1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1] - */ -Object.defineProperty(PIXI.ColorMatrixFilter.prototype, 'matrix', { - get: function() { - return this.uniforms.matrix.value; - }, - set: function(value) { - this.uniforms.matrix.value = value; - } -}); -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - - - -PIXI.CrossHatchFilter = function() -{ - PIXI.AbstractFilter.call( this ); - - this.passes = [this]; - - // set the uniforms - this.uniforms = { - blur: {type: '1f', value: 1/512}, - }; - - this.fragmentSrc = [ - "precision mediump float;", - "varying vec2 vTextureCoord;", - "varying float vColor;", - "uniform float blur;", - "uniform sampler2D uSampler;", - "void main(void) {", - - - " float lum = length(texture2D(uSampler, vTextureCoord.xy).rgb);", - " ", - " gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0);", - " ", - " if (lum < 1.00) {", - " if (mod(gl_FragCoord.x + gl_FragCoord.y, 10.0) === 0.0) {", - " gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);", - " }", - " }", - " ", - " if (lum < 0.75) {", - " if (mod(gl_FragCoord.x - gl_FragCoord.y, 10.0) === 0.0) {", - " gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);", - " }", - " }", - " ", - " if (lum < 0.50) {", - " if (mod(gl_FragCoord.x + gl_FragCoord.y - 5.0, 10.0) === 0.0) {", - " gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);", - " }", - " }", - " ", - " if (lum < 0.3) {", - " if (mod(gl_FragCoord.x - gl_FragCoord.y - 5.0, 10.0) === 0.0) {", - " gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);", - " }", - " }", - "}" - ]; -} - -PIXI.CrossHatchFilter.prototype = Object.create( PIXI.AbstractFilter.prototype ); -PIXI.CrossHatchFilter.prototype.constructor = PIXI.BlurYFilter; - -Object.defineProperty(PIXI.CrossHatchFilter.prototype, 'blur', { - get: function() { - return this.uniforms.blur.value / (1/7000); - }, - set: function(value) { - //this.padding = value; - this.uniforms.blur.value = (1/7000) * value; - } -}); - -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - - -/** - * - * The DisplacementFilter class uses the pixel values from the specified texture (called the displacement map) to perform a displacement of an object. - * You can use this filter to apply all manor of crazy warping effects - * Currently the r property of the texture is used offset the x and the g propery of the texture is used to offset the y. - * @class DisplacementFilter - * @contructor - * @param texture {Texture} The texture used for the displacemtent map * must be power of 2 texture at the moment - */ -PIXI.DisplacementFilter = function(texture) -{ - PIXI.AbstractFilter.call( this ); - - this.passes = [this]; - texture.baseTexture._powerOf2 = true; - - // set the uniforms - //console.log() - this.uniforms = { - displacementMap: {type: 'sampler2D', value:texture}, - scale: {type: '2f', value:{x:30, y:30}}, - offset: {type: '2f', value:{x:0, y:0}}, - mapDimensions: {type: '2f', value:{x:1, y:5112}}, - dimensions: {type: '4fv', value:[0,0,0,0]} - }; - - - if(texture.baseTexture.hasLoaded) - { - this.uniforms.mapDimensions.value.x = texture.width; - this.uniforms.mapDimensions.value.y = texture.height; - } - else - { - this.boundLoadedFunction = this.onTextureLoaded.bind(this); - - texture.baseTexture.on("loaded", this.boundLoadedFunction); - } - - this.fragmentSrc = [ - "precision mediump float;", - "varying vec2 vTextureCoord;", - "varying float vColor;", - "uniform sampler2D displacementMap;", - "uniform sampler2D uSampler;", - "uniform vec2 scale;", - "uniform vec2 offset;", - "uniform vec4 dimensions;", - "uniform vec2 mapDimensions;",// = vec2(256.0, 256.0);", - // "const vec2 textureDimensions = vec2(750.0, 750.0);", - - "void main(void) {", - "vec2 mapCords = vTextureCoord.xy;", -// "mapCords -= ;", - "mapCords += (dimensions.zw + offset)/ dimensions.xy ;", - "mapCords.y *= -1.0;", - "mapCords.y += 1.0;", - "vec2 matSample = texture2D(displacementMap, mapCords).xy;", - "matSample -= 0.5;", - "matSample *= scale;", - "matSample /= mapDimensions;", - "gl_FragColor = texture2D(uSampler, vec2(vTextureCoord.x + matSample.x, vTextureCoord.y + matSample.y));", - "gl_FragColor.rgb = mix( gl_FragColor.rgb, gl_FragColor.rgb, 1.0);", - "vec2 cord = vTextureCoord;", - - //"gl_FragColor = texture2D(displacementMap, cord);", - "gl_FragColor = gl_FragColor * vColor;", - - "}" - ]; - -} - -PIXI.DisplacementFilter.prototype = Object.create( PIXI.AbstractFilter.prototype ); -PIXI.DisplacementFilter.prototype.constructor = PIXI.DisplacementFilter; - -PIXI.DisplacementFilter.prototype.onTextureLoaded = function() -{ - - this.uniforms.mapDimensions.value.x = this.uniforms.displacementMap.value.width; - this.uniforms.mapDimensions.value.y = this.uniforms.displacementMap.value.height; - - this.uniforms.displacementMap.value.baseTexture.off("loaded", this.boundLoadedFunction) - -} - -/** - * The texture used for the displacemtent map * must be power of 2 texture at the moment - * - * @property map - * @type Texture - */ -Object.defineProperty(PIXI.DisplacementFilter.prototype, 'map', { - get: function() { - return this.uniforms.displacementMap.value; - }, - set: function(value) { - this.uniforms.displacementMap.value = value; - } -}); - -/** - * The multiplier used to scale the displacement result from the map calculation. - * - * @property scale - * @type Point - */ -Object.defineProperty(PIXI.DisplacementFilter.prototype, 'scale', { - get: function() { - return this.uniforms.scale.value; - }, - set: function(value) { - this.uniforms.scale.value = value; - } -}); - -/** - * The offset used to move the displacement map. - * - * @property offset - * @type Point - */ -Object.defineProperty(PIXI.DisplacementFilter.prototype, 'offset', { - get: function() { - return this.uniforms.offset.value; - }, - set: function(value) { - this.uniforms.offset.value = value; - } -}); -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - * original filter: https://github.com/evanw/glfx.js/blob/master/src/filters/fun/dotscreen.js - */ - -/** - * - * This filter applies a pixlate effect making display objects appear "blocky" - * @class PixelateFilter - * @contructor - */ -PIXI.DotScreenFilter = function() -{ - PIXI.AbstractFilter.call( this ); - - this.passes = [this]; - - // set the uniforms - this.uniforms = { - scale: {type: '1f', value:1}, - angle: {type: '1f', value:5}, - dimensions: {type: '4fv', value:[0,0,0,0]} - }; - - this.fragmentSrc = [ - "precision mediump float;", - "varying vec2 vTextureCoord;", - "varying float vColor;", - "uniform vec4 dimensions;", - "uniform sampler2D uSampler;", - - "uniform float angle;", - "uniform float scale;", - - "float pattern() {", - "float s = sin(angle), c = cos(angle);", - "vec2 tex = vTextureCoord * dimensions.xy;", - "vec2 point = vec2(", - "c * tex.x - s * tex.y,", - "s * tex.x + c * tex.y", - ") * scale;", - "return (sin(point.x) * sin(point.y)) * 4.0;", - "}", - - "void main() {", - "vec4 color = texture2D(uSampler, vTextureCoord);", - "float average = (color.r + color.g + color.b) / 3.0;", - "gl_FragColor = vec4(vec3(average * 10.0 - 5.0 + pattern()), color.a);", - "}", - ]; -} - -PIXI.DotScreenFilter.prototype = Object.create( PIXI.DotScreenFilter.prototype ); -PIXI.DotScreenFilter.prototype.constructor = PIXI.DotScreenFilter; - -/** - * - * This describes the the scale - * @property scale - * @type Number - */ -Object.defineProperty(PIXI.DotScreenFilter.prototype, 'scale', { - get: function() { - return this.uniforms.scale.value; - }, - set: function(value) { - this.dirty = true; - this.uniforms.scale.value = value; - } -}); - -/** - * - * This radius describes angle - * @property angle - * @type Number - */ -Object.defineProperty(PIXI.DotScreenFilter.prototype, 'angle', { - get: function() { - return this.uniforms.angle.value; - }, - set: function(value) { - this.dirty = true; - this.uniforms.angle.value = value; - } -}); -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - - PIXI.FilterBlock = function() { @@ -3145,395 +2612,6 @@ PIXI.FilterBlock = function() * @author Mat Groves http://matgroves.com/ @Doormat23 */ -/** - * - * This inverts your displayObjects colors. - * @class InvertFilter - * @contructor - */ -PIXI.InvertFilter = function() -{ - PIXI.AbstractFilter.call( this ); - - this.passes = [this]; - - // set the uniforms - this.uniforms = { - invert: {type: '1f', value: 1}, - }; - - this.fragmentSrc = [ - "precision mediump float;", - "varying vec2 vTextureCoord;", - "varying float vColor;", - "uniform float invert;", - "uniform sampler2D uSampler;", - "void main(void) {", - "gl_FragColor = texture2D(uSampler, vTextureCoord);", - "gl_FragColor.rgb = mix( (vec3(1)-gl_FragColor.rgb) * gl_FragColor.a, gl_FragColor.rgb, 1.0 - invert);", - //"gl_FragColor.rgb = gl_FragColor.rgb * gl_FragColor.a;", - "gl_FragColor = gl_FragColor * vColor;", - "}" - ]; - -} - -PIXI.InvertFilter.prototype = Object.create( PIXI.AbstractFilter.prototype ); -PIXI.InvertFilter.prototype.constructor = PIXI.InvertFilter; - -/** -The strength of the invert. 1 will fully invert the colors, 0 will make the object its normal color -@property invert -*/ -Object.defineProperty(PIXI.InvertFilter.prototype, 'invert', { - get: function() { - return this.uniforms.invert.value; - }, - set: function(value) { - this.uniforms.invert.value = value; - } -}); -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - -/** - * - * This filter applies a pixlate effect making display objects appear "blocky" - * @class PixelateFilter - * @contructor - */ -PIXI.PixelateFilter = function() -{ - PIXI.AbstractFilter.call( this ); - - this.passes = [this]; - - // set the uniforms - this.uniforms = { - invert: {type: '1f', value: 0}, - dimensions: {type: '4fv', value:new Float32Array([10000, 100, 10, 10])}, - pixelSize: {type: '2f', value:{x:10, y:10}}, - }; - - this.fragmentSrc = [ - "precision mediump float;", - "varying vec2 vTextureCoord;", - "varying float vColor;", - "uniform vec2 testDim;", - "uniform vec4 dimensions;", - "uniform vec2 pixelSize;", - "uniform sampler2D uSampler;", - "void main(void) {", - "vec2 coord = vTextureCoord;", - - "vec2 size = dimensions.xy/pixelSize;", - - "vec2 color = floor( ( vTextureCoord * size ) ) / size + pixelSize/dimensions.xy * 0.5;", - "gl_FragColor = texture2D(uSampler, color);", - "}" - ]; - - -} - -PIXI.PixelateFilter.prototype = Object.create( PIXI.AbstractFilter.prototype ); -PIXI.PixelateFilter.prototype.constructor = PIXI.PixelateFilter; - -/** - * - * This a point that describes the size of the blocs. x is the width of the block and y is the the height - * @property size - * @type Point - */ -Object.defineProperty(PIXI.PixelateFilter.prototype, 'size', { - get: function() { - return this.uniforms.pixelSize.value; - }, - set: function(value) { - this.dirty = true; - this.uniforms.pixelSize.value = value; - } -}); -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - - - -PIXI.RGBSplitFilter = function() -{ - PIXI.AbstractFilter.call( this ); - - this.passes = [this]; - - // set the uniforms - this.uniforms = { - red: {type: '2f', value: {x:20, y:20}}, - green: {type: '2f', value: {x:-20, y:20}}, - blue: {type: '2f', value: {x:20, y:-20}}, - dimensions: {type: '4fv', value:[0,0,0,0]} - }; - - this.fragmentSrc = [ - "precision mediump float;", - "varying vec2 vTextureCoord;", - "varying float vColor;", - "uniform vec2 red;", - "uniform vec2 green;", - "uniform vec2 blue;", - "uniform vec4 dimensions;", - "uniform sampler2D uSampler;", - "void main(void) {", - "gl_FragColor.r = texture2D(uSampler, vTextureCoord + red/dimensions.xy).r;", - "gl_FragColor.g = texture2D(uSampler, vTextureCoord + green/dimensions.xy).g;", - "gl_FragColor.b = texture2D(uSampler, vTextureCoord + blue/dimensions.xy).b;", - "gl_FragColor.a = texture2D(uSampler, vTextureCoord).a;", - "}" - ]; -} - -PIXI.RGBSplitFilter.prototype = Object.create( PIXI.AbstractFilter.prototype ); -PIXI.RGBSplitFilter.prototype.constructor = PIXI.RGBSplitFilter; - -Object.defineProperty(PIXI.RGBSplitFilter.prototype, 'angle', { - get: function() { - return this.uniforms.blur.value / (1/7000); - }, - set: function(value) { - //this.padding = value; - this.uniforms.blur.value = (1/7000) * value; - } -}); - -/** -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - - -/** - * - * This applies a sepia effect to your displayObjects. - * @class SepiaFilter - * @contructor - */ -PIXI.SepiaFilter = function() -{ - PIXI.AbstractFilter.call( this ); - - this.passes = [this]; - - // set the uniforms - this.uniforms = { - sepia: {type: '1f', value: 1}, - }; - - this.fragmentSrc = [ - "precision mediump float;", - "varying vec2 vTextureCoord;", - "varying float vColor;", - "uniform float sepia;", - "uniform sampler2D uSampler;", - - "const mat3 sepiaMatrix = mat3(0.3588, 0.7044, 0.1368, 0.2990, 0.5870, 0.1140, 0.2392, 0.4696, 0.0912);", - "void main(void) {", - "gl_FragColor = texture2D(uSampler, vTextureCoord);", - "gl_FragColor.rgb = mix( gl_FragColor.rgb, gl_FragColor.rgb * sepiaMatrix, sepia);", - "gl_FragColor = gl_FragColor * vColor;", - "}" - ]; - -} - -PIXI.SepiaFilter.prototype = Object.create( PIXI.AbstractFilter.prototype ); -PIXI.SepiaFilter.prototype.constructor = PIXI.SepiaFilter; - -/** -The strength of the sepia. 1 will apply the full sepia effect, 0 will make the object its normal color -@property sepia -*/ -Object.defineProperty(PIXI.SepiaFilter.prototype, 'sepia', { - get: function() { - return this.uniforms.sepia.value; - }, - set: function(value) { - this.uniforms.sepia.value = value; - } -}); - -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - - - -PIXI.SmartBlurFilter = function() -{ - PIXI.AbstractFilter.call( this ); - - this.passes = [this]; - - // set the uniforms - this.uniforms = { - blur: {type: '1f', value: 1/512}, - }; - - this.fragmentSrc = [ - "precision mediump float;", - "varying vec2 vTextureCoord;", - "uniform sampler2D uSampler;", - // "uniform vec2 delta;", - "const vec2 delta = vec2(1.0/10.0, 0.0);", - // "uniform float darkness;", - - "float random(vec3 scale, float seed) {", - "return fract(sin(dot(gl_FragCoord.xyz + seed, scale)) * 43758.5453 + seed);", - "}", - - - "void main(void) {", - - "vec4 color = vec4(0.0);", - "float total = 0.0;", - - "float offset = random(vec3(12.9898, 78.233, 151.7182), 0.0);", - - "for (float t = -30.0; t <= 30.0; t++) {", - "float percent = (t + offset - 0.5) / 30.0;", - "float weight = 1.0 - abs(percent);", - "vec4 sample = texture2D(uSampler, vTextureCoord + delta * percent);", - "sample.rgb *= sample.a;", - "color += sample * weight;", - "total += weight;", - "}", - - "gl_FragColor = color / total;", - "gl_FragColor.rgb /= gl_FragColor.a + 0.00001;", - // "gl_FragColor.rgb *= darkness;", - "}" - ]; -} - -PIXI.SmartBlurFilter.prototype = Object.create( PIXI.AbstractFilter.prototype ); -PIXI.SmartBlurFilter.prototype.constructor = PIXI.SmartBlurFilter; - -Object.defineProperty(PIXI.SmartBlurFilter.prototype, 'blur', { - get: function() { - return this.uniforms.blur.value; - }, - set: function(value) { - this.uniforms.blur.value = value; - } -}); - -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - -/** - * - * This filter applies a pixlate effect making display objects appear "blocky" - * @class PixelateFilter - * @contructor - */ -PIXI.TwistFilter = function() -{ - PIXI.AbstractFilter.call( this ); - - this.passes = [this]; - - // set the uniforms - this.uniforms = { - radius: {type: '1f', value:0.5}, - angle: {type: '1f', value:5}, - offset: {type: '2f', value:{x:0.5, y:0.5}}, - }; - - this.fragmentSrc = [ - "precision mediump float;", - "varying vec2 vTextureCoord;", - "varying float vColor;", - "uniform vec4 dimensions;", - "uniform sampler2D uSampler;", - - "uniform float radius;", - "uniform float angle;", - "uniform vec2 offset;", - - "void main(void) {", - "vec2 coord = vTextureCoord - offset;", - "float distance = length(coord);", - - "if (distance < radius){", - - "float ratio = (radius - distance) / radius;", - "float angleMod = ratio * ratio * angle;", - "float s = sin(angleMod);", - "float c = cos(angleMod);", - "coord = vec2(coord.x * c - coord.y * s, coord.x * s + coord.y * c);", - - "}", - - "gl_FragColor = texture2D(uSampler, coord+offset);", - "}" - ]; -} - -PIXI.TwistFilter.prototype = Object.create( PIXI.AbstractFilter.prototype ); -PIXI.TwistFilter.prototype.constructor = PIXI.TwistFilter; - -/** - * - * This point describes the the offset of the twist - * @property size - * @type Point - */ -Object.defineProperty(PIXI.TwistFilter.prototype, 'offset', { - get: function() { - return this.uniforms.offset.value; - }, - set: function(value) { - this.dirty = true; - this.uniforms.offset.value = value; - } -}); - -/** - * - * This radius describes size of the twist - * @property size - * @type Number - */ -Object.defineProperty(PIXI.TwistFilter.prototype, 'radius', { - get: function() { - return this.uniforms.radius.value; - }, - set: function(value) { - this.dirty = true; - this.uniforms.radius.value = value; - } -}); - -/** - * - * This radius describes angle of the twist - * @property angle - * @type Number - */ -Object.defineProperty(PIXI.TwistFilter.prototype, 'angle', { - get: function() { - return this.uniforms.angle.value; - }, - set: function(value) { - this.dirty = true; - this.uniforms.angle.value = value; - } -}); -/** - * @author Mat Groves http://matgroves.com/ @Doormat23 - */ - /** * The Graphics class contains a set of methods that you can use to create primitive shapes and lines. @@ -4492,7 +3570,7 @@ PIXI.PixiShader = function() */ this.textureCount = 0; -} +}; /** * @method PIXI.PixiShader#init @@ -4509,7 +3587,7 @@ PIXI.PixiShader.prototype.init = function() this.uSampler = gl.getUniformLocation(program, "uSampler"); this.projectionVector = gl.getUniformLocation(program, "projectionVector"); this.offsetVector = gl.getUniformLocation(program, "offsetVector"); - // this.dimensions = gl.getUniformLocation(program, "dimensions"); + this.dimensions = gl.getUniformLocation(program, "dimensions"); // get and store the attributes this.aVertexPosition = gl.getAttribLocation(program, "aVertexPosition"); @@ -4522,290 +3600,213 @@ PIXI.PixiShader.prototype.init = function() // get the uniform locations.. this.uniforms[key].uniformLocation = gl.getUniformLocation(program, key); } + + this.initUniforms(); this.program = program; -} +}; /** -* Updates the shader uniform values. +* Initialises the shader uniform values. * Uniforms are specified in the GLSL_ES Specification: http://www.khronos.org/registry/webgl/specs/latest/1.0/ * http://www.khronos.org/registry/gles/specs/2.0/GLSL_ES_Specification_1.0.17.pdf * -* @method PIXI.PixiShader#syncUniforms +* @method PIXI.PixiShader#initUniforms */ -PIXI.PixiShader.prototype.syncUniforms = function() +PIXI.PixiShader.prototype.initUniforms = function() { this.textureCount = 1; - var gl = PIXI.gl; + var uniform; for (var key in this.uniforms) { - var type = this.uniforms[key].type; - var transpose = false; + var uniform = this.uniforms[key]; + var type = uniform.type; - if (this.uniforms[key].transpose) + if (type == 'sampler2D') { - transpose = this.uniforms[key].transpose; - } + uniform._init = false; - if (type == "1f") - { - // void uniform1f(WebGLUniformLocation? location, GLfloat x); - gl.uniform1f(this.uniforms[key].uniformLocation, this.uniforms[key].value); - } - else if (type == "1fv") - { - // void uniform1fv(WebGLUniformLocation? location, Float32Array v); - // void uniform1fv(WebGLUniformLocation? location, sequence v); - gl.uniform1fv(this.uniforms[key].uniformLocation, this.uniforms[key].value); - } - else if (type == "1i") - { - // void uniform1i(WebGLUniformLocation? location, GLint x); - gl.uniform1i(this.uniforms[key].uniformLocation, this.uniforms[key].value); - } - else if (type == "1iv") - { - // void uniform1iv(WebGLUniformLocation? location, Int32Array v); - // void uniform1iv(WebGLUniformLocation? location, sequence v); - gl.uniform1i(this.uniforms[key].uniformLocation, this.uniforms[key].value); - } - else if (type == "2f") - { - // void uniform2f(WebGLUniformLocation? location, GLfloat x, GLfloat y); - gl.uniform2f(this.uniforms[key].uniformLocation, this.uniforms[key].value.x, this.uniforms[key].value.y); - } - else if (type == "2fv") - { - // void uniform2fv(WebGLUniformLocation? location, Float32Array v); - // void uniform2fv(WebGLUniformLocation? location, sequence v); - gl.uniform2fv(this.uniforms[key].uniformLocation, this.uniforms[key].value); - } - else if (type == "2i") - { - // void uniform2i(WebGLUniformLocation? location, GLint x, GLint y); - gl.uniform2i(this.uniforms[key].uniformLocation, this.uniforms[key].value.x, this.uniforms[key].value.y); - } - else if (type == "2iv") - { - // void uniform2iv(WebGLUniformLocation? location, Int32Array v); - // void uniform2iv(WebGLUniformLocation? location, sequence v); - gl.uniform2iv(this.uniforms[key].uniformLocation, this.uniforms[key].value); - } - else if (type == "3f") - { - // void uniform3f(WebGLUniformLocation? location, GLfloat x, GLfloat y, GLfloat z); - gl.uniform3f(this.uniforms[key].uniformLocation, this.uniforms[key].value.x, this.uniforms[key].value.y, this.uniforms[key].value.z); - } - else if (type == "3fv") - { - // void uniform3fv(WebGLUniformLocation? location, Float32Array v); - // void uniform3fv(WebGLUniformLocation? location, sequence v); - gl.uniform3fv(this.uniforms[key].uniformLocation, this.uniforms[key].value); + if (uniform.value !== null) + { + this.initSampler2D(uniform); + } } - else if (type == "3i") + else if (type == 'mat2' || type == 'mat3' || type == 'mat4') { - // void uniform3i(WebGLUniformLocation? location, GLint x, GLint y, GLint z); - gl.uniform3i(this.uniforms[key].uniformLocation, this.uniforms[key].value.x, this.uniforms[key].value.y, this.uniforms[key].value.z); + // These require special handling + uniform.glMatrix = true; + uniform.glValueLength = 1; + + if (type == 'mat2') + { + uniform.glFunc = PIXI.gl.uniformMatrix2fv; + } + else if (type == 'mat3') + { + uniform.glFunc = PIXI.gl.uniformMatrix3fv; + } + else if (type == 'mat4') + { + uniform.glFunc = PIXI.gl.uniformMatrix4fv; + } } - else if (type == "3iv") + else { - // void uniform3iv(WebGLUniformLocation? location, Int32Array v); - // void uniform3iv(WebGLUniformLocation? location, sequence v); - gl.uniform3iv(this.uniforms[key].uniformLocation, this.uniforms[key].value); + // GL function reference + uniform.glFunc = PIXI.gl['uniform' + type]; + + if (type == '2f' || type == '2i') + { + uniform.glValueLength = 2; + } + else if (type == '3f' || type == '3i') + { + uniform.glValueLength = 3; + } + else if (type == '4f' || type == '4i') + { + uniform.glValueLength = 4; + } + else + { + uniform.glValueLength = 1; + } } - else if (type == "4f") + } + +}; + +/** +* Initialises a Sampler2D uniform (which may only be available later on after initUniforms once the texture is has loaded) +* +* @method PIXI.PixiShader#initSampler2D +*/ +PIXI.PixiShader.prototype.initSampler2D = function(uniform) +{ + if (!uniform.value || !uniform.value.baseTexture || !uniform.value.baseTexture.hasLoaded) + { + return; + } + + PIXI.gl.activeTexture(PIXI.gl['TEXTURE' + this.textureCount]); + PIXI.gl.bindTexture(PIXI.gl.TEXTURE_2D, uniform.value.baseTexture._glTexture); + + // Extended texture data + if (uniform.textureData) + { + var data = uniform.textureData; + + // GLTexture = mag linear, min linear_mipmap_linear, wrap repeat + gl.generateMipmap(gl.TEXTURE_2D); + // GLTextureLinear = mag/min linear, wrap clamp + // GLTextureNearestRepeat = mag/min NEAREST, wrap repeat + // GLTextureNearest = mag/min nearest, wrap clamp + // AudioTexture = whatever + luminance + width 512, height 2, border 0 + // KeyTexture = whatever + luminance + width 256, height 2, border 0 + + // magFilter can be: gl.LINEAR, gl.LINEAR_MIPMAP_LINEAR or gl.NEAREST + // wrapS/T can be: gl.CLAMP_TO_EDGE or gl.REPEAT + + var magFilter = (data.magFilter) ? data.magFilter : PIXI.gl.LINEAR; + var minFilter = (data.minFilter) ? data.minFilter : PIXI.gl.LINEAR; + var wrapS = (data.wrapS) ? data.wrapS : PIXI.gl.CLAMP_TO_EDGE; + var wrapT = (data.wrapT) ? data.wrapT : PIXI.gl.CLAMP_TO_EDGE; + var format = (data.luminance) ? PIXI.gl.LUMINANCE : PIXI.gl.RGBA; + + if (data.repeat) { - // void uniform4f(WebGLUniformLocation? location, GLfloat x, GLfloat y, GLfloat z, GLfloat w); - gl.uniform4f(this.uniforms[key].uniformLocation, this.uniforms[key].value.x, this.uniforms[key].value.y, this.uniforms[key].value.z, this.uniforms[key].value.w); + wrapS = PIXI.gl.REPEAT; + wrapT = PIXI.gl.REPEAT; } - else if (type == "4fv") + + PIXI.gl.pixelStorei(PIXI.gl.UNPACK_FLIP_Y_WEBGL, false); + + if (data.width) { - // void uniform4fv(WebGLUniformLocation? location, Float32Array v); - // void uniform4fv(WebGLUniformLocation? location, sequence v); - gl.uniform4fv(this.uniforms[key].uniformLocation, this.uniforms[key].value); + var width = (data.width) ? data.width : 512; + var height = (data.height) ? data.height : 2; + var border = (data.border) ? data.border : 0; + + // void texImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, ArrayBufferView? pixels); + PIXI.gl.texImage2D(PIXI.gl.TEXTURE_2D, 0, format, width, height, border, format, PIXI.gl.UNSIGNED_BYTE, null); } - else if (type == "4i") + else { - // void uniform4i(WebGLUniformLocation? location, GLint x, GLint y, GLint z, GLint w); - gl.uniform4i(this.uniforms[key].uniformLocation, this.uniforms[key].value.x, this.uniforms[key].value.y, this.uniforms[key].value.z, this.uniforms[key].value.w); + // void texImage2D(GLenum target, GLint level, GLenum internalformat, GLenum format, GLenum type, ImageData? pixels); + PIXI.gl.texImage2D(PIXI.gl.TEXTURE_2D, 0, format, PIXI.gl.RGBA, PIXI.gl.UNSIGNED_BYTE, uniform.value.baseTexture.source); } - else if (type == "4iv") + + PIXI.gl.texParameteri(PIXI.gl.TEXTURE_2D, PIXI.gl.TEXTURE_MAG_FILTER, magFilter); + PIXI.gl.texParameteri(PIXI.gl.TEXTURE_2D, PIXI.gl.TEXTURE_MIN_FILTER, minFilter); + PIXI.gl.texParameteri(PIXI.gl.TEXTURE_2D, PIXI.gl.TEXTURE_WRAP_S, wrapS); + PIXI.gl.texParameteri(PIXI.gl.TEXTURE_2D, PIXI.gl.TEXTURE_WRAP_T, wrapT); + } + + PIXI.gl.uniform1i(uniform.uniformLocation, this.textureCount); + + uniform._init = true; + + this.textureCount++; + +}; + +/** +* Updates the shader uniform values. +* +* @method PIXI.PixiShader#syncUniforms +*/ +PIXI.PixiShader.prototype.syncUniforms = function() +{ + this.textureCount = 1; + var uniform; + + // This would probably be faster in an array and it would guarantee key order + for (var key in this.uniforms) + { + uniform = this.uniforms[key]; + + if (uniform.glValueLength == 1) { - // void uniform4iv(WebGLUniformLocation? location, Int32Array v); - // void uniform4iv(WebGLUniformLocation? location, sequence v); - gl.uniform4iv(this.uniforms[key].uniformLocation, this.uniforms[key].value); + if (uniform.glMatrix === true) + { + uniform.glFunc.call(PIXI.gl, uniform.uniformLocation, uniform.transpose, uniform.value); + } + else + { + uniform.glFunc.call(PIXI.gl, uniform.uniformLocation, uniform.value); + } } - else if (type == "mat2") + else if (uniform.glValueLength == 2) { - // void uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, Float32Array value); - // void uniformMatrix2fv(WebGLUniformLocation? location, GLboolean transpose, sequence value); - gl.uniformMatrix2fv(this.uniforms[key].uniformLocation, transpose, this.uniforms[key].value); + uniform.glFunc.call(PIXI.gl, uniform.uniformLocation, uniform.value.x, uniform.value.y); } - else if (type == "mat3") + else if (uniform.glValueLength == 3) { - // void uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, Float32Array value); - // void uniformMatrix3fv(WebGLUniformLocation? location, GLboolean transpose, sequence value); - gl.uniformMatrix3fv(this.uniforms[key].uniformLocation, transpose, this.uniforms[key].value); + uniform.glFunc.call(PIXI.gl, uniform.uniformLocation, uniform.value.x, uniform.value.y, uniform.value.z); } - else if (type == "mat4") + else if (uniform.glValueLength == 4) { - // void uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, Float32Array value); - // void uniformMatrix4fv(WebGLUniformLocation? location, GLboolean transpose, sequence value); - gl.uniformMatrix4fv(this.uniforms[key].uniformLocation, transpose, this.uniforms[key].value); + uniform.glFunc.call(PIXI.gl, uniform.uniformLocation, uniform.value.x, uniform.value.y, uniform.value.z, uniform.value.w); } - else if (type == "sampler2D") + else if (uniform.type == 'sampler2D') { - if (this.uniforms[key].value && this.uniforms[key].value.baseTexture.hasLoaded) + if (uniform._init) { - var texture = this.uniforms[key].value.baseTexture._glTexture; - var image = this.uniforms[key].value.baseTexture.source; - var format = gl.RGBA; - - if (this.uniforms[key].format && this.uniforms[key].format == 'luminance') - { - format = gl.LUMINANCE; - } - - gl.activeTexture(gl['TEXTURE' + this.textureCount]); - - if (this.uniforms[key].wrap) - { - if (this.uniforms[key].wrap == 'no-repeat' || this.uniforms[key].wrap === false) - { - this.createGLTextureLinear(gl, image, texture); - } - else if (this.uniforms[key].wrap == 'repeat' || this.uniforms[key].wrap === true) - { - this.createGLTexture(gl, image, format, texture); - } - else if (this.uniforms[key].wrap == 'nearest-repeat') - { - this.createGLTextureNearestRepeat(gl, image, texture); - } - else if (this.uniforms[key].wrap == 'nearest') - { - this.createGLTextureNearest(gl, image, texture); - } - else if (this.uniforms[key].wrap == 'audio') - { - this.createAudioTexture(gl, texture); - } - else if (this.uniforms[key].wrap == 'keyboard') - { - this.createKeyboardTexture(gl, texture); - } - } - else - { - this.createGLTextureLinear(gl, image, texture); - } - - gl.uniform1i(this.uniforms[key].uniformLocation, this.textureCount); - + PIXI.gl.activeTexture(PIXI.gl['TEXTURE' + this.textureCount]); + PIXI.gl.bindTexture(PIXI.gl.TEXTURE_2D, uniform.value.baseTexture._glTexture); + PIXI.gl.uniform1i(uniform.uniformLocation, this.textureCount); this.textureCount++; } + else + { + this.initSampler2D(uniform); + } } } }; -/** -* Binds the given texture and image data. The texture is set to REPEAT. -* Code based on Effects.js from ShaderToy.com -* @method PIXI.PixiShader#createGLTexture -*/ -PIXI.PixiShader.prototype.createGLTexture = function(gl, image, format, texture) -{ - gl.bindTexture(gl.TEXTURE_2D, texture); - gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, false); - gl.texImage2D(gl.TEXTURE_2D, 0, format, gl.RGBA, gl.UNSIGNED_BYTE, image); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR_MIPMAP_LINEAR); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.REPEAT); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.REPEAT); - gl.generateMipmap(gl.TEXTURE_2D); -} - -/** -* Binds the given texture and image data. The texture is set to CLAMP_TO_EDGE. -* Code based on Effects.js from ShaderToy.com -* @method PIXI.PixiShader#createGLTextureLinear -*/ -PIXI.PixiShader.prototype.createGLTextureLinear = function(gl, image, texture) -{ - gl.bindTexture(gl.TEXTURE_2D, texture); - gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, false); - gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, image); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE); -} - -/** -* Binds the given texture and image data. The texture is set to REPEAT with NEAREST. -* Code based on Effects.js from ShaderToy.com -* @method PIXI.PixiShader#createGLTextureNearestRepeat -*/ -PIXI.PixiShader.prototype.createGLTextureNearestRepeat = function(gl, image, texture) -{ - gl.bindTexture(gl.TEXTURE_2D, texture); - gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, false); - gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, image); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.REPEAT); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.REPEAT); -} - -/** -* Binds the given texture and image data. The texture is set to CLAMP_TO_EDGE with NEAREST. -* Code based on Effects.js from ShaderToy.com -* @method PIXI.PixiShader#createGLTextureNearest -*/ -PIXI.PixiShader.prototype.createGLTextureNearest = function(gl, image, texture) -{ - gl.bindTexture(gl.TEXTURE_2D, texture); - gl.pixelStorei(gl.UNPACK_FLIP_Y_WEBGL, false); - gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, gl.RGBA, gl.UNSIGNED_BYTE, image); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE); -} - -/** -* Binds the given texture data. The texture is set to CLAMP_TO_EDGE with LUMINANCE. Designed for use with real-time audio data. -* Code based on Effects.js from ShaderToy.com -* @method PIXI.PixiShader#createAudioTexture -*/ -PIXI.PixiShader.prototype.createAudioTexture = function(gl, texture) -{ - gl.bindTexture(gl.TEXTURE_2D, texture ); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR ); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR ); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE ); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE) ; - gl.texImage2D(gl.TEXTURE_2D, 0, gl.LUMINANCE, 512, 2, 0, gl.LUMINANCE, gl.UNSIGNED_BYTE, null); -} - -/** -* Binds the given texture data. The texture is set to CLAMP_TO_EDGE with LUMINANCE. Designed for use with keyboard input data. -* Code based on Effects.js from ShaderToy.com -* @method PIXI.PixiShader#createKeyboardTexture -*/ -PIXI.PixiShader.prototype.createKeyboardTexture = function(gl, texture) -{ - gl.bindTexture(gl.TEXTURE_2D, texture ); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.NEAREST ); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.NEAREST ); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE ); - gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE) ; - gl.texImage2D(gl.TEXTURE_2D, 0, gl.LUMINANCE, 256, 2, 0, gl.LUMINANCE, gl.UNSIGNED_BYTE, null); -} - PIXI.PixiShader.defaultVertexSrc = [ "attribute vec2 aVertexPosition;", @@ -10044,6 +9045,9 @@ Phaser.StateManager.prototype = { */ boot: function () { + this.game.onPause.add(this.pause, this); + this.game.onResume.add(this.resume, this); + if (this._pendingState !== null) { if (typeof this._pendingState === 'string') @@ -10184,7 +9188,7 @@ Phaser.StateManager.prototype = { this.onPreloadCallback.call(this.callbackContext, this.game); // Is the loader empty? - if (this.game.load.queueSize === 0) + if (this.game.load.totalQueuedFiles() === 0) { this.game.loadComplete(); } @@ -10326,6 +9330,32 @@ Phaser.StateManager.prototype = { }, + /** + * @method Phaser.StateManager#pause + * @protected + */ + pause: function () { + + if (this._created && this.onPausedCallback) + { + this.onPausedCallback.call(this.callbackContext, this.game, true); + } + + }, + + /** + * @method Phaser.StateManager#resume + * @protected + */ + resume: function () { + + if (this._created && this.onre) + { + this.onPausedCallback.call(this.callbackContext, this.game, false); + } + + }, + /** * @method Phaser.StateManager#update * @protected @@ -11107,10 +10137,21 @@ Phaser.Filter = function (game, uniforms, fragmentSrc) { Phaser.Filter.prototype = { + /** + * Should be over-ridden. + * @method Phaser.Filter#init + * @param {...} + */ init: function () { // This should be over-ridden. Will receive a variable number of arguments. }, + /** + * Set the resolution uniforms on the filter. + * @method Phaser.Filter#setResolution + * @param {number} width - The width of the display. + * @param {number} height - The height of the display. + */ setResolution: function (width, height) { this.uniforms.resolution.value.x = width; @@ -11118,6 +10159,11 @@ Phaser.Filter.prototype = { }, + /** + * Updates the filter. + * @method Phaser.Filter#update + * @param {Phaser.Pointer} [pointer] - A Pointer object to use for the filter. The coordinates are mapped to the mouse uniform. + */ update: function (pointer) { if (typeof pointer !== 'undefined') @@ -11142,6 +10188,10 @@ Phaser.Filter.prototype = { }; +/** +* @name Phaser.Filter#width +* @property {number} width - The width (resolution uniform) +*/ Object.defineProperty(Phaser.Filter.prototype, 'width', { get: function() { @@ -11154,6 +10204,10 @@ Object.defineProperty(Phaser.Filter.prototype, 'width', { }); +/** +* @name Phaser.Filter#height +* @property {number} height - The height (resolution uniform) +*/ Object.defineProperty(Phaser.Filter.prototype, 'height', { get: function() { @@ -11390,7 +10444,7 @@ Phaser.PluginManager.prototype = { // The plugin must have at least one of the above functions to be added to the PluginManager. if (result) { - if (plugin.hasPreUpdate || plugin.hasUpdate) + if (plugin.hasPreUpdate || plugin.hasUpdate || plugin.hasPostUpdate) { plugin.active = true; } @@ -11977,7 +11031,6 @@ Phaser.Group.prototype = { * Returns the child found at the given index within this Group. * * @method Phaser.Group#getAt - * @memberof Phaser.Group * @param {number} index - The index to return the child from. * @return {*} The child that was found at the given index. */ @@ -12970,15 +12023,25 @@ Phaser.Group.prototype = { * * @method Phaser.Group#remove * @param {Any} child - The child to remove. + * @return {boolean} true if the child was removed from this Group, otherwise false. */ remove: function (child) { + if (child.group !== this) + { + return false; + } + if (child.events) { child.events.onRemovedFromGroup.dispatch(child, this); } - this._container.removeChild(child); + // Check it's actually in the container + if (child.parent === this._container) + { + this._container.removeChild(child); + } if (this.cursor == child) { @@ -12994,6 +12057,8 @@ Phaser.Group.prototype = { child.group = null; + return true; + }, /** @@ -13471,8 +12536,6 @@ Phaser.World.prototype.update = function () { */ Phaser.World.prototype.postUpdate = function () { - this.camera.update(); - if (this.game.stage._stage.first._iNext) { var currentNode = this.game.stage._stage.first._iNext; @@ -13489,6 +12552,7 @@ Phaser.World.prototype.postUpdate = function () { while (currentNode != this.game.stage._stage.last._iNext) } + this.camera.update(); } /** @@ -15689,7 +14753,7 @@ Phaser.Mouse = function (game) { /** * @property {boolean} capture - If true the DOM mouse events will have event.preventDefault applied to them, if false they will propogate fully. */ - this.capture = true; + this.capture = false; /** * @property {number} button- The type of click, either: Phaser.Mouse.NO_BUTTON, Phaser.Mouse.LEFT_BUTTON, Phaser.Mouse.MIDDLE_BUTTON or Phaser.Mouse.RIGHT_BUTTON. @@ -15792,10 +14856,6 @@ Phaser.Mouse.prototype = { return _this.onMouseUp(event); }; - // this.game.renderer.view.addEventListener('mousedown', this._onMouseDown, true); - // this.game.renderer.view.addEventListener('mousemove', this._onMouseMove, true); - // this.game.renderer.view.addEventListener('mouseup', this._onMouseUp, true); - document.addEventListener('mousedown', this._onMouseDown, true); document.addEventListener('mousemove', this._onMouseMove, true); document.addEventListener('mouseup', this._onMouseUp, true); @@ -15971,10 +15031,6 @@ Phaser.Mouse.prototype = { */ stop: function () { - // this.game.stage.canvas.removeEventListener('mousedown', this._onMouseDown, true); - // this.game.stage.canvas.removeEventListener('mousemove', this._onMouseMove, true); - // this.game.stage.canvas.removeEventListener('mouseup', this._onMouseUp, true); - document.removeEventListener('mousedown', this._onMouseDown, true); document.removeEventListener('mousemove', this._onMouseMove, true); document.removeEventListener('mouseup', this._onMouseUp, true); @@ -17372,6 +16428,8 @@ Phaser.InputHandler.prototype = { */ start: function (priority, useHandCursor) { + console.log('InputHandler start'); + priority = priority || 0; if (typeof useHandCursor == 'undefined') { useHandCursor = false; } @@ -17683,25 +16741,25 @@ Phaser.InputHandler.prototype = { */ checkPointerOver: function (pointer) { - if (this.enabled && this.sprite.visible) + if (this.enabled === false || this.sprite.visible === false || (this.sprite.group && this.sprite.group.visible === false)) { - this.sprite.getLocalUnmodifiedPosition(this._tempPoint, pointer.x, pointer.y); + return false; + } + + this.sprite.getLocalUnmodifiedPosition(this._tempPoint, pointer.x, pointer.y); - if (this._tempPoint.x >= 0 && this._tempPoint.x <= this.sprite.currentFrame.width && this._tempPoint.y >= 0 && this._tempPoint.y <= this.sprite.currentFrame.height) + if (this._tempPoint.x >= 0 && this._tempPoint.x <= this.sprite.currentFrame.width && this._tempPoint.y >= 0 && this._tempPoint.y <= this.sprite.currentFrame.height) + { + if (this.pixelPerfect) { - if (this.pixelPerfect) - { - return this.checkPixel(this._tempPoint.x, this._tempPoint.y); - } - else - { - return true; - } + return this.checkPixel(this._tempPoint.x, this._tempPoint.y); + } + else + { + return true; } } - return false; - }, /** @@ -18429,13 +17487,14 @@ Phaser.GameObjectFactory.prototype = { * * @method Phaser.GameObjectFactory#audio * @param {string} key - The Game.cache key of the sound that this object will use. - * @param {number} volume - The volume at which the sound will be played. - * @param {boolean} loop - Whether or not the sound will loop. + * @param {number} [volume=1] - The volume at which the sound will be played. + * @param {boolean} [loop=false] - Whether or not the sound will loop. + * @param {boolean} [connect=true] - Controls if the created Sound object will connect to the master gainNode of the SoundManager when running under WebAudio. * @return {Phaser.Sound} The newly created text object. */ - audio: function (key, volume, loop) { + audio: function (key, volume, loop, connect) { - return this.game.sound.add(key, volume, loop); + return this.game.sound.add(key, volume, loop, connect); }, @@ -18627,11 +17686,11 @@ Phaser.GameObjectFactory.prototype = { var args = Array.prototype.splice.call(arguments, 1); - var f = new Phaser.Filter[filter](this.game); + var filter = new Phaser.Filter[filter](this.game); - f.init.apply(f, args); + filter.init.apply(filter, args); - return f; + return filter; } @@ -20849,6 +19908,8 @@ Object.defineProperty(Phaser.Sprite.prototype, "inputEnabled", { set: function (value) { + console.log('inputEnabled', value, this.input); + if (value) { if (this.input.enabled === false) @@ -23460,6 +22521,12 @@ Phaser.Device = function () { */ this.iOS = false; + /** + * @property {boolean} cocoonJS - Is the game running under CocoonJS? + * @default + */ + this.cocoonJS = false; + /** * @property {boolean} android - Is running on android? * @default @@ -23780,11 +22847,11 @@ Phaser.Device.prototype = { this.worker = !!window['Worker']; - if ('ontouchstart' in document.documentElement || window.navigator.msPointerEnabled) { + if ('ontouchstart' in document.documentElement || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 1)) { this.touch = true; } - if (window.navigator.msPointerEnabled) { + if (window.navigator.msPointerEnabled || window.navigator.pointerEnabled) { this.mspointer = true; } @@ -23827,6 +22894,10 @@ Phaser.Device.prototype = { this.webApp = true; } + if (navigator['isCocoonJS']) { + this.cocoonJS = true; + } + }, /** @@ -31868,16 +30939,16 @@ Phaser.Loader = function (game) { this.game = game; /** - * @property {array} _keys - Array stores assets keys. So you can get that asset by its unique key. + * @property {array} _fileList - Contains all the assets file infos. * @private */ - this._keys = []; + this._fileList = []; /** - * @property {Description} _fileList - Contains all the assets file infos. + * @property {number} _fileIndex - The index of the current file being loaded. * @private */ - this._fileList = {}; + this._fileIndex = 0; /** * @property {number} _progressChunk - Indicates assets loading progress. (from 0 to 100) @@ -31892,12 +30963,6 @@ Phaser.Loader = function (game) { */ this._xhr = new XMLHttpRequest(); - /** - * @property {number} - Length of assets queue. - * @default - */ - this.queueSize = 0; - /** * @property {boolean} isLoading - True if the Loader is in the process of loading the queue. * @default @@ -32015,32 +31080,63 @@ Phaser.Loader.prototype = { * Check whether asset exists with a specific key. * * @method Phaser.Loader#checkKeyExists + * @param {string} type - The type asset you want to check. * @param {string} key - Key of the asset you want to check. * @return {boolean} Return true if exists, otherwise return false. */ - checkKeyExists: function (key) { + checkKeyExists: function (type, key) { - if (this._fileList[key]) + if (this._fileList.length > 0) { - return true; + for (var i = 0; i < this._fileList.length; i++) + { + if (this._fileList[i].type === type && this._fileList[i].key === key) + { + return true; + } + } } - else + + return false; + + }, + + /** + * Gets the asset that is queued for load. + * + * @method Phaser.Loader#getAsset + * @param {string} type - The type asset you want to check. + * @param {string} key - Key of the asset you want to check. + * @return {any} Returns an object if found that has 2 properties: index and file. Otherwise false. + */ + getAsset: function (type, key) { + + if (this._fileList.length > 0) { - return false; + for (var i = 0; i < this._fileList.length; i++) + { + if (this._fileList[i].type === type && this._fileList[i].key === key) + { + return { index: i, file: this._fileList[i] }; + } + } } + + return false; }, /** - * Reset loader, this will remove all loaded assets. + * Reset loader, this will remove the load queue. * * @method Phaser.Loader#reset */ reset: function () { this.preloadSprite = null; - this.queueSize = 0; this.isLoading = false; + this._fileList.length = 0; + this._fileIndex = 0; }, @@ -32048,10 +31144,10 @@ Phaser.Loader.prototype = { * Internal function that adds a new entry to the file list. Do not call directly. * * @method Phaser.Loader#addToFileList - * @param {Description} type - Description. - * @param {string} key - Description. - * @param {string} url - URL of Description. - * @param {Description} properties - Description. + * @param {string} type - The type of resource to add to the list (image, audio, xml, etc). + * @param {string} key - The unique Cache ID key of this resource. + * @param {string} url - The URL the asset will be loaded from. + * @param {object} properties - Any additional properties needed to load the file. * @protected */ addToFileList: function (type, key, url, properties) { @@ -32073,11 +31169,46 @@ Phaser.Loader.prototype = { } } - this._fileList[key] = entry; + if (this.checkKeyExists(type, key) === false) + { + this._fileList.push(entry); + } + + }, + + /** + * Internal function that replaces an existing entry in the file list with a new one. Do not call directly. + * + * @method Phaser.Loader#replaceInFileList + * @param {string} type - The type of resource to add to the list (image, audio, xml, etc). + * @param {string} key - The unique Cache ID key of this resource. + * @param {string} url - The URL the asset will be loaded from. + * @param {object} properties - Any additional properties needed to load the file. + * @protected + */ + replaceInFileList: function (type, key, url, properties) { + + var entry = { + type: type, + key: key, + url: url, + data: null, + error: false, + loaded: false + }; - this._keys.push(key); + if (typeof properties !== "undefined") + { + for (var prop in properties) + { + entry[prop] = properties[prop]; + } + } - this.queueSize++; + if (this.checkKeyExists(type, key) === false) + { + this._fileList.push(entry); + } }, @@ -32087,13 +31218,18 @@ Phaser.Loader.prototype = { * @method Phaser.Loader#image * @param {string} key - Unique asset key of this image file. * @param {string} url - URL of image file. - * @param {boolean} overwrite - If an entry with a matching key already exists this will over-write it + * @param {boolean} [overwrite=false] - If an unloaded file with a matching key already exists in the queue, this entry will overwrite it. + * @return {Phaser.Loader} This Loader instance. */ image: function (key, url, overwrite) { if (typeof overwrite === "undefined") { overwrite = false; } - if (overwrite || this.checkKeyExists(key) === false) + if (overwrite) + { + this.replaceInFileList('image', key, url); + } + else { this.addToFileList('image', key, url); } @@ -32108,13 +31244,18 @@ Phaser.Loader.prototype = { * @method Phaser.Loader#text * @param {string} key - Unique asset key of the text file. * @param {string} url - URL of the text file. - * @param {boolean} overwrite - True if Description. + * @param {boolean} [overwrite=false] - If an unloaded file with a matching key already exists in the queue, this entry will overwrite it. + * @return {Phaser.Loader} This Loader instance. */ text: function (key, url, overwrite) { if (typeof overwrite === "undefined") { overwrite = false; } - if (overwrite || this.checkKeyExists(key) === false) + if (overwrite) + { + this.replaceInFileList('text', key, url); + } + else { this.addToFileList('text', key, url); } @@ -32123,6 +31264,22 @@ Phaser.Loader.prototype = { }, + /** + * Add a JavaScript file to the Loader. Once loaded the JavaScript file will be automatically turned into a script tag (and executed), so be careful what you load! + * + * @method Phaser.Loader#script + * @param {string} key - Unique asset key of the script file. + * @param {string} url - URL of the JavaScript file. + * @return {Phaser.Loader} This Loader instance. + */ + script: function (key, url) { + + this.addToFileList('script', key, url); + + return this; + + }, + /** * Add a new sprite sheet to the loader. * @@ -32132,15 +31289,13 @@ Phaser.Loader.prototype = { * @param {number} frameWidth - Width of each single frame. * @param {number} frameHeight - Height of each single frame. * @param {number} [frameMax=-1] - How many frames in this sprite sheet. If not specified it will divide the whole image into frames. + * @return {Phaser.Loader} This Loader instance. */ spritesheet: function (key, url, frameWidth, frameHeight, frameMax) { if (typeof frameMax === "undefined") { frameMax = -1; } - if (this.checkKeyExists(key) === false) - { - this.addToFileList('spritesheet', key, url, { frameWidth: frameWidth, frameHeight: frameHeight, frameMax: frameMax }); - } + this.addToFileList('spritesheet', key, url, { frameWidth: frameWidth, frameHeight: frameHeight, frameMax: frameMax }); return this; @@ -32157,6 +31312,7 @@ Phaser.Loader.prototype = { * @param {number} [tileMax=-1] - How many tiles in this tileset. If not specified it will divide the whole image into tiles. * @param {number} [tileMargin=0] - If the tiles have been drawn with a margin, specify the amount here. * @param {number} [tileSpacing=0] - If the tiles have been drawn with spacing between them, specify the amount here. + * @return {Phaser.Loader} This Loader instance. */ tileset: function (key, url, tileWidth, tileHeight, tileMax, tileMargin, tileSpacing) { @@ -32164,10 +31320,7 @@ Phaser.Loader.prototype = { if (typeof tileMargin === "undefined") { tileMargin = 0; } if (typeof tileSpacing === "undefined") { tileSpacing = 0; } - if (this.checkKeyExists(key) === false) - { - this.addToFileList('tileset', key, url, { tileWidth: tileWidth, tileHeight: tileHeight, tileMax: tileMax, tileMargin: tileMargin, tileSpacing: tileSpacing }); - } + this.addToFileList('tileset', key, url, { tileWidth: tileWidth, tileHeight: tileHeight, tileMax: tileMax, tileMargin: tileMargin, tileSpacing: tileSpacing }); return this; @@ -32180,15 +31333,13 @@ Phaser.Loader.prototype = { * @param {string} key - Unique asset key of the audio file. * @param {Array|string} urls - An array containing the URLs of the audio files, i.e.: [ 'jump.mp3', 'jump.ogg', 'jump.m4a' ] or a single string containing just one URL. * @param {boolean} autoDecode - When using Web Audio the audio files can either be decoded at load time or run-time. They can't be played until they are decoded, but this let's you control when that happens. Decoding is a non-blocking async process. + * @return {Phaser.Loader} This Loader instance. */ audio: function (key, urls, autoDecode) { if (typeof autoDecode === "undefined") { autoDecode = true; } - if (this.checkKeyExists(key) === false) - { - this.addToFileList('audio', key, urls, { buffer: null, autoDecode: autoDecode }); - } + this.addToFileList('audio', key, urls, { buffer: null, autoDecode: autoDecode }); return this; @@ -32199,10 +31350,10 @@ Phaser.Loader.prototype = { * * @method Phaser.Loader#tilemap * @param {string} key - Unique asset key of the tilemap data. - * @param {string} tilesetURL - The url of the tile set image file. * @param {string} [mapDataURL] - The url of the map data file (csv/json) - * @param {object} [mapData] - An optional JSON data object (can be given in place of a URL). - * @param {string} [format] - The format of the map data. + * @param {object} [mapData] - An optional JSON data object. If given then the mapDataURL is ignored and this JSON object is used for map data instead. + * @param {string} [format=Phaser.Tilemap.CSV] - The format of the map data. Either Phaser.Tilemap.CSV or Phaser.Tilemap.TILED_JSON. + * @return {Phaser.Loader} This Loader instance. */ tilemap: function (key, mapDataURL, mapData, format) { @@ -32217,34 +31368,30 @@ Phaser.Loader.prototype = { return this; } - if (this.checkKeyExists(key) === false) + // A map data object has been given + if (mapData) { - // A URL to a json/csv file has been given - if (mapDataURL) + switch (format) { - this.addToFileList('tilemap', key, mapDataURL, { format: format }); - } - else - { - switch (format) - { - // A csv string or object has been given - case Phaser.Tilemap.CSV: - break; - - // An xml string or object has been given - case Phaser.Tilemap.TILED_JSON: - - if (typeof mapData === 'string') - { - mapData = JSON.parse(mapData); - } - break; - } + // A csv string or object has been given + case Phaser.Tilemap.CSV: + break; - this.game.cache.addTilemap(key, null, mapData, format); + // An xml string or object has been given + case Phaser.Tilemap.TILED_JSON: + if (typeof mapData === 'string') + { + mapData = JSON.parse(mapData); + } + break; } + + this.game.cache.addTilemap(key, null, mapData, format); + } + else + { + this.addToFileList('tilemap', key, mapDataURL, { format: format }); } return this; @@ -32259,53 +31406,51 @@ Phaser.Loader.prototype = { * @param {string} textureURL - The url of the font image file. * @param {string} [xmlURL] - The url of the font data file (xml/fnt) * @param {object} [xmlData] - An optional XML data object. + * @return {Phaser.Loader} This Loader instance. */ bitmapFont: function (key, textureURL, xmlURL, xmlData) { if (typeof xmlURL === "undefined") { xmlURL = null; } if (typeof xmlData === "undefined") { xmlData = null; } - if (this.checkKeyExists(key) === false) + // A URL to a json/xml file has been given + if (xmlURL) { - // A URL to a json/xml file has been given - if (xmlURL) - { - this.addToFileList('bitmapfont', key, textureURL, { xmlURL: xmlURL }); - } - else + this.addToFileList('bitmapfont', key, textureURL, { xmlURL: xmlURL }); + } + else + { + // An xml string or object has been given + if (typeof xmlData === 'string') { - // An xml string or object has been given - if (typeof xmlData === 'string') - { - var xml; - - try { - if (window['DOMParser']) - { - var domparser = new DOMParser(); - xml = domparser.parseFromString(xmlData, "text/xml"); - } - else - { - xml = new ActiveXObject("Microsoft.XMLDOM"); - xml.async = 'false'; - xml.loadXML(xmlData); - } - } - catch (e) - { - xml = undefined; - } + var xml; - if (!xml || !xml.documentElement || xml.getElementsByTagName("parsererror").length) + try { + if (window['DOMParser']) { - throw new Error("Phaser.Loader. Invalid Bitmap Font XML given"); + var domparser = new DOMParser(); + xml = domparser.parseFromString(xmlData, "text/xml"); } else { - this.addToFileList('bitmapfont', key, textureURL, { xmlURL: null, xmlData: xml }); + xml = new ActiveXObject("Microsoft.XMLDOM"); + xml.async = 'false'; + xml.loadXML(xmlData); } } + catch (e) + { + xml = undefined; + } + + if (!xml || !xml.documentElement || xml.getElementsByTagName("parsererror").length) + { + throw new Error("Phaser.Loader. Invalid Bitmap Font XML given"); + } + else + { + this.addToFileList('bitmapfont', key, textureURL, { xmlURL: null, xmlData: xml }); + } } } @@ -32317,9 +31462,11 @@ Phaser.Loader.prototype = { * Add a new texture atlas to the loader. This atlas uses the JSON Array data format. * * @method Phaser.Loader#atlasJSONArray - * @param {string} key - Unique asset key of the bitmap font. - * @param {Description} atlasURL - The url of the Description. - * @param {Description} atlasData - Description. + * @param {string} key - Unique asset key of the texture atlas file. + * @param {string} textureURL - The url of the texture atlas image file. + * @param {string} [atlasURL] - The url of the texture atlas data file (json/xml). You don't need this if you are passing an atlasData object instead. + * @param {object} [atlasData] - A JSON or XML data object. You don't need this if the data is being loaded from a URL. + * @return {Phaser.Loader} This Loader instance. */ atlasJSONArray: function (key, textureURL, atlasURL, atlasData) { @@ -32331,9 +31478,11 @@ Phaser.Loader.prototype = { * Add a new texture atlas to the loader. This atlas uses the JSON Hash data format. * * @method Phaser.Loader#atlasJSONHash - * @param {string} key - Unique asset key of the bitmap font. - * @param {Description} atlasURL - The url of the Description. - * @param {Description} atlasData - Description. + * @param {string} key - Unique asset key of the texture atlas file. + * @param {string} textureURL - The url of the texture atlas image file. + * @param {string} [atlasURL] - The url of the texture atlas data file (json/xml). You don't need this if you are passing an atlasData object instead. + * @param {object} [atlasData] - A JSON or XML data object. You don't need this if the data is being loaded from a URL. + * @return {Phaser.Loader} This Loader instance. */ atlasJSONHash: function (key, textureURL, atlasURL, atlasData) { @@ -32345,9 +31494,11 @@ Phaser.Loader.prototype = { * Add a new texture atlas to the loader. This atlas uses the Starling XML data format. * * @method Phaser.Loader#atlasXML - * @param {string} key - Unique asset key of the bitmap font. - * @param {Description} atlasURL - The url of the Description. - * @param {Description} atlasData - Description. + * @param {string} key - Unique asset key of the texture atlas file. + * @param {string} textureURL - The url of the texture atlas image file. + * @param {string} [atlasURL] - The url of the texture atlas data file (json/xml). You don't need this if you are passing an atlasData object instead. + * @param {object} [atlasData] - A JSON or XML data object. You don't need this if the data is being loaded from a URL. + * @return {Phaser.Loader} This Loader instance. */ atlasXML: function (key, textureURL, atlasURL, atlasData) { @@ -32364,6 +31515,7 @@ Phaser.Loader.prototype = { * @param {string} [atlasURL] - The url of the texture atlas data file (json/xml). You don't need this if you are passing an atlasData object instead. * @param {object} [atlasData] - A JSON or XML data object. You don't need this if the data is being loaded from a URL. * @param {number} [format] - A value describing the format of the data, the default is Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY. + * @return {Phaser.Loader} This Loader instance. */ atlas: function (key, textureURL, atlasURL, atlasData, format) { @@ -32371,67 +31523,63 @@ Phaser.Loader.prototype = { if (typeof atlasData === "undefined") { atlasData = null; } if (typeof format === "undefined") { format = Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY; } - if (this.checkKeyExists(key) === false) + // A URL to a json/xml file has been given + if (atlasURL) { - // A URL to a json/xml file has been given - if (atlasURL) - { - this.addToFileList('textureatlas', key, textureURL, { atlasURL: atlasURL, format: format }); - } - else + this.addToFileList('textureatlas', key, textureURL, { atlasURL: atlasURL, format: format }); + } + else + { + switch (format) { - switch (format) - { - // A json string or object has been given - case Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY: + // A json string or object has been given + case Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY: - if (typeof atlasData === 'string') - { - atlasData = JSON.parse(atlasData); - } - break; + if (typeof atlasData === 'string') + { + atlasData = JSON.parse(atlasData); + } + break; - // An xml string or object has been given - case Phaser.Loader.TEXTURE_ATLAS_XML_STARLING: + // An xml string or object has been given + case Phaser.Loader.TEXTURE_ATLAS_XML_STARLING: - if (typeof atlasData === 'string') - { - var xml; - - try { - if (window['DOMParser']) - { - var domparser = new DOMParser(); - xml = domparser.parseFromString(atlasData, "text/xml"); - } - else - { - xml = new ActiveXObject("Microsoft.XMLDOM"); - xml.async = 'false'; - xml.loadXML(atlasData); - } - } - catch (e) - { - xml = undefined; - } + if (typeof atlasData === 'string') + { + var xml; - if (!xml || !xml.documentElement || xml.getElementsByTagName("parsererror").length) + try { + if (window['DOMParser']) { - throw new Error("Phaser.Loader. Invalid Texture Atlas XML given"); + var domparser = new DOMParser(); + xml = domparser.parseFromString(atlasData, "text/xml"); } else { - atlasData = xml; + xml = new ActiveXObject("Microsoft.XMLDOM"); + xml.async = 'false'; + xml.loadXML(atlasData); } } - break; - } - - this.addToFileList('textureatlas', key, textureURL, { atlasURL: null, atlasData: atlasData, format: format }); + catch (e) + { + xml = undefined; + } + if (!xml || !xml.documentElement || xml.getElementsByTagName("parsererror").length) + { + throw new Error("Phaser.Loader. Invalid Texture Atlas XML given"); + } + else + { + atlasData = xml; + } + } + break; } + this.addToFileList('textureatlas', key, textureURL, { atlasURL: null, atlasData: atlasData, format: format }); + } return this; @@ -32442,11 +31590,17 @@ Phaser.Loader.prototype = { * Remove loading request of a file. * * @method Phaser.Loader#removeFile - * @param key {string} Key of the file you want to remove. + * @param {string} type - The type of resource to add to the list (image, audio, xml, etc). + * @param {string} key - Key of the file you want to remove. */ - removeFile: function (key) { + removeFile: function (type, key) { - delete this._fileList[key]; + var file = this.getAsset(type, key); + + if (file !== false) + { + this._fileList.splice(file.index, 1); + } }, @@ -32457,7 +31611,7 @@ Phaser.Loader.prototype = { */ removeAll: function () { - this._fileList = {}; + this._fileList.length = 0; }, @@ -32477,11 +31631,12 @@ Phaser.Loader.prototype = { this.hasLoaded = false; this.isLoading = true; - this.onLoadStart.dispatch(this.queueSize); + this.onLoadStart.dispatch(this._fileList.length); - if (this._keys.length > 0) + if (this._fileList.length > 0) { - this._progressChunk = 100 / this._keys.length; + this._fileIndex = 0; + this._progressChunk = 100 / this._fileList.length; this.loadFile(); } else @@ -32501,7 +31656,13 @@ Phaser.Loader.prototype = { */ loadFile: function () { - var file = this._fileList[this._keys.shift()]; + if (!this._fileList[this._fileIndex]) + { + console.warn('Phaser.Loader loadFile invalid index ' + this._fileIndex); + return; + } + + var file = this._fileList[this._fileIndex]; var _this = this; // Image or Data? @@ -32515,10 +31676,10 @@ Phaser.Loader.prototype = { file.data = new Image(); file.data.name = file.key; file.data.onload = function () { - return _this.fileComplete(file.key); + return _this.fileComplete(_this._fileIndex); }; file.data.onerror = function () { - return _this.fileError(file.key); + return _this.fileError(_this._fileIndex); }; file.data.crossOrigin = this.crossOrigin; file.data.src = this.baseURL + file.url; @@ -32535,10 +31696,10 @@ Phaser.Loader.prototype = { this._xhr.open("GET", this.baseURL + file.url, true); this._xhr.responseType = "arraybuffer"; this._xhr.onload = function () { - return _this.fileComplete(file.key); + return _this.fileComplete(_this._fileIndex); }; this._xhr.onerror = function () { - return _this.fileError(file.key); + return _this.fileError(_this._fileIndex); }; this._xhr.send(); } @@ -32551,25 +31712,25 @@ Phaser.Loader.prototype = { file.data.name = file.key; file.data.preload = 'auto'; file.data.src = this.baseURL + file.url; - this.fileComplete(file.key); + this.fileComplete(this._fileIndex); } else { file.data = new Audio(); file.data.name = file.key; file.data.onerror = function () { - return _this.fileError(file.key); + return _this.fileError(_this._fileIndex); }; file.data.preload = 'auto'; file.data.src = this.baseURL + file.url; - file.data.addEventListener('canplaythrough', Phaser.GAMES[this.game.id].load.fileComplete(file.key), false); + file.data.addEventListener('canplaythrough', Phaser.GAMES[this.game.id].load.fileComplete(this._fileIndex), false); file.data.load(); } } } else { - this.fileError(file.key); + this.fileError(this._fileIndex); } break; @@ -32578,16 +31739,16 @@ Phaser.Loader.prototype = { this._xhr.open("GET", this.baseURL + file.url, true); this._xhr.responseType = "text"; - if (file.format == Phaser.Tilemap.TILED_JSON) + if (file.format === Phaser.Tilemap.TILED_JSON) { this._xhr.onload = function () { - return _this.jsonLoadComplete(file.key); + return _this.jsonLoadComplete(_this._fileIndex); }; } - else if (file.format == Phaser.Tilemap.CSV) + else if (file.format === Phaser.Tilemap.CSV) { this._xhr.onload = function () { - return _this.csvLoadComplete(file.key); + return _this.csvLoadComplete(_this._fileIndex); }; } else @@ -32596,7 +31757,7 @@ Phaser.Loader.prototype = { } this._xhr.onerror = function () { - return _this.dataLoadError(file.key); + return _this.dataLoadError(_this._fileIndex); }; this._xhr.send(); break; @@ -32605,10 +31766,23 @@ Phaser.Loader.prototype = { this._xhr.open("GET", this.baseURL + file.url, true); this._xhr.responseType = "text"; this._xhr.onload = function () { - return _this.fileComplete(file.key); + return _this.fileComplete(_this._fileIndex); + }; + this._xhr.onerror = function () { + return _this.fileError(_this._fileIndex); + }; + this._xhr.send(); + break; + + case 'script': + + this._xhr.open("GET", this.baseURL + file.url, true); + this._xhr.responseType = "text"; + this._xhr.onload = function () { + return _this.fileComplete(_this._fileIndex); }; this._xhr.onerror = function () { - return _this.fileError(file.key); + return _this.fileError(_this._fileIndex); }; this._xhr.send(); break; @@ -32645,21 +31819,21 @@ Phaser.Loader.prototype = { }, /** - * Error occured when load a file. + * Error occured when loading a file. * * @method Phaser.Loader#fileError - * @param {string} key - Key of the error loading file. + * @param {number} index - The index of the file in the file queue that errored. */ - fileError: function (key) { + fileError: function (index) { - this._fileList[key].loaded = true; - this._fileList[key].error = true; + this._fileList[index].loaded = true; + this._fileList[index].error = true; - this.onFileError.dispatch(key); + this.onFileError.dispatch(this._fileList[index].key, this._fileList[index]); - console.warn("Phaser.Loader error loading file: " + key + ' from URL ' + this._fileList[key].url); + console.warn("Phaser.Loader error loading file: " + this._fileList[index].key + ' from URL ' + this._fileList[index].url); - this.nextFile(key, false); + this.nextFile(index, false); }, @@ -32667,19 +31841,20 @@ Phaser.Loader.prototype = { * Called when a file is successfully loaded. * * @method Phaser.Loader#fileComplete - * @param {string} key - Key of the successfully loaded file. + * @param {number} index - The index of the file in the file queue that loaded. */ - fileComplete: function (key) { + fileComplete: function (index) { - if (!this._fileList[key]) + if (!this._fileList[index]) { - console.warn('Phaser.Loader fileComplete invalid key ' + key); + console.warn('Phaser.Loader fileComplete invalid index ' + index); return; } - this._fileList[key].loaded = true; - var file = this._fileList[key]; + var file = this._fileList[index]; + file.loaded = true; + var loadNext = true; var _this = this; @@ -32716,13 +31891,13 @@ Phaser.Loader.prototype = { if (file.format == Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY || file.format == Phaser.Loader.TEXTURE_ATLAS_JSON_HASH) { this._xhr.onload = function () { - return _this.jsonLoadComplete(file.key); + return _this.jsonLoadComplete(index); }; } else if (file.format == Phaser.Loader.TEXTURE_ATLAS_XML_STARLING) { this._xhr.onload = function () { - return _this.xmlLoadComplete(file.key); + return _this.xmlLoadComplete(index); }; } else @@ -32731,7 +31906,7 @@ Phaser.Loader.prototype = { } this._xhr.onerror = function () { - return _this.dataLoadError(file.key); + return _this.dataLoadError(index); }; this._xhr.send(); } @@ -32751,11 +31926,11 @@ Phaser.Loader.prototype = { this._xhr.responseType = "text"; this._xhr.onload = function () { - return _this.xmlLoadComplete(file.key); + return _this.xmlLoadComplete(index); }; this._xhr.onerror = function () { - return _this.dataLoadError(file.key); + return _this.dataLoadError(index); }; this._xhr.send(); } @@ -32795,11 +31970,20 @@ Phaser.Loader.prototype = { file.data = this._xhr.responseText; this.game.cache.addText(file.key, file.url, file.data); break; + + case 'script': + file.data = document.createElement('script'); + file.data.language = 'javascript'; + file.data.type = 'text/javascript'; + file.data.defer = true; + file.data.text = this._xhr.responseText; + document.head.appendChild(file.data); + break; } if (loadNext) { - this.nextFile(key, true); + this.nextFile(index, true); } }, @@ -32808,14 +31992,22 @@ Phaser.Loader.prototype = { * Successfully loaded a JSON file. * * @method Phaser.Loader#jsonLoadComplete - * @param {string} key - Key of the loaded JSON file. + * @param {number} index - The index of the file in the file queue that loaded. */ - jsonLoadComplete: function (key) { + jsonLoadComplete: function (index) { + + if (!this._fileList[index]) + { + console.warn('Phaser.Loader jsonLoadComplete invalid index ' + index); + return; + } + var file = this._fileList[index]; var data = JSON.parse(this._xhr.responseText); - var file = this._fileList[key]; - if (file.type == 'tilemap') + file.loaded = true; + + if (file.type === 'tilemap') { this.game.cache.addTilemap(file.key, file.url, data, file.format); } @@ -32824,7 +32016,7 @@ Phaser.Loader.prototype = { this.game.cache.addTextureAtlas(file.key, file.url, file.data, data, file.format); } - this.nextFile(key, true); + this.nextFile(index, true); }, @@ -32832,16 +32024,24 @@ Phaser.Loader.prototype = { * Successfully loaded a CSV file. * * @method Phaser.Loader#csvLoadComplete - * @param {string} key - Key of the loaded CSV file. + * @param {number} index - The index of the file in the file queue that loaded. */ - csvLoadComplete: function (key) { + csvLoadComplete: function (index) { + + if (!this._fileList[index]) + { + console.warn('Phaser.Loader csvLoadComplete invalid index ' + index); + return; + } + var file = this._fileList[index]; var data = this._xhr.responseText; - var file = this._fileList[key]; + + file.loaded = true; this.game.cache.addTilemap(file.key, file.url, data, file.format); - this.nextFile(key, true); + this.nextFile(index, true); }, @@ -32849,17 +32049,18 @@ Phaser.Loader.prototype = { * Error occured when load a JSON. * * @method Phaser.Loader#dataLoadError - * @param {string} key - Key of the error loading JSON file. + * @param {number} index - The index of the file in the file queue that errored. */ - dataLoadError: function (key) { + dataLoadError: function (index) { - var file = this._fileList[key]; + var file = this._fileList[index]; + file.loaded = true; file.error = true; - console.warn("Phaser.Loader dataLoadError: " + key); + console.warn("Phaser.Loader dataLoadError: " + file.key); - this.nextFile(key, true); + this.nextFile(index, true); }, @@ -32867,9 +32068,9 @@ Phaser.Loader.prototype = { * Successfully loaded an XML file. * * @method Phaser.Loader#xmlLoadComplete - * @param {string} key - Key of the loaded XML file. + * @param {number} index - The index of the file in the file queue that loaded. */ - xmlLoadComplete: function (key) { + xmlLoadComplete: function (index) { var data = this._xhr.responseText; var xml; @@ -32898,7 +32099,8 @@ Phaser.Loader.prototype = { throw new Error("Phaser.Loader. Invalid XML given"); } - var file = this._fileList[key]; + var file = this._fileList[index]; + file.loaded = true; if (file.type == 'bitmapfont') { @@ -32909,18 +32111,18 @@ Phaser.Loader.prototype = { this.game.cache.addTextureAtlas(file.key, file.url, file.data, xml, file.format); } - this.nextFile(key, true); + this.nextFile(index, true); }, /** * Handle loading next file. * - * @param previousKey {string} Key of previous loaded asset. - * @param success {boolean} Whether the previous asset loaded successfully or not. + * @param {number} previousIndex - Index of the previously loaded asset. + * @param {boolean} success - Whether the previous asset loaded successfully or not. * @private */ - nextFile: function (previousKey, success) { + nextFile: function (previousIndex, success) { this.progress = Math.round(this.progress + this._progressChunk); @@ -32943,10 +32145,11 @@ Phaser.Loader.prototype = { this.preloadSprite.sprite.crop = this.preloadSprite.crop; } - this.onFileComplete.dispatch(this.progress, previousKey, success, this.queueSize - this._keys.length, this.queueSize); + this.onFileComplete.dispatch(this.progress, this._fileList[previousIndex].key, success, this.totalLoadedFiles(), this._fileList.length); - if (this._keys.length > 0) + if (this.totalQueuedFiles() > 0) { + this._fileIndex++; this.loadFile(); } else @@ -32959,6 +32162,48 @@ Phaser.Loader.prototype = { this.onLoadComplete.dispatch(); } + }, + + /** + * Returns the number of files that have already been loaded, even if they errored. + * + * @return {number} The number of files that have already been loaded (even if they errored) + */ + totalLoadedFiles: function () { + + var total = 0; + + for (var i = 0; i < this._fileList.length; i++) + { + if (this._fileList[i].loaded) + { + total++; + } + } + + return total; + + }, + + /** + * Returns the number of files still waiting to be processed in the load queue. This value decreases as each file is in the queue is loaded. + * + * @return {number} The number of files that still remain in the load queue. + */ + totalQueuedFiles: function () { + + var total = 0; + + for (var i = 0; i < this._fileList.length; i++) + { + if (this._fileList[i].loaded === false) + { + total++; + } + } + + return total; + } }; @@ -33063,10 +32308,11 @@ Phaser.LoaderParser = { * @param {number} [volume=1] - Default value for the volume, between 0 and 1. * @param {boolean} [loop=false] - Whether or not the sound will loop. */ -Phaser.Sound = function (game, key, volume, loop) { +Phaser.Sound = function (game, key, volume, loop, connect) { if (typeof volume == 'undefined') { volume = 1; } if (typeof loop == 'undefined') { loop = false; } + if (typeof connect === 'undefined') { connect = game.sound.connectToMaster; } /** * A reference to the currently running Game. @@ -33200,6 +32446,11 @@ Phaser.Sound = function (game, key, volume, loop) { */ this.usingAudioTag = this.game.sound.usingAudioTag; + /** + * @property {object} externalNode - If defined this Sound won't connect to the SoundManager master gain node, but will instead connect to externalNode.input. + */ + this.externalNode = null; + if (this.usingWebAudio) { this.context = this.game.sound.context; @@ -33215,7 +32466,11 @@ Phaser.Sound = function (game, key, volume, loop) { } this.gainNode.gain.value = volume * this.game.sound.volume; - this.gainNode.connect(this.masterGainNode); + + if (connect) + { + this.gainNode.connect(this.masterGainNode); + } } else { @@ -33525,7 +32780,16 @@ Phaser.Sound.prototype = { this._sound = this.context.createBufferSource(); this._sound.buffer = this._buffer; - this._sound.connect(this.gainNode); + + if (this.externalNode) + { + this._sound.connect(this.externalNode.input); + } + else + { + this._sound.connect(this.gainNode); + } + this.totalDuration = this._sound.buffer.duration; if (this.duration === 0) @@ -33918,6 +33182,12 @@ Phaser.SoundManager = function (game) { */ this.noAudio = false; + /** + * @property {boolean} connectToMaster - Used in conjunction with Sound.externalNode this allows you to stop a Sound node being connected to the SoundManager master gain node. + * @default + */ + this.connectToMaster = true; + /** * @property {boolean} touchLocked - true if the audio system is currently locked awaiting a touch event. * @default @@ -34014,7 +33284,6 @@ Phaser.SoundManager.prototype = { this.masterGain.connect(this.context.destination); } - }, /** @@ -34164,14 +33433,16 @@ Phaser.SoundManager.prototype = { * @param {string} key - Asset key for the sound. * @param {number} [volume=1] - Default value for the volume. * @param {boolean} [loop=false] - Whether or not the sound will loop. + * @param {boolean} [connect=true] - Controls if the created Sound object will connect to the master gainNode of the SoundManager when running under WebAudio. * @return {Phaser.Sound} The new sound instance. */ - add: function (key, volume, loop) { + add: function (key, volume, loop, connect) { if (typeof volume === 'undefined') { volume = 1; } if (typeof loop === 'undefined') { loop = false; } + if (typeof connect === 'undefined') { connect = this.connectToMaster; } - var sound = new Phaser.Sound(this.game, key, volume, loop); + var sound = new Phaser.Sound(this.game, key, volume, loop, connect); this._sounds.push(sound); @@ -34621,7 +33892,7 @@ Phaser.Utils.Debug.prototype = { /** * Renders the Pointer.circle object onto the stage in green if down or red if up along with debug text. - * @method Phaser.Utils.Debug#renderDebug + * @method Phaser.Utils.Debug#renderPointer * @param {Phaser.Pointer} pointer - Description. * @param {boolean} [hideIfUp=false] - Doesn't render the circle if the pointer is up. * @param {string} [downColor='rgba(0,255,0,0.5)'] - The color the circle is rendered in if down. @@ -35830,22 +35101,179 @@ Phaser.Physics.Arcade.prototype = { }, /** - * Checks if two Sprite objects overlap. + * Checks for overlaps between two game objects. The objects can be Sprites, Groups or Emitters. + * You can perform Sprite vs. Sprite, Sprite vs. Group and Group vs. Group overlap checks. + * Unlike collide the objects are NOT automatically separated or have any physics applied, they merely test for overlap results. * * @method Phaser.Physics.Arcade#overlap - * @param {Phaser.Sprite} object1 - The first object to check. Can be an instance of Phaser.Sprite or anything that extends it. - * @param {Phaser.Sprite} object2 - The second object to check. Can be an instance of Phaser.Sprite or anything that extends it. - * @returns {boolean} true if the two objects overlap. + * @param {Phaser.Sprite|Phaser.Group|Phaser.Particles.Emitter} object1 - The first object to check. Can be an instance of Phaser.Sprite, Phaser.Group or Phaser.Particles.Emitter. + * @param {Phaser.Sprite|Phaser.Group|Phaser.Particles.Emitter} object2 - The second object to check. Can be an instance of Phaser.Sprite, Phaser.Group or Phaser.Particles.Emitter. + * @param {function} [overlapCallback=null] - An optional callback function that is called if the objects overlap. The two objects will be passed to this function in the same order in which you specified them. + * @param {function} [processCallback=null] - A callback function that lets you perform additional checks against the two objects if they overlap. If this is set then overlapCallback will only be called if processCallback returns true. + * @param {object} [callbackContext] - The context in which to run the callbacks. + * @returns {boolean} True if an overlap occured otherwise false. */ - overlap: function (object1, object2) { + overlap: function (object1, object2, overlapCallback, processCallback, callbackContext) { + + overlapCallback = overlapCallback || null; + processCallback = processCallback || null; + callbackContext = callbackContext || overlapCallback; + + this._result = false; + this._total = 0; // Only test valid objects if (object1 && object2 && object1.exists && object2.exists) { - return (Phaser.Rectangle.intersects(object1.body, object2.body)); + // SPRITES + if (object1.type == Phaser.SPRITE) + { + if (object2.type == Phaser.SPRITE) + { + this.overlapSpriteVsSprite(object1, object2, overlapCallback, processCallback, callbackContext); + } + else if (object2.type == Phaser.GROUP || object2.type == Phaser.EMITTER) + { + this.overlapSpriteVsGroup(object1, object2, overlapCallback, processCallback, callbackContext); + } + } + // GROUPS + else if (object1.type == Phaser.GROUP) + { + if (object2.type == Phaser.SPRITE) + { + this.overlapSpriteVsGroup(object2, object1, overlapCallback, processCallback, callbackContext); + } + else if (object2.type == Phaser.GROUP || object2.type == Phaser.EMITTER) + { + this.overlapGroupVsGroup(object1, object2, overlapCallback, processCallback, callbackContext); + } + } + // EMITTER + else if (object1.type == Phaser.EMITTER) + { + if (object2.type == Phaser.SPRITE) + { + this.overlapSpriteVsGroup(object2, object1, overlapCallback, processCallback, callbackContext); + } + else if (object2.type == Phaser.GROUP || object2.type == Phaser.EMITTER) + { + this.overlapGroupVsGroup(object1, object2, overlapCallback, processCallback, callbackContext); + } + } } - return false; + return (this._total > 0); + + }, + + /** + * An internal function. Use Phaser.Physics.Arcade.overlap instead. + * + * @method Phaser.Physics.Arcade#overlapSpriteVsSprite + * @private + */ + overlapSpriteVsSprite: function (sprite1, sprite2, overlapCallback, processCallback, callbackContext) { + + this._result = Phaser.Rectangle.intersects(sprite1.body, sprite2.body); + + if (this._result) + { + // They collided, is there a custom process callback? + if (processCallback) + { + if (processCallback.call(callbackContext, sprite1, sprite2)) + { + this._total++; + + if (overlapCallback) + { + overlapCallback.call(callbackContext, sprite1, sprite2); + } + } + } + else + { + this._total++; + + if (overlapCallback) + { + overlapCallback.call(callbackContext, sprite1, sprite2); + } + } + } + + }, + + /** + * An internal function. Use Phaser.Physics.Arcade.overlap instead. + * + * @method Phaser.Physics.Arcade#overlapSpriteVsGroup + * @private + */ + overlapSpriteVsGroup: function (sprite, group, overlapCallback, processCallback, callbackContext) { + + if (group.length === 0) + { + return; + } + + // What is the sprite colliding with in the quadtree? + this._potentials = this.quadTree.retrieve(sprite); + + for (var i = 0, len = this._potentials.length; i < len; i++) + { + // We have our potential suspects, are they in this group? + if (this._potentials[i].sprite.group == group) + { + this._result = Phaser.Rectangle.intersects(sprite.body, this._potentials[i]); + + if (this._result && processCallback) + { + this._result = processCallback.call(callbackContext, sprite, this._potentials[i].sprite); + } + + if (this._result) + { + this._total++; + + if (overlapCallback) + { + overlapCallback.call(callbackContext, sprite, this._potentials[i].sprite); + } + } + } + } + + }, + + /** + * An internal function. Use Phaser.Physics.Arcade.overlap instead. + * + * @method Phaser.Physics.Arcade#overlapGroupVsGroup + * @private + */ + overlapGroupVsGroup: function (group1, group2, overlapCallback, processCallback, callbackContext) { + + if (group1.length === 0 || group2.length === 0) + { + return; + } + + if (group1._container.first._iNext) + { + var currentNode = group1._container.first._iNext; + + do + { + if (currentNode.exists) + { + this.overlapSpriteVsGroup(currentNode, group2, overlapCallback, processCallback, callbackContext); + } + currentNode = currentNode._iNext; + } + while (currentNode != group1._container.last._iNext); + } }, @@ -35857,10 +35285,10 @@ Phaser.Physics.Arcade.prototype = { * @method Phaser.Physics.Arcade#collide * @param {Phaser.Sprite|Phaser.Group|Phaser.Particles.Emitter|Phaser.Tilemap} object1 - The first object to check. Can be an instance of Phaser.Sprite, Phaser.Group, Phaser.Particles.Emitter, or Phaser.Tilemap * @param {Phaser.Sprite|Phaser.Group|Phaser.Particles.Emitter|Phaser.Tilemap} object2 - The second object to check. Can be an instance of Phaser.Sprite, Phaser.Group, Phaser.Particles.Emitter or Phaser.Tilemap - * @param {function} [collideCallback=null] - An optional callback function that is called if the objects overlap. The two objects will be passed to this function in the same order in which you passed them to Collision.overlap. + * @param {function} [collideCallback=null] - An optional callback function that is called if the objects overlap. The two objects will be passed to this function in the same order in which you specified them. * @param {function} [processCallback=null] - A callback function that lets you perform additional checks against the two objects if they overlap. If this is set then collideCallback will only be called if processCallback returns true. * @param {object} [callbackContext] - The context in which to run the callbacks. - * @returns {number} The number of collisions that were processed. + * @returns {boolean} True if a collision occured otherwise false. */ collide: function (object1, object2, collideCallback, processCallback, callbackContext) { @@ -36245,6 +35673,8 @@ Phaser.Physics.Arcade.prototype = { body2.x += this._overlap; body2.velocity.x = this._velocity1 - this._velocity2 * body2.bounce.x; } + body1.updateHulls(); + body2.updateHulls(); return true; } @@ -36365,6 +35795,8 @@ Phaser.Physics.Arcade.prototype = { body2.x += body1.x - body1.lastX; } } + body1.updateHulls(); + body2.updateHulls(); return true; } @@ -38338,21 +37770,22 @@ Object.defineProperty(Phaser.Particles.Arcade.Emitter.prototype, "bottom", { */ /** -* Create a new Tile. +* Create a new `Tile` object. Tiles live inside of Tilesets and are rendered via TilemapLayers. * * @class Phaser.Tile * @classdesc A Tile is a single representation of a tile within a Tilemap. * @constructor -* @param {Phaser.Game} game - A reference to the currently running game. -* @param {Tilemap} tilemap - The tilemap this tile belongs to. -* @param {number} index - The index of this tile type in the core map data. -* @param {number} width - Width of the tile. -* @param {number} height - Height of the tile. +* @param {Phaser.Tileset} tileset - The tileset this tile belongs to. +* @param {number} index - The index of this tile type in the core map data. +* @param {number} x - The x coordinate of this tile. +* @param {number} y - The y coordinate of this tile. +* @param {number} width - Width of the tile. +* @param {number} height - Height of the tile. */ Phaser.Tile = function (tileset, index, x, y, width, height) { /** - * @property {string} tileset - The tileset this tile belongs to. + * @property {Phaser.Tileset} tileset - The tileset this tile belongs to. */ this.tileset = tileset; @@ -38450,7 +37883,7 @@ Phaser.Tile.prototype = { /** * Set callback to be called when this tilemap collides. * - * @method Phaser.Tilemap.prototype.setCollisionCallback + * @method Phaser.Tile#setCollisionCallback * @param {Function} callback - Callback function. * @param {object} context - Callback will be called with this context. */ @@ -38463,7 +37896,7 @@ Phaser.Tile.prototype = { /** * Clean up memory. - * @method destroy + * @method Phaser.Tile#destroy */ destroy: function () { @@ -38472,15 +37905,12 @@ Phaser.Tile.prototype = { }, /** - * Set collision configs. - * @method setCollision - * @param {boolean} left - Indicating collide with any object on the left. - * @param {boolean} right - Indicating collide with any object on the right. - * @param {boolean} up - Indicating collide with any object on the top. - * @param {boolean} down - Indicating collide with any object on the bottom. - * @param {boolean} reset - Description. - * @param {boolean} separateX - Separate at x-axis. - * @param {boolean} separateY - Separate at y-axis. + * Set collision settings on this tile. + * @method Phaser.Tile#setCollision + * @param {boolean} left - Indicating collide with any object on the left. + * @param {boolean} right - Indicating collide with any object on the right. + * @param {boolean} up - Indicating collide with any object on the top. + * @param {boolean} down - Indicating collide with any object on the bottom. */ setCollision: function (left, right, up, down) { @@ -38502,7 +37932,7 @@ Phaser.Tile.prototype = { /** * Reset collision status flags. - * @method resetCollision + * @method Phaser.Tile#resetCollision */ resetCollision: function () { @@ -38516,42 +37946,56 @@ Phaser.Tile.prototype = { }; +/** +* @name Phaser.Tile#bottom +* @property {number} bottom - The sum of the y and height properties. +* @readonly +*/ Object.defineProperty(Phaser.Tile.prototype, "bottom", { - /** - * The sum of the y and height properties. Changing the bottom property of a Rectangle object has no effect on the x, y and width properties, but does change the height property. - * @method bottom - * @return {number} - */ get: function () { return this.y + this.height; } }); +/** +* @name Phaser.Tile#right +* @property {number} right - The sum of the x and width properties. +* @readonly +*/ Object.defineProperty(Phaser.Tile.prototype, "right", { - /** - * The sum of the x and width properties. Changing the right property of a Rectangle object has no effect on the x, y and height properties. - * However it does affect the width property. - * @method right - * @return {number} - */ get: function () { return this.x + this.width; } }); +/** +* @author Richard Davey +* @copyright 2013 Photon Storm Ltd. +* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} +*/ + +/** +* A Tile Map object. A Tile map consists of a set of tile data and tile sets. It is rendered to the display using a TilemapLayer. +* A map may have multiple layers. You can perform operations on the map data such as copying, pasting, filling and shuffling the tiles around. +* +* @class Phaser.Tilemap +* @constructor +* @param {Phaser.Game} game - Game reference to the currently running game. +* @param {string} [key] - The key of the tilemap data as stored in the Cache. +*/ Phaser.Tilemap = function (game, key) { /** - * @property {Phaser.Game} game - Description. + * @property {Phaser.Game} game - A reference to the currently running Game. */ this.game = game; /** - * @property {array} layers - Description. + * @property {array} layers - An array of Tilemap layers. */ this.layers = null; @@ -38567,23 +38011,64 @@ Phaser.Tilemap = function (game, key) { this.layers = []; } + /** + * @property {number} currentLayer - The current layer. + */ this.currentLayer = 0; + /** + * @property {array} debugMap - Map data used for debug values only. + */ + this.debugMap = []; + /** + * @property {boolean} dirty - Internal rendering related flag. + */ this.dirty = false; + /** + * @property {array} _results - Internal var. + * @private + */ this._results = []; + + /** + * @property {number} _tempA - Internal var. + * @private + */ this._tempA = 0; + + /** + * @property {number} _tempB - Internal var. + * @private + */ this._tempB = 0; }; +/** +* @constant +* @type {number} +*/ Phaser.Tilemap.CSV = 0; + +/** +* @constant +* @type {number} +*/ Phaser.Tilemap.TILED_JSON = 1; Phaser.Tilemap.prototype = { + /** + * Creates an empty map of the given dimensions. + * + * @method Phaser.Tilemap#create + * @param {string} name - The name of the map (mostly used for debugging) + * @param {number} width - The width of the map in tiles. + * @param {number} height - The height of the map in tiles. + */ create: function (name, width, height) { var data = []; @@ -38598,7 +38083,7 @@ Phaser.Tilemap.prototype = { } } - this.currentLayer = this.layers.push({ + this.layers.push({ name: name, width: width, @@ -38613,10 +38098,17 @@ Phaser.Tilemap.prototype = { }); + this.currentLayer = this.layers.length - 1; + this.dirty = true; }, + /** + * Internal function that calculates the tile indexes for the map data. + * + * @method Phaser.Tilemap#calculateIndexes + */ calculateIndexes: function () { for (var layer = 0; layer < this.layers.length; layer++) @@ -38639,6 +38131,12 @@ Phaser.Tilemap.prototype = { }, + /** + * Sets the current layer to the given index. + * + * @method Phaser.Tilemap#setLayer + * @param {number} layer - Sets the current layer to the given index. + */ setLayer: function (layer) { if (this.layers[layer]) @@ -38649,11 +38147,12 @@ Phaser.Tilemap.prototype = { }, /** - * Set a specific tile with its x and y in tiles. - * @method putTile - * @param {number} x - X position of this tile. - * @param {number} y - Y position of this tile. - * @param {number} index - The index of this tile type in the core map data. + * Puts a tile of the given index value at the coordinate specified. + * @method Phaser.Tilemap#putTile + * @param {number} index - The index of this tile to set. + * @param {number} x - X position to place the tile (given in tile units, not pixels) + * @param {number} y - Y position to place the tile (given in tile units, not pixels) + * @param {number} [layer] - The Tilemap Layer to operate on. */ putTile: function (index, x, y, layer) { @@ -38668,6 +38167,14 @@ Phaser.Tilemap.prototype = { }, + /** + * Gets a tile from the Tilemap Layer. The coordinates are given in tile values. + * @method Phaser.Tilemap#getTile + * @param {number} x - X position to get the tile from (given in tile units, not pixels) + * @param {number} y - Y position to get the tile from (given in tile units, not pixels) + * @param {number} [layer] - The Tilemap Layer to operate on. + * @return {number} The index of the tile at the given coordinates. + */ getTile: function (x, y, layer) { if (typeof layer === "undefined") { layer = this.currentLayer; } @@ -38679,6 +38186,14 @@ Phaser.Tilemap.prototype = { }, + /** + * Gets a tile from the Tilemap layer. The coordinates are given in pixel values. + * @method Phaser.Tilemap#getTileWorldXY + * @param {number} x - X position to get the tile from (given in pixels) + * @param {number} y - Y position to get the tile from (given in pixels) + * @param {number} [layer] - The Tilemap Layer to operate on. + * @return {number} The index of the tile at the given coordinates. + */ getTileWorldXY: function (x, y, tileWidth, tileHeight, layer) { if (typeof layer === "undefined") { layer = this.currentLayer; } @@ -38694,14 +38209,19 @@ Phaser.Tilemap.prototype = { }, /** - * Set a specific tile with its x and y in tiles. - * @method putTileWorldXY - * @param {number} x - X position of this tile in world coordinates. - * @param {number} y - Y position of this tile in world coordinates. - * @param {number} index - The index of this tile type in the core map data. + * Puts a tile into the Tilemap layer. The coordinates are given in pixel values. + * @method Phaser.Tilemap#putTileWorldXY + * @param {number} index - The index of the tile to put into the layer. + * @param {number} x - X position to insert the tile (given in pixels) + * @param {number} y - Y position to insert the tile (given in pixels) + * @param {number} tileWidth - The width of the tile in pixels. + * @param {number} tileHeight - The height of the tile in pixels. + * @param {number} [layer] - The Tilemap Layer to operate on. */ putTileWorldXY: function (index, x, y, tileWidth, tileHeight, layer) { + if (typeof layer === "undefined") { layer = this.currentLayer; } + x = this.game.math.snapToFloor(x, tileWidth) / tileWidth; y = this.game.math.snapToFloor(y, tileHeight) / tileHeight; @@ -38714,7 +38234,16 @@ Phaser.Tilemap.prototype = { }, - // Values are in TILEs, not pixels. + /** + * Copies all of the tiles in the given rectangular block into the tilemap data buffer. + * @method Phaser.Tilemap#copy + * @param {number} x - X position of the top left of the area to copy (given in tiles, not pixels) + * @param {number} y - Y position of the top left of the area to copy (given in tiles, not pixels) + * @param {number} width - The width of the area to copy (given in tiles, not pixels) + * @param {number} height - The height of the area to copy (given in tiles, not pixels) + * @param {number} [layer] - The Tilemap Layer to operate on. + * @return {array} An array of the tiles that were copied. + */ copy: function (x, y, width, height, layer) { if (typeof layer === "undefined") { layer = this.currentLayer; } @@ -38766,6 +38295,14 @@ Phaser.Tilemap.prototype = { }, + /** + * Pastes a previously copied block of tile data into the given x/y coordinates. Data should have been prepared with Tilemap.copy. + * @method Phaser.Tilemap#paste + * @param {number} x - X position of the top left of the area to paste to (given in tiles, not pixels) + * @param {number} y - Y position of the top left of the area to paste to (given in tiles, not pixels) + * @param {array} tileblock - The block of tiles to paste. + * @param {number} layer - The Tilemap Layer to operate on. + */ paste: function (x, y, tileblock, layer) { if (typeof x === "undefined") { x = 0; } @@ -38792,13 +38329,13 @@ Phaser.Tilemap.prototype = { /** * Swap tiles with 2 kinds of indexes. - * @method swapTile + * @method Phaser.Tilemap#swapTile * @param {number} tileA - First tile index. * @param {number} tileB - Second tile index. - * @param {number} [x] - specify a Rectangle of tiles to operate. The x position in tiles of Rectangle's left-top corner. - * @param {number} [y] - specify a Rectangle of tiles to operate. The y position in tiles of Rectangle's left-top corner. - * @param {number} [width] - specify a Rectangle of tiles to operate. The width in tiles. - * @param {number} [height] - specify a Rectangle of tiles to operate. The height in tiles. + * @param {number} x - X position of the top left of the area to operate one, given in tiles, not pixels. + * @param {number} y - Y position of the top left of the area to operate one, given in tiles, not pixels. + * @param {number} width - The width in tiles of the area to operate on. + * @param {number} height - The height in tiles of the area to operate on. */ swap: function (tileA, tileB, x, y, width, height, layer) { @@ -38818,6 +38355,12 @@ Phaser.Tilemap.prototype = { }, + /** + * Internal function that handles the swapping of tiles. + * @method Phaser.Tilemap#swapHandler + * @param {number} value + * @param {number} index + */ swapHandler: function (value, index) { if (value.index === this._tempA) @@ -38832,14 +38375,15 @@ Phaser.Tilemap.prototype = { }, /** - * Swap tiles with 2 kinds of indexes. - * @method swapTile - * @param {number} tileA - First tile index. - * @param {number} tileB - Second tile index. - * @param {number} [x] - specify a Rectangle of tiles to operate. The x position in tiles of Rectangle's left-top corner. - * @param {number} [y] - specify a Rectangle of tiles to operate. The y position in tiles of Rectangle's left-top corner. - * @param {number} [width] - specify a Rectangle of tiles to operate. The width in tiles. - * @param {number} [height] - specify a Rectangle of tiles to operate. The height in tiles. + * For each tile in the given area (defined by x/y and width/height) run the given callback. + * @method Phaser.Tilemap#forEach + * @param {number} callback - The callback. Each tile in the given area will be passed to this callback as the first and only parameter. + * @param {number} context - The context under which the callback should be run. + * @param {number} x - X position of the top left of the area to operate one, given in tiles, not pixels. + * @param {number} y - Y position of the top left of the area to operate one, given in tiles, not pixels. + * @param {number} width - The width in tiles of the area to operate on. + * @param {number} height - The height in tiles of the area to operate on. + * @param {number} [layer] - The Tilemap Layer to operate on. */ forEach: function (callback, context, x, y, width, height, layer) { @@ -38857,14 +38401,15 @@ Phaser.Tilemap.prototype = { }, /** - * Replaces one type of tile with another. - * @method replace + * Replaces one type of tile with another in the given area (defined by x/y and width/height). + * @method Phaser.Tilemap#replace * @param {number} tileA - First tile index. * @param {number} tileB - Second tile index. - * @param {number} [x] - specify a Rectangle of tiles to operate. The x position in tiles of Rectangle's left-top corner. - * @param {number} [y] - specify a Rectangle of tiles to operate. The y position in tiles of Rectangle's left-top corner. - * @param {number} [width] - specify a Rectangle of tiles to operate. The width in tiles. - * @param {number} [height] - specify a Rectangle of tiles to operate. The height in tiles. + * @param {number} x - X position of the top left of the area to operate one, given in tiles, not pixels. + * @param {number} y - Y position of the top left of the area to operate one, given in tiles, not pixels. + * @param {number} width - The width in tiles of the area to operate on. + * @param {number} height - The height in tiles of the area to operate on. + * @param {number} [layer] - The Tilemap Layer to operate on. */ replace: function (tileA, tileB, x, y, width, height, layer) { @@ -38888,14 +38433,15 @@ Phaser.Tilemap.prototype = { }, /** - * Randomises a set of tiles in a given area. It will only randomise the tiles in that area, so if they're all the same nothing will appear to have changed! - * @method random + * Randomises a set of tiles in a given area. + * @method Phaser.Tilemap#random * @param {number} tileA - First tile index. * @param {number} tileB - Second tile index. - * @param {number} [x] - specify a Rectangle of tiles to operate. The x position in tiles of Rectangle's left-top corner. - * @param {number} [y] - specify a Rectangle of tiles to operate. The y position in tiles of Rectangle's left-top corner. - * @param {number} [width] - specify a Rectangle of tiles to operate. The width in tiles. - * @param {number} [height] - specify a Rectangle of tiles to operate. The height in tiles. + * @param {number} x - X position of the top left of the area to operate one, given in tiles, not pixels. + * @param {number} y - Y position of the top left of the area to operate one, given in tiles, not pixels. + * @param {number} width - The width in tiles of the area to operate on. + * @param {number} height - The height in tiles of the area to operate on. + * @param {number} [layer] - The Tilemap Layer to operate on. */ random: function (x, y, width, height, layer) { @@ -38930,14 +38476,15 @@ Phaser.Tilemap.prototype = { }, /** - * Randomises a set of tiles in a given area. It will only randomise the tiles in that area, so if they're all the same nothing will appear to have changed! - * @method random + * Shuffles a set of tiles in a given area. It will only randomise the tiles in that area, so if they're all the same nothing will appear to have changed! + * @method Phaser.Tilemap#shuffle * @param {number} tileA - First tile index. * @param {number} tileB - Second tile index. - * @param {number} [x] - specify a Rectangle of tiles to operate. The x position in tiles of Rectangle's left-top corner. - * @param {number} [y] - specify a Rectangle of tiles to operate. The y position in tiles of Rectangle's left-top corner. - * @param {number} [width] - specify a Rectangle of tiles to operate. The width in tiles. - * @param {number} [height] - specify a Rectangle of tiles to operate. The height in tiles. + * @param {number} x - X position of the top left of the area to operate one, given in tiles, not pixels. + * @param {number} y - Y position of the top left of the area to operate one, given in tiles, not pixels. + * @param {number} width - The width in tiles of the area to operate on. + * @param {number} height - The height in tiles of the area to operate on. + * @param {number} [layer] - The Tilemap Layer to operate on. */ shuffle: function (x, y, width, height, layer) { @@ -38961,13 +38508,14 @@ Phaser.Tilemap.prototype = { }, /** - * Fill a tile block with a specific tile index. - * @method fill + * Fill a block with a specific tile index. + * @method Phaser.Tilemap#fill * @param {number} index - Index of tiles you want to fill with. - * @param {number} [x] - X position (in tiles) of block's left-top corner. - * @param {number} [y] - Y position (in tiles) of block's left-top corner. - * @param {number} [width] - width of block. - * @param {number} [height] - height of block. + * @param {number} x - X position of the top left of the area to operate one, given in tiles, not pixels. + * @param {number} y - Y position of the top left of the area to operate one, given in tiles, not pixels. + * @param {number} width - The width in tiles of the area to operate on. + * @param {number} height - The height in tiles of the area to operate on. + * @param {number} [layer] - The Tilemap Layer to operate on. */ fill: function (index, x, y, width, height, layer) { @@ -38987,6 +38535,10 @@ Phaser.Tilemap.prototype = { }, + /** + * Removes all layers from this tile map. + * @method Phaser.Tilemap#removeAllLayers + */ removeAllLayers: function () { this.layers.length = 0; @@ -38994,6 +38546,10 @@ Phaser.Tilemap.prototype = { }, + /** + * Dumps the tilemap data out to the console. + * @method Phaser.Tilemap#dump + */ dump: function () { var txt = ''; @@ -39030,6 +38586,10 @@ Phaser.Tilemap.prototype = { }, + /** + * Removes all layers from this tile map and nulls the game reference. + * @method Phaser.Tilemap#destroy + */ destroy: function () { this.removeAllLayers(); @@ -39039,72 +38599,118 @@ Phaser.Tilemap.prototype = { }; -// Maybe should extend Sprite? +/** +* @author Richard Davey +* @copyright 2013 Photon Storm Ltd. +* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} +*/ + +/** +* A Tilemap Layer is a set of map data combined with a Tileset in order to render that data to the game. +* +* @class Phaser.TilemapLayer +* @constructor +* @param {Phaser.Game} game - Game reference to the currently running game. +* @param {number} x - The x coordinate of this layer. +* @param {number} y - The y coordinate of this layer. +* @param {number} renderWidth - Width of the layer. +* @param {number} renderHeight - Height of the layer. +* @param {Phaser.Tileset|string} tileset - The tile set used for rendering. +* @param {Phaser.Tilemap} tilemap - The tilemap to which this layer belongs. +* @param {number} layer - The layer index within the map. +*/ Phaser.TilemapLayer = function (game, x, y, renderWidth, renderHeight, tileset, tilemap, layer) { /** - * @property {Phaser.Game} game - Description. + * @property {Phaser.Game} game - A reference to the currently running Game. */ this.game = game; /** - * @property {Description} canvas - Description. - * @default + * @property {HTMLCanvasElement} canvas - The canvas to which this BitmapData draws. */ this.canvas = Phaser.Canvas.create(renderWidth, renderHeight); /** - * @property {Description} context - Description. - * @default + * @property {CanvasRenderingContext2D} context - The 2d context of the canvas. */ this.context = this.canvas.getContext('2d'); /** - * @property {Description} baseTexture - Description. - * @default + * @property {PIXI.BaseTexture} baseTexture - Required Pixi var. */ this.baseTexture = new PIXI.BaseTexture(this.canvas); /** - * @property {Description} texture - Description. - * @default + * @property {PIXI.Texture} texture - Required Pixi var. */ this.texture = new PIXI.Texture(this.baseTexture); + /** + * @property {Phaser.Frame} textureFrame - Dimensions of the renderable area. + */ this.textureFrame = new Phaser.Frame(0, 0, 0, renderWidth, renderHeight, 'tilemaplayer', game.rnd.uuid()); Phaser.Sprite.call(this, this.game, x, y, this.texture, this.textureFrame); + /** + * @property {number} type - The const type of this object. + * @default + */ this.type = Phaser.TILEMAPLAYER; + /** + * A layer that is fixed to the camera ignores the position of any ancestors in the display list and uses its x/y coordinates as offsets from the top left of the camera. + * @property {boolean} fixedToCamera - Fixes this layer to the Camera. + * @default + */ this.fixedToCamera = true; /** - * @property {Description} tileset - Description. + * @property {Phaser.Tileset} tileset - The tile set used for rendering. */ this.tileset = null; + /** + * @property {number} tileWidth - The width of a single tile in pixels. + */ this.tileWidth = 0; + + /** + * @property {number} tileHeight - The height of a single tile in pixels. + */ this.tileHeight = 0; + + /** + * @property {number} tileMargin - The margin around the tiles. + */ this.tileMargin = 0; + + /** + * @property {number} tileSpacing - The spacing around the tiles. + */ this.tileSpacing = 0; /** - * Read-only variable, do NOT recommend changing after the map is loaded! - * @property {number} widthInPixels - * @default + * @property {number} widthInPixels - Do NOT recommend changing after the map is loaded! + * @readonly */ this.widthInPixels = 0; /** - * Read-only variable, do NOT recommend changing after the map is loaded! - * @property {number} heightInPixels - * @default + * @property {number} heightInPixels - Do NOT recommend changing after the map is loaded! + * @readonly */ this.heightInPixels = 0; - + /** + * @property {number} renderWidth - The width of the area being rendered. + */ this.renderWidth = renderWidth; + + /** + * @property {number} renderHeight - The height of the area being rendered. + */ this.renderHeight = renderHeight; /** @@ -39149,9 +38755,16 @@ Phaser.TilemapLayer = function (game, x, y, renderWidth, renderHeight, tileset, */ this._ty = 0; - this._results = []; - + /** + * @property {number} _tw - Local render loop var to help avoid gc spikes. + * @private + */ this._tw = 0; + + /** + * @property {number} _th - Local render loop var to help avoid gc spikes. + * @private + */ this._th = 0; /** @@ -39184,6 +38797,36 @@ Phaser.TilemapLayer = function (game, x, y, renderWidth, renderHeight, tileset, */ this._startY = 0; + /** + * @property {array} _results - Local render loop var to help avoid gc spikes. + * @private + */ + this._results = []; + + /** + * @property {number} _x - Private var. + * @private + */ + this._x = 0; + + /** + * @property {number} _y - Private var. + * @private + */ + this._y = 0; + + /** + * @property {number} _prevX - Private var. + * @private + */ + this._prevX = 0; + + /** + * @property {number} _prevY - Private var. + * @private + */ + this._prevY = 0; + /** * @property {number} scrollFactorX - speed at which this layer scrolls * horizontally, relative to the camera (e.g. scrollFactorX of 0.5 scrolls @@ -39191,6 +38834,7 @@ Phaser.TilemapLayer = function (game, x, y, renderWidth, renderHeight, tileset, * @default 1 */ this.scrollFactorX = 1; + /** * @property {number} scrollFactorY - speed at which this layer scrolls * vertically, relative to the camera (e.g. scrollFactorY of 0.5 scrolls @@ -39199,15 +38843,24 @@ Phaser.TilemapLayer = function (game, x, y, renderWidth, renderHeight, tileset, */ this.scrollFactorY = 1; + /** + * @property {Phaser.Tilemap} tilemap - The Tilemap to which this layer is bound. + */ this.tilemap = null; + + /** + * @property {number} layer - Tilemap layer index. + */ this.layer = null; - this.index = 0; - this._x = 0; - this._y = 0; - this._prevX = 0; - this._prevY = 0; + /** + * @property {number} index + */ + this.index = 0; + /** + * @property {boolean} dirty - Flag controlling when to re-render the layer. + */ this.dirty = true; if (tileset instanceof Phaser.Tileset || typeof tileset === 'string') @@ -39226,7 +38879,12 @@ Phaser.TilemapLayer.prototype = Object.create(Phaser.Sprite.prototype); Phaser.TilemapLayer.prototype = Phaser.Utils.extend(true, Phaser.TilemapLayer.prototype, Phaser.Sprite.prototype, PIXI.Sprite.prototype); Phaser.TilemapLayer.prototype.constructor = Phaser.TilemapLayer; - +/** +* Automatically called by World.preUpdate. Handles cache updates. +* +* @method Phaser.TilemapLayer#update +* @memberof Phaser.TilemapLayer +*/ Phaser.TilemapLayer.prototype.update = function () { this.scrollX = this.game.camera.x * this.scrollFactorX; @@ -39236,12 +38894,25 @@ Phaser.TilemapLayer.prototype.update = function () { } +/** +* Sets the world size to match the size of this layer. +* +* @method Phaser.TilemapLayer#resizeWorld +* @memberof Phaser.TilemapLayer +*/ Phaser.TilemapLayer.prototype.resizeWorld = function () { this.game.world.setBounds(0, 0, this.widthInPixels, this.heightInPixels); } +/** +* Updates the Tileset data. +* +* @method Phaser.TilemapLayer#updateTileset +* @memberof Phaser.TilemapLayer +* @param {Phaser.Tileset|string} tileset - The tileset to use for this layer. +*/ Phaser.TilemapLayer.prototype.updateTileset = function (tileset) { if (tileset instanceof Phaser.Tileset) @@ -39266,6 +38937,14 @@ Phaser.TilemapLayer.prototype.updateTileset = function (tileset) { } +/** +* Updates the Tilemap data. +* +* @method Phaser.TilemapLayer#updateMapData +* @memberof Phaser.TilemapLayer +* @param {Phaser.Tilemap} tilemap - The tilemap to which this layer belongs. +* @param {number} layer - The layer index within the map. +*/ Phaser.TilemapLayer.prototype.updateMapData = function (tilemap, layer) { if (typeof layer === 'undefined') @@ -39285,11 +38964,14 @@ Phaser.TilemapLayer.prototype.updateMapData = function (tilemap, layer) { } /** - * Take an x coordinate that doesn't account for scrollFactorY and 'fix' it - * into a scrolled local space. Used primarily internally - * @param {number} x - x coordinate in camera space - * @return {number} x coordinate in scrollFactor-adjusted dimensions - */ +* Take an x coordinate that doesn't account for scrollFactorY and 'fix' it +* into a scrolled local space. Used primarily internally +* @method Phaser.TilemapLayer#_fixX +* @memberof Phaser.TilemapLayer +* @private +* @param {number} x - x coordinate in camera space +* @return {number} x coordinate in scrollFactor-adjusted dimensions +*/ Phaser.TilemapLayer.prototype._fixX = function(x) { if (this.scrollFactorX === 1) @@ -39304,11 +38986,14 @@ Phaser.TilemapLayer.prototype._fixX = function(x) { } /** - * Take an x coordinate that _does_ account for scrollFactorY and 'unfix' it - * back to camera space. Used primarily internally - * @param {number} x - x coordinate in scrollFactor-adjusted dimensions - * @return {number} x coordinate in camera space - */ +* Take an x coordinate that _does_ account for scrollFactorY and 'unfix' it +* back to camera space. Used primarily internally +* @method Phaser.TilemapLayer#_unfixX +* @memberof Phaser.TilemapLayer +* @private +* @param {number} x - x coordinate in scrollFactor-adjusted dimensions +* @return {number} x coordinate in camera space +*/ Phaser.TilemapLayer.prototype._unfixX = function(x) { if (this.scrollFactorX === 1) @@ -39323,11 +39008,14 @@ Phaser.TilemapLayer.prototype._unfixX = function(x) { } /** - * Take a y coordinate that doesn't account for scrollFactorY and 'fix' it - * into a scrolled local space. Used primarily internally - * @param {number} y - y coordinate in camera space - * @return {number} y coordinate in scrollFactor-adjusted dimensions - */ +* Take a y coordinate that doesn't account for scrollFactorY and 'fix' it +* into a scrolled local space. Used primarily internally +* @method Phaser.TilemapLayer#_fixY +* @memberof Phaser.TilemapLayer +* @private +* @param {number} y - y coordinate in camera space +* @return {number} y coordinate in scrollFactor-adjusted dimensions +*/ Phaser.TilemapLayer.prototype._fixY = function(y) { if (this.scrollFactorY === 1) @@ -39342,11 +39030,14 @@ Phaser.TilemapLayer.prototype._fixY = function(y) { } /** - * Take a y coordinate that _does_ account for scrollFactorY and 'unfix' it - * back to camera space. Used primarily internally - * @param {number} y - y coordinate in scrollFactor-adjusted dimensions - * @return {number} y coordinate in camera space - */ +* Take a y coordinate that _does_ account for scrollFactorY and 'unfix' it +* back to camera space. Used primarily internally +* @method Phaser.TilemapLayer#_unfixY +* @memberof Phaser.TilemapLayer +* @private +* @param {number} y - y coordinate in scrollFactor-adjusted dimensions +* @return {number} y coordinate in camera space +*/ Phaser.TilemapLayer.prototype._unfixY = function(y) { if (this.scrollFactorY === 1) @@ -39362,9 +39053,10 @@ Phaser.TilemapLayer.prototype._unfixY = function(y) { /** * Convert a pixel value to a tile coordinate. +* @method Phaser.TilemapLayer#getTileX +* @memberof Phaser.TilemapLayer * @param {number} x - X position of the point in target tile. -* @param {number} [layer] - layer of this tile located. -* @return {number} The tile with specific properties. +* @return {Phaser.Tile} The tile with specific properties. */ Phaser.TilemapLayer.prototype.getTileX = function (x) { @@ -39376,9 +39068,10 @@ Phaser.TilemapLayer.prototype.getTileX = function (x) { /** * Convert a pixel value to a tile coordinate. -* @param {number} x - X position of the point in target tile. -* @param {number} [layer] - layer of this tile located. -* @return {number} The tile with specific properties. +* @method Phaser.TilemapLayer#getTileY +* @memberof Phaser.TilemapLayer +* @param {number} y - Y position of the point in target tile. +* @return {Phaser.Tile} The tile with specific properties. */ Phaser.TilemapLayer.prototype.getTileY = function (y) { @@ -39388,6 +39081,14 @@ Phaser.TilemapLayer.prototype.getTileY = function (y) { } +/** +* Convert a pixel value to a tile coordinate. +* @method Phaser.TilemapLayer#getTileXY +* @memberof Phaser.TilemapLayer +* @param {number} x - X position of the point in target tile. +* @param {number} y - Y position of the point in target tile. +* @return {Phaser.Tile} The tile with specific properties. +*/ Phaser.TilemapLayer.prototype.getTileXY = function (x, y, point) { point.x = this.getTileX(x); @@ -39398,9 +39099,14 @@ Phaser.TilemapLayer.prototype.getTileXY = function (x, y, point) { } /** -* -* @method getTileOverlaps -* @param {GameObject} object - Tiles you want to get that overlaps this. +* Get the tiles within the given area. +* @method Phaser.TilemapLayer#getTiles +* @memberof Phaser.TilemapLayer +* @param {number} x - X position of the top left of the area to copy (given in tiles, not pixels) +* @param {number} y - Y position of the top left of the area to copy (given in tiles, not pixels) +* @param {number} width - The width of the area to copy (given in tiles, not pixels) +* @param {number} height - The height of the area to copy (given in tiles, not pixels) +* @param {boolean} collides - If true only return tiles that collide on one or more faces. * @return {array} Array with tiles informations (each contains x, y, and the tile). */ Phaser.TilemapLayer.prototype.getTiles = function (x, y, width, height, collides) { @@ -39489,6 +39195,11 @@ Phaser.TilemapLayer.prototype.getTiles = function (x, y, width, height, collides } +/** +* Internal function to update maximum values. +* @method Phaser.TilemapLayer#updateMax +* @memberof Phaser.TilemapLayer +*/ Phaser.TilemapLayer.prototype.updateMax = function () { this._maxX = this.game.math.ceil(this.canvas.width / this.tileWidth) + 1; @@ -39514,6 +39225,11 @@ Phaser.TilemapLayer.prototype.updateMax = function () { } +/** +* Renders the tiles to the layer canvas and pushes to the display. +* @method Phaser.TilemapLayer#render +* @memberof Phaser.TilemapLayer +*/ Phaser.TilemapLayer.prototype.render = function () { if (this.tilemap && this.tilemap.dirty) @@ -39586,22 +39302,50 @@ Phaser.TilemapLayer.prototype.render = function () { } +/** +* Returns the absolute delta x value. +* @method Phaser.TilemapLayer#deltaAbsX +* @memberof Phaser.TilemapLayer +* @return {number} Absolute delta X value +*/ Phaser.TilemapLayer.prototype.deltaAbsX = function () { return (this.deltaX() > 0 ? this.deltaX() : -this.deltaX()); } +/** +* Returns the absolute delta y value. +* @method Phaser.TilemapLayer#deltaAbsY +* @memberof Phaser.TilemapLayer +* @return {number} Absolute delta Y value +*/ Phaser.TilemapLayer.prototype.deltaAbsY = function () { return (this.deltaY() > 0 ? this.deltaY() : -this.deltaY()); } +/** +* Returns the delta x value. +* @method Phaser.TilemapLayer#deltaX +* @memberof Phaser.TilemapLayer +* @return {number} Delta X value +*/ Phaser.TilemapLayer.prototype.deltaX = function () { return this._dx - this._prevX; } +/** +* Returns the delta y value. +* @method Phaser.TilemapLayer#deltaY +* @memberof Phaser.TilemapLayer +* @return {number} Delta Y value +*/ Phaser.TilemapLayer.prototype.deltaY = function () { return this._dy - this._prevY; } +/** +* @name Phaser.TilemapLayer#scrollX +* @property {number} scrollX - Scrolls the map horizontally or returns the current x position. +*/ Object.defineProperty(Phaser.TilemapLayer.prototype, "scrollX", { get: function () { @@ -39638,6 +39382,10 @@ Object.defineProperty(Phaser.TilemapLayer.prototype, "scrollX", { }); +/** +* @name Phaser.TilemapLayer#scrollY +* @property {number} scrollY - Scrolls the map vertically or returns the current y position. +*/ Object.defineProperty(Phaser.TilemapLayer.prototype, "scrollY", { get: function () { @@ -39674,8 +39422,31 @@ Object.defineProperty(Phaser.TilemapLayer.prototype, "scrollY", { }); +/** +* @author Richard Davey +* @copyright 2013 Photon Storm Ltd. +* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} +*/ + +/** +* Phaser.TilemapParser parses data objects from Phaser.Loader that need more preparation before they can be inserted into a Tilemap. +* +* @class Phaser.TilemapParser +*/ Phaser.TilemapParser = { + /** + * Creates a Tileset object. + * @method Phaser.TilemapParser.tileset + * @param {Phaser.Game} game - Game reference to the currently running game. + * @param {string} key + * @param {number} tileWidth + * @param {number} tileHeight + * @param {number} tileMax + * @param {number} tileMargin + * @param {number} tileSpacing + * @return {Phaser.Tileset} Generated Tileset object. + */ tileset: function (game, key, tileWidth, tileHeight, tileMax, tileMargin, tileSpacing) { // How big is our image? @@ -39739,6 +39510,14 @@ Phaser.TilemapParser = { }, + /** + * Parse tileset data from the cache and creates a Tileset object. + * @method Phaser.TilemapParser.parse + * @param {Phaser.Game} game - Game reference to the currently running game. + * @param {object} data + * @param {string} format + * @return {Phaser.Tileset} Generated Tileset object. + */ parse: function (game, data, format) { if (format === Phaser.Tilemap.CSV) @@ -39753,10 +39532,10 @@ Phaser.TilemapParser = { }, /** - * Parse csv map data and generate tiles. - * - * @method Phaser.Tilemap.prototype.parseCSV - * @param {string} data - CSV map data. + * Parses a CSV file into valid map data. + * @method Phaser.TilemapParser.parseCSV + * @param {string} data - The CSV file data. + * @return {object} Generated map data. */ parseCSV: function (data) { @@ -39790,11 +39569,10 @@ Phaser.TilemapParser = { }, /** - * Parse JSON map data and generate tiles. - * - * @method Phaser.Tilemap.prototype.parseTiledJSON - * @param {string} data - JSON map data. - * @param {string} key - Asset key for tileset image. + * Parses a Tiled JSON file into valid map data. + * @method Phaser.TilemapParser.parseJSON + * @param {object} json- The Tiled JSON data. + * @return {object} Generated map data. */ parseTiledJSON: function (json) { @@ -39858,7 +39636,24 @@ Phaser.TilemapParser = { } +/** +* @author Richard Davey +* @copyright 2013 Photon Storm Ltd. +* @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} +*/ +/** +* A Tile set is a combination of an image containing the tiles and collision data per tile. +* +* @class Phaser.Tileset +* @constructor +* @param {Image} image - The Image object from the Cache. +* @param {string} key - The key of the tileset in the cache. +* @param {number} tileWidth - The width of the tile in pixels. +* @param {number} tileHeight - The height of the tile in pixels. +* @param {number} [tileMargin] - The margin around the tiles in the sheet. +* @param {number} [tileSpacing] - The spacing between the tiles in the sheet. +*/ Phaser.Tileset = function (image, key, tileWidth, tileHeight, tileMargin, tileSpacing) { if (typeof tileMargin === "undefined") { tileMargin = 0; } @@ -39869,19 +39664,46 @@ Phaser.Tileset = function (image, key, tileWidth, tileHeight, tileMargin, tileSp */ this.key = key; + /** + * @property {object} image - The image used for rendering. + */ this.image = image; + /** + * @property {number} tileWidth - The width of a tile in pixels. + */ this.tileWidth = tileWidth; + + /** + * @property {number} tileHeight - The height of a tile in pixels. + */ this.tileHeight = tileHeight; + + /** + * @property {number} tileMargin - The margin around the tiles in the sheet. + */ this.margin = tileMargin; + + /** + * @property {number} tileSpacing - The margin around the tiles in the sheet. + */ this.spacing = tileSpacing; + /** + * @property {array} tiles - An array of the tile collision data. + */ this.tiles = []; } Phaser.Tileset.prototype = { + /** + * Adds a Tile into this set. + * + * @method Phaser.Tileset#addTile + * @param {Phaser.Tile} tile - The tile to add to this set. + */ addTile: function (tile) { this.tiles.push(tile); @@ -39890,6 +39712,13 @@ Phaser.Tileset.prototype = { }, + /** + * Gets a Tile from this set. + * + * @method Phaser.Tileset#getTile + * @param {number} index - The index of the tile within the set. + * @return {Phaser.Tile} The tile. + */ getTile: function (index) { if (this.tiles[index]) @@ -39901,6 +39730,13 @@ Phaser.Tileset.prototype = { }, + /** + * Sets tile spacing and margins. + * + * @method Phaser.Tileset#setSpacing + * @param {number} [tileMargin] - The margin around the tiles in the sheet. + * @param {number} [tileSpacing] - The spacing between the tiles in the sheet. + */ setSpacing: function (margin, spacing) { this.tileMargin = margin; @@ -39908,6 +39744,13 @@ Phaser.Tileset.prototype = { }, + /** + * Checks if the tile at the given index can collide. + * + * @method Phaser.Tileset#canCollide + * @param {number} index - The index of the tile within the set. + * @return {boolean} True or false depending on the tile collision or null if no tile was found at the given index. + */ canCollide: function (index) { if (this.tiles[index]) @@ -39919,12 +39762,30 @@ Phaser.Tileset.prototype = { }, + /** + * Checks if the tile at the given index exists. + * + * @method Phaser.Tileset#checkTileIndex + * @param {number} index - The index of the tile within the set. + * @return {boolean} True if a tile exists at the given index otherwise false. + */ checkTileIndex: function (index) { return (this.tiles[index]); }, + /** + * Sets collision values on a range of tiles in the set. + * + * @method Phaser.Tileset#setCollisionRange + * @param {number} start - The index to start setting the collision data on. + * @param {number} stop - The index to stop setting the collision data on. + * @param {boolean} left - Should the tile collide on the left? + * @param {boolean} right - Should the tile collide on the right? + * @param {boolean} up - Should the tile collide on the top? + * @param {boolean} down - Should the tile collide on the bottom? + */ setCollisionRange: function (start, stop, left, right, up, down) { if (this.tiles[start] && this.tiles[stop] && start < stop) @@ -39937,6 +39798,16 @@ Phaser.Tileset.prototype = { }, + /** + * Sets collision values on a tile in the set. + * + * @method Phaser.Tileset#setCollision + * @param {number} index - The index of the tile within the set. + * @param {boolean} left - Should the tile collide on the left? + * @param {boolean} right - Should the tile collide on the right? + * @param {boolean} up - Should the tile collide on the top? + * @param {boolean} down - Should the tile collide on the bottom? + */ setCollision: function (index, left, right, up, down) { if (this.tiles[index]) diff --git a/build/phaser.min.js b/build/phaser.min.js index f6b0585a32..fab15afbed 100644 --- a/build/phaser.min.js +++ b/build/phaser.min.js @@ -1,12 +1,12 @@ /*! Phaser v1.1.3 | (c) 2013 Photon Storm Ltd. */ -!function(a,b){"function"==typeof define&&define.amd?define(b):"object"==typeof exports?module.exports=b():a.Phaser=b()}(this,function(){function a(a){return[(255&a>>16)/255,(255&a>>8)/255,(255&a)/255]}function b(){return c.Matrix="undefined"!=typeof Float32Array?Float32Array:Array,c.Matrix}function a(a){return[(255&a>>16)/255,(255&a>>8)/255,(255&a)/255]}var c=c||{},d=d||{VERSION:"1.1.3",DEV_VERSION:"1.1.3",GAMES:[],AUTO:0,CANVAS:1,WEBGL:2,HEADLESS:3,SPRITE:0,BUTTON:1,BULLET:2,GRAPHICS:3,TEXT:4,TILESPRITE:5,BITMAPTEXT:6,GROUP:7,RENDERTEXTURE:8,TILEMAP:9,TILEMAPLAYER:10,EMITTER:11,POLYGON:12,BITMAPDATA:13,CANVAS_FILTER:14,WEBGL_FILTER:15,NONE:0,LEFT:1,RIGHT:2,UP:3,DOWN:4};c.InteractionManager=function(){},d.Utils={shuffle:function(a){for(var b=a.length-1;b>0;b--){var c=Math.floor(Math.random()*(b+1)),d=a[b];a[b]=a[c],a[c]=d}return a},pad:function(a,b,c,d){if("undefined"==typeof b)var b=0;if("undefined"==typeof c)var c=" ";if("undefined"==typeof d)var d=3;var e=0;if(b+1>=a.length)switch(d){case 1:a=Array(b+1-a.length).join(c)+a;break;case 3:var f=Math.ceil((e=b-a.length)/2),g=e-f;a=Array(g+1).join(c)+a+Array(f+1).join(c);break;default:a+=Array(b+1-a.length).join(c)}return a},isPlainObject:function(a){if("object"!=typeof a||a.nodeType||a===a.window)return!1;try{if(a.constructor&&!hasOwn.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(b){return!1}return!0},extend:function(){var a,b,c,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;for("boolean"==typeof h&&(k=h,h=arguments[1]||{},i=2),j===i&&(h=this,--i);j>i;i++)if(null!=(a=arguments[i]))for(b in a)c=h[b],e=a[b],h!==e&&(k&&e&&(d.Utils.isPlainObject(e)||(f=Array.isArray(e)))?(f?(f=!1,g=c&&Array.isArray(c)?c:[]):g=c&&d.Utils.isPlainObject(c)?c:{},h[b]=d.Utils.extend(k,g,e)):void 0!==e&&(h[b]=e));return h}},function(){var a=!1;a&&(window.console=void 0),void 0===window.console&&(window.console={debug:function(){return!0},info:function(){return!1},warn:function(){return!1},log:function(){return!1}}),debug=function(a){window.console.debug(a)},info=function(a){window.console.info(a)},warn=function(a){window.console.warn(a)},log=function(a){window.console.log(a)}}(),"function"!=typeof Function.prototype.bind&&(Function.prototype.bind=function(){var a=Array.prototype.slice;return function(b){function c(){var f=e.concat(a.call(arguments));d.apply(this instanceof c?this:b,f)}var d=this,e=a.call(arguments,1);if("function"!=typeof d)throw new TypeError;return c.prototype=function f(a){return a&&(f.prototype=a),this instanceof f?void 0:new f}(d.prototype),c}}()),b(),c.mat3={},c.mat3.create=function(){var a=new c.Matrix(9);return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=1,a[5]=0,a[6]=0,a[7]=0,a[8]=1,a},c.mat3.identity=function(a){return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=1,a[5]=0,a[6]=0,a[7]=0,a[8]=1,a},c.mat4={},c.mat4.create=function(){var a=new c.Matrix(16);return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=1,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=1,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a},c.mat3.multiply=function(a,b,c){c||(c=a);var d=a[0],e=a[1],f=a[2],g=a[3],h=a[4],i=a[5],j=a[6],k=a[7],l=a[8],m=b[0],n=b[1],o=b[2],p=b[3],q=b[4],r=b[5],s=b[6],t=b[7],u=b[8];return c[0]=m*d+n*g+o*j,c[1]=m*e+n*h+o*k,c[2]=m*f+n*i+o*l,c[3]=p*d+q*g+r*j,c[4]=p*e+q*h+r*k,c[5]=p*f+q*i+r*l,c[6]=s*d+t*g+u*j,c[7]=s*e+t*h+u*k,c[8]=s*f+t*i+u*l,c},c.mat3.clone=function(a){var b=new c.Matrix(9);return b[0]=a[0],b[1]=a[1],b[2]=a[2],b[3]=a[3],b[4]=a[4],b[5]=a[5],b[6]=a[6],b[7]=a[7],b[8]=a[8],b},c.mat3.transpose=function(a,b){if(!b||a===b){var c=a[1],d=a[2],e=a[5];return a[1]=a[3],a[2]=a[6],a[3]=c,a[5]=a[7],a[6]=d,a[7]=e,a}return b[0]=a[0],b[1]=a[3],b[2]=a[6],b[3]=a[1],b[4]=a[4],b[5]=a[7],b[6]=a[2],b[7]=a[5],b[8]=a[8],b},c.mat3.toMat4=function(a,b){return b||(b=c.mat4.create()),b[15]=1,b[14]=0,b[13]=0,b[12]=0,b[11]=0,b[10]=a[8],b[9]=a[7],b[8]=a[6],b[7]=0,b[6]=a[5],b[5]=a[4],b[4]=a[3],b[3]=0,b[2]=a[2],b[1]=a[1],b[0]=a[0],b},c.mat4.create=function(){var a=new c.Matrix(16);return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=1,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=1,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a},c.mat4.transpose=function(a,b){if(!b||a===b){var c=a[1],d=a[2],e=a[3],f=a[6],g=a[7],h=a[11];return a[1]=a[4],a[2]=a[8],a[3]=a[12],a[4]=c,a[6]=a[9],a[7]=a[13],a[8]=d,a[9]=f,a[11]=a[14],a[12]=e,a[13]=g,a[14]=h,a}return b[0]=a[0],b[1]=a[4],b[2]=a[8],b[3]=a[12],b[4]=a[1],b[5]=a[5],b[6]=a[9],b[7]=a[13],b[8]=a[2],b[9]=a[6],b[10]=a[10],b[11]=a[14],b[12]=a[3],b[13]=a[7],b[14]=a[11],b[15]=a[15],b},c.mat4.multiply=function(a,b,c){c||(c=a);var d=a[0],e=a[1],f=a[2],g=a[3],h=a[4],i=a[5],j=a[6],k=a[7],l=a[8],m=a[9],n=a[10],o=a[11],p=a[12],q=a[13],r=a[14],s=a[15],t=b[0],u=b[1],v=b[2],w=b[3];return c[0]=t*d+u*h+v*l+w*p,c[1]=t*e+u*i+v*m+w*q,c[2]=t*f+u*j+v*n+w*r,c[3]=t*g+u*k+v*o+w*s,t=b[4],u=b[5],v=b[6],w=b[7],c[4]=t*d+u*h+v*l+w*p,c[5]=t*e+u*i+v*m+w*q,c[6]=t*f+u*j+v*n+w*r,c[7]=t*g+u*k+v*o+w*s,t=b[8],u=b[9],v=b[10],w=b[11],c[8]=t*d+u*h+v*l+w*p,c[9]=t*e+u*i+v*m+w*q,c[10]=t*f+u*j+v*n+w*r,c[11]=t*g+u*k+v*o+w*s,t=b[12],u=b[13],v=b[14],w=b[15],c[12]=t*d+u*h+v*l+w*p,c[13]=t*e+u*i+v*m+w*q,c[14]=t*f+u*j+v*n+w*r,c[15]=t*g+u*k+v*o+w*s,c},c.Point=function(a,b){this.x=a||0,this.y=b||0},c.Point.prototype.clone=function(){return new c.Point(this.x,this.y)},c.Point.prototype.constructor=c.Point,c.Rectangle=function(a,b,c,d){this.x=a||0,this.y=b||0,this.width=c||0,this.height=d||0},c.Rectangle.prototype.clone=function(){return new c.Rectangle(this.x,this.y,this.width,this.height)},c.Rectangle.prototype.contains=function(a,b){if(this.width<=0||this.height<=0)return!1;var c=this.x;if(a>=c&&a<=c+this.width){var d=this.y;if(b>=d&&b<=d+this.height)return!0}return!1},c.Rectangle.prototype.constructor=c.Rectangle,c.Polygon=function(a){if(a instanceof Array||(a=Array.prototype.slice.call(arguments)),"number"==typeof a[0]){for(var b=[],d=0,e=a.length;e>d;d+=2)b.push(new c.Point(a[d],a[d+1]));a=b}this.points=a},c.Polygon.prototype.clone=function(){for(var a=[],b=0;bb!=i>b&&(h-f)*(b-g)/(i-g)+f>a;j&&(c=!c)}return c},c.Polygon.prototype.constructor=c.Polygon,c.DisplayObject=function(){this.last=this,this.first=this,this.position=new c.Point,this.scale=new c.Point(1,1),this.pivot=new c.Point(0,0),this.rotation=0,this.alpha=1,this.visible=!0,this.hitArea=null,this.buttonMode=!1,this.renderable=!1,this.parent=null,this.stage=null,this.worldAlpha=1,this._interactive=!1,this.worldTransform=c.mat3.create(),this.localTransform=c.mat3.create(),this.color=[],this.dynamic=!0,this._sr=0,this._cr=1,this.filterArea=new c.Rectangle(0,0,1,1)},c.DisplayObject.prototype.constructor=c.DisplayObject,c.DisplayObject.prototype.setInteractive=function(a){this.interactive=a},Object.defineProperty(c.DisplayObject.prototype,"interactive",{get:function(){return this._interactive},set:function(a){this._interactive=a,this.stage&&(this.stage.dirty=!0)}}),Object.defineProperty(c.DisplayObject.prototype,"mask",{get:function(){return this._mask},set:function(a){a?this._mask?(a.start=this._mask.start,a.end=this._mask.end):(this.addFilter(a),a.renderable=!1):(this.removeFilter(this._mask),this._mask.renderable=!0),this._mask=a}}),Object.defineProperty(c.DisplayObject.prototype,"filters",{get:function(){return this._filters},set:function(a){if(a){this._filters&&this.removeFilter(this._filters),this.addFilter(a);for(var b=[],c=0;c=0&&b<=this.children.length))throw new Error(a+" The index "+b+" supplied is out of bounds "+this.children.length);if(void 0!=a.parent&&a.parent.removeChild(a),a.parent=this,this.stage){var c=a;do c.interactive&&(this.stage.dirty=!0),c.stage=this.stage,c=c._iNext;while(c)}var d,e,f=a.first,g=a.last;if(b==this.children.length){e=this.last;for(var h=this,i=this.last;h;)h.last==i&&(h.last=a.last),h=h.parent}else e=0===b?this:this.children[b-1].last;d=e._iNext,d&&(d._iPrev=g,g._iNext=d),f._iPrev=e,e._iNext=f,this.children.splice(b,0,a),this.__renderGroup&&(a.__renderGroup&&a.__renderGroup.removeDisplayObjectAndChildren(a),this.__renderGroup.addDisplayObjectAndChildren(a))},c.DisplayObjectContainer.prototype.swapChildren=function(){},c.DisplayObjectContainer.prototype.getChildAt=function(a){if(a>=0&&aa;a++)this.children[a].updateTransform()}},c.blendModes={},c.blendModes.NORMAL=0,c.blendModes.SCREEN=1,c.Sprite=function(a){c.DisplayObjectContainer.call(this),this.anchor=new c.Point,this.texture=a,this.blendMode=c.blendModes.NORMAL,this._width=0,this._height=0,a.baseTexture.hasLoaded?this.updateFrame=!0:(this.onTextureUpdateBind=this.onTextureUpdate.bind(this),this.texture.addEventListener("update",this.onTextureUpdateBind)),this.renderable=!0},c.Sprite.prototype=Object.create(c.DisplayObjectContainer.prototype),c.Sprite.prototype.constructor=c.Sprite,Object.defineProperty(c.Sprite.prototype,"width",{get:function(){return this.scale.x*this.texture.frame.width},set:function(a){this.scale.x=a/this.texture.frame.width,this._width=a}}),Object.defineProperty(c.Sprite.prototype,"height",{get:function(){return this.scale.y*this.texture.frame.height},set:function(a){this.scale.y=a/this.texture.frame.height,this._height=a}}),c.Sprite.prototype.setTexture=function(a){this.texture.baseTexture!=a.baseTexture?(this.textureChange=!0,this.texture=a,this.__renderGroup&&this.__renderGroup.updateTexture(this)):this.texture=a,this.updateFrame=!0},c.Sprite.prototype.onTextureUpdate=function(){this._width&&(this.scale.x=this._width/this.texture.frame.width),this._height&&(this.scale.y=this._height/this.texture.frame.height),this.updateFrame=!0},c.Sprite.fromFrame=function(a){var b=c.TextureCache[a];if(!b)throw new Error("The frameId '"+a+"' does not exist in the texture cache"+this);return new c.Sprite(b)},c.Sprite.fromImage=function(a){var b=c.Texture.fromImage(a);return new c.Sprite(b)},c.Stage=function(a){c.DisplayObjectContainer.call(this),this.worldTransform=c.mat3.create(),this.interactive=!0,this.interactionManager=new c.InteractionManager(this),this.dirty=!0,this.__childrenAdded=[],this.__childrenRemoved=[],this.stage=this,this.stage.hitArea=new c.Rectangle(0,0,1e5,1e5),this.setBackgroundColor(a),this.worldVisible=!0},c.Stage.prototype=Object.create(c.DisplayObjectContainer.prototype),c.Stage.prototype.constructor=c.Stage,c.Stage.prototype.setInteractionDelegate=function(a){this.interactionManager.setTargetDomElement(a)},c.Stage.prototype.updateTransform=function(){this.worldAlpha=1,this.vcount=c.visibleCount;for(var a=0,b=this.children.length;b>a;a++)this.children[a].updateTransform();this.dirty&&(this.dirty=!1,this.interactionManager.dirty=!0),this.interactive&&this.interactionManager.update()},c.Stage.prototype.setBackgroundColor=function(b){this.backgroundColor=b||0,this.backgroundColorSplit=a(this.backgroundColor);var c=this.backgroundColor.toString(16);c="000000".substr(0,6-c.length)+c,this.backgroundColorString="#"+c},c.Stage.prototype.getMousePosition=function(){return this.interactionManager.mouse.global},c.CustomRenderable=function(){c.DisplayObject.call(this),this.renderable=!0},c.CustomRenderable.prototype=Object.create(c.DisplayObject.prototype),c.CustomRenderable.prototype.constructor=c.CustomRenderable,c.CustomRenderable.prototype.renderCanvas=function(){},c.CustomRenderable.prototype.initWebGL=function(){},c.CustomRenderable.prototype.renderWebGL=function(){},c.Strip=function(a,b,d){c.DisplayObjectContainer.call(this),this.texture=a,this.blendMode=c.blendModes.NORMAL;try{this.uvs=new Float32Array([0,1,1,1,1,0,0,1]),this.verticies=new Float32Array([0,0,0,0,0,0,0,0,0]),this.colors=new Float32Array([1,1,1,1]),this.indices=new Uint16Array([0,1,2,3])}catch(e){this.uvs=[0,1,1,1,1,0,0,1],this.verticies=[0,0,0,0,0,0,0,0,0],this.colors=[1,1,1,1],this.indices=[0,1,2,3]}this.width=b,this.height=d,a.baseTexture.hasLoaded?(this.width=this.texture.frame.width,this.height=this.texture.frame.height,this.updateFrame=!0):(this.onTextureUpdateBind=this.onTextureUpdate.bind(this),this.texture.addEventListener("update",this.onTextureUpdateBind)),this.renderable=!0},c.Strip.prototype=Object.create(c.DisplayObjectContainer.prototype),c.Strip.prototype.constructor=c.Strip,c.Strip.prototype.setTexture=function(a){this.texture=a,this.width=a.frame.width,this.height=a.frame.height,this.updateFrame=!0},c.Strip.prototype.onTextureUpdate=function(){this.updateFrame=!0},c.Rope=function(a,b){c.Strip.call(this,a),this.points=b;try{this.verticies=new Float32Array(4*b.length),this.uvs=new Float32Array(4*b.length),this.colors=new Float32Array(2*b.length),this.indices=new Uint16Array(2*b.length)}catch(d){this.verticies=verticies,this.uvs=uvs,this.colors=colors,this.indices=indices}this.refresh()},c.Rope.prototype=Object.create(c.Strip.prototype),c.Rope.prototype.constructor=c.Rope,c.Rope.prototype.refresh=function(){var a=this.points;if(!(a.length<1)){var b=this.uvs,c=this.indices,d=this.colors,e=a[0],f=a[0];this.count-=.2,b[0]=0,b[1]=1,b[2]=0,b[3]=1,d[0]=1,d[1]=1,c[0]=0,c[1]=1;for(var g=a.length,h=1;g>h;h++){var f=a[h],i=4*h,j=h/(g-1);h%2?(b[i]=j,b[i+1]=0,b[i+2]=j,b[i+3]=1):(b[i]=j,b[i+1]=0,b[i+2]=j,b[i+3]=1),i=2*h,d[i]=1,d[i+1]=1,i=2*h,c[i]=i,c[i+1]=i+1,e=f}}},c.Rope.prototype.updateTransform=function(){var a=this.points;if(!(a.length<1)){var b,d=this.verticies,e=a[0],f={x:0,y:0},g=a[0];this.count-=.2,d[0]=g.x+f.x,d[1]=g.y+f.y,d[2]=g.x-f.x,d[3]=g.y-f.y;for(var h=a.length,i=1;h>i;i++){var g=a[i],j=4*i;b=i1&&(k=1);var l=Math.sqrt(f.x*f.x+f.y*f.y),m=this.texture.height/2;f.x/=l,f.y/=l,f.x*=m,f.y*=m,d[j]=g.x+f.x,d[j+1]=g.y+f.y,d[j+2]=g.x-f.x,d[j+3]=g.y-f.y,e=g}c.DisplayObjectContainer.prototype.updateTransform.call(this)}},c.Rope.prototype.setTexture=function(a){this.texture=a,this.updateFrame=!0},c.TilingSprite=function(a,b,d){c.DisplayObjectContainer.call(this),this.texture=a,this.width=b,this.height=d,this.tileScale=new c.Point(1,1),this.tilePosition=new c.Point(0,0),this.renderable=!0,this.blendMode=c.blendModes.NORMAL},c.TilingSprite.prototype=Object.create(c.DisplayObjectContainer.prototype),c.TilingSprite.prototype.constructor=c.TilingSprite,c.TilingSprite.prototype.setTexture=function(a){this.texture=a,this.updateFrame=!0},c.TilingSprite.prototype.onTextureUpdate=function(){this.updateFrame=!0},c.AbstractFilter=function(a,b){this.passes=[this],this.dirty=!0,this.padding=0,this.uniforms=b||{},this.fragmentSrc=a||[]},c.BlurFilter=function(){this.blurXFilter=new c.BlurXFilter,this.blurYFilter=new c.BlurYFilter,this.passes=[this.blurXFilter,this.blurYFilter]},Object.defineProperty(c.BlurFilter.prototype,"blur",{get:function(){return this.blurXFilter.blur},set:function(a){this.blurXFilter.blur=this.blurYFilter.blur=a}}),Object.defineProperty(c.BlurFilter.prototype,"blurX",{get:function(){return this.blurXFilter.blur},set:function(a){this.blurXFilter.blur=a}}),Object.defineProperty(c.BlurFilter.prototype,"blurY",{get:function(){return this.blurYFilter.blur},set:function(a){this.blurYFilter.blur=a}}),c.BlurXFilter=function(){c.AbstractFilter.call(this),this.passes=[this],this.uniforms={blur:{type:"1f",value:1/512}},this.fragmentSrc=["precision mediump float;","varying vec2 vTextureCoord;","varying float vColor;","uniform float blur;","uniform sampler2D uSampler;","void main(void) {","vec4 sum = vec4(0.0);","sum += texture2D(uSampler, vec2(vTextureCoord.x - 4.0*blur, vTextureCoord.y)) * 0.05;","sum += texture2D(uSampler, vec2(vTextureCoord.x - 3.0*blur, vTextureCoord.y)) * 0.09;","sum += texture2D(uSampler, vec2(vTextureCoord.x - 2.0*blur, vTextureCoord.y)) * 0.12;","sum += texture2D(uSampler, vec2(vTextureCoord.x - blur, vTextureCoord.y)) * 0.15;","sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y)) * 0.16;","sum += texture2D(uSampler, vec2(vTextureCoord.x + blur, vTextureCoord.y)) * 0.15;","sum += texture2D(uSampler, vec2(vTextureCoord.x + 2.0*blur, vTextureCoord.y)) * 0.12;","sum += texture2D(uSampler, vec2(vTextureCoord.x + 3.0*blur, vTextureCoord.y)) * 0.09;","sum += texture2D(uSampler, vec2(vTextureCoord.x + 4.0*blur, vTextureCoord.y)) * 0.05;","gl_FragColor = sum;","}"]},c.BlurXFilter.prototype=Object.create(c.AbstractFilter.prototype),c.BlurXFilter.prototype.constructor=c.BlurXFilter,Object.defineProperty(c.BlurXFilter.prototype,"blur",{get:function(){return this.uniforms.blur.value/(1/7e3)},set:function(a){this.dirty=!0,this.uniforms.blur.value=1/7e3*a}}),c.BlurYFilter=function(){c.AbstractFilter.call(this),this.passes=[this],this.uniforms={blur:{type:"1f",value:1/512}},this.fragmentSrc=["precision mediump float;","varying vec2 vTextureCoord;","varying float vColor;","uniform float blur;","uniform sampler2D uSampler;","void main(void) {","vec4 sum = vec4(0.0);","sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 4.0*blur)) * 0.05;","sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 3.0*blur)) * 0.09;","sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - 2.0*blur)) * 0.12;","sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y - blur)) * 0.15;","sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y)) * 0.16;","sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + blur)) * 0.15;","sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 2.0*blur)) * 0.12;","sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 3.0*blur)) * 0.09;","sum += texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y + 4.0*blur)) * 0.05;","gl_FragColor = sum;","}"]},c.BlurYFilter.prototype=Object.create(c.AbstractFilter.prototype),c.BlurYFilter.prototype.constructor=c.BlurYFilter,Object.defineProperty(c.BlurYFilter.prototype,"blur",{get:function(){return this.uniforms.blur.value/(1/7e3)},set:function(a){this.uniforms.blur.value=1/7e3*a}}),c.ColorMatrixFilter=function(){c.AbstractFilter.call(this),this.passes=[this],this.uniforms={matrix:{type:"mat4",value:[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}},this.fragmentSrc=["precision mediump float;","varying vec2 vTextureCoord;","varying float vColor;","uniform float invert;","uniform mat4 matrix;","uniform sampler2D uSampler;","void main(void) {","gl_FragColor = texture2D(uSampler, vTextureCoord) * matrix;","gl_FragColor = gl_FragColor * vColor;","}"]},c.ColorMatrixFilter.prototype=Object.create(c.AbstractFilter.prototype),c.ColorMatrixFilter.prototype.constructor=c.ColorMatrixFilter,Object.defineProperty(c.ColorMatrixFilter.prototype,"matrix",{get:function(){return this.uniforms.matrix.value},set:function(a){this.uniforms.matrix.value=a}}),c.CrossHatchFilter=function(){c.AbstractFilter.call(this),this.passes=[this],this.uniforms={blur:{type:"1f",value:1/512}},this.fragmentSrc=["precision mediump float;","varying vec2 vTextureCoord;","varying float vColor;","uniform float blur;","uniform sampler2D uSampler;","void main(void) {"," float lum = length(texture2D(uSampler, vTextureCoord.xy).rgb);"," "," gl_FragColor = vec4(1.0, 1.0, 1.0, 1.0);"," "," if (lum < 1.00) {"," if (mod(gl_FragCoord.x + gl_FragCoord.y, 10.0) === 0.0) {"," gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);"," }"," }"," "," if (lum < 0.75) {"," if (mod(gl_FragCoord.x - gl_FragCoord.y, 10.0) === 0.0) {"," gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);"," }"," }"," "," if (lum < 0.50) {"," if (mod(gl_FragCoord.x + gl_FragCoord.y - 5.0, 10.0) === 0.0) {"," gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);"," }"," }"," "," if (lum < 0.3) {"," if (mod(gl_FragCoord.x - gl_FragCoord.y - 5.0, 10.0) === 0.0) {"," gl_FragColor = vec4(0.0, 0.0, 0.0, 1.0);"," }"," }","}"]},c.CrossHatchFilter.prototype=Object.create(c.AbstractFilter.prototype),c.CrossHatchFilter.prototype.constructor=c.BlurYFilter,Object.defineProperty(c.CrossHatchFilter.prototype,"blur",{get:function(){return this.uniforms.blur.value/(1/7e3)},set:function(a){this.uniforms.blur.value=1/7e3*a}}),c.DisplacementFilter=function(a){c.AbstractFilter.call(this),this.passes=[this],a.baseTexture._powerOf2=!0,this.uniforms={displacementMap:{type:"sampler2D",value:a},scale:{type:"2f",value:{x:30,y:30}},offset:{type:"2f",value:{x:0,y:0}},mapDimensions:{type:"2f",value:{x:1,y:5112}},dimensions:{type:"4fv",value:[0,0,0,0]}},a.baseTexture.hasLoaded?(this.uniforms.mapDimensions.value.x=a.width,this.uniforms.mapDimensions.value.y=a.height):(this.boundLoadedFunction=this.onTextureLoaded.bind(this),a.baseTexture.on("loaded",this.boundLoadedFunction)),this.fragmentSrc=["precision mediump float;","varying vec2 vTextureCoord;","varying float vColor;","uniform sampler2D displacementMap;","uniform sampler2D uSampler;","uniform vec2 scale;","uniform vec2 offset;","uniform vec4 dimensions;","uniform vec2 mapDimensions;","void main(void) {","vec2 mapCords = vTextureCoord.xy;","mapCords += (dimensions.zw + offset)/ dimensions.xy ;","mapCords.y *= -1.0;","mapCords.y += 1.0;","vec2 matSample = texture2D(displacementMap, mapCords).xy;","matSample -= 0.5;","matSample *= scale;","matSample /= mapDimensions;","gl_FragColor = texture2D(uSampler, vec2(vTextureCoord.x + matSample.x, vTextureCoord.y + matSample.y));","gl_FragColor.rgb = mix( gl_FragColor.rgb, gl_FragColor.rgb, 1.0);","vec2 cord = vTextureCoord;","gl_FragColor = gl_FragColor * vColor;","}"]},c.DisplacementFilter.prototype=Object.create(c.AbstractFilter.prototype),c.DisplacementFilter.prototype.constructor=c.DisplacementFilter,c.DisplacementFilter.prototype.onTextureLoaded=function(){this.uniforms.mapDimensions.value.x=this.uniforms.displacementMap.value.width,this.uniforms.mapDimensions.value.y=this.uniforms.displacementMap.value.height,this.uniforms.displacementMap.value.baseTexture.off("loaded",this.boundLoadedFunction)},Object.defineProperty(c.DisplacementFilter.prototype,"map",{get:function(){return this.uniforms.displacementMap.value},set:function(a){this.uniforms.displacementMap.value=a}}),Object.defineProperty(c.DisplacementFilter.prototype,"scale",{get:function(){return this.uniforms.scale.value},set:function(a){this.uniforms.scale.value=a}}),Object.defineProperty(c.DisplacementFilter.prototype,"offset",{get:function(){return this.uniforms.offset.value},set:function(a){this.uniforms.offset.value=a}}),c.DotScreenFilter=function(){c.AbstractFilter.call(this),this.passes=[this],this.uniforms={scale:{type:"1f",value:1},angle:{type:"1f",value:5},dimensions:{type:"4fv",value:[0,0,0,0]}},this.fragmentSrc=["precision mediump float;","varying vec2 vTextureCoord;","varying float vColor;","uniform vec4 dimensions;","uniform sampler2D uSampler;","uniform float angle;","uniform float scale;","float pattern() {","float s = sin(angle), c = cos(angle);","vec2 tex = vTextureCoord * dimensions.xy;","vec2 point = vec2(","c * tex.x - s * tex.y,","s * tex.x + c * tex.y",") * scale;","return (sin(point.x) * sin(point.y)) * 4.0;","}","void main() {","vec4 color = texture2D(uSampler, vTextureCoord);","float average = (color.r + color.g + color.b) / 3.0;","gl_FragColor = vec4(vec3(average * 10.0 - 5.0 + pattern()), color.a);","}"]},c.DotScreenFilter.prototype=Object.create(c.DotScreenFilter.prototype),c.DotScreenFilter.prototype.constructor=c.DotScreenFilter,Object.defineProperty(c.DotScreenFilter.prototype,"scale",{get:function(){return this.uniforms.scale.value},set:function(a){this.dirty=!0,this.uniforms.scale.value=a}}),Object.defineProperty(c.DotScreenFilter.prototype,"angle",{get:function(){return this.uniforms.angle.value},set:function(a){this.dirty=!0,this.uniforms.angle.value=a}}),c.FilterBlock=function(){this.visible=!0,this.renderable=!0},c.InvertFilter=function(){c.AbstractFilter.call(this),this.passes=[this],this.uniforms={invert:{type:"1f",value:1}},this.fragmentSrc=["precision mediump float;","varying vec2 vTextureCoord;","varying float vColor;","uniform float invert;","uniform sampler2D uSampler;","void main(void) {","gl_FragColor = texture2D(uSampler, vTextureCoord);","gl_FragColor.rgb = mix( (vec3(1)-gl_FragColor.rgb) * gl_FragColor.a, gl_FragColor.rgb, 1.0 - invert);","gl_FragColor = gl_FragColor * vColor;","}"]},c.InvertFilter.prototype=Object.create(c.AbstractFilter.prototype),c.InvertFilter.prototype.constructor=c.InvertFilter,Object.defineProperty(c.InvertFilter.prototype,"invert",{get:function(){return this.uniforms.invert.value},set:function(a){this.uniforms.invert.value=a}}),c.PixelateFilter=function(){c.AbstractFilter.call(this),this.passes=[this],this.uniforms={invert:{type:"1f",value:0},dimensions:{type:"4fv",value:new Float32Array([1e4,100,10,10])},pixelSize:{type:"2f",value:{x:10,y:10}}},this.fragmentSrc=["precision mediump float;","varying vec2 vTextureCoord;","varying float vColor;","uniform vec2 testDim;","uniform vec4 dimensions;","uniform vec2 pixelSize;","uniform sampler2D uSampler;","void main(void) {","vec2 coord = vTextureCoord;","vec2 size = dimensions.xy/pixelSize;","vec2 color = floor( ( vTextureCoord * size ) ) / size + pixelSize/dimensions.xy * 0.5;","gl_FragColor = texture2D(uSampler, color);","}"]},c.PixelateFilter.prototype=Object.create(c.AbstractFilter.prototype),c.PixelateFilter.prototype.constructor=c.PixelateFilter,Object.defineProperty(c.PixelateFilter.prototype,"size",{get:function(){return this.uniforms.pixelSize.value},set:function(a){this.dirty=!0,this.uniforms.pixelSize.value=a}}),c.RGBSplitFilter=function(){c.AbstractFilter.call(this),this.passes=[this],this.uniforms={red:{type:"2f",value:{x:20,y:20}},green:{type:"2f",value:{x:-20,y:20}},blue:{type:"2f",value:{x:20,y:-20}},dimensions:{type:"4fv",value:[0,0,0,0]}},this.fragmentSrc=["precision mediump float;","varying vec2 vTextureCoord;","varying float vColor;","uniform vec2 red;","uniform vec2 green;","uniform vec2 blue;","uniform vec4 dimensions;","uniform sampler2D uSampler;","void main(void) {","gl_FragColor.r = texture2D(uSampler, vTextureCoord + red/dimensions.xy).r;","gl_FragColor.g = texture2D(uSampler, vTextureCoord + green/dimensions.xy).g;","gl_FragColor.b = texture2D(uSampler, vTextureCoord + blue/dimensions.xy).b;","gl_FragColor.a = texture2D(uSampler, vTextureCoord).a;","}"]},c.RGBSplitFilter.prototype=Object.create(c.AbstractFilter.prototype),c.RGBSplitFilter.prototype.constructor=c.RGBSplitFilter,Object.defineProperty(c.RGBSplitFilter.prototype,"angle",{get:function(){return this.uniforms.blur.value/(1/7e3)},set:function(a){this.uniforms.blur.value=1/7e3*a}}),c.SepiaFilter=function(){c.AbstractFilter.call(this),this.passes=[this],this.uniforms={sepia:{type:"1f",value:1}},this.fragmentSrc=["precision mediump float;","varying vec2 vTextureCoord;","varying float vColor;","uniform float sepia;","uniform sampler2D uSampler;","const mat3 sepiaMatrix = mat3(0.3588, 0.7044, 0.1368, 0.2990, 0.5870, 0.1140, 0.2392, 0.4696, 0.0912);","void main(void) {","gl_FragColor = texture2D(uSampler, vTextureCoord);","gl_FragColor.rgb = mix( gl_FragColor.rgb, gl_FragColor.rgb * sepiaMatrix, sepia);","gl_FragColor = gl_FragColor * vColor;","}"]},c.SepiaFilter.prototype=Object.create(c.AbstractFilter.prototype),c.SepiaFilter.prototype.constructor=c.SepiaFilter,Object.defineProperty(c.SepiaFilter.prototype,"sepia",{get:function(){return this.uniforms.sepia.value},set:function(a){this.uniforms.sepia.value=a}}),c.SmartBlurFilter=function(){c.AbstractFilter.call(this),this.passes=[this],this.uniforms={blur:{type:"1f",value:1/512}},this.fragmentSrc=["precision mediump float;","varying vec2 vTextureCoord;","uniform sampler2D uSampler;","const vec2 delta = vec2(1.0/10.0, 0.0);","float random(vec3 scale, float seed) {","return fract(sin(dot(gl_FragCoord.xyz + seed, scale)) * 43758.5453 + seed);","}","void main(void) {","vec4 color = vec4(0.0);","float total = 0.0;","float offset = random(vec3(12.9898, 78.233, 151.7182), 0.0);","for (float t = -30.0; t <= 30.0; t++) {","float percent = (t + offset - 0.5) / 30.0;","float weight = 1.0 - abs(percent);","vec4 sample = texture2D(uSampler, vTextureCoord + delta * percent);","sample.rgb *= sample.a;","color += sample * weight;","total += weight;","}","gl_FragColor = color / total;","gl_FragColor.rgb /= gl_FragColor.a + 0.00001;","}"]},c.SmartBlurFilter.prototype=Object.create(c.AbstractFilter.prototype),c.SmartBlurFilter.prototype.constructor=c.SmartBlurFilter,Object.defineProperty(c.SmartBlurFilter.prototype,"blur",{get:function(){return this.uniforms.blur.value -},set:function(a){this.uniforms.blur.value=a}}),c.TwistFilter=function(){c.AbstractFilter.call(this),this.passes=[this],this.uniforms={radius:{type:"1f",value:.5},angle:{type:"1f",value:5},offset:{type:"2f",value:{x:.5,y:.5}}},this.fragmentSrc=["precision mediump float;","varying vec2 vTextureCoord;","varying float vColor;","uniform vec4 dimensions;","uniform sampler2D uSampler;","uniform float radius;","uniform float angle;","uniform vec2 offset;","void main(void) {","vec2 coord = vTextureCoord - offset;","float distance = length(coord);","if (distance < radius){","float ratio = (radius - distance) / radius;","float angleMod = ratio * ratio * angle;","float s = sin(angleMod);","float c = cos(angleMod);","coord = vec2(coord.x * c - coord.y * s, coord.x * s + coord.y * c);","}","gl_FragColor = texture2D(uSampler, coord+offset);","}"]},c.TwistFilter.prototype=Object.create(c.AbstractFilter.prototype),c.TwistFilter.prototype.constructor=c.TwistFilter,Object.defineProperty(c.TwistFilter.prototype,"offset",{get:function(){return this.uniforms.offset.value},set:function(a){this.dirty=!0,this.uniforms.offset.value=a}}),Object.defineProperty(c.TwistFilter.prototype,"radius",{get:function(){return this.uniforms.radius.value},set:function(a){this.dirty=!0,this.uniforms.radius.value=a}}),Object.defineProperty(c.TwistFilter.prototype,"angle",{get:function(){return this.uniforms.angle.value},set:function(a){this.dirty=!0,this.uniforms.angle.value=a}}),c.Graphics=function(){c.DisplayObjectContainer.call(this),this.renderable=!0,this.fillAlpha=1,this.lineWidth=0,this.lineColor="black",this.graphicsData=[],this.currentPath={points:[]}},c.Graphics.prototype=Object.create(c.DisplayObjectContainer.prototype),c.Graphics.prototype.constructor=c.Graphics,c.Graphics.prototype.lineStyle=function(a,b,d){0===this.currentPath.points.length&&this.graphicsData.pop(),this.lineWidth=a||0,this.lineColor=b||0,this.lineAlpha=void 0==d?1:d,this.currentPath={lineWidth:this.lineWidth,lineColor:this.lineColor,lineAlpha:this.lineAlpha,fillColor:this.fillColor,fillAlpha:this.fillAlpha,fill:this.filling,points:[],type:c.Graphics.POLY},this.graphicsData.push(this.currentPath)},c.Graphics.prototype.moveTo=function(a,b){0===this.currentPath.points.length&&this.graphicsData.pop(),this.currentPath=this.currentPath={lineWidth:this.lineWidth,lineColor:this.lineColor,lineAlpha:this.lineAlpha,fillColor:this.fillColor,fillAlpha:this.fillAlpha,fill:this.filling,points:[],type:c.Graphics.POLY},this.currentPath.points.push(a,b),this.graphicsData.push(this.currentPath)},c.Graphics.prototype.lineTo=function(a,b){this.currentPath.points.push(a,b),this.dirty=!0},c.Graphics.prototype.beginFill=function(a,b){this.filling=!0,this.fillColor=a||0,this.fillAlpha=void 0==b?1:b},c.Graphics.prototype.endFill=function(){this.filling=!1,this.fillColor=null,this.fillAlpha=1},c.Graphics.prototype.drawRect=function(a,b,d,e){0===this.currentPath.points.length&&this.graphicsData.pop(),this.currentPath={lineWidth:this.lineWidth,lineColor:this.lineColor,lineAlpha:this.lineAlpha,fillColor:this.fillColor,fillAlpha:this.fillAlpha,fill:this.filling,points:[a,b,d,e],type:c.Graphics.RECT},this.graphicsData.push(this.currentPath),this.dirty=!0},c.Graphics.prototype.drawCircle=function(a,b,d){0===this.currentPath.points.length&&this.graphicsData.pop(),this.currentPath={lineWidth:this.lineWidth,lineColor:this.lineColor,lineAlpha:this.lineAlpha,fillColor:this.fillColor,fillAlpha:this.fillAlpha,fill:this.filling,points:[a,b,d,d],type:c.Graphics.CIRC},this.graphicsData.push(this.currentPath),this.dirty=!0},c.Graphics.prototype.drawElipse=function(a,b,d,e){0===this.currentPath.points.length&&this.graphicsData.pop(),this.currentPath={lineWidth:this.lineWidth,lineColor:this.lineColor,lineAlpha:this.lineAlpha,fillColor:this.fillColor,fillAlpha:this.fillAlpha,fill:this.filling,points:[a,b,d,e],type:c.Graphics.ELIP},this.graphicsData.push(this.currentPath),this.dirty=!0},c.Graphics.prototype.clear=function(){this.lineWidth=0,this.filling=!1,this.dirty=!0,this.clearDirty=!0,this.graphicsData=[],this.bounds=null},c.Graphics.prototype.updateFilterBounds=function(){if(!this.bounds){for(var a,b,d,e=1/0,f=-1/0,g=1/0,h=-1/0,i=0;ib?b:e,f=b+m>f?b+m:f,g=g>d?b:g,h=d+n>h?d+n:h}else if(k===c.Graphics.CIRC||k===c.Graphics.ELIP){b=a.x,d=a.y;var o=a.radius+l/2;e=e>b-o?b-o:e,f=b+o>f?b+o:f,g=g>d-o?d-o:g,h=d+o>h?d+o:h}else for(var p=0;pb-l?b-l:e,f=b+l>f?b+l:f,g=g>d-l?d-l:g,h=d+l>h?d+l:h}this.bounds=new c.Rectangle(e,g,f-e,h-g)}},c.Graphics.POLY=0,c.Graphics.RECT=1,c.Graphics.CIRC=2,c.Graphics.ELIP=3,c.CanvasGraphics=function(){},c.CanvasGraphics.renderGraphics=function(a,b){for(var d=a.worldAlpha,e=0;e1&&(d=1,console.log("Pixi.js warning: masks in canvas can only mask using the first path in the graphics object"));for(var e=0;1>e;e++){var f=a.graphicsData[e],g=f.points;if(f.type==c.Graphics.POLY){b.beginPath(),b.moveTo(g[0],g[1]);for(var h=1;h0&&(c.Texture.frameUpdates=[])},c.CanvasRenderer.prototype.resize=function(a,b){this.width=a,this.height=b,this.view.width=a,this.view.height=b},c.CanvasRenderer.prototype.renderDisplayObject=function(a){var b,d=this.context;d.globalCompositeOperation="source-over";var e=a.last._iNext;a=a.first;do if(b=a.worldTransform,a.visible)if(a.renderable){if(a instanceof c.Sprite){var f=a.texture.frame;f&&f.width&&f.height&&(d.globalAlpha=a.worldAlpha,d.setTransform(b[0],b[3],b[1],b[4],b[2],b[5]),d.drawImage(a.texture.baseTexture.source,f.x,f.y,f.width,f.height,a.anchor.x*-f.width,a.anchor.y*-f.height,f.width,f.height))}else if(a instanceof c.Strip)d.setTransform(b[0],b[3],b[1],b[4],b[2],b[5]),this.renderStrip(a);else if(a instanceof c.TilingSprite)d.setTransform(b[0],b[3],b[1],b[4],b[2],b[5]),this.renderTilingSprite(a);else if(a instanceof c.CustomRenderable)d.setTransform(b[0],b[3],b[1],b[4],b[2],b[5]),a.renderCanvas(this);else if(a instanceof c.Graphics)d.setTransform(b[0],b[3],b[1],b[4],b[2],b[5]),c.CanvasGraphics.renderGraphics(a,d);else if(a instanceof c.FilterBlock&&a.data instanceof c.Graphics){var g=a.data;if(a.open){d.save();var h=g.alpha,i=g.worldTransform;d.setTransform(i[0],i[3],i[1],i[4],i[2],i[5]),g.worldAlpha=.5,d.worldAlpha=0,c.CanvasGraphics.renderGraphicsMask(g,d),d.clip(),g.worldAlpha=h}else d.restore()}a=a._iNext}else a=a._iNext;else a=a.last._iNext;while(a!=e)},c.CanvasRenderer.prototype.renderStripFlat=function(a){var b=this.context,c=a.verticies;a.uvs;var d=c.length/2;this.count++,b.beginPath();for(var e=1;d-2>e;e++){var f=2*e,g=c[f],h=c[f+2],i=c[f+4],j=c[f+1],k=c[f+3],l=c[f+5];b.moveTo(g,j),b.lineTo(h,k),b.lineTo(i,l)}b.fillStyle="#FF0000",b.fill(),b.closePath()},c.CanvasRenderer.prototype.renderTilingSprite=function(a){var b=this.context;b.globalAlpha=a.worldAlpha,a.__tilePattern||(a.__tilePattern=b.createPattern(a.texture.baseTexture.source,"repeat")),b.beginPath();var c=a.tilePosition,d=a.tileScale;b.scale(d.x,d.y),b.translate(c.x,c.y),b.fillStyle=a.__tilePattern,b.fillRect(-c.x,-c.y,a.width/d.x,a.height/d.y),b.scale(1/d.x,1/d.y),b.translate(-c.x,-c.y),b.closePath()},c.CanvasRenderer.prototype.renderStrip=function(a){var b=this.context,c=a.verticies,d=a.uvs,e=c.length/2;this.count++;for(var f=1;e-2>f;f++){var g=2*f,h=c[g],i=c[g+2],j=c[g+4],k=c[g+1],l=c[g+3],m=c[g+5],n=d[g]*a.texture.width,o=d[g+2]*a.texture.width,p=d[g+4]*a.texture.width,q=d[g+1]*a.texture.height,r=d[g+3]*a.texture.height,s=d[g+5]*a.texture.height;b.save(),b.beginPath(),b.moveTo(h,k),b.lineTo(i,l),b.lineTo(j,m),b.closePath(),b.clip();var t=n*r+q*p+o*s-r*p-q*o-n*s,u=h*r+q*j+i*s-r*j-q*i-h*s,v=n*i+h*p+o*j-i*p-h*o-n*j,w=n*r*j+q*i*p+h*o*s-h*r*p-q*o*j-n*i*s,x=k*r+q*m+l*s-r*m-q*l-k*s,y=n*l+k*p+o*m-l*p-k*o-n*m,z=n*r*m+q*l*p+k*o*s-k*r*p-q*o*m-n*l*s;b.transform(u/t,x/t,v/t,y/t,w/t,z/t),b.drawImage(a.texture.baseTexture.source,0,0),b.restore()}},c.PixiShader=function(){this.program,this.fragmentSrc=["precision lowp float;","varying vec2 vTextureCoord;","varying float vColor;","uniform sampler2D uSampler;","void main(void) {","gl_FragColor = texture2D(uSampler, vTextureCoord) * vColor;","}"],this.textureCount=0},c.PixiShader.prototype.init=function(){var a=c.compileProgram(this.vertexSrc||c.PixiShader.defaultVertexSrc,this.fragmentSrc),b=c.gl;b.useProgram(a),this.uSampler=b.getUniformLocation(a,"uSampler"),this.projectionVector=b.getUniformLocation(a,"projectionVector"),this.offsetVector=b.getUniformLocation(a,"offsetVector"),this.aVertexPosition=b.getAttribLocation(a,"aVertexPosition"),this.colorAttribute=b.getAttribLocation(a,"aColor"),this.aTextureCoord=b.getAttribLocation(a,"aTextureCoord");for(var d in this.uniforms)this.uniforms[d].uniformLocation=b.getUniformLocation(a,d);this.program=a},c.PixiShader.prototype.syncUniforms=function(){this.textureCount=1;var a=c.gl;for(var b in this.uniforms){var d=this.uniforms[b].type,e=!1;if(this.uniforms[b].transpose&&(e=this.uniforms[b].transpose),"1f"==d)a.uniform1f(this.uniforms[b].uniformLocation,this.uniforms[b].value);else if("1fv"==d)a.uniform1fv(this.uniforms[b].uniformLocation,this.uniforms[b].value);else if("1i"==d)a.uniform1i(this.uniforms[b].uniformLocation,this.uniforms[b].value);else if("1iv"==d)a.uniform1i(this.uniforms[b].uniformLocation,this.uniforms[b].value);else if("2f"==d)a.uniform2f(this.uniforms[b].uniformLocation,this.uniforms[b].value.x,this.uniforms[b].value.y);else if("2fv"==d)a.uniform2fv(this.uniforms[b].uniformLocation,this.uniforms[b].value);else if("2i"==d)a.uniform2i(this.uniforms[b].uniformLocation,this.uniforms[b].value.x,this.uniforms[b].value.y);else if("2iv"==d)a.uniform2iv(this.uniforms[b].uniformLocation,this.uniforms[b].value);else if("3f"==d)a.uniform3f(this.uniforms[b].uniformLocation,this.uniforms[b].value.x,this.uniforms[b].value.y,this.uniforms[b].value.z);else if("3fv"==d)a.uniform3fv(this.uniforms[b].uniformLocation,this.uniforms[b].value);else if("3i"==d)a.uniform3i(this.uniforms[b].uniformLocation,this.uniforms[b].value.x,this.uniforms[b].value.y,this.uniforms[b].value.z);else if("3iv"==d)a.uniform3iv(this.uniforms[b].uniformLocation,this.uniforms[b].value);else if("4f"==d)a.uniform4f(this.uniforms[b].uniformLocation,this.uniforms[b].value.x,this.uniforms[b].value.y,this.uniforms[b].value.z,this.uniforms[b].value.w);else if("4fv"==d)a.uniform4fv(this.uniforms[b].uniformLocation,this.uniforms[b].value);else if("4i"==d)a.uniform4i(this.uniforms[b].uniformLocation,this.uniforms[b].value.x,this.uniforms[b].value.y,this.uniforms[b].value.z,this.uniforms[b].value.w);else if("4iv"==d)a.uniform4iv(this.uniforms[b].uniformLocation,this.uniforms[b].value);else if("mat2"==d)a.uniformMatrix2fv(this.uniforms[b].uniformLocation,e,this.uniforms[b].value);else if("mat3"==d)a.uniformMatrix3fv(this.uniforms[b].uniformLocation,e,this.uniforms[b].value);else if("mat4"==d)a.uniformMatrix4fv(this.uniforms[b].uniformLocation,e,this.uniforms[b].value);else if("sampler2D"==d&&this.uniforms[b].value&&this.uniforms[b].value.baseTexture.hasLoaded){var f=this.uniforms[b].value.baseTexture._glTexture,g=this.uniforms[b].value.baseTexture.source,h=a.RGBA;this.uniforms[b].format&&"luminance"==this.uniforms[b].format&&(h=a.LUMINANCE),a.activeTexture(a["TEXTURE"+this.textureCount]),this.uniforms[b].wrap?"no-repeat"==this.uniforms[b].wrap||this.uniforms[b].wrap===!1?this.createGLTextureLinear(a,g,f):"repeat"==this.uniforms[b].wrap||this.uniforms[b].wrap===!0?this.createGLTexture(a,g,h,f):"nearest-repeat"==this.uniforms[b].wrap?this.createGLTextureNearestRepeat(a,g,f):"nearest"==this.uniforms[b].wrap?this.createGLTextureNearest(a,g,f):"audio"==this.uniforms[b].wrap?this.createAudioTexture(a,f):"keyboard"==this.uniforms[b].wrap&&this.createKeyboardTexture(a,f):this.createGLTextureLinear(a,g,f),a.uniform1i(this.uniforms[b].uniformLocation,this.textureCount),this.textureCount++}}},c.PixiShader.prototype.createGLTexture=function(a,b,c,d){a.bindTexture(a.TEXTURE_2D,d),a.pixelStorei(a.UNPACK_FLIP_Y_WEBGL,!1),a.texImage2D(a.TEXTURE_2D,0,c,a.RGBA,a.UNSIGNED_BYTE,b),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR_MIPMAP_LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.REPEAT),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.REPEAT),a.generateMipmap(a.TEXTURE_2D)},c.PixiShader.prototype.createGLTextureLinear=function(a,b,c){a.bindTexture(a.TEXTURE_2D,c),a.pixelStorei(a.UNPACK_FLIP_Y_WEBGL,!1),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,b),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.CLAMP_TO_EDGE)},c.PixiShader.prototype.createGLTextureNearestRepeat=function(a,b,c){a.bindTexture(a.TEXTURE_2D,c),a.pixelStorei(a.UNPACK_FLIP_Y_WEBGL,!1),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,b),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.NEAREST),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.NEAREST),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.REPEAT),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.REPEAT)},c.PixiShader.prototype.createGLTextureNearest=function(a,b,c){a.bindTexture(a.TEXTURE_2D,c),a.pixelStorei(a.UNPACK_FLIP_Y_WEBGL,!1),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,a.RGBA,a.UNSIGNED_BYTE,b),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.NEAREST),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.NEAREST),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.CLAMP_TO_EDGE)},c.PixiShader.prototype.createAudioTexture=function(a,b){a.bindTexture(a.TEXTURE_2D,b),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.CLAMP_TO_EDGE),a.texImage2D(a.TEXTURE_2D,0,a.LUMINANCE,512,2,0,a.LUMINANCE,a.UNSIGNED_BYTE,null)},c.PixiShader.prototype.createKeyboardTexture=function(a,b){a.bindTexture(a.TEXTURE_2D,b),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.NEAREST),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.NEAREST),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.CLAMP_TO_EDGE),a.texImage2D(a.TEXTURE_2D,0,a.LUMINANCE,256,2,0,a.LUMINANCE,a.UNSIGNED_BYTE,null)},c.PixiShader.defaultVertexSrc=["attribute vec2 aVertexPosition;","attribute vec2 aTextureCoord;","attribute float aColor;","uniform vec2 projectionVector;","uniform vec2 offsetVector;","varying vec2 vTextureCoord;","varying float vColor;","const vec2 center = vec2(-1.0, 1.0);","void main(void) {","gl_Position = vec4( ((aVertexPosition + offsetVector) / projectionVector) + center , 0.0, 1.0);","vTextureCoord = aTextureCoord;","vColor = aColor;","}"],c.PrimitiveShader=function(){this.program,this.fragmentSrc=["precision mediump float;","varying vec4 vColor;","void main(void) {","gl_FragColor = vColor;","}"],this.vertexSrc=["attribute vec2 aVertexPosition;","attribute vec4 aColor;","uniform mat3 translationMatrix;","uniform vec2 projectionVector;","uniform vec2 offsetVector;","uniform float alpha;","varying vec4 vColor;","void main(void) {","vec3 v = translationMatrix * vec3(aVertexPosition , 1.0);","v -= offsetVector.xyx;","gl_Position = vec4( v.x / projectionVector.x -1.0, v.y / -projectionVector.y + 1.0 , 0.0, 1.0);","vColor = aColor * alpha;","}"]},c.PrimitiveShader.prototype.init=function(){var a=c.compileProgram(this.vertexSrc,this.fragmentSrc),b=c.gl;b.useProgram(a),this.projectionVector=b.getUniformLocation(a,"projectionVector"),this.offsetVector=b.getUniformLocation(a,"offsetVector"),this.aVertexPosition=b.getAttribLocation(a,"aVertexPosition"),this.colorAttribute=b.getAttribLocation(a,"aColor"),this.translationMatrix=b.getUniformLocation(a,"translationMatrix"),this.alpha=b.getUniformLocation(a,"alpha"),this.program=a},c.StripShader=function(){this.program,this.fragmentSrc=["precision mediump float;","varying vec2 vTextureCoord;","varying float vColor;","uniform float alpha;","uniform sampler2D uSampler;","void main(void) {","gl_FragColor = texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y));","gl_FragColor = gl_FragColor * alpha;","}"],this.vertexSrc=["attribute vec2 aVertexPosition;","attribute vec2 aTextureCoord;","attribute float aColor;","uniform mat3 translationMatrix;","uniform vec2 projectionVector;","varying vec2 vTextureCoord;","varying vec2 offsetVector;","varying float vColor;","void main(void) {","vec3 v = translationMatrix * vec3(aVertexPosition, 1.0);","v -= offsetVector.xyx;","gl_Position = vec4( v.x / projectionVector.x -1.0, v.y / projectionVector.y + 1.0 , 0.0, 1.0);","vTextureCoord = aTextureCoord;","vColor = aColor;","}"]},c.StripShader.prototype.init=function(){var a=c.compileProgram(this.vertexSrc,this.fragmentSrc),b=c.gl;b.useProgram(a),this.uSampler=b.getUniformLocation(a,"uSampler"),this.projectionVector=b.getUniformLocation(a,"projectionVector"),this.offsetVector=b.getUniformLocation(a,"offsetVector"),this.colorAttribute=b.getAttribLocation(a,"aColor"),this.aVertexPosition=b.getAttribLocation(a,"aVertexPosition"),this.aTextureCoord=b.getAttribLocation(a,"aTextureCoord"),this.translationMatrix=b.getUniformLocation(a,"translationMatrix"),this.alpha=b.getUniformLocation(a,"alpha"),this.program=a},c._batchs=[],c._getBatch=function(a){return 0===c._batchs.length?new c.WebGLBatch(a):c._batchs.pop()},c._returnBatch=function(a){a.clean(),c._batchs.push(a)},c._restoreBatchs=function(a){for(var b=0;bc;c++){var d=6*c,e=4*c;this.indices[d+0]=e+0,this.indices[d+1]=e+1,this.indices[d+2]=e+2,this.indices[d+3]=e+0,this.indices[d+4]=e+2,this.indices[d+5]=e+3}a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.indexBuffer),a.bufferData(a.ELEMENT_ARRAY_BUFFER,this.indices,a.STATIC_DRAW)},c.WebGLBatch.prototype.refresh=function(){this.gl,this.dynamicSizethis.width&&(f.width=this.width),f.y<0&&(f.y=0),f.height>this.height&&(f.height=this.height),b.bindFramebuffer(b.FRAMEBUFFER,e.frameBuffer),b.viewport(0,0,f.width,f.height),c.projection.x=f.width/2,c.projection.y=-f.height/2,c.offset.x=-f.x,c.offset.y=-f.y,b.uniform2f(c.defaultShader.projectionVector,f.width/2,-f.height/2),b.uniform2f(c.defaultShader.offsetVector,-f.x,-f.y),b.colorMask(!0,!0,!0,!0),b.clearColor(0,0,0,0),b.clear(b.COLOR_BUFFER_BIT),a._glFilterTexture=e},c.WebGLFilterManager.prototype.popFilter=function(){var a=c.gl,b=this.filterStack.pop(),d=b.target.filterArea,e=b._glFilterTexture;if(b.filterPasses.length>1){a.viewport(0,0,d.width,d.height),a.bindBuffer(a.ARRAY_BUFFER,this.vertexBuffer),this.vertexArray[0]=0,this.vertexArray[1]=d.height,this.vertexArray[2]=d.width,this.vertexArray[3]=d.height,this.vertexArray[4]=0,this.vertexArray[5]=0,this.vertexArray[6]=d.width,this.vertexArray[7]=0,a.bufferSubData(a.ARRAY_BUFFER,0,this.vertexArray),a.bindBuffer(a.ARRAY_BUFFER,this.uvBuffer),this.uvArray[2]=d.width/this.width,this.uvArray[5]=d.height/this.height,this.uvArray[6]=d.width/this.width,this.uvArray[7]=d.height/this.height,a.bufferSubData(a.ARRAY_BUFFER,0,this.uvArray);var f=e,g=this.texturePool.pop();g||(g=new c.FilterTexture(this.width,this.height)),a.bindFramebuffer(a.FRAMEBUFFER,g.frameBuffer),a.clear(a.COLOR_BUFFER_BIT),a.disable(a.BLEND);for(var h=0;hs?s:E,E=E>t?t:E,E=E>u?u:E,E=E>v?v:E,F=F>w?w:F,F=F>x?x:F,F=F>y?y:F,F=F>z?z:F,C=s>C?s:C,C=t>C?t:C,C=u>C?u:C,C=v>C?v:C,D=w>D?w:D,D=x>D?x:D,D=y>D?y:D,D=z>D?z:D),l=!1,A=A._iNext -}while(A!=B);a.filterArea.x=E,a.filterArea.y=F,a.filterArea.width=C-E,a.filterArea.height=D-F},c.FilterTexture=function(a,b){var d=c.gl;this.frameBuffer=d.createFramebuffer(),this.texture=d.createTexture(),d.bindTexture(d.TEXTURE_2D,this.texture),d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MAG_FILTER,d.LINEAR),d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MIN_FILTER,d.LINEAR),d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_S,d.CLAMP_TO_EDGE),d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_T,d.CLAMP_TO_EDGE),d.bindFramebuffer(d.FRAMEBUFFER,this.framebuffer),d.bindFramebuffer(d.FRAMEBUFFER,this.frameBuffer),d.framebufferTexture2D(d.FRAMEBUFFER,d.COLOR_ATTACHMENT0,d.TEXTURE_2D,this.texture,0),this.resize(a,b)},c.FilterTexture.prototype.resize=function(a,b){this.width=a,this.height=b;var d=c.gl;d.bindTexture(d.TEXTURE_2D,this.texture),d.texImage2D(d.TEXTURE_2D,0,d.RGBA,a,b,0,d.RGBA,d.UNSIGNED_BYTE,null)},c.WebGLGraphics=function(){},c.WebGLGraphics.renderGraphics=function(a,b){var d=c.gl;a._webGL||(a._webGL={points:[],indices:[],lastIndex:0,buffer:d.createBuffer(),indexBuffer:d.createBuffer()}),a.dirty&&(a.dirty=!1,a.clearDirty&&(a.clearDirty=!1,a._webGL.lastIndex=0,a._webGL.points=[],a._webGL.indices=[]),c.WebGLGraphics.updateGraphics(a)),c.activatePrimitiveShader();var e=c.mat3.clone(a.worldTransform);c.mat3.transpose(e),d.blendFunc(d.ONE,d.ONE_MINUS_SRC_ALPHA),d.uniformMatrix3fv(c.primitiveShader.translationMatrix,!1,e),d.uniform2f(c.primitiveShader.projectionVector,b.x,-b.y),d.uniform2f(c.primitiveShader.offsetVector,-c.offset.x,-c.offset.y),d.uniform1f(c.primitiveShader.alpha,a.worldAlpha),d.bindBuffer(d.ARRAY_BUFFER,a._webGL.buffer),d.vertexAttribPointer(c.primitiveShader.aVertexPosition,2,d.FLOAT,!1,24,0),d.vertexAttribPointer(c.primitiveShader.colorAttribute,4,d.FLOAT,!1,24,8),d.bindBuffer(d.ELEMENT_ARRAY_BUFFER,a._webGL.indexBuffer),d.drawElements(d.TRIANGLE_STRIP,a._webGL.indices.length,d.UNSIGNED_SHORT,0),c.deactivatePrimitiveShader()},c.WebGLGraphics.updateGraphics=function(a){for(var b=a._webGL.lastIndex;b3&&c.WebGLGraphics.buildPoly(d,a._webGL),d.lineWidth>0&&c.WebGLGraphics.buildLine(d,a._webGL)):d.type==c.Graphics.RECT?c.WebGLGraphics.buildRectangle(d,a._webGL):(d.type==c.Graphics.CIRC||d.type==c.Graphics.ELIP)&&c.WebGLGraphics.buildCircle(d,a._webGL)}a._webGL.lastIndex=a.graphicsData.length;var e=c.gl;a._webGL.glPoints=new Float32Array(a._webGL.points),e.bindBuffer(e.ARRAY_BUFFER,a._webGL.buffer),e.bufferData(e.ARRAY_BUFFER,a._webGL.glPoints,e.STATIC_DRAW),a._webGL.glIndicies=new Uint16Array(a._webGL.indices),e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,a._webGL.indexBuffer),e.bufferData(e.ELEMENT_ARRAY_BUFFER,a._webGL.glIndicies,e.STATIC_DRAW)},c.WebGLGraphics.buildRectangle=function(b,d){var e=b.points,f=e[0],g=e[1],h=e[2],i=e[3];if(b.fill){var j=a(b.fillColor),k=b.fillAlpha,l=j[0]*k,m=j[1]*k,n=j[2]*k,o=d.points,p=d.indices,q=o.length/6;o.push(f,g),o.push(l,m,n,k),o.push(f+h,g),o.push(l,m,n,k),o.push(f,g+i),o.push(l,m,n,k),o.push(f+h,g+i),o.push(l,m,n,k),p.push(q,q,q+1,q+2,q+3,q+3)}b.lineWidth&&(b.points=[f,g,f+h,g,f+h,g+i,f,g+i,f,g],c.WebGLGraphics.buildLine(b,d))},c.WebGLGraphics.buildCircle=function(b,d){var e=b.points,f=e[0],g=e[1],h=e[2],i=e[3],j=40,k=2*Math.PI/j;if(b.fill){var l=a(b.fillColor),m=b.fillAlpha,n=l[0]*m,o=l[1]*m,p=l[2]*m,q=d.points,r=d.indices,s=q.length/6;r.push(s);for(var t=0;j+1>t;t++)q.push(f,g,n,o,p,m),q.push(f+Math.sin(k*t)*h,g+Math.cos(k*t)*i,n,o,p,m),r.push(s++,s++);r.push(s-1)}if(b.lineWidth){b.points=[];for(var t=0;j+1>t;t++)b.points.push(f+Math.sin(k*t)*h,g+Math.cos(k*t)*i);c.WebGLGraphics.buildLine(b,d)}},c.WebGLGraphics.buildLine=function(b,d){var e=b.points;if(0!==e.length){if(b.lineWidth%2)for(var f=0;ff;f++)k=e[2*(f-1)],l=e[2*(f-1)+1],m=e[2*f],n=e[2*f+1],o=e[2*(f+1)],p=e[2*(f+1)+1],q=-(l-n),r=k-m,E=Math.sqrt(q*q+r*r),q/=E,r/=E,q*=K,r*=K,s=-(n-p),t=m-o,E=Math.sqrt(s*s+t*t),s/=E,t/=E,s*=K,t*=K,w=-r+l-(-r+n),x=-q+m-(-q+k),y=(-q+k)*(-r+n)-(-q+m)*(-r+l),z=-t+p-(-t+n),A=-s+m-(-s+o),B=(-s+o)*(-t+n)-(-s+m)*(-t+p),C=w*A-z*x,Math.abs(C)<.1?(C+=10.1,F.push(m-q,n-r,N,O,P,M),F.push(m+q,n+r,N,O,P,M)):(px=(x*B-A*y)/C,py=(z*y-w*B)/C,D=(px-m)*(px-m)+(py-n)+(py-n),D>19600?(u=q-s,v=r-t,E=Math.sqrt(u*u+v*v),u/=E,v/=E,u*=K,v*=K,F.push(m-u,n-v),F.push(N,O,P,M),F.push(m+u,n+v),F.push(N,O,P,M),F.push(m-u,n-v),F.push(N,O,P,M),I++):(F.push(px,py),F.push(N,O,P,M),F.push(m-(px-m),n-(py-n)),F.push(N,O,P,M)));k=e[2*(H-2)],l=e[2*(H-2)+1],m=e[2*(H-1)],n=e[2*(H-1)+1],q=-(l-n),r=k-m,E=Math.sqrt(q*q+r*r),q/=E,r/=E,q*=K,r*=K,F.push(m-q,n-r),F.push(N,O,P,M),F.push(m+q,n+r),F.push(N,O,P,M),G.push(J);for(var f=0;I>f;f++)G.push(J++);G.push(J-1)}},c.WebGLGraphics.buildPoly=function(b,d){var e=b.points;if(!(e.length<6)){for(var f=d.points,g=d.indices,h=e.length/2,i=a(b.fillColor),j=b.fillAlpha,k=i[0]*j,l=i[1]*j,m=i[2]*j,n=c.PolyK.Triangulate(e),o=f.length/6,p=0;pp;p++)f.push(e[2*p],e[2*p+1],k,l,m,j)}},c._defaultFrame=new c.Rectangle(0,0,1,1),c.gl,c.WebGLRenderer=function(a,b,d,e,f){this.transparent=!!e,this.width=a||800,this.height=b||600,this.view=d||document.createElement("canvas"),this.view.width=this.width,this.view.height=this.height;var g=this;this.view.addEventListener("webglcontextlost",function(a){g.handleContextLost(a)},!1),this.view.addEventListener("webglcontextrestored",function(a){g.handleContextRestored(a)},!1),this.batchs=[];var h={alpha:this.transparent,antialias:!!f,premultipliedAlpha:!1,stencil:!0};try{c.gl=this.gl=this.view.getContext("experimental-webgl",h)}catch(i){try{c.gl=this.gl=this.view.getContext("webgl",h)}catch(i){throw new Error(" This browser does not support webGL. Try using the canvas renderer"+this)}}c.initDefaultShaders();var j=this.gl;j.useProgram(c.defaultShader.program),c.WebGLRenderer.gl=j,this.batch=new c.WebGLBatch(j),j.disable(j.DEPTH_TEST),j.disable(j.CULL_FACE),j.enable(j.BLEND),j.colorMask(!0,!0,!0,this.transparent),c.projection=new c.Point(400,300),c.offset=new c.Point(0,0),this.resize(this.width,this.height),this.contextLost=!1,this.stageRenderGroup=new c.WebGLRenderGroup(this.gl,this.transparent)},c.WebGLRenderer.prototype.constructor=c.WebGLRenderer,c.WebGLRenderer.getBatch=function(){return 0===c._batchs.length?new c.WebGLBatch(c.WebGLRenderer.gl):c._batchs.pop()},c.WebGLRenderer.returnBatch=function(a){a.clean(),c._batchs.push(a)},c.WebGLRenderer.prototype.render=function(a){if(!this.contextLost){this.__stage!==a&&(this.__stage=a,this.stageRenderGroup.setRenderable(a)),c.WebGLRenderer.updateTextures(),c.visibleCount++,a.updateTransform();var b=this.gl;if(b.colorMask(!0,!0,!0,this.transparent),b.viewport(0,0,this.width,this.height),b.bindFramebuffer(b.FRAMEBUFFER,null),b.clearColor(a.backgroundColorSplit[0],a.backgroundColorSplit[1],a.backgroundColorSplit[2],!this.transparent),b.clear(b.COLOR_BUFFER_BIT),this.stageRenderGroup.backgroundColor=a.backgroundColorSplit,c.projection.x=this.width/2,c.projection.y=-this.height/2,this.stageRenderGroup.render(c.projection),a.interactive&&(a._interactiveEventsAdded||(a._interactiveEventsAdded=!0,a.interactionManager.setTarget(this))),c.Texture.frameUpdates.length>0){for(var d=0;dn;n++)renderable=this.batchs[n],renderable instanceof c.WebGLBatch?this.batchs[n].render():this.renderSpecial(renderable,b);endBatch instanceof c.WebGLBatch?endBatch.render(0,h+1):this.renderSpecial(endBatch,b)},c.WebGLRenderGroup.prototype.renderSpecial=function(a,b){var d=a.vcount===c.visibleCount;a instanceof c.TilingSprite?d&&this.renderTilingSprite(a,b):a instanceof c.Strip?d&&this.renderStrip(a,b):a instanceof c.CustomRenderable?d&&a.renderWebGL(this,b):a instanceof c.Graphics?d&&a.renderable&&c.WebGLGraphics.renderGraphics(a,b):a instanceof c.FilterBlock&&this.handleFilterBlock(a,b)},flip=!1;var e=[],f=0;return c.WebGLRenderGroup.prototype.handleFilterBlock=function(a,b){var d=c.gl;if(a.open)a.data instanceof Array?this.filterManager.pushFilter(a):(f++,e.push(a),d.enable(d.STENCIL_TEST),d.colorMask(!1,!1,!1,!1),d.stencilFunc(d.ALWAYS,1,1),d.stencilOp(d.KEEP,d.KEEP,d.INCR),c.WebGLGraphics.renderGraphics(a.data,b),d.colorMask(!0,!0,!0,!0),d.stencilFunc(d.NOTEQUAL,0,e.length),d.stencilOp(d.KEEP,d.KEEP,d.KEEP));else if(a.data instanceof Array)this.filterManager.popFilter();else{var g=e.pop(a);g&&(d.colorMask(!1,!1,!1,!1),d.stencilFunc(d.ALWAYS,1,1),d.stencilOp(d.KEEP,d.KEEP,d.DECR),c.WebGLGraphics.renderGraphics(g.data,b),d.colorMask(!0,!0,!0,!0),d.stencilFunc(d.NOTEQUAL,0,e.length),d.stencilOp(d.KEEP,d.KEEP,d.KEEP)),d.disable(d.STENCIL_TEST)}},c.WebGLRenderGroup.prototype.updateTexture=function(a){this.removeObject(a);for(var b=a.first;b!=this.root&&(b=b._iPrev,!b.renderable||!b.__renderGroup););for(var c=a.last;c._iNext&&(c=c._iNext,!c.renderable||!c.__renderGroup););this.insertObject(a,b,c)},c.WebGLRenderGroup.prototype.addFilterBlocks=function(a,b){a.__renderGroup=this,b.__renderGroup=this;for(var c=a;c!=this.root.first&&(c=c._iPrev,!c.renderable||!c.__renderGroup););this.insertAfter(a,c);for(var d=b;d!=this.root.first&&(d=d._iPrev,!d.renderable||!d.__renderGroup););this.insertAfter(b,d)},c.WebGLRenderGroup.prototype.removeFilterBlocks=function(a,b){this.removeObject(a),this.removeObject(b)},c.WebGLRenderGroup.prototype.addDisplayObjectAndChildren=function(a){a.__renderGroup&&a.__renderGroup.removeDisplayObjectAndChildren(a);for(var b=a.first;b!=this.root.first&&(b=b._iPrev,!b.renderable||!b.__renderGroup););for(var c=a.last;c._iNext&&(c=c._iNext,!c.renderable||!c.__renderGroup););var d=a.first,e=a.last._iNext;do d.__renderGroup=this,d.renderable&&(this.insertObject(d,b,c),b=d),d=d._iNext;while(d!=e)},c.WebGLRenderGroup.prototype.removeDisplayObjectAndChildren=function(a){if(a.__renderGroup==this){a.last;do a.__renderGroup=null,a.renderable&&this.removeObject(a),a=a._iNext;while(a)}},c.WebGLRenderGroup.prototype.insertObject=function(a,b,d){var e=b,f=d;if(a instanceof c.Sprite){var g,h;if(e instanceof c.Sprite){if(g=e.batch,g&&g.texture==a.texture.baseTexture&&g.blendMode==a.blendMode)return g.insertAfter(a,e),void 0}else g=e;if(f)if(f instanceof c.Sprite){if(h=f.batch){if(h.texture==a.texture.baseTexture&&h.blendMode==a.blendMode)return h.insertBefore(a,f),void 0;if(h==g){var i=g.split(f),j=c.WebGLRenderer.getBatch(),k=this.batchs.indexOf(g);return j.init(a),this.batchs.splice(k+1,0,j,i),void 0}}}else h=f;var j=c.WebGLRenderer.getBatch();if(j.init(a),g){var k=this.batchs.indexOf(g);this.batchs.splice(k+1,0,j)}else this.batchs.push(j)}else a instanceof c.TilingSprite?this.initTilingSprite(a):a instanceof c.Strip&&this.initStrip(a),this.insertAfter(a,e)},c.WebGLRenderGroup.prototype.insertAfter=function(a,b){if(b instanceof c.Sprite){var d=b.batch;if(d)if(d.tail==b){var e=this.batchs.indexOf(d);this.batchs.splice(e+1,0,a)}else{var f=d.split(b.__next),e=this.batchs.indexOf(d);this.batchs.splice(e+1,0,a,f)}else this.batchs.push(a)}else{var e=this.batchs.indexOf(b);this.batchs.splice(e+1,0,a)}},c.WebGLRenderGroup.prototype.removeObject=function(a){var b;if(a instanceof c.Sprite){var d=a.batch;if(!d)return;d.remove(a),0==d.size&&(b=d)}else b=a;if(b){var e=this.batchs.indexOf(b);if(-1==e)return;if(0===e||e==this.batchs.length-1)return this.batchs.splice(e,1),b instanceof c.WebGLBatch&&c.WebGLRenderer.returnBatch(b),void 0;if(this.batchs[e-1]instanceof c.WebGLBatch&&this.batchs[e+1]instanceof c.WebGLBatch&&this.batchs[e-1].texture==this.batchs[e+1].texture&&this.batchs[e-1].blendMode==this.batchs[e+1].blendMode)return this.batchs[e-1].merge(this.batchs[e+1]),b instanceof c.WebGLBatch&&c.WebGLRenderer.returnBatch(b),c.WebGLRenderer.returnBatch(this.batchs[e+1]),this.batchs.splice(e,2),void 0;this.batchs.splice(e,1),b instanceof c.WebGLBatch&&c.WebGLRenderer.returnBatch(b)}},c.WebGLRenderGroup.prototype.initTilingSprite=function(a){var b=this.gl;a.verticies=new Float32Array([0,0,a.width,0,a.width,a.height,0,a.height]),a.uvs=new Float32Array([0,0,1,0,1,1,0,1]),a.colors=new Float32Array([1,1,1,1]),a.indices=new Uint16Array([0,1,3,2]),a._vertexBuffer=b.createBuffer(),a._indexBuffer=b.createBuffer(),a._uvBuffer=b.createBuffer(),a._colorBuffer=b.createBuffer(),b.bindBuffer(b.ARRAY_BUFFER,a._vertexBuffer),b.bufferData(b.ARRAY_BUFFER,a.verticies,b.STATIC_DRAW),b.bindBuffer(b.ARRAY_BUFFER,a._uvBuffer),b.bufferData(b.ARRAY_BUFFER,a.uvs,b.DYNAMIC_DRAW),b.bindBuffer(b.ARRAY_BUFFER,a._colorBuffer),b.bufferData(b.ARRAY_BUFFER,a.colors,b.STATIC_DRAW),b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,a._indexBuffer),b.bufferData(b.ELEMENT_ARRAY_BUFFER,a.indices,b.STATIC_DRAW),a.texture.baseTexture._glTexture?(b.bindTexture(b.TEXTURE_2D,a.texture.baseTexture._glTexture),b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_S,b.REPEAT),b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_T,b.REPEAT),a.texture.baseTexture._powerOf2=!0):a.texture.baseTexture._powerOf2=!0},c.WebGLRenderGroup.prototype.renderStrip=function(a,b){var d=this.gl;c.activateStripShader();var e=c.stripShader;e.program;var f=c.mat3.clone(a.worldTransform);c.mat3.transpose(f),d.uniformMatrix3fv(e.translationMatrix,!1,f),d.uniform2f(e.projectionVector,b.x,b.y),d.uniform2f(e.offsetVector,-c.offset.x,-c.offset.y),d.uniform1f(e.alpha,a.worldAlpha),a.dirty?(a.dirty=!1,d.bindBuffer(d.ARRAY_BUFFER,a._vertexBuffer),d.bufferData(d.ARRAY_BUFFER,a.verticies,d.STATIC_DRAW),d.vertexAttribPointer(e.aVertexPosition,2,d.FLOAT,!1,0,0),d.bindBuffer(d.ARRAY_BUFFER,a._uvBuffer),d.bufferData(d.ARRAY_BUFFER,a.uvs,d.STATIC_DRAW),d.vertexAttribPointer(e.aTextureCoord,2,d.FLOAT,!1,0,0),d.activeTexture(d.TEXTURE0),d.bindTexture(d.TEXTURE_2D,a.texture.baseTexture._glTexture),d.bindBuffer(d.ARRAY_BUFFER,a._colorBuffer),d.bufferData(d.ARRAY_BUFFER,a.colors,d.STATIC_DRAW),d.vertexAttribPointer(e.colorAttribute,1,d.FLOAT,!1,0,0),d.bindBuffer(d.ELEMENT_ARRAY_BUFFER,a._indexBuffer),d.bufferData(d.ELEMENT_ARRAY_BUFFER,a.indices,d.STATIC_DRAW)):(d.bindBuffer(d.ARRAY_BUFFER,a._vertexBuffer),d.bufferSubData(d.ARRAY_BUFFER,0,a.verticies),d.vertexAttribPointer(e.aVertexPosition,2,d.FLOAT,!1,0,0),d.bindBuffer(d.ARRAY_BUFFER,a._uvBuffer),d.vertexAttribPointer(e.aTextureCoord,2,d.FLOAT,!1,0,0),d.activeTexture(d.TEXTURE0),d.bindTexture(d.TEXTURE_2D,a.texture.baseTexture._glTexture),d.bindBuffer(d.ARRAY_BUFFER,a._colorBuffer),d.vertexAttribPointer(e.colorAttribute,1,d.FLOAT,!1,0,0),d.bindBuffer(d.ELEMENT_ARRAY_BUFFER,a._indexBuffer)),d.drawElements(d.TRIANGLE_STRIP,a.indices.length,d.UNSIGNED_SHORT,0),c.deactivateStripShader()},c.WebGLRenderGroup.prototype.renderTilingSprite=function(a,b){var d=this.gl;c.shaderProgram;var e=a.tilePosition,f=a.tileScale,g=e.x/a.texture.baseTexture.width,h=e.y/a.texture.baseTexture.height,i=a.width/a.texture.baseTexture.width/f.x,j=a.height/a.texture.baseTexture.height/f.y;a.uvs[0]=0-g,a.uvs[1]=0-h,a.uvs[2]=1*i-g,a.uvs[3]=0-h,a.uvs[4]=1*i-g,a.uvs[5]=1*j-h,a.uvs[6]=0-g,a.uvs[7]=1*j-h,d.bindBuffer(d.ARRAY_BUFFER,a._uvBuffer),d.bufferSubData(d.ARRAY_BUFFER,0,a.uvs),this.renderStrip(a,b)},c.WebGLRenderGroup.prototype.initStrip=function(a){var b=this.gl;this.shaderProgram,a._vertexBuffer=b.createBuffer(),a._indexBuffer=b.createBuffer(),a._uvBuffer=b.createBuffer(),a._colorBuffer=b.createBuffer(),b.bindBuffer(b.ARRAY_BUFFER,a._vertexBuffer),b.bufferData(b.ARRAY_BUFFER,a.verticies,b.DYNAMIC_DRAW),b.bindBuffer(b.ARRAY_BUFFER,a._uvBuffer),b.bufferData(b.ARRAY_BUFFER,a.uvs,b.STATIC_DRAW),b.bindBuffer(b.ARRAY_BUFFER,a._colorBuffer),b.bufferData(b.ARRAY_BUFFER,a.colors,b.STATIC_DRAW),b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,a._indexBuffer),b.bufferData(b.ELEMENT_ARRAY_BUFFER,a.indices,b.STATIC_DRAW)},c.initDefaultShaders=function(){c.primitiveShader=new c.PrimitiveShader,c.primitiveShader.init(),c.stripShader=new c.StripShader,c.stripShader.init(),c.defaultShader=new c.PixiShader,c.defaultShader.init();var a=c.gl,b=c.defaultShader.program;a.useProgram(b),a.enableVertexAttribArray(c.defaultShader.aVertexPosition),a.enableVertexAttribArray(c.defaultShader.colorAttribute),a.enableVertexAttribArray(c.defaultShader.aTextureCoord)},c.activatePrimitiveShader=function(){var a=c.gl;a.useProgram(c.primitiveShader.program),a.disableVertexAttribArray(c.defaultShader.aVertexPosition),a.disableVertexAttribArray(c.defaultShader.colorAttribute),a.disableVertexAttribArray(c.defaultShader.aTextureCoord),a.enableVertexAttribArray(c.primitiveShader.aVertexPosition),a.enableVertexAttribArray(c.primitiveShader.colorAttribute)},c.deactivatePrimitiveShader=function(){var a=c.gl;a.useProgram(c.defaultShader.program),a.disableVertexAttribArray(c.primitiveShader.aVertexPosition),a.disableVertexAttribArray(c.primitiveShader.colorAttribute),a.enableVertexAttribArray(c.defaultShader.aVertexPosition),a.enableVertexAttribArray(c.defaultShader.colorAttribute),a.enableVertexAttribArray(c.defaultShader.aTextureCoord)},c.activateStripShader=function(){var a=c.gl;a.useProgram(c.stripShader.program)},c.deactivateStripShader=function(){var a=c.gl;a.useProgram(c.defaultShader.program)},c.CompileVertexShader=function(a,b){return c._CompileShader(a,b,a.VERTEX_SHADER)},c.CompileFragmentShader=function(a,b){return c._CompileShader(a,b,a.FRAGMENT_SHADER)},c._CompileShader=function(a,b,c){var d=b.join("\n"),e=a.createShader(c);return a.shaderSource(e,d),a.compileShader(e),a.getShaderParameter(e,a.COMPILE_STATUS)?e:(console.log(a.getShaderInfoLog(e)),null)},c.compileProgram=function(a,b){var d=c.gl,e=c.CompileFragmentShader(d,b),f=c.CompileVertexShader(d,a),g=d.createProgram();return d.attachShader(g,f),d.attachShader(g,e),d.linkProgram(g),d.getProgramParameter(g,d.LINK_STATUS)||console.log("Could not initialise shaders"),g},c.BitmapText=function(a,b){c.DisplayObjectContainer.call(this),this.setText(a),this.setStyle(b),this.updateText(),this.dirty=!1},c.BitmapText.prototype=Object.create(c.DisplayObjectContainer.prototype),c.BitmapText.prototype.constructor=c.BitmapText,c.BitmapText.prototype.setText=function(a){this.text=a||" ",this.dirty=!0},c.BitmapText.prototype.setStyle=function(a){a=a||{},a.align=a.align||"left",this.style=a;var b=a.font.split(" ");this.fontName=b[b.length-1],this.fontSize=b.length>=2?parseInt(b[b.length-2],10):c.BitmapText.fonts[this.fontName].size,this.dirty=!0},c.BitmapText.prototype.updateText=function(){for(var a=c.BitmapText.fonts[this.fontName],b=new c.Point,d=null,e=[],f=0,g=[],h=0,i=this.fontSize/a.size,j=0;j=j;j++){var n=0;"right"==this.style.align?n=f-g[j]:"center"==this.style.align&&(n=(f-g[j])/2),m.push(n)}for(j=0;j0;)this.removeChild(this.getChildAt(0));this.updateText(),this.dirty=!1}c.DisplayObjectContainer.prototype.updateTransform.call(this)},c.BitmapText.fonts={},c.Text=function(a,b){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),c.Sprite.call(this,c.Texture.fromCanvas(this.canvas)),this.setText(a),this.setStyle(b),this.updateText(),this.dirty=!1},c.Text.prototype=Object.create(c.Sprite.prototype),c.Text.prototype.constructor=c.Text,c.Text.prototype.setStyle=function(a){a=a||{},a.font=a.font||"bold 20pt Arial",a.fill=a.fill||"black",a.align=a.align||"left",a.stroke=a.stroke||"black",a.strokeThickness=a.strokeThickness||0,a.wordWrap=a.wordWrap||!1,a.wordWrapWidth=a.wordWrapWidth||100,this.style=a,this.dirty=!0},c.Text.prototype.setText=function(a){this.text=a.toString()||" ",this.dirty=!0},c.Text.prototype.updateText=function(){this.context.font=this.style.font;var a=this.text;this.style.wordWrap&&(a=this.wordWrap(this.text));for(var b=a.split(/(?:\r\n|\r|\n)/),d=[],e=0,f=0;fe?(g>0&&(b+="\n"),b+=f[g]+" ",e=this.style.wordWrapWidth-h):(e-=i,b+=f[g]+" ")}b+="\n"}return b},c.Text.prototype.destroy=function(a){a&&this.texture.destroy()},c.Text.heightCache={},c.BaseTextureCache={},c.texturesToUpdate=[],c.texturesToDestroy=[],c.BaseTexture=function(a){if(c.EventTarget.call(this),this.width=100,this.height=100,this.hasLoaded=!1,this.source=a,a){if(this.source instanceof Image||this.source instanceof HTMLImageElement)if(this.source.complete)this.hasLoaded=!0,this.width=this.source.width,this.height=this.source.height,c.texturesToUpdate.push(this);else{var b=this;this.source.onload=function(){b.hasLoaded=!0,b.width=b.source.width,b.height=b.source.height,c.texturesToUpdate.push(b),b.dispatchEvent({type:"loaded",content:b})}}else this.hasLoaded=!0,this.width=this.source.width,this.height=this.source.height,c.texturesToUpdate.push(this);this._powerOf2=!1}},c.BaseTexture.prototype.constructor=c.BaseTexture,c.BaseTexture.prototype.destroy=function(){this.source instanceof Image&&(this.source.src=null),this.source=null,c.texturesToDestroy.push(this)},c.BaseTexture.fromImage=function(a,b){var d=c.BaseTextureCache[a];if(!d){var e=new Image;b&&(e.crossOrigin=""),e.src=a,d=new c.BaseTexture(e),c.BaseTextureCache[a]=d}return d},c.TextureCache={},c.FrameCache={},c.Texture=function(a,b){if(c.EventTarget.call(this),b||(this.noFrame=!0,b=new c.Rectangle(0,0,1,1)),a instanceof c.Texture&&(a=a.baseTexture),this.baseTexture=a,this.frame=b,this.trim=new c.Point,this.scope=this,a.hasLoaded)this.noFrame&&(b=new c.Rectangle(0,0,a.width,a.height)),this.setFrame(b);else{var d=this;a.addEventListener("loaded",function(){d.onBaseTextureLoaded()})}},c.Texture.prototype.constructor=c.Texture,c.Texture.prototype.onBaseTextureLoaded=function(){var a=this.baseTexture;a.removeEventListener("loaded",this.onLoaded),this.noFrame&&(this.frame=new c.Rectangle(0,0,a.width,a.height)),this.noFrame=!1,this.width=this.frame.width,this.height=this.frame.height,this.scope.dispatchEvent({type:"update",content:this})},c.Texture.prototype.destroy=function(a){a&&this.baseTexture.destroy()},c.Texture.prototype.setFrame=function(a){if(this.frame=a,this.width=a.width,this.height=a.height,a.x+a.width>this.baseTexture.width||a.y+a.height>this.baseTexture.height)throw new Error("Texture Error: frame does not fit inside the base Texture dimensions "+this);this.updateFrame=!0,c.Texture.frameUpdates.push(this)},c.Texture.fromImage=function(a,b){var d=c.TextureCache[a];return d||(d=new c.Texture(c.BaseTexture.fromImage(a,b)),c.TextureCache[a]=d),d},c.Texture.fromFrame=function(a){var b=c.TextureCache[a];if(!b)throw new Error("The frameId '"+a+"' does not exist in the texture cache "+this);return b},c.Texture.fromCanvas=function(a){var b=new c.BaseTexture(a);return new c.Texture(b)},c.Texture.addTextureToCache=function(a,b){c.TextureCache[b]=a},c.Texture.removeTextureFromCache=function(a){var b=c.TextureCache[a];return c.TextureCache[a]=null,b},c.Texture.frameUpdates=[],c.RenderTexture=function(a,b){c.EventTarget.call(this),this.width=a||100,this.height=b||100,this.indetityMatrix=c.mat3.create(),this.frame=new c.Rectangle(0,0,this.width,this.height),c.gl?this.initWebGL():this.initCanvas()},c.RenderTexture.prototype=Object.create(c.Texture.prototype),c.RenderTexture.prototype.constructor=c.RenderTexture,c.RenderTexture.prototype.initWebGL=function(){var a=c.gl;this.glFramebuffer=a.createFramebuffer(),a.bindFramebuffer(a.FRAMEBUFFER,this.glFramebuffer),this.glFramebuffer.width=this.width,this.glFramebuffer.height=this.height,this.baseTexture=new c.BaseTexture,this.baseTexture.width=this.width,this.baseTexture.height=this.height,this.baseTexture._glTexture=a.createTexture(),a.bindTexture(a.TEXTURE_2D,this.baseTexture._glTexture),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,this.width,this.height,0,a.RGBA,a.UNSIGNED_BYTE,null),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.CLAMP_TO_EDGE),this.baseTexture.isRender=!0,a.bindFramebuffer(a.FRAMEBUFFER,this.glFramebuffer),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.baseTexture._glTexture,0),this.projection=new c.Point(this.width/2,-this.height/2),this.render=this.renderWebGL},c.RenderTexture.prototype.resize=function(a,b){if(this.width=a,this.height=b,c.gl){this.projection.x=this.width/2,this.projection.y=-this.height/2;var d=c.gl;d.bindTexture(d.TEXTURE_2D,this.baseTexture._glTexture),d.texImage2D(d.TEXTURE_2D,0,d.RGBA,this.width,this.height,0,d.RGBA,d.UNSIGNED_BYTE,null)}else this.frame.width=this.width,this.frame.height=this.height,this.renderer.resize(this.width,this.height)},c.RenderTexture.prototype.initCanvas=function(){this.renderer=new c.CanvasRenderer(this.width,this.height,null,0),this.baseTexture=new c.BaseTexture(this.renderer.view),this.frame=new c.Rectangle(0,0,this.width,this.height),this.render=this.renderCanvas},c.RenderTexture.prototype.renderWebGL=function(a,b,d){var e=c.gl;e.colorMask(!0,!0,!0,!0),e.viewport(0,0,this.width,this.height),e.bindFramebuffer(e.FRAMEBUFFER,this.glFramebuffer),d&&(e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT));var f=a.children,g=a.worldTransform;a.worldTransform=c.mat3.create(),a.worldTransform[4]=-1,a.worldTransform[5]=-2*this.projection.y,b&&(a.worldTransform[2]=b.x,a.worldTransform[5]-=b.y),c.visibleCount++,a.vcount=c.visibleCount;for(var h=0,i=f.length;i>h;h++)f[h].updateTransform();var j=a.__renderGroup;j?a==j.root?j.render(this.projection,this.glFramebuffer):j.renderSpecific(a,this.projection,this.glFramebuffer):(this.renderGroup||(this.renderGroup=new c.WebGLRenderGroup(e)),this.renderGroup.setRenderable(a),this.renderGroup.render(this.projection,this.glFramebuffer)),a.worldTransform=g -},c.RenderTexture.prototype.renderCanvas=function(a,b,d){var e=a.children;a.worldTransform=c.mat3.create(),b&&(a.worldTransform[2]=b.x,a.worldTransform[5]=b.y);for(var f=0,g=e.length;g>f;f++)e[f].updateTransform();d&&this.renderer.context.clearRect(0,0,this.width,this.height),this.renderer.renderDisplayObject(a),this.renderer.context.setTransform(1,0,0,1,0,0)},c.EventTarget=function(){var a={};this.addEventListener=this.on=function(b,c){void 0===a[b]&&(a[b]=[]),-1===a[b].indexOf(c)&&a[b].push(c)},this.dispatchEvent=this.emit=function(b){if(a[b.type]&&a[b.type].length)for(var c=0,d=a[b.type].length;d>c;c++)a[b.type][c](b)},this.removeEventListener=this.off=function(b,c){var d=a[b].indexOf(c);-1!==d&&a[b].splice(d,1)}},c.PolyK={},c.PolyK.Triangulate=function(a){var b=!0,d=a.length>>1;if(3>d)return[];for(var e=[],f=[],g=0;d>g;g++)f.push(g);for(var g=0,h=d;h>3;){var i=f[(g+0)%h],j=f[(g+1)%h],k=f[(g+2)%h],l=a[2*i],m=a[2*i+1],n=a[2*j],o=a[2*j+1],p=a[2*k],q=a[2*k+1],r=!1;if(c.PolyK._convex(l,m,n,o,p,q,b)){r=!0;for(var s=0;h>s;s++){var t=f[s];if(t!=i&&t!=j&&t!=k&&c.PolyK._PointInTriangle(a[2*t],a[2*t+1],l,m,n,o,p,q)){r=!1;break}}}if(r)e.push(i,j,k),f.splice((g+1)%h,1),h--,g=0;else if(g++>3*h){if(!b)return console.log("PIXI Warning: shape too complex to fill"),[];var e=[];f=[];for(var g=0;d>g;g++)f.push(g);g=0,h=d,b=!1}}return e.push(f[0],f[1],f[2]),e},c.PolyK._PointInTriangle=function(a,b,c,d,e,f,g,h){var i=g-c,j=h-d,k=e-c,l=f-d,m=a-c,n=b-d,o=i*i+j*j,p=i*k+j*l,q=i*m+j*n,r=k*k+l*l,s=k*m+l*n,t=1/(o*r-p*p),u=(r*q-p*s)*t,v=(o*s-p*q)*t;return u>=0&&v>=0&&1>u+v},c.PolyK._convex=function(a,b,c,d,e,f,g){return(b-d)*(e-c)+(c-a)*(f-d)>=0==g},d.Camera=function(a,b,c,e,f,g){this.game=a,this.world=a.world,this.id=0,this.view=new d.Rectangle(c,e,f,g),this.screenView=new d.Rectangle(c,e,f,g),this.bounds=new d.Rectangle(c,e,f,g),this.deadzone=null,this.visible=!0,this.atLimit={x:!1,y:!1},this.target=null,this._edge=0,this.displayObject=null},d.Camera.FOLLOW_LOCKON=0,d.Camera.FOLLOW_PLATFORMER=1,d.Camera.FOLLOW_TOPDOWN=2,d.Camera.FOLLOW_TOPDOWN_TIGHT=3,d.Camera.prototype={follow:function(a,b){"undefined"==typeof b&&(b=d.Camera.FOLLOW_LOCKON),this.target=a;var c;switch(b){case d.Camera.FOLLOW_PLATFORMER:var e=this.width/8,f=this.height/3;this.deadzone=new d.Rectangle((this.width-e)/2,(this.height-f)/2-.25*f,e,f);break;case d.Camera.FOLLOW_TOPDOWN:c=Math.max(this.width,this.height)/4,this.deadzone=new d.Rectangle((this.width-c)/2,(this.height-c)/2,c,c);break;case d.Camera.FOLLOW_TOPDOWN_TIGHT:c=Math.max(this.width,this.height)/8,this.deadzone=new d.Rectangle((this.width-c)/2,(this.height-c)/2,c,c);break;case d.Camera.FOLLOW_LOCKON:this.deadzone=null;break;default:this.deadzone=null}},focusOn:function(a){this.setPosition(Math.round(a.x-this.view.halfWidth),Math.round(a.y-this.view.halfHeight))},focusOnXY:function(a,b){this.setPosition(Math.round(a-this.view.halfWidth),Math.round(b-this.view.halfHeight))},update:function(){this.target&&this.updateTarget(),this.bounds&&this.checkBounds(),this.displayObject.position.x=-this.view.x,this.displayObject.position.y=-this.view.y},updateTarget:function(){this.deadzone?(this._edge=this.target.x-this.deadzone.x,this.view.x>this._edge&&(this.view.x=this._edge),this._edge=this.target.x+this.target.width-this.deadzone.x-this.deadzone.width,this.view.xthis._edge&&(this.view.y=this._edge),this._edge=this.target.y+this.target.height-this.deadzone.y-this.deadzone.height,this.view.ythis.bounds.right-this.width&&(this.atLimit.x=!0,this.view.x=this.bounds.right-this.width+1),this.view.ythis.bounds.bottom-this.height&&(this.atLimit.y=!0,this.view.y=this.bounds.bottom-this.height+1),this.view.floor()},setPosition:function(a,b){this.view.x=a,this.view.y=b,this.bounds&&this.checkBounds()},setSize:function(a,b){this.view.width=a,this.view.height=b}},Object.defineProperty(d.Camera.prototype,"x",{get:function(){return this.view.x},set:function(a){this.view.x=a,this.bounds&&this.checkBounds()}}),Object.defineProperty(d.Camera.prototype,"y",{get:function(){return this.view.y},set:function(a){this.view.y=a,this.bounds&&this.checkBounds()}}),Object.defineProperty(d.Camera.prototype,"width",{get:function(){return this.view.width},set:function(a){this.view.width=a}}),Object.defineProperty(d.Camera.prototype,"height",{get:function(){return this.view.height},set:function(a){this.view.height=a}}),d.State=function(){this.game=null,this.add=null,this.camera=null,this.cache=null,this.input=null,this.load=null,this.math=null,this.sound=null,this.stage=null,this.time=null,this.tweens=null,this.world=null,this.particles=null,this.physics=null},d.State.prototype={preload:function(){},loadUpdate:function(){},loadRender:function(){},create:function(){},update:function(){},render:function(){},paused:function(){},destroy:function(){}},d.StateManager=function(a,b){this.game=a,this.states={},this._pendingState=null,null!==b&&(this._pendingState=b),this._created=!1,this.current="",this.onInitCallback=null,this.onPreloadCallback=null,this.onCreateCallback=null,this.onUpdateCallback=null,this.onRenderCallback=null,this.onPreRenderCallback=null,this.onLoadUpdateCallback=null,this.onLoadRenderCallback=null,this.onPausedCallback=null,this.onShutDownCallback=null},d.StateManager.prototype={boot:function(){null!==this._pendingState&&("string"==typeof this._pendingState?this.start(this._pendingState,!1,!1):this.add("default",this._pendingState,!0))},add:function(a,b,c){"undefined"==typeof c&&(c=!1);var e;return b instanceof d.State?e=b:"object"==typeof b?(e=b,e.game=this.game):"function"==typeof b&&(e=new b(this.game)),this.states[a]=e,c&&(this.game.isBooted?this.start(a):this._pendingState=a),e},remove:function(a){this.current==a&&(this.callbackContext=null,this.onInitCallback=null,this.onShutDownCallback=null,this.onPreloadCallback=null,this.onLoadRenderCallback=null,this.onLoadUpdateCallback=null,this.onCreateCallback=null,this.onUpdateCallback=null,this.onRenderCallback=null,this.onPausedCallback=null,this.onDestroyCallback=null),delete this.states[a]},start:function(a,b,c){return"undefined"==typeof b&&(b=!0),"undefined"==typeof c&&(c=!1),this.game.isBooted===!1?(this._pendingState=a,void 0):(this.checkState(a)!==!1&&(this.current&&this.onShutDownCallback.call(this.callbackContext,this.game),b&&(this.game.tweens.removeAll(),this.game.world.destroy(),c===!0&&this.game.cache.destroy()),this.setCurrentState(a),this.onPreloadCallback?(this.game.load.reset(),this.onPreloadCallback.call(this.callbackContext,this.game),0===this.game.load.queueSize?this.game.loadComplete():this.game.load.start()):this.game.loadComplete()),void 0)},dummy:function(){},checkState:function(a){if(this.states[a]){var b=!1;return this.states[a].preload&&(b=!0),b===!1&&this.states[a].loadRender&&(b=!0),b===!1&&this.states[a].loadUpdate&&(b=!0),b===!1&&this.states[a].create&&(b=!0),b===!1&&this.states[a].update&&(b=!0),b===!1&&this.states[a].preRender&&(b=!0),b===!1&&this.states[a].render&&(b=!0),b===!1&&this.states[a].paused&&(b=!0),b===!1?(console.warn("Invalid Phaser State object given. Must contain at least a one of the required functions."),!1):!0}return console.warn("Phaser.StateManager - No state found with the key: "+a),!1},link:function(a){this.states[a].game=this.game,this.states[a].add=this.game.add,this.states[a].camera=this.game.camera,this.states[a].cache=this.game.cache,this.states[a].input=this.game.input,this.states[a].load=this.game.load,this.states[a].math=this.game.math,this.states[a].sound=this.game.sound,this.states[a].stage=this.game.stage,this.states[a].time=this.game.time,this.states[a].tweens=this.game.tweens,this.states[a].world=this.game.world,this.states[a].particles=this.game.particles,this.states[a].physics=this.game.physics,this.states[a].rnd=this.game.rnd},setCurrentState:function(a){this.callbackContext=this.states[a],this.link(a),this.onInitCallback=this.states[a].init||this.dummy,this.onPreloadCallback=this.states[a].preload||null,this.onLoadRenderCallback=this.states[a].loadRender||null,this.onLoadUpdateCallback=this.states[a].loadUpdate||null,this.onCreateCallback=this.states[a].create||null,this.onUpdateCallback=this.states[a].update||null,this.onPreRenderCallback=this.states[a].preRender||null,this.onRenderCallback=this.states[a].render||null,this.onPausedCallback=this.states[a].paused||null,this.onShutDownCallback=this.states[a].shutdown||this.dummy,this.current=a,this._created=!1,this.onInitCallback.call(this.callbackContext,this.game)},loadComplete:function(){this._created===!1&&this.onCreateCallback?(this._created=!0,this.onCreateCallback.call(this.callbackContext,this.game)):this._created=!0},update:function(){this._created&&this.onUpdateCallback?this.onUpdateCallback.call(this.callbackContext,this.game):this.onLoadUpdateCallback&&this.onLoadUpdateCallback.call(this.callbackContext,this.game)},preRender:function(){this.onPreRenderCallback&&this.onPreRenderCallback.call(this.callbackContext,this.game)},render:function(){this._created&&this.onRenderCallback?(this.game.renderType===d.CANVAS&&(this.game.context.save(),this.game.context.setTransform(1,0,0,1,0,0)),this.onRenderCallback.call(this.callbackContext,this.game),this.game.renderType===d.CANVAS&&this.game.context.restore()):this.onLoadRenderCallback&&this.onLoadRenderCallback.call(this.callbackContext,this.game)},destroy:function(){this.callbackContext=null,this.onInitCallback=null,this.onShutDownCallback=null,this.onPreloadCallback=null,this.onLoadRenderCallback=null,this.onLoadUpdateCallback=null,this.onCreateCallback=null,this.onUpdateCallback=null,this.onRenderCallback=null,this.onPausedCallback=null,this.onDestroyCallback=null,this.game=null,this.states={},this._pendingState=null}},d.LinkedList=function(){this.next=null,this.prev=null,this.first=null,this.last=null,this.total=0},d.LinkedList.prototype={add:function(a){return 0===this.total&&null==this.first&&null==this.last?(this.first=a,this.last=a,this.next=a,a.prev=this,this.total++,a):(this.last.next=a,a.prev=this.last,this.last=a,this.total++,a)},remove:function(a){a==this.first?this.first=this.first.next:a==this.last&&(this.last=this.last.prev),a.prev&&(a.prev.next=a.next),a.next&&(a.next.prev=a.prev),a.next=a.prev=null,null==this.first&&(this.last=null),this.total--},callAll:function(a){if(this.first&&this.last){var b=this.first;do b&&b[a]&&b[a].call(b),b=b.next;while(b!=this.last.next)}}},d.Signal=function(){this._bindings=[],this._prevParams=null;var a=this;this.dispatch=function(){d.Signal.prototype.dispatch.apply(a,arguments)}},d.Signal.prototype={memorize:!1,_shouldPropagate:!0,active:!0,validateListener:function(a,b){if("function"!=typeof a)throw new Error("listener is a required param of {fn}() and should be a Function.".replace("{fn}",b))},_registerListener:function(a,b,c,e){var f,g=this._indexOfListener(a,c);if(-1!==g){if(f=this._bindings[g],f.isOnce()!==b)throw new Error("You cannot add"+(b?"":"Once")+"() then add"+(b?"Once":"")+"() the same listener without removing the relationship first.")}else f=new d.SignalBinding(this,a,b,c,e),this._addBinding(f);return this.memorize&&this._prevParams&&f.execute(this._prevParams),f},_addBinding:function(a){var b=this._bindings.length;do--b;while(this._bindings[b]&&a._priority<=this._bindings[b]._priority);this._bindings.splice(b+1,0,a)},_indexOfListener:function(a,b){for(var c,d=this._bindings.length;d--;)if(c=this._bindings[d],c._listener===a&&c.context===b)return d;return-1},has:function(a,b){return-1!==this._indexOfListener(a,b)},add:function(a,b,c){return this.validateListener(a,"add"),this._registerListener(a,!1,b,c)},addOnce:function(a,b,c){return this.validateListener(a,"addOnce"),this._registerListener(a,!0,b,c)},remove:function(a,b){this.validateListener(a,"remove");var c=this._indexOfListener(a,b);return-1!==c&&(this._bindings[c]._destroy(),this._bindings.splice(c,1)),a},removeAll:function(){for(var a=this._bindings.length;a--;)this._bindings[a]._destroy();this._bindings.length=0},getNumListeners:function(){return this._bindings.length},halt:function(){this._shouldPropagate=!1},dispatch:function(){if(this.active){var a,b=Array.prototype.slice.call(arguments),c=this._bindings.length;if(this.memorize&&(this._prevParams=b),c){a=this._bindings.slice(),this._shouldPropagate=!0;do c--;while(a[c]&&this._shouldPropagate&&a[c].execute(b)!==!1)}}},forget:function(){this._prevParams=null},dispose:function(){this.removeAll(),delete this._bindings,delete this._prevParams},toString:function(){return"[Phaser.Signal active:"+this.active+" numListeners:"+this.getNumListeners()+"]"}},d.SignalBinding=function(a,b,c,d,e){this._listener=b,this._isOnce=c,this.context=d,this._signal=a,this._priority=e||0},d.SignalBinding.prototype={active:!0,params:null,execute:function(a){var b,c;return this.active&&this._listener&&(c=this.params?this.params.concat(a):a,b=this._listener.apply(this.context,c),this._isOnce&&this.detach()),b},detach:function(){return this.isBound()?this._signal.remove(this._listener,this.context):null},isBound:function(){return!!this._signal&&!!this._listener},isOnce:function(){return this._isOnce},getListener:function(){return this._listener},getSignal:function(){return this._signal},_destroy:function(){delete this._signal,delete this._listener,delete this.context},toString:function(){return"[Phaser.SignalBinding isOnce:"+this._isOnce+", isBound:"+this.isBound()+", active:"+this.active+"]"}},d.Filter=function(a,b,c){this.game=a,this.type=d.WEBGL_FILTER,this.passes=[this],this.dirty=!0,this.padding=0,this.uniforms={resolution:{type:"3f",value:{x:256,y:256,z:0}},time:{type:"1f",value:0},mouse:{type:"4f",value:{x:0,y:0,z:0,w:0}}},this.fragmentSrc=c||[]},d.Filter.prototype={init:function(){},setResolution:function(a,b){this.uniforms.resolution.value.x=a,this.uniforms.resolution.value.y=b},update:function(a){"undefined"!=typeof a&&(this.uniforms.mouse.x=a.x,this.uniforms.mouse.y=a.y),this.uniforms.time.value=this.game.time.totalElapsedSeconds()},destroy:function(){this.game=null}},Object.defineProperty(d.Filter.prototype,"width",{get:function(){return this.uniforms.resolution.value.x},set:function(a){this.uniforms.resolution.value.x=a}}),Object.defineProperty(d.Filter.prototype,"height",{get:function(){return this.uniforms.resolution.value.y},set:function(a){this.uniforms.resolution.value.y=a}}),d.Plugin=function(a,b){"undefined"==typeof b&&(b=null),this.game=a,this.parent=b,this.active=!1,this.visible=!1,this.hasPreUpdate=!1,this.hasUpdate=!1,this.hasPostUpdate=!1,this.hasRender=!1,this.hasPostRender=!1},d.Plugin.prototype={preUpdate:function(){},update:function(){},render:function(){},postRender:function(){},destroy:function(){this.game=null,this.parent=null,this.active=!1,this.visible=!1}},d.PluginManager=function(a,b){this.game=a,this._parent=b,this.plugins=[],this._pluginsLength=0},d.PluginManager.prototype={add:function(a){var b=!1;return"function"==typeof a?a=new a(this.game,this._parent):(a.game=this.game,a.parent=this._parent),"function"==typeof a.preUpdate&&(a.hasPreUpdate=!0,b=!0),"function"==typeof a.update&&(a.hasUpdate=!0,b=!0),"function"==typeof a.postUpdate&&(a.hasPostUpdate=!0,b=!0),"function"==typeof a.render&&(a.hasRender=!0,b=!0),"function"==typeof a.postRender&&(a.hasPostRender=!0,b=!0),b?((a.hasPreUpdate||a.hasUpdate)&&(a.active=!0),(a.hasRender||a.hasPostRender)&&(a.visible=!0),this._pluginsLength=this.plugins.push(a),"function"==typeof a.init&&a.init(),a):null},remove:function(a){if(0!==this._pluginsLength)for(this._p=0;this._pthis._nextOffsetCheck&&(d.Canvas.getOffset(this.canvas,this.offset),this._nextOffsetCheck=this.game.time.now+this.checkOffsetInterval)},visibilityChange:function(a){this.disableVisibilityChange||(this.game.paused="pagehide"==a.type||"blur"==a.type||document.hidden===!0||document.webkitHidden===!0?!0:!1)}},Object.defineProperty(d.Stage.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(a){this._backgroundColor=a,this.game.transparent===!1&&(this.game.renderType==d.CANVAS?this.game.canvas.style.backgroundColor=a:("string"==typeof a&&(a=d.Color.hexToRGB(a)),this._stage.setBackgroundColor(a)))}}),d.Group=function(a,b,e,f){("undefined"==typeof b||null===typeof b)&&(b=a.world),"undefined"==typeof f&&(f=!1),this.game=a,this.name=e||"group",f?this._container=this.game.stage._stage:(this._container=new c.DisplayObjectContainer,this._container.name=this.name,b?b instanceof d.Group?(b._container.addChild(this._container),b._container.updateTransform()):(b.addChild(this._container),b.updateTransform()):(this.game.stage._stage.addChild(this._container),this.game.stage._stage.updateTransform())),this.type=d.GROUP,this.exists=!0,this.scale=new d.Point(1,1),this.cursor=null},d.Group.RETURN_NONE=0,d.Group.RETURN_TOTAL=1,d.Group.RETURN_CHILD=2,d.Group.SORT_ASCENDING=-1,d.Group.SORT_DESCENDING=1,d.Group.prototype={add:function(a){return a.group!==this&&(a.group=this,a.events&&a.events.onAddedToGroup.dispatch(a,this),this._container.addChild(a),a.updateTransform(),null===this.cursor&&(this.cursor=a)),a},addAt:function(a,b){return a.group!==this&&(a.group=this,a.events&&a.events.onAddedToGroup.dispatch(a,this),this._container.addChildAt(a,b),a.updateTransform(),null===this.cursor&&(this.cursor=a)),a},getAt:function(a){return this._container.getChildAt(a)},create:function(a,b,c,e,f){"undefined"==typeof f&&(f=!0);var g=new d.Sprite(this.game,a,b,c,e);return g.group=this,g.exists=f,g.visible=f,g.alive=f,g.events&&g.events.onAddedToGroup.dispatch(g,this),this._container.addChild(g),g.updateTransform(),null===this.cursor&&(this.cursor=g),g},createMultiple:function(a,b,c,e){"undefined"==typeof e&&(e=!1);for(var f=0;a>f;f++){var g=new d.Sprite(this.game,0,0,b,c);g.group=this,g.exists=e,g.visible=e,g.alive=e,g.events&&g.events.onAddedToGroup.dispatch(g,this),this._container.addChild(g),g.updateTransform(),null===this.cursor&&(this.cursor=g)}},next:function(){this.cursor&&(this.cursor=this.cursor==this._container.last?this._container._iNext:this.cursor._iNext)},previous:function(){this.cursor&&(this.cursor=this.cursor==this._container._iNext?this._container.last:this.cursor._iPrev)},childTest:function(a,b){var c=a+" next: ";c+=b._iNext?b._iNext.name:"-null-",c=c+" "+a+" prev: ",c+=b._iPrev?b._iPrev.name:"-null-",console.log(c)},swapIndex:function(a,b){var c=this.getAt(a),d=this.getAt(b);console.log("swapIndex ",a," with ",b),this.swap(c,d)},swap:function(a,b){if(a===b||!a.parent||!b.parent||a.group!==this||b.group!==this)return!1;var c=a._iPrev,d=a._iNext,e=b._iPrev,f=b._iNext,g=this._container.last._iNext,h=this.game.stage._stage;do h!==a&&h!==b&&(h.first===a?h.first=b:h.first===b&&(h.first=a),h.last===a?h.last=b:h.last===b&&(h.last=a)),h=h._iNext;while(h!=g);return a._iNext==b?(a._iNext=f,a._iPrev=b,b._iNext=a,b._iPrev=c,c&&(c._iNext=b),f&&(f._iPrev=a),a.__renderGroup&&a.__renderGroup.updateTexture(a),b.__renderGroup&&b.__renderGroup.updateTexture(b),!0):b._iNext==a?(a._iNext=b,a._iPrev=e,b._iNext=d,b._iPrev=a,e&&(e._iNext=a),d&&(d._iPrev=b),a.__renderGroup&&a.__renderGroup.updateTexture(a),b.__renderGroup&&b.__renderGroup.updateTexture(b),!0):(a._iNext=f,a._iPrev=e,b._iNext=d,b._iPrev=c,c&&(c._iNext=b),d&&(d._iPrev=b),e&&(e._iNext=a),f&&(f._iPrev=a),a.__renderGroup&&a.__renderGroup.updateTexture(a),b.__renderGroup&&b.__renderGroup.updateTexture(b),!0)},bringToTop:function(a){return a.group===this&&(this.remove(a),this.add(a)),a},getIndex:function(a){return this._container.children.indexOf(a)},replace:function(a,b){if(this._container.first._iNext){var c=this.getIndex(a);-1!=c&&(void 0!==b.parent&&(b.events.onRemovedFromGroup.dispatch(b,this),b.parent.removeChild(b)),this._container.removeChild(a),this._container.addChildAt(b,c),b.events.onAddedToGroup.dispatch(b,this),b.updateTransform(),this.cursor==a&&(this.cursor=this._container._iNext))}},setProperty:function(a,b,c,d){d=d||0;var e=b.length;1==e?0===d?a[b[0]]=c:1==d?a[b[0]]+=c:2==d?a[b[0]]-=c:3==d?a[b[0]]*=c:4==d&&(a[b[0]]/=c):2==e?0===d?a[b[0]][b[1]]=c:1==d?a[b[0]][b[1]]+=c:2==d?a[b[0]][b[1]]-=c:3==d?a[b[0]][b[1]]*=c:4==d&&(a[b[0]][b[1]]/=c):3==e?0===d?a[b[0]][b[1]][b[2]]=c:1==d?a[b[0]][b[1]][b[2]]+=c:2==d?a[b[0]][b[1]][b[2]]-=c:3==d?a[b[0]][b[1]][b[2]]*=c:4==d&&(a[b[0]][b[1]][b[2]]/=c):4==e&&(0===d?a[b[0]][b[1]][b[2]][b[3]]=c:1==d?a[b[0]][b[1]][b[2]][b[3]]+=c:2==d?a[b[0]][b[1]][b[2]][b[3]]-=c:3==d?a[b[0]][b[1]][b[2]][b[3]]*=c:4==d&&(a[b[0]][b[1]][b[2]][b[3]]/=c))},setAll:function(a,b,c,d,e){if(a=a.split("."),"undefined"==typeof c&&(c=!1),"undefined"==typeof d&&(d=!1),e=e||0,this._container.children.length>0&&this._container.first._iNext){var f=this._container.first._iNext;do(c===!1||c&&f.alive)&&(d===!1||d&&f.visible)&&this.setProperty(f,a,b,e),f=f._iNext;while(f!=this._container.last._iNext)}},addAll:function(a,b,c,d){this.setAll(a,b,c,d,1)},subAll:function(a,b,c,d){this.setAll(a,b,c,d,2)},multiplyAll:function(a,b,c,d){this.setAll(a,b,c,d,3)},divideAll:function(a,b,c,d){this.setAll(a,b,c,d,4)},callAllExists:function(a,b){var c=Array.prototype.splice.call(arguments,2);if(this._container.children.length>0&&this._container.first._iNext){var d=this._container.first._iNext;do d.exists==b&&d[a]&&d[a].apply(d,c),d=d._iNext;while(d!=this._container.last._iNext)}},callbackFromArray:function(a,b,c){if(1==c){if(a[b[0]])return a[b[0]]}else if(2==c){if(a[b[0]][b[1]])return a[b[0]][b[1]]}else if(3==c){if(a[b[0]][b[1]][b[2]])return a[b[0]][b[1]][b[2]]}else if(4==c){if(a[b[0]][b[1]][b[2]][b[3]])return a[b[0]][b[1]][b[2]][b[3]]}else if(a[b])return a[b];return!1},callAll:function(a,b){if("undefined"!=typeof a){a=a.split(".");var c=a.length;if("undefined"==typeof b)b=null;else if("string"==typeof b){b=b.split(".");var d=b.length}var e=Array.prototype.splice.call(arguments,2),f=null,g=null;if(this._container.children.length>0&&this._container.first._iNext){var h=this._container.first._iNext;do f=this.callbackFromArray(h,a,c),b&&f?(g=this.callbackFromArray(h,b,d),f&&f.apply(g,e)):f&&f.apply(h,e),h=h._iNext;while(h!=this._container.last._iNext)}}},forEach:function(a,b,c){"undefined"==typeof c&&(c=!1);var d=Array.prototype.splice.call(arguments,3);if(d.unshift(null),this._container.children.length>0&&this._container.first._iNext){var e=this._container.first._iNext;do(c===!1||c&&e.exists)&&(d[0]=e,a.apply(b,d)),e=e._iNext;while(e!=this._container.last._iNext)}},forEachExists:function(a,b){var c=Array.prototype.splice.call(arguments,2);c.unshift(null),this.iterate("exists",!0,d.Group.RETURN_TOTAL,a,b,c)},forEachAlive:function(a,b){var c=Array.prototype.splice.call(arguments,2);c.unshift(null),this.iterate("alive",!0,d.Group.RETURN_TOTAL,a,b,c)},forEachDead:function(a,b){var c=Array.prototype.splice.call(arguments,2);c.unshift(null),this.iterate("alive",!1,d.Group.RETURN_TOTAL,a,b,c)},sort:function(a,b){"undefined"==typeof a&&(a="y"),"undefined"==typeof b&&(b=d.Group.SORT_ASCENDING);var c,e;do{c=!1;for(var f=0,g=this._container.children.length-1;g>f;f++)b==d.Group.SORT_ASCENDING?this._container.children[f][a]>this._container.children[f+1][a]&&(this.swap(this.getAt(f),this.getAt(f+1)),e=this._container.children[f],this._container.children[f]=this._container.children[f+1],this._container.children[f+1]=e,c=!0):this._container.children[f][a]0&&this._container.first._iNext){var i=this._container.first._iNext;do{if(i[a]===b&&(h++,e&&(g[0]=i,e.apply(f,g)),c==d.Group.RETURN_CHILD))return i;i=i._iNext}while(i!=this._container.last._iNext)}return c==d.Group.RETURN_TOTAL?h:c==d.Group.RETURN_CHILD?null:void 0},getFirstExists:function(a){return"boolean"!=typeof a&&(a=!0),this.iterate("exists",a,d.Group.RETURN_CHILD)},getFirstAlive:function(){return this.iterate("alive",!0,d.Group.RETURN_CHILD)},getFirstDead:function(){return this.iterate("alive",!1,d.Group.RETURN_CHILD)},countLiving:function(){return this.iterate("alive",!0,d.Group.RETURN_TOTAL)},countDead:function(){return this.iterate("alive",!1,d.Group.RETURN_TOTAL)},getRandom:function(a,b){return 0===this._container.children.length?null:(a=a||0,b=b||this._container.children.length,this.game.math.getRandom(this._container.children,a,b))},remove:function(a){a.events&&a.events.onRemovedFromGroup.dispatch(a,this),this._container.removeChild(a),this.cursor==a&&(this.cursor=this._container._iNext?this._container._iNext:null),a.group=null},removeAll:function(){if(0!==this._container.children.length){do this._container.children[0].events&&this._container.children[0].events.onRemovedFromGroup.dispatch(this._container.children[0],this),this._container.removeChild(this._container.children[0]);while(this._container.children.length>0);this.cursor=null}},removeBetween:function(a,b){if(0!==this._container.children.length){if(a>b||0>a||b>this._container.children.length)return!1;for(var c=a;b>c;c++){var d=this._container.children[c];d.events.onRemovedFromGroup.dispatch(d,this),this._container.removeChild(d),this.cursor==d&&(this.cursor=this._container._iNext?this._container._iNext:null)}}},destroy:function(){this.removeAll(),this._container.parent.removeChild(this._container),this._container=null,this.game=null,this.exists=!1,this.cursor=null},validate:function(){var a=this.game.stage._stage.last._iNext,b=this.game.stage._stage,c=null,d=null,e=0;do{if(e>0){if(b!==c)return console.log("check next fail"),!1;if(b._iPrev!==d)return console.log("check previous fail"),!1}c=b._iNext,d=b,b=b._iNext,e++}while(b!=a);return!0},dump:function(a){"undefined"==typeof a&&(a=!1);var b=20,c="\n"+d.Utils.pad("Node",b)+"|"+d.Utils.pad("Next",b)+"|"+d.Utils.pad("Previous",b)+"|"+d.Utils.pad("First",b)+"|"+d.Utils.pad("Last",b);console.log(c);var c=d.Utils.pad("----------",b)+"|"+d.Utils.pad("----------",b)+"|"+d.Utils.pad("----------",b)+"|"+d.Utils.pad("----------",b)+"|"+d.Utils.pad("----------",b);if(console.log(c),a)var e=this.game.stage._stage.last._iNext,f=this.game.stage._stage;else var e=this._container.last._iNext,f=this._container;do{var g=f.name||"*";if(this.cursor==f)var g="> "+g;var h="-",i="-",j="-",k="-";f._iNext&&(h=f._iNext.name),f._iPrev&&(i=f._iPrev.name),f.first&&(j=f.first.name),f.last&&(k=f.last.name),"undefined"==typeof h&&(h="-"),"undefined"==typeof i&&(i="-"),"undefined"==typeof j&&(j="-"),"undefined"==typeof k&&(k="-");var c=d.Utils.pad(g,b)+"|"+d.Utils.pad(h,b)+"|"+d.Utils.pad(i,b)+"|"+d.Utils.pad(j,b)+"|"+d.Utils.pad(k,b);console.log(c),f=f._iNext}while(f!=e)}},Object.defineProperty(d.Group.prototype,"total",{get:function(){return this.iterate("exists",!0,d.Group.RETURN_TOTAL)}}),Object.defineProperty(d.Group.prototype,"length",{get:function(){return this.iterate("exists",!0,d.Group.RETURN_TOTAL)}}),Object.defineProperty(d.Group.prototype,"x",{get:function(){return this._container.position.x},set:function(a){this._container.position.x=a}}),Object.defineProperty(d.Group.prototype,"y",{get:function(){return this._container.position.y},set:function(a){this._container.position.y=a}}),Object.defineProperty(d.Group.prototype,"angle",{get:function(){return d.Math.radToDeg(this._container.rotation)},set:function(a){this._container.rotation=d.Math.degToRad(a)}}),Object.defineProperty(d.Group.prototype,"rotation",{get:function(){return this._container.rotation},set:function(a){this._container.rotation=a}}),Object.defineProperty(d.Group.prototype,"visible",{get:function(){return this._container.visible},set:function(a){this._container.visible=a}}),Object.defineProperty(d.Group.prototype,"alpha",{get:function(){return this._container.alpha},set:function(a){this._container.alpha=a}}),d.World=function(a){d.Group.call(this,a,null,"__world",!1),this.scale=new d.Point(1,1),this.bounds=new d.Rectangle(0,0,a.width,a.height),this.camera=null,this.currentRenderOrderID=0},d.World.prototype=Object.create(d.Group.prototype),d.World.prototype.constructor=d.World,d.World.prototype.boot=function(){this.camera=new d.Camera(this.game,0,0,0,this.game.width,this.game.height),this.camera.displayObject=this._container,this.game.camera=this.camera},d.World.prototype.update=function(){if(this.currentRenderOrderID=0,this.game.stage._stage.first._iNext){var a,b=this.game.stage._stage.first._iNext;do a=!1,b.preUpdate&&(a=b.preUpdate()===!1),b.update&&(a=b.update()===!1||a),b=a?b.last._iNext:b._iNext;while(b!=this.game.stage._stage.last._iNext)}},d.World.prototype.postUpdate=function(){if(this.camera.update(),this.game.stage._stage.first._iNext){var a=this.game.stage._stage.first._iNext;do a.postUpdate&&a.postUpdate(),a=a._iNext;while(a!=this.game.stage._stage.last._iNext)}},d.World.prototype.setBounds=function(a,b,c,d){this.bounds.setTo(a,b,c,d),this.camera.bounds&&this.camera.bounds.setTo(a,b,c,d) -},d.World.prototype.destroy=function(){this.camera.x=0,this.camera.y=0,this.game.input.reset(!0),this.removeAll()},Object.defineProperty(d.World.prototype,"width",{get:function(){return this.bounds.width},set:function(a){this.bounds.width=a}}),Object.defineProperty(d.World.prototype,"height",{get:function(){return this.bounds.height},set:function(a){this.bounds.height=a}}),Object.defineProperty(d.World.prototype,"centerX",{get:function(){return this.bounds.halfWidth}}),Object.defineProperty(d.World.prototype,"centerY",{get:function(){return this.bounds.halfHeight}}),Object.defineProperty(d.World.prototype,"randomX",{get:function(){return this.bounds.x<0?this.game.rnd.integerInRange(this.bounds.x,this.bounds.width-Math.abs(this.bounds.x)):this.game.rnd.integerInRange(this.bounds.x,this.bounds.width)}}),Object.defineProperty(d.World.prototype,"randomY",{get:function(){return this.bounds.y<0?this.game.rnd.integerInRange(this.bounds.y,this.bounds.height-Math.abs(this.bounds.y)):this.game.rnd.integerInRange(this.bounds.y,this.bounds.height)}}),Object.defineProperty(d.World.prototype,"visible",{get:function(){return this._container.visible},set:function(a){this._container.visible=a}}),d.Game=function(a,b,c,e,f,g,h){a=a||800,b=b||600,c=c||d.AUTO,e=e||"",f=f||null,"undefined"==typeof g&&(g=!1),"undefined"==typeof h&&(h=!0),this.id=d.GAMES.push(this)-1,this.parent=e,this.width=a,this.height=b,this.transparent=g,this.antialias=h,this.renderer=null,this.state=new d.StateManager(this,f),this._paused=!1,this.renderType=c,this._loadComplete=!1,this.isBooted=!1,this.isRunning=!1,this.raf=null,this.add=null,this.cache=null,this.input=null,this.load=null,this.math=null,this.net=null,this.sound=null,this.stage=null,this.time=null,this.tweens=null,this.world=null,this.physics=null,this.rnd=null,this.device=null,this.camera=null,this.canvas=null,this.context=null,this.debug=null,this.particles=null;var i=this;return this._onBoot=function(){return i.boot()},"complete"===document.readyState||"interactive"===document.readyState?window.setTimeout(this._onBoot,0):(document.addEventListener("DOMContentLoaded",this._onBoot,!1),window.addEventListener("load",this._onBoot,!1)),this},d.Game.prototype={boot:function(){this.isBooted||(document.body?(document.removeEventListener("DOMContentLoaded",this._onBoot),window.removeEventListener("load",this._onBoot),this.onPause=new d.Signal,this.onResume=new d.Signal,this.isBooted=!0,this.device=new d.Device,this.math=d.Math,this.rnd=new d.RandomDataGenerator([(Date.now()*Math.random()).toString()]),this.stage=new d.Stage(this,this.width,this.height),this.setUpRenderer(),this.world=new d.World(this),this.add=new d.GameObjectFactory(this),this.cache=new d.Cache(this),this.load=new d.Loader(this),this.time=new d.Time(this),this.tweens=new d.TweenManager(this),this.input=new d.Input(this),this.sound=new d.SoundManager(this),this.physics=new d.Physics.Arcade(this),this.particles=new d.Particles(this),this.plugins=new d.PluginManager(this,this),this.net=new d.Net(this),this.debug=new d.Utils.Debug(this),this.stage.boot(),this.world.boot(),this.input.boot(),this.sound.boot(),this.state.boot(),this.load.onLoadComplete.add(this.loadComplete,this),this.showDebugHeader(),this.isRunning=!0,this._loadComplete=!1,this.raf=new d.RequestAnimationFrame(this),this.raf.start()):window.setTimeout(this._onBoot,20))},showDebugHeader:function(){var a=d.DEV_VERSION,b="Canvas",c="HTML Audio";if(this.renderType==d.WEBGL?b="WebGL":this.renderType==d.HEADLESS&&(b="Headless"),this.device.webAudio&&(c="WebAudio"),this.device.chrome){var e=["%c %c %c Phaser v"+a+" - Renderer: "+b+" - Audio: "+c+" %c %c ","background: #00bff3","background: #0072bc","color: #ffffff; background: #003471","background: #0072bc","background: #00bff3"];console.log.apply(console,e)}else console.log("Phaser v"+a+" - Renderer: "+b+" - Audio: "+c)},setUpRenderer:function(){if(this.renderType===d.HEADLESS||this.renderType===d.CANVAS||this.renderType===d.AUTO&&this.device.webGL===!1){if(!this.device.canvas)throw new Error("Phaser.Game - cannot create Canvas or WebGL context, aborting.");this.renderType===d.AUTO&&(this.renderType=d.CANVAS),this.renderer=new c.CanvasRenderer(this.width,this.height,this.stage.canvas,this.transparent),d.Canvas.setSmoothingEnabled(this.renderer.context,this.antialias),this.canvas=this.renderer.view,this.context=this.renderer.context}else this.renderType=d.WEBGL,this.renderer=new c.WebGLRenderer(this.width,this.height,this.stage.canvas,this.transparent,this.antialias),this.canvas=this.renderer.view,this.context=null;d.Canvas.addToDOM(this.renderer.view,this.parent,!0),d.Canvas.setTouchAction(this.renderer.view)},loadComplete:function(){this._loadComplete=!0,this.state.loadComplete()},update:function(a){this.time.update(a),this._paused?(this.renderer.render(this.stage._stage),this.plugins.render(),this.state.render()):(this.plugins.preUpdate(),this.physics.preUpdate(),this.stage.update(),this.input.update(),this.tweens.update(),this.sound.update(),this.world.update(),this.particles.update(),this.state.update(),this.plugins.update(),this.world.postUpdate(),this.plugins.postUpdate(),this.renderType!==d.HEADLESS&&(this.renderer.render(this.stage._stage),this.plugins.render(),this.state.render(),this.plugins.postRender()))},destroy:function(){this.raf.stop(),this.input.destroy(),this.state.destroy(),this.state=null,this.cache=null,this.input=null,this.load=null,this.sound=null,this.stage=null,this.time=null,this.world=null,this.isBooted=!1}},Object.defineProperty(d.Game.prototype,"paused",{get:function(){return this._paused},set:function(a){a===!0?this._paused===!1&&(this._paused=!0,this.onPause.dispatch(this)):this._paused&&(this._paused=!1,this.onResume.dispatch(this))}}),d.Input=function(a){this.game=a,this.hitCanvas=null,this.hitContext=null},d.Input.MOUSE_OVERRIDES_TOUCH=0,d.Input.TOUCH_OVERRIDES_MOUSE=1,d.Input.MOUSE_TOUCH_COMBINE=2,d.Input.prototype={pollRate:0,_pollCounter:0,_oldPosition:null,_x:0,_y:0,disabled:!1,multiInputOverride:d.Input.MOUSE_TOUCH_COMBINE,position:null,speed:null,circle:null,scale:null,maxPointers:10,currentPointers:0,tapRate:200,doubleTapRate:300,holdRate:2e3,justPressedRate:200,justReleasedRate:200,recordPointerHistory:!1,recordRate:100,recordLimit:100,pointer1:null,pointer2:null,pointer3:null,pointer4:null,pointer5:null,pointer6:null,pointer7:null,pointer8:null,pointer9:null,pointer10:null,activePointer:null,mousePointer:null,mouse:null,keyboard:null,touch:null,mspointer:null,onDown:null,onUp:null,onTap:null,onHold:null,interactiveItems:new d.LinkedList,boot:function(){this.mousePointer=new d.Pointer(this.game,0),this.pointer1=new d.Pointer(this.game,1),this.pointer2=new d.Pointer(this.game,2),this.mouse=new d.Mouse(this.game),this.keyboard=new d.Keyboard(this.game),this.touch=new d.Touch(this.game),this.mspointer=new d.MSPointer(this.game),this.onDown=new d.Signal,this.onUp=new d.Signal,this.onTap=new d.Signal,this.onHold=new d.Signal,this.scale=new d.Point(1,1),this.speed=new d.Point,this.position=new d.Point,this._oldPosition=new d.Point,this.circle=new d.Circle(0,0,44),this.activePointer=this.mousePointer,this.currentPointers=0,this.hitCanvas=document.createElement("canvas"),this.hitCanvas.width=1,this.hitCanvas.height=1,this.hitContext=this.hitCanvas.getContext("2d"),this.mouse.start(),this.keyboard.start(),this.touch.start(),this.mspointer.start(),this.mousePointer.active=!0},destroy:function(){this.mouse.stop(),this.keyboard.stop(),this.touch.stop(),this.mspointer.stop()},addPointer:function(){for(var a=0,b=10;b>0;b--)null===this["pointer"+b]&&(a=b);return 0===a?(console.warn("You can only have 10 Pointer objects"),null):(this["pointer"+a]=new d.Pointer(this.game,a),this["pointer"+a])},update:function(){return this.pollRate>0&&this._pollCounter=b;b++)this["pointer"+b]&&this["pointer"+b].reset();this.currentPointers=0,this.game.stage.canvas.style.cursor="default",a===!0&&(this.onDown.dispose(),this.onUp.dispose(),this.onTap.dispose(),this.onHold.dispose(),this.onDown=new d.Signal,this.onUp=new d.Signal,this.onTap=new d.Signal,this.onHold=new d.Signal,this.interactiveItems.callAll("reset")),this._pollCounter=0}},resetSpeed:function(a,b){this._oldPosition.setTo(a,b),this.speed.setTo(0,0)},startPointer:function(a){if(this.maxPointers<10&&this.totalActivePointers==this.maxPointers)return null;if(this.pointer1.active===!1)return this.pointer1.start(a);if(this.pointer2.active===!1)return this.pointer2.start(a);for(var b=3;10>=b;b++)if(this["pointer"+b]&&this["pointer"+b].active===!1)return this["pointer"+b].start(a);return null},updatePointer:function(a){if(this.pointer1.active&&this.pointer1.identifier==a.identifier)return this.pointer1.move(a);if(this.pointer2.active&&this.pointer2.identifier==a.identifier)return this.pointer2.move(a);for(var b=3;10>=b;b++)if(this["pointer"+b]&&this["pointer"+b].active&&this["pointer"+b].identifier==a.identifier)return this["pointer"+b].move(a);return null},stopPointer:function(a){if(this.pointer1.active&&this.pointer1.identifier==a.identifier)return this.pointer1.stop(a);if(this.pointer2.active&&this.pointer2.identifier==a.identifier)return this.pointer2.stop(a);for(var b=3;10>=b;b++)if(this["pointer"+b]&&this["pointer"+b].active&&this["pointer"+b].identifier==a.identifier)return this["pointer"+b].stop(a);return null},getPointer:function(a){if(a=a||!1,this.pointer1.active==a)return this.pointer1;if(this.pointer2.active==a)return this.pointer2;for(var b=3;10>=b;b++)if(this["pointer"+b]&&this["pointer"+b].active==a)return this["pointer"+b];return null},getPointerFromIdentifier:function(a){if(this.pointer1.identifier==a)return this.pointer1;if(this.pointer2.identifier==a)return this.pointer2;for(var b=3;10>=b;b++)if(this["pointer"+b]&&this["pointer"+b].identifier==a)return this["pointer"+b];return null}},Object.defineProperty(d.Input.prototype,"x",{get:function(){return this._x},set:function(a){this._x=Math.floor(a)}}),Object.defineProperty(d.Input.prototype,"y",{get:function(){return this._y},set:function(a){this._y=Math.floor(a)}}),Object.defineProperty(d.Input.prototype,"pollLocked",{get:function(){return this.pollRate>0&&this._pollCounter=a;a++)this["pointer"+a]&&this["pointer"+a].active&&this.currentPointers++;return this.currentPointers}}),Object.defineProperty(d.Input.prototype,"worldX",{get:function(){return this.game.camera.view.x+this.x}}),Object.defineProperty(d.Input.prototype,"worldY",{get:function(){return this.game.camera.view.y+this.y}}),d.Key=function(a,b){this.game=a,this.isDown=!1,this.isUp=!1,this.altKey=!1,this.ctrlKey=!1,this.shiftKey=!1,this.timeDown=0,this.duration=0,this.timeUp=0,this.repeats=0,this.keyCode=b,this.onDown=new d.Signal,this.onUp=new d.Signal},d.Key.prototype={processKeyDown:function(a){this.altKey=a.altKey,this.ctrlKey=a.ctrlKey,this.shiftKey=a.shiftKey,this.isDown?(this.duration=a.timeStamp-this.timeDown,this.repeats++):(this.isDown=!0,this.isUp=!1,this.timeDown=a.timeStamp,this.duration=0,this.repeats=0,this.onDown.dispatch(this))},processKeyUp:function(a){this.isDown=!1,this.isUp=!0,this.timeUp=a.timeStamp,this.onUp.dispatch(this)},justPressed:function(a){return"undefined"==typeof a&&(a=250),this.isDown&&this.duration=this.game.input.holdRate&&((this.game.input.multiInputOverride==d.Input.MOUSE_OVERRIDES_TOUCH||this.game.input.multiInputOverride==d.Input.MOUSE_TOUCH_COMBINE||this.game.input.multiInputOverride==d.Input.TOUCH_OVERRIDES_MOUSE&&0===this.game.input.currentPointers)&&this.game.input.onHold.dispatch(this),this._holdSent=!0),this.game.input.recordPointerHistory&&this.game.time.now>=this._nextDrop&&(this._nextDrop=this.game.time.now+this.game.input.recordRate,this._history.push({x:this.position.x,y:this.position.y}),this._history.length>this.game.input.recordLimit&&this._history.shift()))},move:function(a){if(!this.game.input.pollLocked){if("undefined"!=typeof a.button&&(this.button=a.button),this.clientX=a.clientX,this.clientY=a.clientY,this.pageX=a.pageX,this.pageY=a.pageY,this.screenX=a.screenX,this.screenY=a.screenY,this.x=(this.pageX-this.game.stage.offset.x)*this.game.input.scale.x,this.y=(this.pageY-this.game.stage.offset.y)*this.game.input.scale.y,this.position.setTo(this.x,this.y),this.circle.x=this.x,this.circle.y=this.y,(this.game.input.multiInputOverride==d.Input.MOUSE_OVERRIDES_TOUCH||this.game.input.multiInputOverride==d.Input.MOUSE_TOUCH_COMBINE||this.game.input.multiInputOverride==d.Input.TOUCH_OVERRIDES_MOUSE&&0===this.game.input.currentPointers)&&(this.game.input.activePointer=this,this.game.input.x=this.x,this.game.input.y=this.y,this.game.input.position.setTo(this.game.input.x,this.game.input.y),this.game.input.circle.x=this.game.input.x,this.game.input.circle.y=this.game.input.y),this.game.paused)return this;if(null!==this.targetObject&&this.targetObject.isDragged===!0)return this.targetObject.update(this)===!1&&(this.targetObject=null),this;if(this._highestRenderOrderID=-1,this._highestRenderObject=null,this._highestInputPriorityID=-1,this.game.input.interactiveItems.total>0){var b=this.game.input.interactiveItems.next;do(b.pixelPerfect||b.priorityID>this._highestInputPriorityID||b.priorityID==this._highestInputPriorityID&&b.sprite.renderOrderID>this._highestRenderOrderID)&&b.checkPointerOver(this)&&(this._highestRenderOrderID=b.sprite.renderOrderID,this._highestInputPriorityID=b.priorityID,this._highestRenderObject=b),b=b.next;while(null!=b)}return null==this._highestRenderObject?this.targetObject&&(this.targetObject._pointerOutHandler(this),this.targetObject=null):null==this.targetObject?(this.targetObject=this._highestRenderObject,this._highestRenderObject._pointerOverHandler(this)):this.targetObject==this._highestRenderObject?this._highestRenderObject.update(this)===!1&&(this.targetObject=null):(this.targetObject._pointerOutHandler(this),this.targetObject=this._highestRenderObject,this.targetObject._pointerOverHandler(this)),this}},leave:function(a){this.withinGame=!1,this.move(a)},stop:function(a){if(this._stateReset)return a.preventDefault(),void 0;if(this.timeUp=this.game.time.now,(this.game.input.multiInputOverride==d.Input.MOUSE_OVERRIDES_TOUCH||this.game.input.multiInputOverride==d.Input.MOUSE_TOUCH_COMBINE||this.game.input.multiInputOverride==d.Input.TOUCH_OVERRIDES_MOUSE&&0===this.game.input.currentPointers)&&(this.game.input.onUp.dispatch(this,a),this.duration>=0&&this.duration<=this.game.input.tapRate&&(this.timeUp-this.previousTapTime0&&(this.active=!1),this.withinGame=!1,this.isDown=!1,this.isUp=!0,this.isMouse===!1&&this.game.input.currentPointers--,this.game.input.interactiveItems.total>0){var b=this.game.input.interactiveItems.next;do b&&b._releasedHandler(this),b=b.next;while(null!=b)}return this.targetObject&&this.targetObject._releasedHandler(this),this.targetObject=null,this},justPressed:function(a){return a=a||this.game.input.justPressedRate,this.isDown===!0&&this.timeDown+a>this.game.time.now},justReleased:function(a){return a=a||this.game.input.justReleasedRate,this.isUp===!0&&this.timeUp+a>this.game.time.now},reset:function(){this.isMouse===!1&&(this.active=!1),this.identifier=null,this.isDown=!1,this.isUp=!0,this.totalTouches=0,this._holdSent=!1,this._history.length=0,this._stateReset=!0,this.targetObject&&this.targetObject._releasedHandler(this),this.targetObject=null}},Object.defineProperty(d.Pointer.prototype,"duration",{get:function(){return this.isUp?-1:this.game.time.now-this.timeDown}}),Object.defineProperty(d.Pointer.prototype,"worldX",{get:function(){return this.game.world.camera.x+this.x}}),Object.defineProperty(d.Pointer.prototype,"worldY",{get:function(){return this.game.world.camera.y+this.y}}),d.Touch=function(a){this.game=a,this.disabled=!1,this.callbackContext=this.game,this.touchStartCallback=null,this.touchMoveCallback=null,this.touchEndCallback=null,this.touchEnterCallback=null,this.touchLeaveCallback=null,this.touchCancelCallback=null,this.preventDefault=!0,this.event=null,this._onTouchStart=null,this._onTouchMove=null,this._onTouchEnd=null,this._onTouchEnter=null,this._onTouchLeave=null,this._onTouchCancel=null,this._onTouchMove=null},d.Touch.prototype={start:function(){var a=this;this.game.device.touch&&(this._onTouchStart=function(b){return a.onTouchStart(b)},this._onTouchMove=function(b){return a.onTouchMove(b)},this._onTouchEnd=function(b){return a.onTouchEnd(b)},this._onTouchEnter=function(b){return a.onTouchEnter(b)},this._onTouchLeave=function(b){return a.onTouchLeave(b)},this._onTouchCancel=function(b){return a.onTouchCancel(b)},this.game.renderer.view.addEventListener("touchstart",this._onTouchStart,!1),this.game.renderer.view.addEventListener("touchmove",this._onTouchMove,!1),this.game.renderer.view.addEventListener("touchend",this._onTouchEnd,!1),this.game.renderer.view.addEventListener("touchenter",this._onTouchEnter,!1),this.game.renderer.view.addEventListener("touchleave",this._onTouchLeave,!1),this.game.renderer.view.addEventListener("touchcancel",this._onTouchCancel,!1))},consumeDocumentTouches:function(){this._documentTouchMove=function(a){a.preventDefault()},document.addEventListener("touchmove",this._documentTouchMove,!1)},onTouchStart:function(a){if(this.event=a,this.touchStartCallback&&this.touchStartCallback.call(this.callbackContext,a),!this.game.input.disabled&&!this.disabled){this.preventDefault&&a.preventDefault();for(var b=0;bc;c++)this._pointerData[c]={id:c,x:0,y:0,isDown:!1,isUp:!1,isOver:!1,isOut:!1,timeOver:0,timeOut:0,timeDown:0,timeUp:0,downDuration:0,isDragged:!1};this.snapOffset=new d.Point,this.enabled=!0,this.sprite.events&&null==this.sprite.events.onInputOver&&(this.sprite.events.onInputOver=new d.Signal,this.sprite.events.onInputOut=new d.Signal,this.sprite.events.onInputDown=new d.Signal,this.sprite.events.onInputUp=new d.Signal,this.sprite.events.onDragStart=new d.Signal,this.sprite.events.onDragStop=new d.Signal)}return this.sprite},reset:function(){this.enabled=!1;for(var a=0;10>a;a++)this._pointerData[a]={id:a,x:0,y:0,isDown:!1,isUp:!1,isOver:!1,isOut:!1,timeOver:0,timeOut:0,timeDown:0,timeUp:0,downDuration:0,isDragged:!1}},stop:function(){this.enabled!==!1&&(this.enabled=!1,this.game.input.interactiveItems.remove(this))},destroy:function(){this.enabled&&(this.enabled=!1,this.game.input.interactiveItems.remove(this),this.stop(),this.sprite=null)},pointerX:function(a){return a=a||0,this._pointerData[a].x},pointerY:function(a){return a=a||0,this._pointerData[a].y},pointerDown:function(a){return a=a||0,this._pointerData[a].isDown},pointerUp:function(a){return a=a||0,this._pointerData[a].isUp},pointerTimeDown:function(a){return a=a||0,this._pointerData[a].timeDown},pointerTimeUp:function(a){return a=a||0,this._pointerData[a].timeUp},pointerOver:function(a){if(this.enabled){if("undefined"!=typeof a)return this._pointerData[a].isOver;for(var b=0;10>b;b++)if(this._pointerData[b].isOver)return!0}return!1},pointerOut:function(a){if(this.enabled){if("undefined"!=typeof a)return this._pointerData[a].isOut;for(var b=0;10>b;b++)if(this._pointerData[b].isOut)return!0}return!1},pointerTimeOver:function(a){return a=a||0,this._pointerData[a].timeOver},pointerTimeOut:function(a){return a=a||0,this._pointerData[a].timeOut},pointerDragged:function(a){return a=a||0,this._pointerData[a].isDragged},checkPointerOver:function(a){return this.enabled&&this.sprite.visible&&(this.sprite.getLocalUnmodifiedPosition(this._tempPoint,a.x,a.y),this._tempPoint.x>=0&&this._tempPoint.x<=this.sprite.currentFrame.width&&this._tempPoint.y>=0&&this._tempPoint.y<=this.sprite.currentFrame.height)?this.pixelPerfect?this.checkPixel(this._tempPoint.x,this._tempPoint.y):!0:!1},checkPixel:function(a,b){if(this.sprite.texture.baseTexture.source){this.game.input.hitContext.clearRect(0,0,1,1),a+=this.sprite.texture.frame.x,b+=this.sprite.texture.frame.y,this.game.input.hitContext.drawImage(this.sprite.texture.baseTexture.source,a,b,1,1,0,0,1,1);var c=this.game.input.hitContext.getImageData(0,0,1,1);if(c.data[3]>=this.pixelPerfectAlpha)return!0}return!1},update:function(a){return this.enabled===!1||this.sprite.visible===!1||this.sprite.group&&this.sprite.group.visible===!1?(this._pointerOutHandler(a),!1):this.draggable&&this._draggedPointerID==a.id?this.updateDrag(a):this._pointerData[a.id].isOver===!0?this.checkPointerOver(a)?(this._pointerData[a.id].x=a.x-this.sprite.x,this._pointerData[a.id].y=a.y-this.sprite.y,!0):(this._pointerOutHandler(a),!1):void 0},_pointerOverHandler:function(a){this._pointerData[a.id].isOver===!1&&(this._pointerData[a.id].isOver=!0,this._pointerData[a.id].isOut=!1,this._pointerData[a.id].timeOver=this.game.time.now,this._pointerData[a.id].x=a.x-this.sprite.x,this._pointerData[a.id].y=a.y-this.sprite.y,this.useHandCursor&&this._pointerData[a.id].isDragged===!1&&(this.game.stage.canvas.style.cursor="pointer"),this.sprite.events.onInputOver.dispatch(this.sprite,a))},_pointerOutHandler:function(a){this._pointerData[a.id].isOver=!1,this._pointerData[a.id].isOut=!0,this._pointerData[a.id].timeOut=this.game.time.now,this.useHandCursor&&this._pointerData[a.id].isDragged===!1&&(this.game.stage.canvas.style.cursor="default"),this.sprite&&this.sprite.events&&this.sprite.events.onInputOut.dispatch(this.sprite,a)},_touchedHandler:function(a){return this._pointerData[a.id].isDown===!1&&this._pointerData[a.id].isOver===!0&&(this._pointerData[a.id].isDown=!0,this._pointerData[a.id].isUp=!1,this._pointerData[a.id].timeDown=this.game.time.now,this.sprite.events.onInputDown.dispatch(this.sprite,a),this.draggable&&this.isDragged===!1&&this.startDrag(a),this.bringToTop&&this.sprite.bringToTop()),this.consumePointerEvent},_releasedHandler:function(a){this._pointerData[a.id].isDown&&a.isUp&&(this._pointerData[a.id].isDown=!1,this._pointerData[a.id].isUp=!0,this._pointerData[a.id].timeUp=this.game.time.now,this._pointerData[a.id].downDuration=this._pointerData[a.id].timeUp-this._pointerData[a.id].timeDown,this.checkPointerOver(a)?this.sprite.events.onInputUp.dispatch(this.sprite,a):this.useHandCursor&&(this.game.stage.canvas.style.cursor="default"),this.draggable&&this.isDragged&&this._draggedPointerID==a.id&&this.stopDrag(a))},updateDrag:function(a){return a.isUp?(this.stopDrag(a),!1):(this.allowHorizontalDrag&&(this.sprite.x=a.x+this._dragPoint.x+this.dragOffset.x),this.allowVerticalDrag&&(this.sprite.y=a.y+this._dragPoint.y+this.dragOffset.y),this.boundsRect&&this.checkBoundsRect(),this.boundsSprite&&this.checkBoundsSprite(),this.snapOnDrag&&(this.sprite.x=Math.round(this.sprite.x/this.snapX)*this.snapX,this.sprite.y=Math.round(this.sprite.y/this.snapY)*this.snapY),!0)},justOver:function(a,b){return a=a||0,b=b||500,this._pointerData[a].isOver&&this.overDuration(a)a;a++)this._pointerData[a].isDragged=!1;this.draggable=!1,this.isDragged=!1,this._draggedPointerID=-1},startDrag:function(a){this.isDragged=!0,this._draggedPointerID=a.id,this._pointerData[a.id].isDragged=!0,this.dragFromCenter?(this.sprite.centerOn(a.x,a.y),this._dragPoint.setTo(this.sprite.x-a.x,this.sprite.y-a.y)):this._dragPoint.setTo(this.sprite.x-a.x,this.sprite.y-a.y),this.updateDrag(a),this.bringToTop&&this.sprite.bringToTop(),this.sprite.events.onDragStart.dispatch(this.sprite,a)},stopDrag:function(a){this.isDragged=!1,this._draggedPointerID=-1,this._pointerData[a.id].isDragged=!1,this.snapOnRelease&&(this.sprite.x=Math.round(this.sprite.x/this.snapX)*this.snapX,this.sprite.y=Math.round(this.sprite.y/this.snapY)*this.snapY),this.sprite.events.onDragStop.dispatch(this.sprite,a),this.sprite.events.onInputUp.dispatch(this.sprite,a),this.checkPointerOver(a)===!1&&this._pointerOutHandler(a)},setDragLock:function(a,b){"undefined"==typeof a&&(a=!0),"undefined"==typeof b&&(b=!0),this.allowHorizontalDrag=a,this.allowVerticalDrag=b},enableSnap:function(a,b,c,d){"undefined"==typeof c&&(c=!0),"undefined"==typeof d&&(d=!1),this.snapX=a,this.snapY=b,this.snapOnDrag=c,this.snapOnRelease=d},disableSnap:function(){this.snapOnDrag=!1,this.snapOnRelease=!1},checkBoundsRect:function(){this.sprite.xthis.boundsRect.right&&(this.sprite.x=this.boundsRect.right-this.sprite.width),this.sprite.ythis.boundsRect.bottom&&(this.sprite.y=this.boundsRect.bottom-this.sprite.height)},checkBoundsSprite:function(){this.sprite.xthis.boundsSprite.x+this.boundsSprite.width&&(this.sprite.x=this.boundsSprite.x+this.boundsSprite.width-this.sprite.width),this.sprite.ythis.boundsSprite.y+this.boundsSprite.height&&(this.sprite.y=this.boundsSprite.y+this.boundsSprite.height-this.sprite.height)}},d.Events=function(a){this.parent=a,this.onAddedToGroup=new d.Signal,this.onRemovedFromGroup=new d.Signal,this.onKilled=new d.Signal,this.onRevived=new d.Signal,this.onOutOfBounds=new d.Signal,this.onInputOver=null,this.onInputOut=null,this.onInputDown=null,this.onInputUp=null,this.onDragStart=null,this.onDragStop=null,this.onAnimationStart=null,this.onAnimationComplete=null,this.onAnimationLoop=null},d.Events.prototype={destroy:function(){this.parent=null,this.onAddedToGroup.dispose(),this.onRemovedFromGroup.dispose(),this.onKilled.dispose(),this.onRevived.dispose(),this.onOutOfBounds.dispose(),this.onInputOver&&(this.onInputOver.dispose(),this.onInputOut.dispose(),this.onInputDown.dispose(),this.onInputUp.dispose(),this.onDragStart.dispose(),this.onDragStop.dispose()),this.onAnimationStart&&(this.onAnimationStart.dispose(),this.onAnimationComplete.dispose(),this.onAnimationLoop.dispose())}},d.GameObjectFactory=function(a){this.game=a,this.world=this.game.world},d.GameObjectFactory.prototype={existing:function(a){return this.world.add(a)},sprite:function(a,b,c,d){return this.world.create(a,b,c,d)},child:function(a,b,c,d,e){return a.create(b,c,d,e)},tween:function(a){return this.game.tweens.create(a)},group:function(a,b){return new d.Group(this.game,a,b)},audio:function(a,b,c){return this.game.sound.add(a,b,c)},tileSprite:function(a,b,c,e,f,g){return this.world.add(new d.TileSprite(this.game,a,b,c,e,f,g))},text:function(a,b,c,e){return this.world.add(new d.Text(this.game,a,b,c,e))},button:function(a,b,c,e,f,g,h,i){return this.world.add(new d.Button(this.game,a,b,c,e,f,g,h,i))},graphics:function(a,b){return this.world.add(new d.Graphics(this.game,a,b))},emitter:function(a,b,c){return this.game.particles.add(new d.Particles.Arcade.Emitter(this.game,a,b,c))},bitmapText:function(a,b,c,e){return this.world.add(new d.BitmapText(this.game,a,b,c,e))},tilemap:function(a){return new d.Tilemap(this.game,a)},tileset:function(a){return this.game.cache.getTileset(a)},tilemapLayer:function(a,b,c,e,f,g,h){return this.world.add(new d.TilemapLayer(this.game,a,b,c,e,f,g,h))},renderTexture:function(a,b,c){var e=new d.RenderTexture(this.game,a,b,c);return this.game.cache.addRenderTexture(a,e),e},bitmapData:function(a,b){return new d.BitmapData(this.game,a,b)},filter:function(a){var b=Array.prototype.splice.call(arguments,1),c=new d.Filter[a](this.game);return c.init.apply(c,b),c}},d.BitmapData=function(a,b,e){"undefined"==typeof b&&(b=256),"undefined"==typeof e&&(e=256),this.game=a,this.name="",this.width=b,this.height=e,this.canvas=d.Canvas.create(b,e),this.context=this.canvas.getContext("2d"),this.imageData=this.context.getImageData(0,0,b,e),this.pixels=this.imageData.data.buffer?this.imageData.data.buffer:this.imageData.data,this.baseTexture=new c.BaseTexture(this.canvas),this.texture=new c.Texture(this.baseTexture),this.textureFrame=new d.Frame(0,0,0,b,e,"bitmapData",a.rnd.uuid()),this.type=d.BITMAPDATA,this._dirty=!1},d.BitmapData.prototype={add:function(a){a.loadTexture(this)},addTo:function(a){for(var b=0;b=0&&a<=this.width&&b>=0&&b<=this.height&&(this.pixels[b*this.width+a]=f<<24|e<<16|d<<8|c,this.context.putImageData(this.imageData,0,0),this._dirty=!0)},setPixel:function(a,b,c,d,e){this.setPixel32(a,b,c,d,e,255)},getPixel:function(a,b){return a>=0&&a<=this.width&&b>=0&&b<=this.height?this.data32[b*this.width+a]:void 0},getPixel32:function(a,b){return a>=0&&a<=this.width&&b>=0&&b<=this.height?this.data32[b*this.width+a]:void 0},getPixels:function(a){return this.context.getImageData(a.x,a.y,a.width,a.height)},arc:function(a,b,c,d,e,f){return"undefined"==typeof f&&(f=!1),this._dirty=!0,this.context.arc(a,b,c,d,e,f),this},arcTo:function(a,b,c,d,e){return this._dirty=!0,this.context.arcTo(a,b,c,d,e),this},beginFill:function(a){return this.fillStyle(a),this},beginLinearGradientFill:function(a,b,c,d,e,f){for(var g=this.createLinearGradient(c,d,e,f),h=0,i=a.length;i>h;h++)g.addColorStop(b[h],a[h]);return this.fillStyle(g),this},beginLinearGradientStroke:function(a,b,c,d,e,f){for(var g=this.createLinearGradient(c,d,e,f),h=0,i=a.length;i>h;h++)g.addColorStop(b[h],a[h]);return this.strokeStyle(g),this},beginRadialGradientStroke:function(a,b,c,d,e,f,g,h){for(var i=this.createRadialGradient(c,d,e,f,g,h),j=0,k=a.length;k>j;j++)i.addColorStop(b[j],a[j]);return this.strokeStyle(i),this},beginPath:function(){return this.context.beginPath(),this},beginStroke:function(a){return this.strokeStyle(a),this},bezierCurveTo:function(a,b,c,d,e,f){return this._dirty=!0,this.context.bezierCurveTo(a,b,c,d,e,f),this},circle:function(a,b,c){return this.arc(a,b,c,0,2*Math.PI),this},clearRect:function(a,b,c,d){return this._dirty=!0,this.context.clearRect(a,b,c,d),this},clip:function(){return this._dirty=!0,this.context.clip(),this},closePath:function(){return this._dirty=!0,this.context.closePath(),this},createLinearGradient:function(a,b,c,d){return this.context.createLinearGradient(a,b,c,d)},createRadialGradient:function(a,b,c,d,e,f){return this.context.createRadialGradient(a,b,c,d,e,f)},ellipse:function(a,b,c,d){var e=.5522848,f=c/2*e,g=d/2*e,h=a+c,i=b+d,j=a+c/2,k=b+d/2;return this.moveTo(a,k),this.bezierCurveTo(a,k-g,j-f,b,j,b),this.bezierCurveTo(j+f,b,h,k-g,h,k),this.bezierCurveTo(h,k+g,j+f,i,j,i),this.bezierCurveTo(j-f,i,a,k+g,a,k),this},fill:function(){return this._dirty=!0,this.context.fill(),this},fillRect:function(a,b,c,d){return this._dirty=!0,this.context.fillRect(a,b,c,d),this},fillStyle:function(a){return this.context.fillStyle=a,this},font:function(a){return this.context.font=a,this},globalAlpha:function(a){return this.context.globalAlpha=a,this},globalCompositeOperation:function(a){return this.context.globalCompositeOperation=a,this},lineCap:function(a){return this.context.lineCap=a,this},lineDashOffset:function(a){return this.context.lineDashOffset=a,this},lineJoin:function(a){return this.context.lineJoin=a,this},lineWidth:function(a){return this.context.lineWidth=a,this},miterLimit:function(a){return this.context.miterLimit=a,this},lineTo:function(a,b){return this._dirty=!0,this.context.lineTo(a,b),this},moveTo:function(a,b){return this.context.moveTo(a,b),this},quadraticCurveTo:function(a,b,c,d){return this._dirty=!0,this.context.quadraticCurveTo(a,b,c,d),this},rect:function(a,b,c,d){return this._dirty=!0,this.context.rect(a,b,c,d),this},restore:function(){return this._dirty=!0,this.context.restore(),this},rotate:function(a){return this._dirty=!0,this.context.rotate(a),this},setStrokeStyle:function(a,b,c,d,e){return"undefined"==typeof a&&(a=1),"undefined"==typeof b&&(b="butt"),"undefined"==typeof c&&(c="miter"),"undefined"==typeof d&&(d=10),e=!1,this.lineWidth(a),this.lineCap(b),this.lineJoin(c),this.miterLimit(d),this},save:function(){return this._dirty=!0,this.context.save(),this},scale:function(a,b){return this._dirty=!0,this.context.scale(a,b),this},scrollPathIntoView:function(){return this._dirty=!0,this.context.scrollPathIntoView(),this},stroke:function(){return this._dirty=!0,this.context.stroke(),this},strokeRect:function(a,b,c,d){return this._dirty=!0,this.context.strokeRect(a,b,c,d),this},strokeStyle:function(a){return this.context.strokeStyle=a,this},render:function(){this._dirty&&(this.game.renderType==d.WEBGL&&c.texturesToUpdate.push(this.baseTexture),this._dirty=!1)}},d.BitmapData.prototype.mt=d.BitmapData.prototype.moveTo,d.BitmapData.prototype.lt=d.BitmapData.prototype.lineTo,d.BitmapData.prototype.at=d.BitmapData.prototype.arcTo,d.BitmapData.prototype.bt=d.BitmapData.prototype.bezierCurveTo,d.BitmapData.prototype.qt=d.BitmapData.prototype.quadraticCurveTo,d.BitmapData.prototype.a=d.BitmapData.prototype.arc,d.BitmapData.prototype.r=d.BitmapData.prototype.rect,d.BitmapData.prototype.cp=d.BitmapData.prototype.closePath,d.BitmapData.prototype.c=d.BitmapData.prototype.clear,d.BitmapData.prototype.f=d.BitmapData.prototype.beginFill,d.BitmapData.prototype.lf=d.BitmapData.prototype.beginLinearGradientFill,d.BitmapData.prototype.rf=d.BitmapData.prototype.beginRadialGradientFill,d.BitmapData.prototype.ef=d.BitmapData.prototype.endFill,d.BitmapData.prototype.ss=d.BitmapData.prototype.setStrokeStyle,d.BitmapData.prototype.s=d.BitmapData.prototype.beginStroke,d.BitmapData.prototype.ls=d.BitmapData.prototype.beginLinearGradientStroke,d.BitmapData.prototype.rs=d.BitmapData.prototype.beginRadialGradientStroke,d.BitmapData.prototype.dr=d.BitmapData.prototype.rect,d.BitmapData.prototype.dc=d.BitmapData.prototype.circle,d.BitmapData.prototype.de=d.BitmapData.prototype.ellipse,d.Sprite=function(a,b,e,f,g){b=b||0,e=e||0,f=f||null,g=g||null,this.game=a,this.exists=!0,this.alive=!0,this.group=null,this.name="",this.type=d.SPRITE,this.renderOrderID=-1,this.lifespan=0,this.events=new d.Events(this),this.animations=new d.AnimationManager(this),this.input=new d.InputHandler(this),this.key=f,this.currentFrame=null,f instanceof d.RenderTexture?(c.Sprite.call(this,f),this.currentFrame=this.game.cache.getTextureFrame(f.name)):f instanceof d.BitmapData?(c.Sprite.call(this,f.texture,f.textureFrame),this.currentFrame=f.textureFrame):f instanceof c.Texture?(c.Sprite.call(this,f),this.currentFrame=g):(null===f||"undefined"==typeof f?(f="__default",this.key=f):"string"==typeof f&&this.game.cache.checkImageKey(f)===!1&&(f="__missing",this.key=f),c.Sprite.call(this,c.TextureCache[f]),this.game.cache.isSpriteSheet(f)?(this.animations.loadFrameData(this.game.cache.getFrameData(f)),null!==g&&("string"==typeof g?this.frameName=g:this.frame=g)):this.currentFrame=this.game.cache.getFrame(f)),this.textureRegion=new d.Rectangle(this.texture.frame.x,this.texture.frame.y,this.texture.frame.width,this.texture.frame.height),this.anchor=new d.Point,this.x=b,this.y=e,this.position.x=b,this.position.y=e,this.world=new d.Point(b,e),this.autoCull=!1,this.scale=new d.Point(1,1),this._cache={dirty:!1,a00:-1,a01:-1,a02:-1,a10:-1,a11:-1,a12:-1,id:-1,i01:-1,i10:-1,idi:-1,left:null,right:null,top:null,bottom:null,prevX:b,prevY:e,x:-1,y:-1,scaleX:1,scaleY:1,width:this.currentFrame.sourceSizeW,height:this.currentFrame.sourceSizeH,halfWidth:Math.floor(this.currentFrame.sourceSizeW/2),halfHeight:Math.floor(this.currentFrame.sourceSizeH/2),calcWidth:-1,calcHeight:-1,frameID:-1,frameWidth:this.currentFrame.width,frameHeight:this.currentFrame.height,cameraVisible:!0,cropX:0,cropY:0,cropWidth:this.currentFrame.sourceSizeW,cropHeight:this.currentFrame.sourceSizeH},this.offset=new d.Point,this.center=new d.Point(b+Math.floor(this._cache.width/2),e+Math.floor(this._cache.height/2)),this.topLeft=new d.Point(b,e),this.topRight=new d.Point(b+this._cache.width,e),this.bottomRight=new d.Point(b+this._cache.width,e+this._cache.height),this.bottomLeft=new d.Point(b,e+this._cache.height),this.bounds=new d.Rectangle(b,e,this._cache.width,this._cache.height),this.body=new d.Physics.Arcade.Body(this),this.health=1,this.inWorld=d.Rectangle.intersects(this.bounds,this.game.world.bounds),this.inWorldThreshold=0,this.outOfBoundsKill=!1,this._outOfBoundsFired=!1,this.fixedToCamera=!1,this.cameraOffset=new d.Point,this.crop=new d.Rectangle(0,0,this._cache.width,this._cache.height),this.cropEnabled=!1,this.updateCache(),this.updateBounds()},d.Sprite.prototype=Object.create(c.Sprite.prototype),d.Sprite.prototype.constructor=d.Sprite,d.Sprite.prototype.preUpdate=function(){return!this.exists||this.group&&!this.group.exists?(this.renderOrderID=-1,!1):this.lifespan>0&&(this.lifespan-=this.game.time.elapsed,this.lifespan<=0)?(this.kill(),!1):(this._cache.dirty=!1,this.visible&&(this.renderOrderID=this.game.world.currentRenderOrderID++),this.updateCache(),this.updateAnimation(),this.updateCrop(),(this._cache.dirty||this.world.x!==this._cache.prevX||this.world.y!==this._cache.prevY)&&this.updateBounds(),this.body&&this.body.preUpdate(),!0)},d.Sprite.prototype.updateCache=function(){this._cache.prevX=this.world.x,this._cache.prevY=this.world.y,this.fixedToCamera&&(this.x=this.game.camera.view.x+this.cameraOffset.x,this.y=this.game.camera.view.y+this.cameraOffset.y),this.world.setTo(this.game.camera.x+this.worldTransform[2],this.game.camera.y+this.worldTransform[5]),(this.worldTransform[1]!=this._cache.i01||this.worldTransform[3]!=this._cache.i10||this.worldTransform[0]!=this._cache.a00||this.worldTransform[41]!=this._cache.a11)&&(this._cache.a00=this.worldTransform[0],this._cache.a01=this.worldTransform[1],this._cache.a10=this.worldTransform[3],this._cache.a11=this.worldTransform[4],this._cache.i01=this.worldTransform[1],this._cache.i10=this.worldTransform[3],this._cache.scaleX=Math.sqrt(this._cache.a00*this._cache.a00+this._cache.a01*this._cache.a01),this._cache.scaleY=Math.sqrt(this._cache.a10*this._cache.a10+this._cache.a11*this._cache.a11),this._cache.a01*=-1,this._cache.a10*=-1,this._cache.id=1/(this._cache.a00*this._cache.a11+this._cache.a01*-this._cache.a10),this._cache.idi=1/(this._cache.a00*this._cache.a11+this._cache.i01*-this._cache.i10),this._cache.dirty=!0),this._cache.a02=this.worldTransform[2],this._cache.a12=this.worldTransform[5]},d.Sprite.prototype.updateAnimation=function(){(this.animations.update()||this.currentFrame&&this.currentFrame.uuid!=this._cache.frameID)&&(this._cache.frameID=this.currentFrame.uuid,this._cache.frameWidth=this.texture.frame.width,this._cache.frameHeight=this.texture.frame.height,this._cache.width=this.currentFrame.width,this._cache.height=this.currentFrame.height,this._cache.halfWidth=Math.floor(this._cache.width/2),this._cache.halfHeight=Math.floor(this._cache.height/2),this._cache.dirty=!0)},d.Sprite.prototype.updateCrop=function(){!this.cropEnabled||this.crop.width==this._cache.cropWidth&&this.crop.height==this._cache.cropHeight&&this.crop.x==this._cache.cropX&&this.crop.y==this._cache.cropY||(this.crop.floorAll(),this._cache.cropX=this.crop.x,this._cache.cropY=this.crop.y,this._cache.cropWidth=this.crop.width,this._cache.cropHeight=this.crop.height,this.texture.frame=this.crop,this.texture.width=this.crop.width,this.texture.height=this.crop.height,this.texture.updateFrame=!0,c.Texture.frameUpdates.push(this.texture))},d.Sprite.prototype.updateBounds=function(){this.offset.setTo(this._cache.a02-this.anchor.x*this.width,this._cache.a12-this.anchor.y*this.height),this.getLocalPosition(this.center,this.offset.x+this.width/2,this.offset.y+this.height/2),this.getLocalPosition(this.topLeft,this.offset.x,this.offset.y),this.getLocalPosition(this.topRight,this.offset.x+this.width,this.offset.y),this.getLocalPosition(this.bottomLeft,this.offset.x,this.offset.y+this.height),this.getLocalPosition(this.bottomRight,this.offset.x+this.width,this.offset.y+this.height),this._cache.left=d.Math.min(this.topLeft.x,this.topRight.x,this.bottomLeft.x,this.bottomRight.x),this._cache.right=d.Math.max(this.topLeft.x,this.topRight.x,this.bottomLeft.x,this.bottomRight.x),this._cache.top=d.Math.min(this.topLeft.y,this.topRight.y,this.bottomLeft.y,this.bottomRight.y),this._cache.bottom=d.Math.max(this.topLeft.y,this.topRight.y,this.bottomLeft.y,this.bottomRight.y),this.bounds.setTo(this._cache.left,this._cache.top,this._cache.right-this._cache.left,this._cache.bottom-this._cache.top),this.updateFrame=!0,this.inWorld===!1?(this.inWorld=d.Rectangle.intersects(this.bounds,this.game.world.bounds,this.inWorldThreshold),this.inWorld&&(this._outOfBoundsFired=!1)):(this.inWorld=d.Rectangle.intersects(this.bounds,this.game.world.bounds,this.inWorldThreshold),this.inWorld===!1&&(this.events.onOutOfBounds.dispatch(this),this._outOfBoundsFired=!0,this.outOfBoundsKill&&this.kill())),this._cache.cameraVisible=d.Rectangle.intersects(this.game.world.camera.screenView,this.bounds,0),this.autoCull&&(this.renderable=this._cache.cameraVisible),this.body&&this.body.updateBounds(this.center.x,this.center.y,this._cache.scaleX,this._cache.scaleY)},d.Sprite.prototype.getLocalPosition=function(a,b,c){return a.x=(this._cache.a11*this._cache.id*b+-this._cache.a01*this._cache.id*c+(this._cache.a12*this._cache.a01-this._cache.a02*this._cache.a11)*this._cache.id)*this.scale.x+this._cache.a02,a.y=(this._cache.a00*this._cache.id*c+-this._cache.a10*this._cache.id*b+(-this._cache.a12*this._cache.a00+this._cache.a02*this._cache.a10)*this._cache.id)*this.scale.y+this._cache.a12,a},d.Sprite.prototype.getLocalUnmodifiedPosition=function(a,b,c){return a.x=this._cache.a11*this._cache.idi*b+-this._cache.i01*this._cache.idi*c+(this._cache.a12*this._cache.i01-this._cache.a02*this._cache.a11)*this._cache.idi+this.anchor.x*this._cache.width,a.y=this._cache.a00*this._cache.idi*c+-this._cache.i10*this._cache.idi*b+(-this._cache.a12*this._cache.a00+this._cache.a02*this._cache.i10)*this._cache.idi+this.anchor.y*this._cache.height,a},d.Sprite.prototype.resetCrop=function(){this.crop=new d.Rectangle(0,0,this._cache.width,this._cache.height),this.texture.setFrame(this.crop),this.cropEnabled=!1},d.Sprite.prototype.postUpdate=function(){this.key instanceof d.BitmapData&&this.key._dirty&&this.key.render(),this.exists&&(this.body&&this.body.postUpdate(),this.fixedToCamera?(this._cache.x=this.game.camera.view.x+this.cameraOffset.x,this._cache.y=this.game.camera.view.y+this.cameraOffset.y):(this._cache.x=this.x,this._cache.y=this.y),this.world.setTo(this.game.camera.x+this.worldTransform[2],this.game.camera.y+this.worldTransform[5]),this.position.x=this._cache.x,this.position.y=this._cache.y)},d.Sprite.prototype.loadTexture=function(a,b){this.key=a,a instanceof d.RenderTexture?this.currentFrame=this.game.cache.getTextureFrame(a.name):a instanceof d.BitmapData?(this.setTexture(a.texture),this.currentFrame=a.textureFrame):a instanceof c.Texture?this.currentFrame=b:(("undefined"==typeof a||this.game.cache.checkImageKey(a)===!1)&&(a="__default",this.key=a),this.game.cache.isSpriteSheet(a)?(this.animations.loadFrameData(this.game.cache.getFrameData(a)),"undefined"!=typeof b&&("string"==typeof b?this.frameName=b:this.frame=b)):(this.currentFrame=this.game.cache.getFrame(a),this.setTexture(c.TextureCache[a])))},d.Sprite.prototype.centerOn=function(a,b){return this.x=a+(this.x-this.center.x),this.y=b+(this.y-this.center.y),this},d.Sprite.prototype.revive=function(a){return"undefined"==typeof a&&(a=1),this.alive=!0,this.exists=!0,this.visible=!0,this.health=a,this.events&&this.events.onRevived.dispatch(this),this},d.Sprite.prototype.kill=function(){return this.alive=!1,this.exists=!1,this.visible=!1,this.events&&this.events.onKilled.dispatch(this),this},d.Sprite.prototype.destroy=function(){this.group&&this.group.remove(this),this.input&&this.input.destroy(),this.events&&this.events.destroy(),this.animations&&this.animations.destroy(),this.alive=!1,this.exists=!1,this.visible=!1,this.game=null},d.Sprite.prototype.damage=function(a){return this.alive&&(this.health-=a,this.health<0&&this.kill()),this},d.Sprite.prototype.reset=function(a,b,c){return"undefined"==typeof c&&(c=1),this.x=a,this.y=b,this.position.x=this.x,this.position.y=this.y,this.alive=!0,this.exists=!0,this.visible=!0,this.renderable=!0,this._outOfBoundsFired=!1,this.health=c,this.body&&this.body.reset(),this},d.Sprite.prototype.bringToTop=function(){return this.group?this.group.bringToTop(this):this.game.world.bringToTop(this),this},d.Sprite.prototype.play=function(a,b,c,d){return this.animations?this.animations.play(a,b,c,d):void 0},Object.defineProperty(d.Sprite.prototype,"angle",{get:function(){return d.Math.wrapAngle(d.Math.radToDeg(this.rotation))},set:function(a){this.rotation=d.Math.degToRad(d.Math.wrapAngle(a))}}),Object.defineProperty(d.Sprite.prototype,"frame",{get:function(){return this.animations.frame},set:function(a){this.animations.frame=a}}),Object.defineProperty(d.Sprite.prototype,"frameName",{get:function(){return this.animations.frameName},set:function(a){this.animations.frameName=a}}),Object.defineProperty(d.Sprite.prototype,"inCamera",{get:function(){return this._cache.cameraVisible}}),Object.defineProperty(d.Sprite.prototype,"width",{get:function(){return this.scale.x*this.currentFrame.width},set:function(a){this.scale.x=a/this.currentFrame.width,this._cache.scaleX=a/this.currentFrame.width,this._width=a}}),Object.defineProperty(d.Sprite.prototype,"height",{get:function(){return this.scale.y*this.currentFrame.height},set:function(a){this.scale.y=a/this.currentFrame.height,this._cache.scaleY=a/this.currentFrame.height,this._height=a}}),Object.defineProperty(d.Sprite.prototype,"inputEnabled",{get:function(){return this.input.enabled},set:function(a){a?this.input.enabled===!1&&this.input.start():this.input.enabled&&this.input.stop()}}),d.TileSprite=function(a,b,e,f,g,h,i){b=b||0,e=e||0,f=f||256,g=g||256,h=h||null,i=i||null,d.Sprite.call(this,a,b,e,h,i),this.texture=c.TextureCache[h],c.TilingSprite.call(this,this.texture,f,g),this.type=d.TILESPRITE,this.tileScale=new d.Point(1,1),this.tilePosition=new d.Point(0,0)},d.TileSprite.prototype=d.Utils.extend(!0,c.TilingSprite.prototype,d.Sprite.prototype),d.TileSprite.prototype.constructor=d.TileSprite,d.Text=function(a,b,e,f,g){b=b||0,e=e||0,f=f||"",g=g||"",this.game=a,this.exists=!0,this.alive=!0,this.group=null,this.name="",this.type=d.TEXT,this._text=f,this._style=g,c.Text.call(this,f,g),this.position.x=this.x=b,this.position.y=this.y=e,this.anchor=new d.Point,this.scale=new d.Point(1,1),this._cache={dirty:!1,a00:1,a01:0,a02:b,a10:0,a11:1,a12:e,id:1,x:-1,y:-1,scaleX:1,scaleY:1},this._cache.x=this.x,this._cache.y=this.y,this.renderable=!0},d.Text.prototype=Object.create(c.Text.prototype),d.Text.prototype.constructor=d.Text,d.Text.prototype.update=function(){this.exists&&(this._cache.dirty=!1,this._cache.x=this.x,this._cache.y=this.y,(this.position.x!=this._cache.x||this.position.y!=this._cache.y)&&(this.position.x=this._cache.x,this.position.y=this._cache.y,this._cache.dirty=!0))},d.Text.prototype.destroy=function(){this.group&&this.group.remove(this),this.canvas.parentNode?this.canvas.parentNode.removeChild(this.canvas):(this.canvas=null,this.context=null),this.exists=!1,this.group=null},Object.defineProperty(d.Text.prototype,"angle",{get:function(){return d.Math.radToDeg(this.rotation)},set:function(a){this.rotation=d.Math.degToRad(a)}}),Object.defineProperty(d.Text.prototype,"x",{get:function(){return this.position.x},set:function(a){this.position.x=a}}),Object.defineProperty(d.Text.prototype,"y",{get:function(){return this.position.y},set:function(a){this.position.y=a}}),Object.defineProperty(d.Text.prototype,"content",{get:function(){return this._text -},set:function(a){a!==this._text&&(this._text=a,this.setText(a))}}),Object.defineProperty(d.Text.prototype,"font",{get:function(){return this._style},set:function(a){a!==this._style&&(this._style=a,this.setStyle(a))}}),d.BitmapText=function(a,b,e,f,g){b=b||0,e=e||0,f=f||"",g=g||"",this.game=a,this.exists=!0,this.alive=!0,this.group=null,this.name="",this.type=d.BITMAPTEXT,c.BitmapText.call(this,f,g),this.position.x=b,this.position.y=e,this.anchor=new d.Point,this.scale=new d.Point(1,1),this._cache={dirty:!1,a00:1,a01:0,a02:b,a10:0,a11:1,a12:e,id:1,x:-1,y:-1,scaleX:1,scaleY:1},this._cache.x=this.x,this._cache.y=this.y,this.renderable=!0},d.BitmapText.prototype=Object.create(c.BitmapText.prototype),d.BitmapText.prototype.constructor=d.BitmapText,d.BitmapText.prototype.update=function(){this.exists&&(this._cache.dirty=!1,this._cache.x=this.x,this._cache.y=this.y,(this.position.x!=this._cache.x||this.position.y!=this._cache.y)&&(this.position.x=this._cache.x,this.position.y=this._cache.y,this._cache.dirty=!0),this.pivot.x=this.anchor.x*this.width,this.pivot.y=this.anchor.y*this.height)},d.BitmapText.prototype.destroy=function(){this.group&&this.group.remove(this),this.canvas&&this.canvas.parentNode?this.canvas.parentNode.removeChild(this.canvas):(this.canvas=null,this.context=null),this.exists=!1,this.group=null},Object.defineProperty(d.BitmapText.prototype,"angle",{get:function(){return d.Math.radToDeg(this.rotation)},set:function(a){this.rotation=d.Math.degToRad(a)}}),Object.defineProperty(d.BitmapText.prototype,"x",{get:function(){return this.position.x},set:function(a){this.position.x=a}}),Object.defineProperty(d.BitmapText.prototype,"y",{get:function(){return this.position.y},set:function(a){this.position.y=a}}),d.Button=function(a,b,c,e,f,g,h,i,j){b=b||0,c=c||0,e=e||null,f=f||null,g=g||this,d.Sprite.call(this,a,b,c,e,i),this.type=d.BUTTON,this._onOverFrameName=null,this._onOutFrameName=null,this._onDownFrameName=null,this._onUpFrameName=null,this._onOverFrameID=null,this._onOutFrameID=null,this._onDownFrameID=null,this._onUpFrameID=null,this.onOverSound=null,this.onOutSound=null,this.onDownSound=null,this.onUpSound=null,this.onOverSoundMarker="",this.onOutSoundMarker="",this.onDownSoundMarker="",this.onUpSoundMarker="",this.onInputOver=new d.Signal,this.onInputOut=new d.Signal,this.onInputDown=new d.Signal,this.onInputUp=new d.Signal,this.freezeFrames=!1,this.forceOut=!0,this.setFrames(h,i,j),null!==f&&this.onInputUp.add(f,g),this.input.start(0,!0),this.events.onInputOver.add(this.onInputOverHandler,this),this.events.onInputOut.add(this.onInputOutHandler,this),this.events.onInputDown.add(this.onInputDownHandler,this),this.events.onInputUp.add(this.onInputUpHandler,this)},d.Button.prototype=Object.create(d.Sprite.prototype),d.Button.prototype=d.Utils.extend(!0,d.Button.prototype,d.Sprite.prototype,c.Sprite.prototype),d.Button.prototype.constructor=d.Button,d.Button.prototype.setFrames=function(a,b,c){null!==a&&("string"==typeof a?(this._onOverFrameName=a,this.input.pointerOver()&&(this.frameName=a)):(this._onOverFrameID=a,this.input.pointerOver()&&(this.frame=a))),null!==b&&("string"==typeof b?(this._onOutFrameName=b,this._onUpFrameName=b,this.input.pointerOver()===!1&&(this.frameName=b)):(this._onOutFrameID=b,this._onUpFrameID=b,this.input.pointerOver()===!1&&(this.frame=b))),null!==c&&("string"==typeof c?(this._onDownFrameName=c,this.input.pointerDown()&&(this.frameName=c)):(this._onDownFrameID=c,this.input.pointerDown()&&(this.frame=c)))},d.Button.prototype.setSounds=function(a,b,c,d,e,f,g,h){this.setOverSound(a,b),this.setOutSound(e,f),this.setUpSound(g,h),this.setDownSound(c,d)},d.Button.prototype.setOverSound=function(a,b){this.onOverSound=null,this.onOverSoundMarker="",a instanceof d.Sound&&(this.onOverSound=a),"string"==typeof b&&(this.onOverSoundMarker=b)},d.Button.prototype.setOutSound=function(a,b){this.onOutSound=null,this.onOutSoundMarker="",a instanceof d.Sound&&(this.onOutSound=a),"string"==typeof b&&(this.onOutSoundMarker=b)},d.Button.prototype.setUpSound=function(a,b){this.onUpSound=null,this.onUpSoundMarker="",a instanceof d.Sound&&(this.onUpSound=a),"string"==typeof b&&(this.onUpSoundMarker=b)},d.Button.prototype.setDownSound=function(a,b){this.onDownSound=null,this.onDownSoundMarker="",a instanceof d.Sound&&(this.onDownSound=a),"string"==typeof b&&(this.onDownSoundMarker=b)},d.Button.prototype.onInputOverHandler=function(a){this.freezeFrames===!1&&(null!=this._onOverFrameName?this.frameName=this._onOverFrameName:null!=this._onOverFrameID&&(this.frame=this._onOverFrameID)),this.onOverSound&&this.onOverSound.play(this.onOverSoundMarker),this.onInputOver&&this.onInputOver.dispatch(this,a)},d.Button.prototype.onInputOutHandler=function(a){this.freezeFrames===!1&&(null!=this._onOutFrameName?this.frameName=this._onOutFrameName:null!=this._onOutFrameID&&(this.frame=this._onOutFrameID)),this.onOutSound&&this.onOutSound.play(this.onOutSoundMarker),this.onInputOut&&this.onInputOut.dispatch(this,a)},d.Button.prototype.onInputDownHandler=function(a){this.freezeFrames===!1&&(null!=this._onDownFrameName?this.frameName=this._onDownFrameName:null!=this._onDownFrameID&&(this.frame=this._onDownFrameID)),this.onDownSound&&this.onDownSound.play(this.onDownSoundMarker),this.onInputDown&&this.onInputDown.dispatch(this,a)},d.Button.prototype.onInputUpHandler=function(a){this.freezeFrames===!1&&(null!=this._onUpFrameName?this.frameName=this._onUpFrameName:null!=this._onUpFrameID&&(this.frame=this._onUpFrameID)),this.onUpSound&&this.onUpSound.play(this.onUpSoundMarker),this.forceOut&&this.freezeFrames===!1&&(null!=this._onOutFrameName?this.frameName=this._onOutFrameName:null!=this._onOutFrameID&&(this.frame=this._onOutFrameID)),this.onInputUp&&this.onInputUp.dispatch(this,a)},d.Graphics=function(a,b,e){this.game=a,c.Graphics.call(this),this.type=d.GRAPHICS,this.position.x=b,this.position.y=e},d.Graphics.prototype=Object.create(c.Graphics.prototype),d.Graphics.prototype.constructor=d.Graphics,d.Graphics.prototype.destroy=function(){this.clear(),this.group&&this.group.remove(this),this.game=null},d.Graphics.prototype.drawPolygon=function(a){this.moveTo(a.points[0].x,a.points[0].y);for(var b=1;bh;h++)f[h].updateTransform();var j=a.__renderGroup;j?a==j.root?j.render(this.projection,this.glFramebuffer):j.renderSpecific(a,this.projection,this.glFramebuffer):(this.renderGroup||(this.renderGroup=new c.WebGLRenderGroup(e)),this.renderGroup.setRenderable(a),this.renderGroup.render(this.projection,this.glFramebuffer)),a.worldTransform=g},d.RenderTexture.prototype.renderCanvas=function(a,b,d){var e=a.children;a.worldTransform=c.mat3.create(),b&&(a.worldTransform[2]=b.x,a.worldTransform[5]=b.y);for(var f=0,g=e.length;g>f;f++)e[f].updateTransform();d&&this.renderer.context.clearRect(0,0,this.width,this.height),this.renderer.renderDisplayObject(a),this.renderer.context.setTransform(1,0,0,1,0,0)},d.Canvas={create:function(a,b){a=a||256,b=b||256;var c=document.createElement("canvas");return c.width=a,c.height=b,c.style.display="block",c},getOffset:function(a,b){b=b||new d.Point;var c=a.getBoundingClientRect(),e=a.clientTop||document.body.clientTop||0,f=a.clientLeft||document.body.clientLeft||0,g=window.pageYOffset||a.scrollTop||document.body.scrollTop,h=window.pageXOffset||a.scrollLeft||document.body.scrollLeft;return b.x=c.left+h-f,b.y=c.top+g-e,b},getAspectRatio:function(a){return a.width/a.height},setBackgroundColor:function(a,b){return b=b||"rgb(0,0,0)",a.style.backgroundColor=b,a},setTouchAction:function(a,b){return b=b||"none",a.style.msTouchAction=b,a.style["ms-touch-action"]=b,a.style["touch-action"]=b,a},setUserSelect:function(a,b){return b=b||"none",a.style["-webkit-touch-callout"]=b,a.style["-webkit-user-select"]=b,a.style["-khtml-user-select"]=b,a.style["-moz-user-select"]=b,a.style["-ms-user-select"]=b,a.style["user-select"]=b,a.style["-webkit-tap-highlight-color"]="rgba(0, 0, 0, 0)",a},addToDOM:function(a,b,c){var d;return"undefined"==typeof c&&(c=!0),b&&("string"==typeof b?d=document.getElementById(b):"object"==typeof b&&1===b.nodeType&&(d=b),c&&(d.style.overflow="hidden")),d||(d=document.body),d.appendChild(a),a},setTransform:function(a,b,c,d,e,f,g){return a.setTransform(d,f,g,e,b,c),a},setSmoothingEnabled:function(a,b){return a.imageSmoothingEnabled=b,a.mozImageSmoothingEnabled=b,a.oImageSmoothingEnabled=b,a.webkitImageSmoothingEnabled=b,a.msImageSmoothingEnabled=b,a},setImageRenderingCrisp:function(a){return a.style["image-rendering"]="crisp-edges",a.style["image-rendering"]="-moz-crisp-edges",a.style["image-rendering"]="-webkit-optimize-contrast",a.style.msInterpolationMode="nearest-neighbor",a},setImageRenderingBicubic:function(a){return a.style["image-rendering"]="auto",a.style.msInterpolationMode="bicubic",a}},d.StageScaleMode=function(a,b,c){this.game=a,this.width=b,this.height=c,this.minWidth=null,this.maxWidth=null,this.minHeight=null,this.maxHeight=null,this._startHeight=0,this.forceLandscape=!1,this.forcePortrait=!1,this.incorrectOrientation=!1,this.pageAlignHorizontally=!1,this.pageAlignVertically=!1,this._width=0,this._height=0,this.maxIterations=5,this.orientationSprite=null,this.enterLandscape=new d.Signal,this.enterPortrait=new d.Signal,this.enterIncorrectOrientation=new d.Signal,this.leaveIncorrectOrientation=new d.Signal,this.hasResized=new d.Signal,this.orientation=window.orientation?window.orientation:window.outerWidth>window.outerHeight?90:0,this.scaleFactor=new d.Point(1,1),this.scaleFactorInversed=new d.Point(1,1),this.margin=new d.Point(0,0),this.aspectRatio=0,this.event=null;var e=this;window.addEventListener("orientationchange",function(a){return e.checkOrientation(a)},!1),window.addEventListener("resize",function(a){return e.checkResize(a)},!1),document.addEventListener("webkitfullscreenchange",function(a){return e.fullScreenChange(a)},!1),document.addEventListener("mozfullscreenchange",function(a){return e.fullScreenChange(a)},!1),document.addEventListener("fullscreenchange",function(a){return e.fullScreenChange(a)},!1)},d.StageScaleMode.EXACT_FIT=0,d.StageScaleMode.NO_SCALE=1,d.StageScaleMode.SHOW_ALL=2,d.StageScaleMode.prototype={startFullScreen:function(a){if(!this.isFullScreen){"undefined"!=typeof a&&d.Canvas.setSmoothingEnabled(this.game.context,a);var b=this.game.canvas;this._width=this.width,this._height=this.height,console.log("startFullScreen",this._width,this._height),b.requestFullScreen?b.requestFullScreen():b.mozRequestFullScreen?b.mozRequestFullScreen():b.webkitRequestFullScreen&&b.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}},stopFullScreen:function(){document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen&&document.webkitCancelFullScreen()},fullScreenChange:function(a){this.event=a,this.isFullScreen?(this.game.stage.canvas.style.width="100%",this.game.stage.canvas.style.height="100%",this.setMaximum(),this.game.input.scale.setTo(this.game.width/this.width,this.game.height/this.height),this.aspectRatio=this.width/this.height,this.scaleFactor.x=this.game.width/this.width,this.scaleFactor.y=this.game.height/this.height):(this.game.stage.canvas.style.width=this.game.width+"px",this.game.stage.canvas.style.height=this.game.height+"px",this.width=this._width,this.height=this._height,this.game.input.scale.setTo(this.game.width/this.width,this.game.height/this.height),this.aspectRatio=this.width/this.height,this.scaleFactor.x=this.game.width/this.width,this.scaleFactor.y=this.game.height/this.height)},forceOrientation:function(a,b,d){"undefined"==typeof b&&(b=!1),this.forceLandscape=a,this.forcePortrait=b,"undefined"!=typeof d&&((null==d||this.game.cache.checkImageKey(d)===!1)&&(d="__default"),this.orientationSprite=new c.Sprite(c.TextureCache[d]),this.orientationSprite.anchor.x=.5,this.orientationSprite.anchor.y=.5,this.orientationSprite.position.x=this.game.width/2,this.orientationSprite.position.y=this.game.height/2,this.checkOrientationState(),this.incorrectOrientation?(this.orientationSprite.visible=!0,this.game.world.visible=!1):(this.orientationSprite.visible=!1,this.game.world.visible=!0),this.game.stage._stage.addChild(this.orientationSprite))},checkOrientationState:function(){this.incorrectOrientation?(this.forceLandscape&&window.innerWidth>window.innerHeight||this.forcePortrait&&window.innerHeight>window.innerWidth)&&(this.game.paused=!1,this.incorrectOrientation=!1,this.leaveIncorrectOrientation.dispatch(),this.orientationSprite&&(this.orientationSprite.visible=!1,this.game.world.visible=!0),this.refresh()):(this.forceLandscape&&window.innerWidthwindow.outerHeight?90:0,this.isLandscape?this.enterLandscape.dispatch(this.orientation,!0,!1):this.enterPortrait.dispatch(this.orientation,!1,!0),this.game.stage.scaleMode!==d.StageScaleMode.NO_SCALE&&this.refresh(),this.checkOrientationState()},refresh:function(){if(this.game.device.iPad===!1&&this.game.device.webApp===!1&&this.game.device.desktop===!1&&(this.game.device.android&&this.game.device.chrome===!1?window.scrollTo(0,1):window.scrollTo(0,0)),null==this._check&&this.maxIterations>0){this._iterations=this.maxIterations;var a=this;this._check=window.setInterval(function(){return a.setScreenSize()},10),this.setScreenSize()}},setScreenSize:function(a){"undefined"==typeof a&&(a=!1),this.game.device.iPad===!1&&this.game.device.webApp===!1&&this.game.device.desktop===!1&&(this.game.device.android&&this.game.device.chrome===!1?window.scrollTo(0,1):window.scrollTo(0,0)),this._iterations--,(a||window.innerHeight>this._startHeight||this._iterations<0)&&(document.documentElement.style.minHeight=window.innerHeight+"px",this.incorrectOrientation===!0?this.setMaximum():this.game.stage.scaleMode==d.StageScaleMode.EXACT_FIT?this.setExactFit():this.game.stage.scaleMode==d.StageScaleMode.SHOW_ALL&&this.setShowAll(),this.setSize(),clearInterval(this._check),this._check=null)},setSize:function(){this.incorrectOrientation===!1&&(this.maxWidth&&this.width>this.maxWidth&&(this.width=this.maxWidth),this.maxHeight&&this.height>this.maxHeight&&(this.height=this.maxHeight),this.minWidth&&this.widththis.maxWidth?this.maxWidth:a,this.height=this.maxHeight&&b>this.maxHeight?this.maxHeight:b}},Object.defineProperty(d.StageScaleMode.prototype,"isFullScreen",{get:function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement}}),Object.defineProperty(d.StageScaleMode.prototype,"isPortrait",{get:function(){return 0===this.orientation||180==this.orientation}}),Object.defineProperty(d.StageScaleMode.prototype,"isLandscape",{get:function(){return 90===this.orientation||-90===this.orientation}}),d.Device=function(){this.patchAndroidClearRectBug=!1,this.desktop=!1,this.iOS=!1,this.android=!1,this.chromeOS=!1,this.linux=!1,this.macOS=!1,this.windows=!1,this.canvas=!1,this.file=!1,this.fileSystem=!1,this.localStorage=!1,this.webGL=!1,this.worker=!1,this.touch=!1,this.mspointer=!1,this.css3D=!1,this.pointerLock=!1,this.typedArray=!1,this.arora=!1,this.chrome=!1,this.epiphany=!1,this.firefox=!1,this.ie=!1,this.ieVersion=0,this.mobileSafari=!1,this.midori=!1,this.opera=!1,this.safari=!1,this.webApp=!1,this.audioData=!1,this.webAudio=!1,this.ogg=!1,this.opus=!1,this.mp3=!1,this.wav=!1,this.m4a=!1,this.webm=!1,this.iPhone=!1,this.iPhone4=!1,this.iPad=!1,this.pixelRatio=0,this.littleEndian=!1,this._checkAudio(),this._checkBrowser(),this._checkCSS3D(),this._checkDevice(),this._checkFeatures(),this._checkOS()},d.Device.prototype={_checkOS:function(){var a=navigator.userAgent;/Android/.test(a)?this.android=!0:/CrOS/.test(a)?this.chromeOS=!0:/iP[ao]d|iPhone/i.test(a)?this.iOS=!0:/Linux/.test(a)?this.linux=!0:/Mac OS/.test(a)?this.macOS=!0:/Windows/.test(a)&&(this.windows=!0),(this.windows||this.macOS||this.linux)&&(this.desktop=!0)},_checkFeatures:function(){this.canvas=!!window.CanvasRenderingContext2D;try{this.localStorage=!!localStorage.getItem}catch(a){this.localStorage=!1}this.file=!!(window.File&&window.FileReader&&window.FileList&&window.Blob),this.fileSystem=!!window.requestFileSystem,this.webGL=function(){try{var a=document.createElement("canvas");return!!window.WebGLRenderingContext&&(a.getContext("webgl")||a.getContext("experimental-webgl"))}catch(b){return!1}}(),this.webGL=null===this.webGL||this.webGL===!1?!1:!0,this.worker=!!window.Worker,("ontouchstart"in document.documentElement||window.navigator.msPointerEnabled)&&(this.touch=!0),window.navigator.msPointerEnabled&&(this.mspointer=!0),this.pointerLock="pointerLockElement"in document||"mozPointerLockElement"in document||"webkitPointerLockElement"in document},_checkBrowser:function(){var a=navigator.userAgent;/Arora/.test(a)?this.arora=!0:/Chrome/.test(a)?this.chrome=!0:/Epiphany/.test(a)?this.epiphany=!0:/Firefox/.test(a)?this.firefox=!0:/Mobile Safari/.test(a)?this.mobileSafari=!0:/MSIE (\d+\.\d+);/.test(a)?(this.ie=!0,this.ieVersion=parseInt(RegExp.$1,10)):/Midori/.test(a)?this.midori=!0:/Opera/.test(a)?this.opera=!0:/Safari/.test(a)&&(this.safari=!0),navigator.standalone&&(this.webApp=!0)},_checkAudio:function(){this.audioData=!!window.Audio,this.webAudio=!(!window.webkitAudioContext&&!window.AudioContext);var a=document.createElement("audio"),b=!1;try{(b=!!a.canPlayType)&&(a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,"")&&(this.ogg=!0),a.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,"")&&(this.opus=!0),a.canPlayType("audio/mpeg;").replace(/^no$/,"")&&(this.mp3=!0),a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,"")&&(this.wav=!0),(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;").replace(/^no$/,""))&&(this.m4a=!0),a.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")&&(this.webm=!0))}catch(c){}},_checkDevice:function(){this.pixelRatio=window.devicePixelRatio||1,this.iPhone=-1!=navigator.userAgent.toLowerCase().indexOf("iphone"),this.iPhone4=2==this.pixelRatio&&this.iPhone,this.iPad=-1!=navigator.userAgent.toLowerCase().indexOf("ipad"),"undefined"!=typeof Int8Array?(this.littleEndian=new Int8Array(new Int16Array([1]).buffer)[0]>0,this.typedArray=!0):(this.littleEndian=!1,this.typedArray=!1)},_checkCSS3D:function(){var a,b=document.createElement("p"),c={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.insertBefore(b,null);for(var d in c)void 0!==b.style[d]&&(b.style[d]="translate3d(1px,1px,1px)",a=window.getComputedStyle(b).getPropertyValue(c[d]));document.body.removeChild(b),this.css3D=void 0!==a&&a.length>0&&"none"!==a},canPlayAudio:function(a){return"mp3"==a&&this.mp3?!0:"ogg"==a&&(this.ogg||this.opus)?!0:"m4a"==a&&this.m4a?!0:"wav"==a&&this.wav?!0:"webm"==a&&this.webm?!0:!1},isConsoleOpen:function(){return window.console&&window.console.firebug?!0:window.console?(console.profile(),console.profileEnd(),console.clear&&console.clear(),console.profiles.length>0):!1}},d.RequestAnimationFrame=function(a){this.game=a,this.isRunning=!1;for(var b=["ms","moz","webkit","o"],c=0;c>>0,b-=d,b*=d,d=b>>>0,b-=d,d+=4294967296*b;return 2.3283064365386963e-10*(d>>>0)},integer:function(){return 4294967296*this.rnd.apply(this)},frac:function(){return this.rnd.apply(this)+1.1102230246251565e-16*(0|2097152*this.rnd.apply(this))},real:function(){return this.integer()+this.frac()},integerInRange:function(a,b){return Math.floor(this.realInRange(a,b))},realInRange:function(a,b){return this.frac()*(b-a)+a},normal:function(){return 1-2*this.frac()},uuid:function(){var a="",b="";for(b=a="";a++<36;b+=~a%5|4&3*a?(15^a?8^this.frac()*(20^a?16:4):4).toString(16):"-");return b},pick:function(a){return a[this.integerInRange(0,a.length)]},weightedPick:function(a){return a[~~(Math.pow(this.frac(),2)*a.length)]},timestamp:function(a,b){return this.realInRange(a||9466848e5,b||1577862e6)},angle:function(){return this.integerInRange(-180,180)}},d.Math={PI2:2*Math.PI,fuzzyEqual:function(a,b,c){return"undefined"==typeof c&&(c=1e-4),Math.abs(a-b)a},fuzzyGreaterThan:function(a,b,c){return"undefined"==typeof c&&(c=1e-4),a>b-c},fuzzyCeil:function(a,b){return"undefined"==typeof b&&(b=1e-4),Math.ceil(a-b)},fuzzyFloor:function(a,b){return"undefined"==typeof b&&(b=1e-4),Math.floor(a+b)},average:function(){for(var a=[],b=0;b0?Math.floor(a):Math.ceil(a)},shear:function(a){return a%1},snapTo:function(a,b,c){return"undefined"==typeof c&&(c=0),0===b?a:(a-=c,a=b*Math.round(a/b),c+a)},snapToFloor:function(a,b,c){return"undefined"==typeof c&&(c=0),0===b?a:(a-=c,a=b*Math.floor(a/b),c+a)},snapToCeil:function(a,b,c){return"undefined"==typeof c&&(c=0),0===b?a:(a-=c,a=b*Math.ceil(a/b),c+a)},snapToInArray:function(a,b,c){if("undefined"==typeof c&&(c=!0),c&&b.sort(),a=f-a?f:e},roundTo:function(a,b,c){"undefined"==typeof b&&(b=0),"undefined"==typeof c&&(c=10);var d=Math.pow(c,-b);return Math.round(a*d)/d},floorTo:function(a,b,c){"undefined"==typeof b&&(b=0),"undefined"==typeof c&&(c=10);var d=Math.pow(c,-b);return Math.floor(a*d)/d},ceilTo:function(a,b,c){"undefined"==typeof b&&(b=0),"undefined"==typeof c&&(c=10);var d=Math.pow(c,-b);return Math.ceil(a*d)/d},interpolateFloat:function(a,b,c){return(b-a)*c+a},angleBetween:function(a,b,c,d){return Math.atan2(d-b,c-a)},normalizeAngle:function(a,b){"undefined"==typeof b&&(b=!0);var c=b?Math.PI:180;return this.wrap(a,-c,c)},nearestAngleBetween:function(a,b,c){"undefined"==typeof c&&(c=!0);var d=c?Math.PI:180;return a=this.normalizeAngle(a,c),b=this.normalizeAngle(b,c),-d/2>a&&b>d/2&&(a+=2*d),-d/2>b&&a>d/2&&(b+=2*d),b-a},interpolateAngles:function(a,b,c,d,e){return"undefined"==typeof d&&(d=!0),"undefined"==typeof e&&(e=null),a=this.normalizeAngle(a,d),b=this.normalizeAngleToAnother(b,a,d),"function"==typeof e?e(c,a,b-a,1):this.interpolateFloat(a,b,c)},chanceRoll:function(a){return"undefined"==typeof a&&(a=50),0>=a?!1:a>=100?!0:100*Math.random()>=a?!1:!0},numberArray:function(a,b){for(var c=[],d=a;b>=d;d++)c.push(d);return c},maxAdd:function(a,b,c){return a+=b,a>c&&(a=c),a},minSub:function(a,b,c){return a-=b,c>a&&(a=c),a},wrap:function(a,b,c){var d=c-b;if(0>=d)return 0;var e=(a-b)%d;return 0>e&&(e+=d),e+b},wrapValue:function(a,b,c){var d;return a=Math.abs(a),b=Math.abs(b),c=Math.abs(c),d=(a+b)%c},randomSign:function(){return Math.random()>.5?1:-1},isOdd:function(a){return 1&a},isEven:function(a){return 1&a?!1:!0},max:function(){for(var a=1,b=0,c=arguments.length;c>a;a++)arguments[b]a;a++)arguments[a]c?d=c:b>a&&(d=b),d},linearInterpolation:function(a,b){var c=a.length-1,d=c*b,e=Math.floor(d);return 0>b?this.linear(a[0],a[1],d):b>1?this.linear(a[c],a[c-1],c-d):this.linear(a[e],a[e+1>c?c:e+1],d-e)},bezierInterpolation:function(a,b){for(var c=0,d=a.length-1,e=0;d>=e;e++)c+=Math.pow(1-b,d-e)*Math.pow(b,e)*a[e]*this.bernstein(d,e);return c},catmullRomInterpolation:function(a,b){var c=a.length-1,d=c*b,e=Math.floor(d);return a[0]===a[c]?(0>b&&(e=Math.floor(d=c*(1+b))),this.catmullRom(a[(e-1+c)%c],a[e],a[(e+1)%c],a[(e+2)%c],d-e)):0>b?a[0]-(this.catmullRom(a[0],a[0],a[1],a[1],-d)-a[0]):b>1?a[c]-(this.catmullRom(a[c],a[c],a[c-1],a[c-1],d-c)-a[c]):this.catmullRom(a[e?e-1:0],a[e],a[e+1>c?c:e+1],a[e+2>c?c:e+2],d-e)},linear:function(a,b,c){return(b-a)*c+a},bernstein:function(a,b){return this.factorial(a)/this.factorial(b)/this.factorial(a-b)},catmullRom:function(a,b,c,d,e){var f=.5*(c-a),g=.5*(d-b),h=e*e,i=e*h;return(2*b-2*c+f+g)*i+(-3*b+3*c-2*f-g)*h+f*e+b},difference:function(a,b){return Math.abs(a-b)},getRandom:function(a,b,c){if("undefined"==typeof b&&(b=0),"undefined"==typeof c&&(c=0),null!=a){var d=c;if((0===d||d>a.length-b)&&(d=a.length-b),d>0)return a[b+Math.floor(Math.random()*d)]}return null},floor:function(a){var b=0|a;return a>0?b:b!=a?b-1:b},ceil:function(a){var b=0|a;return a>0?b!=a?b+1:b:b},sinCosGenerator:function(a,b,c,d){"undefined"==typeof b&&(b=1),"undefined"==typeof c&&(c=1),"undefined"==typeof d&&(d=1);for(var e=b,f=c,g=d*Math.PI/a,h=[],i=[],j=0;a>j;j++)f-=e*g,e+=f*g,h[j]=f,i[j]=e;return{sin:i,cos:h,length:a}},shift:function(a){var b=a.shift();return a.push(b),b -},shuffleArray:function(a){for(var b=a.length-1;b>0;b--){var c=Math.floor(Math.random()*(b+1)),d=a[b];a[b]=a[c],a[c]=d}return a},distance:function(a,b,c,d){var e=a-c,f=b-d;return Math.sqrt(e*e+f*f)},distanceRounded:function(a,b,c,e){return Math.round(d.Math.distance(a,b,c,e))},clamp:function(a,b,c){return b>a?b:a>c?c:a},clampBottom:function(a,b){return b>a?b:a},within:function(a,b,c){return Math.abs(a-b)<=c},mapLinear:function(a,b,c,d,e){return d+(a-b)*(e-d)/(c-b)},smoothstep:function(a,b,c){return b>=a?0:a>=c?1:(a=(a-b)/(c-b),a*a*(3-2*a))},smootherstep:function(a,b,c){return b>=a?0:a>=c?1:(a=(a-b)/(c-b),a*a*a*(a*(6*a-15)+10))},sign:function(a){return 0>a?-1:a>0?1:0},degToRad:function(){var a=Math.PI/180;return function(b){return b*a}}(),radToDeg:function(){var a=180/Math.PI;return function(b){return b*a}}()},d.QuadTree=function(a,b,c,d,e,f,g,h){this.physicsManager=a,this.ID=a.quadTreeID,a.quadTreeID++,this.maxObjects=f||10,this.maxLevels=g||4,this.level=h||0,this.bounds={x:Math.round(b),y:Math.round(c),width:d,height:e,subWidth:Math.floor(d/2),subHeight:Math.floor(e/2),right:Math.round(b)+Math.floor(d/2),bottom:Math.round(c)+Math.floor(e/2)},this.objects=[],this.nodes=[]},d.QuadTree.prototype={split:function(){this.level++,this.nodes[0]=new d.QuadTree(this.physicsManager,this.bounds.right,this.bounds.y,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level),this.nodes[1]=new d.QuadTree(this.physicsManager,this.bounds.x,this.bounds.y,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level),this.nodes[2]=new d.QuadTree(this.physicsManager,this.bounds.x,this.bounds.bottom,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level),this.nodes[3]=new d.QuadTree(this.physicsManager,this.bounds.right,this.bounds.bottom,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level)},insert:function(a){var b,c=0;if(null!=this.nodes[0]&&(b=this.getIndex(a),-1!==b))return this.nodes[b].insert(a),void 0;if(this.objects.push(a),this.objects.length>this.maxObjects&&this.levelthis.bounds.bottom&&(b=2):a.x>this.bounds.right&&(a.ythis.bounds.bottom&&(b=3)),b},retrieve:function(a){var b=this.objects;return a.body.quadTreeIndex=this.getIndex(a.body),a.body.quadTreeIDs.push(this.ID),this.nodes[0]&&(-1!==a.body.quadTreeIndex?b=b.concat(this.nodes[a.body.quadTreeIndex].retrieve(a)):(b=b.concat(this.nodes[0].retrieve(a)),b=b.concat(this.nodes[1].retrieve(a)),b=b.concat(this.nodes[2].retrieve(a)),b=b.concat(this.nodes[3].retrieve(a)))),b},clear:function(){this.objects=[];for(var a=0,b=this.nodes.length;b>a;a++)this.nodes[a]&&(this.nodes[a].clear(),delete this.nodes[a])}},d.Circle=function(a,b,c){a=a||0,b=b||0,c=c||0,this.x=a,this.y=b,this._diameter=c,this._radius=c>0?.5*c:0},d.Circle.prototype={circumference:function(){return 2*Math.PI*this._radius},setTo:function(a,b,c){return this.x=a,this.y=b,this._diameter=c,this._radius=.5*c,this},copyFrom:function(a){return this.setTo(a.x,a.y,a.diameter)},copyTo:function(a){return a.x=this.x,a.y=this.y,a.diameter=this._diameter,a},distance:function(a,b){return"undefined"==typeof b&&(b=!1),b?d.Math.distanceRound(this.x,this.y,a.x,a.y):d.Math.distance(this.x,this.y,a.x,a.y)},clone:function(a){return"undefined"==typeof a&&(a=new d.Circle),a.setTo(this.x,this.y,this.diameter)},contains:function(a,b){return d.Circle.contains(this,a,b)},circumferencePoint:function(a,b,c){return d.Circle.circumferencePoint(this,a,b,c)},offset:function(a,b){return this.x+=a,this.y+=b,this},offsetPoint:function(a){return this.offset(a.x,a.y)},toString:function(){return"[{Phaser.Circle (x="+this.x+" y="+this.y+" diameter="+this.diameter+" radius="+this.radius+")}]"}},Object.defineProperty(d.Circle.prototype,"diameter",{get:function(){return this._diameter},set:function(a){a>0&&(this._diameter=a,this._radius=.5*a)}}),Object.defineProperty(d.Circle.prototype,"radius",{get:function(){return this._radius},set:function(a){a>0&&(this._radius=a,this._diameter=2*a)}}),Object.defineProperty(d.Circle.prototype,"left",{get:function(){return this.x-this._radius},set:function(a){a>this.x?(this._radius=0,this._diameter=0):this.radius=this.x-a}}),Object.defineProperty(d.Circle.prototype,"right",{get:function(){return this.x+this._radius},set:function(a){athis.y?(this._radius=0,this._diameter=0):this.radius=this.y-a}}),Object.defineProperty(d.Circle.prototype,"bottom",{get:function(){return this.y+this._radius},set:function(a){a0?Math.PI*this._radius*this._radius:0}}),Object.defineProperty(d.Circle.prototype,"empty",{get:function(){return 0===this._diameter},set:function(a){a===!0&&this.setTo(0,0,0)}}),d.Circle.contains=function(a,b,c){if(b>=a.left&&b<=a.right&&c>=a.top&&c<=a.bottom){var d=(a.x-b)*(a.x-b),e=(a.y-c)*(a.y-c);return d+e<=a.radius*a.radius}return!1},d.Circle.equals=function(a,b){return a.x==b.x&&a.y==b.y&&a.diameter==b.diameter},d.Circle.intersects=function(a,b){return d.Math.distance(a.x,a.y,b.x,b.y)<=a.radius+b.radius},d.Circle.circumferencePoint=function(a,b,c,e){return"undefined"==typeof c&&(c=!1),"undefined"==typeof e&&(e=new d.Point),c===!0&&(b=d.Math.radToDeg(b)),e.x=a.x+a.radius*Math.cos(b),e.y=a.y+a.radius*Math.sin(b),e},d.Circle.intersectsRectangle=function(a,b){var c=Math.abs(a.x-b.x-b.halfWidth),d=b.halfWidth+a.radius;if(c>d)return!1;var e=Math.abs(a.y-b.y-b.halfHeight),f=b.halfHeight+a.radius;if(e>f)return!1;if(c<=b.halfWidth||e<=b.halfHeight)return!0;var g=c-b.halfWidth,h=e-b.halfHeight,i=g*g,j=h*h,k=a.radius*a.radius;return k>=i+j},d.Point=function(a,b){a=a||0,b=b||0,this.x=a,this.y=b},d.Point.prototype={copyFrom:function(a){return this.setTo(a.x,a.y)},invert:function(){return this.setTo(this.y,this.x)},setTo:function(a,b){return this.x=a,this.y=b,this},add:function(a,b){return this.x+=a,this.y+=b,this},subtract:function(a,b){return this.x-=a,this.y-=b,this},multiply:function(a,b){return this.x*=a,this.y*=b,this},divide:function(a,b){return this.x/=a,this.y/=b,this},clampX:function(a,b){return this.x=d.Math.clamp(this.x,a,b),this},clampY:function(a,b){return this.y=d.Math.clamp(this.y,a,b),this},clamp:function(a,b){return this.x=d.Math.clamp(this.x,a,b),this.y=d.Math.clamp(this.y,a,b),this},clone:function(a){return"undefined"==typeof a&&(a=new d.Point),a.setTo(this.x,this.y)},copyTo:function(a){return a.x=this.x,a.y=this.y,a},distance:function(a,b){return d.Point.distance(this,a,b)},equals:function(a){return a.x==this.x&&a.y==this.y},rotate:function(a,b,c,e,f){return d.Point.rotate(this,a,b,c,e,f)},getMagnitude:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},setMagnitude:function(a){return this.normalize().multiply(a,a)},normalize:function(){if(!this.isZero()){var a=this.getMagnitude();this.x/=a,this.y/=a}return this},isZero:function(){return 0===this.x&&0===this.y},toString:function(){return"[{Point (x="+this.x+" y="+this.y+")}]"}},d.Point.add=function(a,b,c){return"undefined"==typeof c&&(c=new d.Point),c.x=a.x+b.x,c.y=a.y+b.y,c},d.Point.subtract=function(a,b,c){return"undefined"==typeof c&&(c=new d.Point),c.x=a.x-b.x,c.y=a.y-b.y,c},d.Point.multiply=function(a,b,c){return"undefined"==typeof c&&(c=new d.Point),c.x=a.x*b.x,c.y=a.y*b.y,c},d.Point.divide=function(a,b,c){return"undefined"==typeof c&&(c=new d.Point),c.x=a.x/b.x,c.y=a.y/b.y,c},d.Point.equals=function(a,b){return a.x==b.x&&a.y==b.y},d.Point.distance=function(a,b,c){return"undefined"==typeof c&&(c=!1),c?d.Math.distanceRound(a.x,a.y,b.x,b.y):d.Math.distance(a.x,a.y,b.x,b.y)},d.Point.rotate=function(a,b,c,e,f,g){return f=f||!1,g=g||null,f&&(e=d.Math.degToRad(e)),null===g&&(g=Math.sqrt((b-a.x)*(b-a.x)+(c-a.y)*(c-a.y))),a.setTo(b+g*Math.cos(e),c+g*Math.sin(e))},d.Rectangle=function(a,b,c,d){a=a||0,b=b||0,c=c||0,d=d||0,this.x=a,this.y=b,this.width=c,this.height=d},d.Rectangle.prototype={offset:function(a,b){return this.x+=a,this.y+=b,this},offsetPoint:function(a){return this.offset(a.x,a.y)},setTo:function(a,b,c,d){return this.x=a,this.y=b,this.width=c,this.height=d,this},floor:function(){this.x=Math.floor(this.x),this.y=Math.floor(this.y)},floorAll:function(){this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.width=Math.floor(this.width),this.height=Math.floor(this.height)},copyFrom:function(a){return this.setTo(a.x,a.y,a.width,a.height)},copyTo:function(a){return a.x=this.x,a.y=this.y,a.width=this.width,a.height=this.height,a},inflate:function(a,b){return d.Rectangle.inflate(this,a,b)},size:function(a){return d.Rectangle.size(this,a)},clone:function(a){return d.Rectangle.clone(this,a)},contains:function(a,b){return d.Rectangle.contains(this,a,b)},containsRect:function(a){return d.Rectangle.containsRect(this,a)},equals:function(a){return d.Rectangle.equals(this,a)},intersection:function(a,b){return d.Rectangle.intersection(this,a,b)},intersects:function(a,b){return d.Rectangle.intersects(this,a,b)},intersectsRaw:function(a,b,c,e,f){return d.Rectangle.intersectsRaw(this,a,b,c,e,f)},union:function(a,b){return d.Rectangle.union(this,a,b)},toString:function(){return"[{Rectangle (x="+this.x+" y="+this.y+" width="+this.width+" height="+this.height+" empty="+this.empty+")}]"}},Object.defineProperty(d.Rectangle.prototype,"halfWidth",{get:function(){return Math.round(this.width/2)}}),Object.defineProperty(d.Rectangle.prototype,"halfHeight",{get:function(){return Math.round(this.height/2)}}),Object.defineProperty(d.Rectangle.prototype,"bottom",{get:function(){return this.y+this.height},set:function(a){this.height=a<=this.y?0:this.y-a}}),Object.defineProperty(d.Rectangle.prototype,"bottomRight",{get:function(){return new d.Point(this.right,this.bottom)},set:function(a){this.right=a.x,this.bottom=a.y}}),Object.defineProperty(d.Rectangle.prototype,"left",{get:function(){return this.x},set:function(a){this.width=a>=this.right?0:this.right-a,this.x=a}}),Object.defineProperty(d.Rectangle.prototype,"right",{get:function(){return this.x+this.width},set:function(a){this.width=a<=this.x?0:this.x+a}}),Object.defineProperty(d.Rectangle.prototype,"volume",{get:function(){return this.width*this.height}}),Object.defineProperty(d.Rectangle.prototype,"perimeter",{get:function(){return 2*this.width+2*this.height}}),Object.defineProperty(d.Rectangle.prototype,"centerX",{get:function(){return this.x+this.halfWidth},set:function(a){this.x=a-this.halfWidth}}),Object.defineProperty(d.Rectangle.prototype,"centerY",{get:function(){return this.y+this.halfHeight},set:function(a){this.y=a-this.halfHeight}}),Object.defineProperty(d.Rectangle.prototype,"top",{get:function(){return this.y},set:function(a){a>=this.bottom?(this.height=0,this.y=a):this.height=this.bottom-a}}),Object.defineProperty(d.Rectangle.prototype,"topLeft",{get:function(){return new d.Point(this.x,this.y)},set:function(a){this.x=a.x,this.y=a.y}}),Object.defineProperty(d.Rectangle.prototype,"empty",{get:function(){return!this.width||!this.height},set:function(a){a===!0&&this.setTo(0,0,0,0)}}),d.Rectangle.inflate=function(a,b,c){return a.x-=b,a.width+=2*b,a.y-=c,a.height+=2*c,a},d.Rectangle.inflatePoint=function(a,b){return d.Rectangle.inflate(a,b.x,b.y)},d.Rectangle.size=function(a,b){return"undefined"==typeof b&&(b=new d.Point),b.setTo(a.width,a.height)},d.Rectangle.clone=function(a,b){return"undefined"==typeof b&&(b=new d.Rectangle),b.setTo(a.x,a.y,a.width,a.height)},d.Rectangle.contains=function(a,b,c){return b>=a.x&&b<=a.right&&c>=a.y&&c<=a.bottom},d.Rectangle.containsRaw=function(a,b,c,d,e,f){return e>=a&&a+c>=e&&f>=b&&b+d>=f},d.Rectangle.containsPoint=function(a,b){return d.Rectangle.contains(a,b.x,b.y)},d.Rectangle.containsRect=function(a,b){return a.volume>b.volume?!1:a.x>=b.x&&a.y>=b.y&&a.right<=b.right&&a.bottom<=b.bottom},d.Rectangle.equals=function(a,b){return a.x==b.x&&a.y==b.y&&a.width==b.width&&a.height==b.height},d.Rectangle.intersection=function(a,b,c){return c=c||new d.Rectangle,d.Rectangle.intersects(a,b)&&(c.x=Math.max(a.x,b.x),c.y=Math.max(a.y,b.y),c.width=Math.min(a.right,b.right)-c.x,c.height=Math.min(a.bottom,b.bottom)-c.y),c},d.Rectangle.intersects=function(a,b){return a.xa.right+f||ca.bottom+f||e1){if(a&&a==this.decodeURI(e[0]))return this.decodeURI(e[1]);b[this.decodeURI(e[0])]=this.decodeURI(e[1])}}return b},decodeURI:function(a){return decodeURIComponent(a.replace(/\+/g," "))}},d.TweenManager=function(a){this.game=a,this._tweens=[],this._add=[],this.game.onPause.add(this.pauseAll,this),this.game.onResume.add(this.resumeAll,this)},d.TweenManager.prototype={REVISION:"11dev",getAll:function(){return this._tweens},removeAll:function(){this._tweens=[]},add:function(a){this._add.push(a)},create:function(a){return new d.Tween(a,this.game)},remove:function(a){var b=this._tweens.indexOf(a);-1!==b&&(this._tweens[b].pendingDelete=!0)},update:function(){if(0===this._tweens.length&&0===this._add.length)return!1;for(var a=0,b=this._tweens.length;b>a;)this._tweens[a].update(this.game.time.now)?a++:(this._tweens.splice(a,1),b--);return this._add.length>0&&(this._tweens=this._tweens.concat(this._add),this._add.length=0),!0},isTweening:function(a){return this._tweens.some(function(b){return b._object===a})},pauseAll:function(){for(var a=this._tweens.length-1;a>=0;a--)this._tweens[a].pause()},resumeAll:function(){for(var a=this._tweens.length-1;a>=0;a--)this._tweens[a].resume()}},d.Tween=function(a,b){this._object=a,this.game=b,this._manager=this.game.tweens,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._repeat=0,this._yoyo=!1,this._reversed=!1,this._delayTime=0,this._startTime=null,this._easingFunction=d.Easing.Linear.None,this._interpolationFunction=d.Math.linearInterpolation,this._chainedTweens=[],this._onStartCallback=null,this._onStartCallbackFired=!1,this._onUpdateCallback=null,this._onCompleteCallback=null,this._pausedTime=0,this.pendingDelete=!1;for(var c in a)this._valuesStart[c]=parseFloat(a[c],10);this.onStart=new d.Signal,this.onComplete=new d.Signal,this.isRunning=!1},d.Tween.prototype={to:function(a,b,c,d,e,f,g){b=b||1e3,c=c||null,d=d||!1,e=e||0,f=f||0,g=g||!1;var h;return this._parent?(h=this._manager.create(this._object),this._lastChild.chain(h),this._lastChild=h):(h=this,this._parent=this,this._lastChild=this),h._repeat=f,h._duration=b,h._valuesEnd=a,null!==c&&(h._easingFunction=c),e>0&&(h._delayTime=e),h._yoyo=g,d?this.start():this},start:function(){if(null!==this.game&&null!==this._object){this._manager.add(this),this.onStart.dispatch(this._object),this.isRunning=!0,this._onStartCallbackFired=!1,this._startTime=this.game.time.now+this._delayTime;for(var a in this._valuesEnd){if(this._valuesEnd[a]instanceof Array){if(0===this._valuesEnd[a].length)continue;this._valuesEnd[a]=[this._object[a]].concat(this._valuesEnd[a])}this._valuesStart[a]=this._object[a],this._valuesStart[a]instanceof Array==!1&&(this._valuesStart[a]*=1),this._valuesStartRepeat[a]=this._valuesStart[a]||0}return this}},stop:function(){return this.isRunning=!1,this._manager.remove(this),this},delay:function(a){return this._delayTime=a,this},repeat:function(a){return this._repeat=a,this},yoyo:function(a){return this._yoyo=a,this},easing:function(a){return this._easingFunction=a,this},interpolation:function(a){return this._interpolationFunction=a,this},chain:function(){return this._chainedTweens=arguments,this},loop:function(){return this._lastChild.chain(this),this},onStartCallback:function(a){return this._onStartCallback=a,this},onUpdateCallback:function(a){return this._onUpdateCallback=a,this},onCompleteCallback:function(a){return this._onCompleteCallback=a,this},pause:function(){this._paused=!0,this._pausedTime=this.game.time.now},resume:function(){this._paused=!1,this._startTime+=this.game.time.now-this._pausedTime},update:function(a){if(this.pendingDelete)return!1;if(this._paused||a1?1:c;var d=this._easingFunction(c);for(b in this._valuesEnd){var e=this._valuesStart[b]||0,f=this._valuesEnd[b];f instanceof Array?this._object[b]=this._interpolationFunction(f,d):("string"==typeof f&&(f=e+parseFloat(f,10)),"number"==typeof f&&(this._object[b]=e+(f-e)*d))}if(null!==this._onUpdateCallback&&this._onUpdateCallback.call(this._object,d),1==c){if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(b in this._valuesStartRepeat){if("string"==typeof this._valuesEnd[b]&&(this._valuesStartRepeat[b]=this._valuesStartRepeat[b]+parseFloat(this._valuesEnd[b],10)),this._yoyo){var g=this._valuesStartRepeat[b];this._valuesStartRepeat[b]=this._valuesEnd[b],this._valuesEnd[b]=g,this._reversed=!this._reversed}this._valuesStart[b]=this._valuesStartRepeat[b]}return this._startTime=a+this._delayTime,this.onComplete.dispatch(this._object),null!==this._onCompleteCallback&&this._onCompleteCallback.call(this._object),!0}this.isRunning=!1,this.onComplete.dispatch(this._object),null!==this._onCompleteCallback&&this._onCompleteCallback.call(this._object);for(var h=0,i=this._chainedTweens.length;i>h;h++)this._chainedTweens[h].start(a);return!1}return!0}},d.Easing={Linear:{None:function(a){return a}},Quadratic:{In:function(a){return a*a},Out:function(a){return a*(2-a)},InOut:function(a){return(a*=2)<1?.5*a*a:-.5*(--a*(a-2)-1)}},Cubic:{In:function(a){return a*a*a},Out:function(a){return--a*a*a+1},InOut:function(a){return(a*=2)<1?.5*a*a*a:.5*((a-=2)*a*a+2)}},Quartic:{In:function(a){return a*a*a*a},Out:function(a){return 1- --a*a*a*a},InOut:function(a){return(a*=2)<1?.5*a*a*a*a:-.5*((a-=2)*a*a*a-2)}},Quintic:{In:function(a){return a*a*a*a*a},Out:function(a){return--a*a*a*a*a+1},InOut:function(a){return(a*=2)<1?.5*a*a*a*a*a:.5*((a-=2)*a*a*a*a+2)}},Sinusoidal:{In:function(a){return 1-Math.cos(a*Math.PI/2)},Out:function(a){return Math.sin(a*Math.PI/2)},InOut:function(a){return.5*(1-Math.cos(Math.PI*a))}},Exponential:{In:function(a){return 0===a?0:Math.pow(1024,a-1)},Out:function(a){return 1===a?1:1-Math.pow(2,-10*a)},InOut:function(a){return 0===a?0:1===a?1:(a*=2)<1?.5*Math.pow(1024,a-1):.5*(-Math.pow(2,-10*(a-1))+2)}},Circular:{In:function(a){return 1-Math.sqrt(1-a*a)},Out:function(a){return Math.sqrt(1- --a*a)},InOut:function(a){return(a*=2)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)}},Elastic:{In:function(a){var b,c=.1,d=.4;return 0===a?0:1===a?1:(!c||1>c?(c=1,b=d/4):b=d*Math.asin(1/c)/(2*Math.PI),-(c*Math.pow(2,10*(a-=1))*Math.sin((a-b)*2*Math.PI/d)))},Out:function(a){var b,c=.1,d=.4;return 0===a?0:1===a?1:(!c||1>c?(c=1,b=d/4):b=d*Math.asin(1/c)/(2*Math.PI),c*Math.pow(2,-10*a)*Math.sin((a-b)*2*Math.PI/d)+1)},InOut:function(a){var b,c=.1,d=.4;return 0===a?0:1===a?1:(!c||1>c?(c=1,b=d/4):b=d*Math.asin(1/c)/(2*Math.PI),(a*=2)<1?-.5*c*Math.pow(2,10*(a-=1))*Math.sin((a-b)*2*Math.PI/d):.5*c*Math.pow(2,-10*(a-=1))*Math.sin((a-b)*2*Math.PI/d)+1)}},Back:{In:function(a){var b=1.70158;return a*a*((b+1)*a-b)},Out:function(a){var b=1.70158;return--a*a*((b+1)*a+b)+1},InOut:function(a){var b=2.5949095;return(a*=2)<1?.5*a*a*((b+1)*a-b):.5*((a-=2)*a*((b+1)*a+b)+2)}},Bounce:{In:function(a){return 1-d.Easing.Bounce.Out(1-a)},Out:function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},InOut:function(a){return.5>a?.5*d.Easing.Bounce.In(2*a):.5*d.Easing.Bounce.Out(2*a-1)+.5}}},d.Time=function(a){this.game=a,this._started=0,this._timeLastSecond=0,this._pauseStarted=0,this.physicsElapsed=0,this.time=0,this.pausedTime=0,this.now=0,this.elapsed=0,this.fps=0,this.fpsMin=1e3,this.fpsMax=0,this.msMin=1e3,this.msMax=0,this.frames=0,this.pauseDuration=0,this.timeToCall=0,this.lastTime=0,this.game.onPause.add(this.gamePaused,this),this.game.onResume.add(this.gameResumed,this),this._justResumed=!1},d.Time.prototype={update:function(a){this.now=a,this._justResumed&&(this.time=this.now,this._justResumed=!1),this.timeToCall=this.game.math.max(0,16-(a-this.lastTime)),this.elapsed=this.now-this.time,this.msMin=this.game.math.min(this.msMin,this.elapsed),this.msMax=this.game.math.max(this.msMax,this.elapsed),this.frames++,this.now>this._timeLastSecond+1e3&&(this.fps=Math.round(1e3*this.frames/(this.now-this._timeLastSecond)),this.fpsMin=this.game.math.min(this.fpsMin,this.fps),this.fpsMax=this.game.math.max(this.fpsMax,this.fps),this._timeLastSecond=this.now,this.frames=0),this.time=this.now,this.lastTime=a+this.timeToCall,this.physicsElapsed=1*(this.elapsed/1e3),this.physicsElapsed>1&&(this.physicsElapsed=1),this.game.paused&&(this.pausedTime=this.now-this._pauseStarted)},gamePaused:function(){this._pauseStarted=this.now},gameResumed:function(){this.time=Date.now(),this.pauseDuration=this.pausedTime,this._justResumed=!0},totalElapsedSeconds:function(){return.001*(this.now-this._started)},elapsedSince:function(a){return this.now-a},elapsedSecondsSince:function(a){return.001*(this.now-a)},reset:function(){this._started=this.now}},d.Timer=function(a){this.game=a,this._started=0,this._timeLastSecond=0,this.running=!1,this.events=[],this.onEvent=new d.Signal},d.Timer.prototype={add:function(a){this.events.push({delay:a,dispatched:!1,args:Array.prototype.splice.call(arguments,1)})},start:function(){this._started=this.game.time.now,this.running=!0},stop:function(){this.running=!1,this.events.length=0},update:function(){if(this.running)for(var a=this.seconds(),b=0,c=this.events.length;c>b;b++)this.events[b].dispatched===!1&&a>=this.events[b].delay&&(this.events[b].dispatched=!0,this.onEvent.dispatch.apply(this,this.events[b].args))},seconds:function(){return.001*(this.game.time.now-this._started)}},d.AnimationManager=function(a){this.sprite=a,this.game=a.game,this.currentFrame=null,this.updateIfVisible=!0,this.isLoaded=!1,this._frameData=null,this._anims={},this._outputFrames=[]},d.AnimationManager.prototype={loadFrameData:function(a){this._frameData=a,this.frame=0,this.isLoaded=!0},add:function(a,b,e,f,g){return null==this._frameData?(console.warn("No FrameData available for Phaser.Animation "+a),void 0):(e=e||60,"undefined"==typeof f&&(f=!1),"undefined"==typeof g&&(g=b&&"number"==typeof b[0]?!0:!1),null==this.sprite.events.onAnimationStart&&(this.sprite.events.onAnimationStart=new d.Signal,this.sprite.events.onAnimationComplete=new d.Signal,this.sprite.events.onAnimationLoop=new d.Signal),this._outputFrames.length=0,this._frameData.getFrameIndexes(b,g,this._outputFrames),this._anims[a]=new d.Animation(this.game,this.sprite,a,this._frameData,this._outputFrames,e,f),this.currentAnim=this._anims[a],this.currentFrame=this.currentAnim.currentFrame,this.sprite.setTexture(c.TextureCache[this.currentFrame.uuid]),this._anims[a])},validateFrames:function(a,b){"undefined"==typeof b&&(b=!0);for(var c=0;cthis._frameData.total)return!1}else if(this._frameData.checkFrameName(a[c])===!1)return!1;return!0},play:function(a,b,c,d){if(this._anims[a]){if(this.currentAnim!=this._anims[a])return this.currentAnim=this._anims[a],this.currentAnim.paused=!1,this.currentAnim.play(b,c,d);if(this.currentAnim.isPlaying===!1)return this.currentAnim.paused=!1,this.currentAnim.play(b,c,d)}},stop:function(a,b){"undefined"==typeof b&&(b=!1),"string"==typeof a?this._anims[a]&&(this.currentAnim=this._anims[a],this.currentAnim.stop(b)):this.currentAnim&&this.currentAnim.stop(b)},update:function(){return this.updateIfVisible&&this.sprite.visible===!1?!1:this.currentAnim&&this.currentAnim.update()===!0?(this.currentFrame=this.currentAnim.currentFrame,this.sprite.currentFrame=this.currentFrame,!0):!1},getAnimation:function(a){return"string"==typeof a&&this._anims[a]?this._anims[a]:!1},refreshFrame:function(){this.sprite.currentFrame=this.currentFrame,this.sprite.setTexture(c.TextureCache[this.currentFrame.uuid])},destroy:function(){this._anims={},this._frameData=null,this._frameIndex=0,this.currentAnim=null,this.currentFrame=null}},Object.defineProperty(d.AnimationManager.prototype,"frameData",{get:function(){return this._frameData}}),Object.defineProperty(d.AnimationManager.prototype,"frameTotal",{get:function(){return this._frameData?this._frameData.total:-1}}),Object.defineProperty(d.AnimationManager.prototype,"paused",{get:function(){return this.currentAnim.isPaused},set:function(a){this.currentAnim.paused=a}}),Object.defineProperty(d.AnimationManager.prototype,"frame",{get:function(){return this.currentFrame?this._frameIndex:void 0},set:function(a){"number"==typeof a&&this._frameData&&null!==this._frameData.getFrame(a)&&(this.currentFrame=this._frameData.getFrame(a),this._frameIndex=a,this.sprite.currentFrame=this.currentFrame,this.sprite.setTexture(c.TextureCache[this.currentFrame.uuid]))}}),Object.defineProperty(d.AnimationManager.prototype,"frameName",{get:function(){return this.currentFrame?this.currentFrame.name:void 0},set:function(a){"string"==typeof a&&this._frameData&&null!==this._frameData.getFrameByName(a)?(this.currentFrame=this._frameData.getFrameByName(a),this._frameIndex=this.currentFrame.index,this.sprite.currentFrame=this.currentFrame,this.sprite.setTexture(c.TextureCache[this.currentFrame.uuid])):console.warn("Cannot set frameName: "+a)}}),d.Animation=function(a,b,c,d,e,f,g){this.game=a,this._parent=b,this._frameData=d,this.name=c,this._frames=[],this._frames=this._frames.concat(e),this.delay=1e3/f,this.looped=g,this.killOnComplete=!1,this.isFinished=!1,this.isPlaying=!1,this.isPaused=!1,this._pauseStartTime=0,this._frameIndex=0,this._frameDiff=0,this._frameSkip=1,this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex])},d.Animation.prototype={play:function(a,b,d){return"number"==typeof a&&(this.delay=1e3/a),"boolean"==typeof b&&(this.looped=b),"undefined"!=typeof d&&(this.killOnComplete=d),this.isPlaying=!0,this.isFinished=!1,this.paused=!1,this._timeLastFrame=this.game.time.now,this._timeNextFrame=this.game.time.now+this.delay,this._frameIndex=0,this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this._parent.setTexture(c.TextureCache[this.currentFrame.uuid]),this._parent.events&&this._parent.events.onAnimationStart.dispatch(this._parent,this),this},restart:function(){this.isPlaying=!0,this.isFinished=!1,this.paused=!1,this._timeLastFrame=this.game.time.now,this._timeNextFrame=this.game.time.now+this.delay,this._frameIndex=0,this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex])},stop:function(a){"undefined"==typeof a&&(a=!1),this.isPlaying=!1,this.isFinished=!0,this.paused=!1,a&&(this.currentFrame=this._frameData.getFrame(this._frames[0]))},update:function(){return this.isPaused?!1:this.isPlaying===!0&&this.game.time.now>=this._timeNextFrame?(this._frameSkip=1,this._frameDiff=this.game.time.now-this._timeNextFrame,this._timeLastFrame=this.game.time.now,this._frameDiff>this.delay&&(this._frameSkip=Math.floor(this._frameDiff/this.delay),this._frameDiff-=this._frameSkip*this.delay),this._timeNextFrame=this.game.time.now+(this.delay-this._frameDiff),this._frameIndex+=this._frameSkip,this._frameIndex>=this._frames.length?this.looped?(this._frameIndex%=this._frames.length,this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this.currentFrame&&this._parent.setTexture(c.TextureCache[this.currentFrame.uuid]),this._parent.events.onAnimationLoop.dispatch(this._parent,this)):this.onComplete():(this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this.currentFrame&&this._parent.setTexture(c.TextureCache[this.currentFrame.uuid])),!0):!1},destroy:function(){this.game=null,this._parent=null,this._frames=null,this._frameData=null,this.currentFrame=null,this.isPlaying=!1},onComplete:function(){this.isPlaying=!1,this.isFinished=!0,this.paused=!1,this._parent.events&&this._parent.events.onAnimationComplete.dispatch(this._parent,this),this.killOnComplete&&this._parent.kill()}},Object.defineProperty(d.Animation.prototype,"paused",{get:function(){return this.isPaused},set:function(a){this.isPaused=a,a?this._pauseStartTime=this.game.time.now:this.isPlaying&&(this._timeNextFrame=this.game.time.now+this.delay)}}),Object.defineProperty(d.Animation.prototype,"frameTotal",{get:function(){return this._frames.length}}),Object.defineProperty(d.Animation.prototype,"frame",{get:function(){return null!==this.currentFrame?this.currentFrame.index:this._frameIndex},set:function(a){this.currentFrame=this._frameData.getFrame(a),null!==this.currentFrame&&(this._frameIndex=a,this._parent.setTexture(c.TextureCache[this.currentFrame.uuid]))}}),d.Animation.generateFrameNames=function(a,b,c,e,f){"undefined"==typeof e&&(e="");var g=[],h="";if(c>b)for(var i=b;c>=i;i++)h="number"==typeof f?d.Utils.pad(i.toString(),f,"0",1):i.toString(),h=a+h+e,g.push(h);else for(var i=b;i>=c;i--)h="number"==typeof f?d.Utils.pad(i.toString(),f,"0",1):i.toString(),h=a+h+e,g.push(h);return g},d.Frame=function(a,b,c,e,f,g,h){this.index=a,this.x=b,this.y=c,this.width=e,this.height=f,this.name=g,this.uuid=h,this.centerX=Math.floor(e/2),this.centerY=Math.floor(f/2),this.distance=d.Math.distance(0,0,e,f),this.rotated=!1,this.rotationDirection="cw",this.trimmed=!1,this.sourceSizeW=e,this.sourceSizeH=f,this.spriteSourceSizeX=0,this.spriteSourceSizeY=0,this.spriteSourceSizeW=0,this.spriteSourceSizeH=0},d.Frame.prototype={setTrim:function(a,b,c,d,e,f,g){this.trimmed=a,a&&(this.width=b,this.height=c,this.sourceSizeW=b,this.sourceSizeH=c,this.centerX=Math.floor(b/2),this.centerY=Math.floor(c/2),this.spriteSourceSizeX=d,this.spriteSourceSizeY=e,this.spriteSourceSizeW=f,this.spriteSourceSizeH=g)}},d.FrameData=function(){this._frames=[],this._frameNames=[]},d.FrameData.prototype={addFrame:function(a){return a.index=this._frames.length,this._frames.push(a),""!==a.name&&(this._frameNames[a.name]=a.index),a},getFrame:function(a){return this._frames.length>a?this._frames[a]:null},getFrameByName:function(a){return"number"==typeof this._frameNames[a]?this._frames[this._frameNames[a]]:null -},checkFrameName:function(a){return null==this._frameNames[a]?!1:!0},getFrameRange:function(a,b,c){"undefined"==typeof c&&(c=[]);for(var d=a;b>=d;d++)c.push(this._frames[d]);return c},getFrames:function(a,b,c){if("undefined"==typeof b&&(b=!0),"undefined"==typeof c&&(c=[]),"undefined"==typeof a||0===a.length)for(var d=0;dd;d++)b?c.push(this.getFrame(a[d])):c.push(this.getFrameByName(a[d]));return c},getFrameIndexes:function(a,b,c){if("undefined"==typeof b&&(b=!0),"undefined"==typeof c&&(c=[]),"undefined"==typeof a||0===a.length)for(var d=0,e=this._frames.length;e>d;d++)c.push(this._frames[d].index);else for(var d=0,e=a.length;e>d;d++)b?c.push(a[d]):this.getFrameByName(a[d])&&c.push(this.getFrameByName(a[d]).index);return c}},Object.defineProperty(d.FrameData.prototype,"total",{get:function(){return this._frames.length}}),d.AnimationParser={spriteSheet:function(a,b,e,f,g){var h=a.cache.getImage(b);if(null==h)return null;var i=h.width,j=h.height;0>=e&&(e=Math.floor(-i/Math.min(-1,e))),0>=f&&(f=Math.floor(-j/Math.min(-1,f)));var k=Math.round(i/e),l=Math.round(j/f),m=k*l;if(-1!==g&&(m=g),0===i||0===j||e>i||f>j||0===m)return console.warn("Phaser.AnimationParser.spriteSheet: width/height zero or width/height < given frameWidth/frameHeight"),null;for(var n=new d.FrameData,o=0,p=0,q=0;m>q;q++){var r=a.rnd.uuid();n.addFrame(new d.Frame(q,o,p,e,f,"",r)),c.TextureCache[r]=new c.Texture(c.BaseTextureCache[b],{x:o,y:p,width:e,height:f}),o+=e,o===i&&(o=0,p+=f)}return n},JSONData:function(a,b,e){if(!b.frames)return console.warn("Phaser.AnimationParser.JSONData: Invalid Texture Atlas JSON given, missing 'frames' array"),console.log(b),void 0;for(var f,g=new d.FrameData,h=b.frames,i=0;i tag"),void 0;for(var f,g,h,i,j,k,l,m,n,o,p,q,r=new d.FrameData,s=b.getElementsByTagName("SubTexture"),t=0;t0?(this._progressChunk=100/this._keys.length,this.loadFile()):(this.progress=100,this.hasLoaded=!0,this.onLoadComplete.dispatch()))},loadFile:function(){var a=this._fileList[this._keys.shift()],b=this;switch(a.type){case"image":case"spritesheet":case"textureatlas":case"bitmapfont":case"tileset":a.data=new Image,a.data.name=a.key,a.data.onload=function(){return b.fileComplete(a.key)},a.data.onerror=function(){return b.fileError(a.key)},a.data.crossOrigin=this.crossOrigin,a.data.src=this.baseURL+a.url;break;case"audio":a.url=this.getAudioURL(a.url),null!==a.url?this.game.sound.usingWebAudio?(this._xhr.open("GET",this.baseURL+a.url,!0),this._xhr.responseType="arraybuffer",this._xhr.onload=function(){return b.fileComplete(a.key)},this._xhr.onerror=function(){return b.fileError(a.key)},this._xhr.send()):this.game.sound.usingAudioTag&&(this.game.sound.touchLocked?(a.data=new Audio,a.data.name=a.key,a.data.preload="auto",a.data.src=this.baseURL+a.url,this.fileComplete(a.key)):(a.data=new Audio,a.data.name=a.key,a.data.onerror=function(){return b.fileError(a.key)},a.data.preload="auto",a.data.src=this.baseURL+a.url,a.data.addEventListener("canplaythrough",d.GAMES[this.game.id].load.fileComplete(a.key),!1),a.data.load())):this.fileError(a.key);break;case"tilemap":if(this._xhr.open("GET",this.baseURL+a.url,!0),this._xhr.responseType="text",a.format==d.Tilemap.TILED_JSON)this._xhr.onload=function(){return b.jsonLoadComplete(a.key)};else{if(a.format!=d.Tilemap.CSV)throw new Error("Phaser.Loader. Invalid Tilemap format: "+a.format);this._xhr.onload=function(){return b.csvLoadComplete(a.key)}}this._xhr.onerror=function(){return b.dataLoadError(a.key)},this._xhr.send();break;case"text":this._xhr.open("GET",this.baseURL+a.url,!0),this._xhr.responseType="text",this._xhr.onload=function(){return b.fileComplete(a.key)},this._xhr.onerror=function(){return b.fileError(a.key)},this._xhr.send()}},getAudioURL:function(a){var b;"string"==typeof a&&(a=[a]);for(var c=0;c100&&(this.progress=100),null!==this.preloadSprite&&(0===this.preloadSprite.direction?this.preloadSprite.crop.width=Math.floor(this.preloadSprite.width/100*this.progress):this.preloadSprite.crop.height=Math.floor(this.preloadSprite.height/100*this.progress),this.preloadSprite.sprite.crop=this.preloadSprite.crop),this.onFileComplete.dispatch(this.progress,a,b,this.queueSize-this._keys.length,this.queueSize),this._keys.length>0?this.loadFile():(this.hasLoaded=!0,this.isLoading=!1,this.removeAll(),this.onLoadComplete.dispatch())}},d.LoaderParser={bitmapFont:function(a,b,d){if(!b.getElementsByTagName("font"))return console.warn("Phaser.LoaderParser.bitmapFont: Invalid XML given, missing tag"),void 0;var e=c.TextureCache[d],f={},g=b.getElementsByTagName("info")[0],h=b.getElementsByTagName("common")[0];f.font=g.attributes.getNamedItem("face").nodeValue,f.size=parseInt(g.attributes.getNamedItem("size").nodeValue,10),f.lineHeight=parseInt(h.attributes.getNamedItem("lineHeight").nodeValue,10),f.chars={};for(var i=b.getElementsByTagName("char"),j=0;j=this.durationMS&&(this.usingWebAudio?this.loop?(this.onLoop.dispatch(this),""===this.currentMarker?(this.currentTime=0,this.startTime=this.game.time.now):this.play(this.currentMarker,0,this.volume,!0,!0)):this.stop():this.loop?(this.onLoop.dispatch(this),this.play(this.currentMarker,0,this.volume,!0,!0)):this.stop()))},play:function(a,b,c,d,e){if(a=a||"",b=b||0,"undefined"==typeof c&&(c=this._volume),"undefined"==typeof d&&(d=!1),"undefined"==typeof e&&(e=!0),this.isPlaying!==!0||e!==!1||this.override!==!1){if(this.isPlaying&&this.override&&(this.usingWebAudio?"undefined"==typeof this._sound.stop?this._sound.noteOff(0):this._sound.stop(0):this.usingAudioTag&&(this._sound.pause(),this._sound.currentTime=0)),this.currentMarker=a,""!==a){if(!this.markers[a])return console.warn("Phaser.Sound.play: audio marker "+a+" doesn't exist"),void 0;this.position=this.markers[a].start,this.volume=this.markers[a].volume,this.loop=this.markers[a].loop,this.duration=this.markers[a].duration,this.durationMS=this.markers[a].durationMS,this._tempMarker=a,this._tempPosition=this.position,this._tempVolume=this.volume,this._tempLoop=this.loop}else this.position=b,this.volume=c,this.loop=d,this.duration=0,this.durationMS=0,this._tempMarker=a,this._tempPosition=b,this._tempVolume=c,this._tempLoop=d;this.usingWebAudio?this.game.cache.isSoundDecoded(this.key)?(null==this._buffer&&(this._buffer=this.game.cache.getSoundData(this.key)),this._sound=this.context.createBufferSource(),this._sound.buffer=this._buffer,this._sound.connect(this.gainNode),this.totalDuration=this._sound.buffer.duration,0===this.duration&&(this.duration=this.totalDuration,this.durationMS=1e3*this.totalDuration),this.loop&&""===a&&(this._sound.loop=!0),"undefined"==typeof this._sound.start?this._sound.noteGrainOn(0,this.position,this.duration):this._sound.start(0,this.position,this.duration),this.isPlaying=!0,this.startTime=this.game.time.now,this.currentTime=0,this.stopTime=this.startTime+this.durationMS,this.onPlay.dispatch(this)):(this.pendingPlayback=!0,this.game.cache.getSound(this.key)&&this.game.cache.getSound(this.key).isDecoding===!1&&this.game.sound.decode(this.key,this)):this.game.cache.getSound(this.key)&&this.game.cache.getSound(this.key).locked?(this.game.cache.reloadSound(this.key),this.pendingPlayback=!0):this._sound&&4==this._sound.readyState?(this._sound.play(),this.totalDuration=this._sound.duration,0===this.duration&&(this.duration=this.totalDuration,this.durationMS=1e3*this.totalDuration),this._sound.currentTime=this.position,this._sound.muted=this._muted,this._sound.volume=this._muted?0:this._volume,this.isPlaying=!0,this.startTime=this.game.time.now,this.currentTime=0,this.stopTime=this.startTime+this.durationMS,this.onPlay.dispatch(this)):this.pendingPlayback=!0}},restart:function(a,b,c,d){a=a||"",b=b||0,c=c||1,"undefined"==typeof d&&(d=!1),this.play(a,b,c,d,!0)},pause:function(){this.isPlaying&&this._sound&&(this.stop(),this.isPlaying=!1,this.paused=!0,this.pausedPosition=this.currentTime,this.pausedTime=this.game.time.now,this.onPause.dispatch(this))},resume:function(){if(this.paused&&this._sound){if(this.usingWebAudio){var a=this.position+this.pausedPosition/1e3;this._sound=this.context.createBufferSource(),this._sound.buffer=this._buffer,this._sound.connect(this.gainNode),"undefined"==typeof this._sound.start?this._sound.noteGrainOn(0,a,this.duration):this._sound.start(0,a,this.duration)}else this._sound.play();this.isPlaying=!0,this.paused=!1,this.startTime+=this.game.time.now-this.pausedTime,this.onResume.dispatch(this)}},stop:function(){this.isPlaying&&this._sound&&(this.usingWebAudio?"undefined"==typeof this._sound.stop?this._sound.noteOff(0):this._sound.stop(0):this.usingAudioTag&&(this._sound.pause(),this._sound.currentTime=0)),this.isPlaying=!1;var a=this.currentMarker;this.currentMarker="",this.onStop.dispatch(this,a)}},Object.defineProperty(d.Sound.prototype,"isDecoding",{get:function(){return this.game.cache.getSound(this.key).isDecoding}}),Object.defineProperty(d.Sound.prototype,"isDecoded",{get:function(){return this.game.cache.isSoundDecoded(this.key)}}),Object.defineProperty(d.Sound.prototype,"mute",{get:function(){return this._muted},set:function(a){a=a||null,a?(this._muted=!0,this.usingWebAudio?(this._muteVolume=this.gainNode.gain.value,this.gainNode.gain.value=0):this.usingAudioTag&&this._sound&&(this._muteVolume=this._sound.volume,this._sound.volume=0)):(this._muted=!1,this.usingWebAudio?this.gainNode.gain.value=this._muteVolume:this.usingAudioTag&&this._sound&&(this._sound.volume=this._muteVolume)),this.onMute.dispatch(this)}}),Object.defineProperty(d.Sound.prototype,"volume",{get:function(){return this._volume},set:function(a){this.usingWebAudio?(this._volume=a,this.gainNode.gain.value=a):this.usingAudioTag&&this._sound&&a>=0&&1>=a&&(this._volume=a,this._sound.volume=a)}}),d.SoundManager=function(a){this.game=a,this.onSoundDecode=new d.Signal,this._muted=!1,this._unlockSource=null,this._volume=1,this._sounds=[],this.context=null,this.usingWebAudio=!0,this.usingAudioTag=!1,this.noAudio=!1,this.touchLocked=!1,this.channels=32},d.SoundManager.prototype={boot:function(){if(this.game.device.iOS&&this.game.device.webAudio===!1&&(this.channels=1),this.game.device.iOS||window.PhaserGlobal&&window.PhaserGlobal.fakeiOSTouchLock?(this.game.input.touch.callbackContext=this,this.game.input.touch.touchStartCallback=this.unlock,this.game.input.mouse.callbackContext=this,this.game.input.mouse.mouseDownCallback=this.unlock,this.touchLocked=!0):this.touchLocked=!1,window.PhaserGlobal){if(window.PhaserGlobal.disableAudio===!0)return this.usingWebAudio=!1,this.noAudio=!0,void 0;if(window.PhaserGlobal.disableWebAudio===!0)return this.usingWebAudio=!1,this.usingAudioTag=!0,this.noAudio=!1,void 0}window.AudioContext?this.context=new window.AudioContext:window.webkitAudioContext?this.context=new window.webkitAudioContext:window.Audio?(this.usingWebAudio=!1,this.usingAudioTag=!0):(this.usingWebAudio=!1,this.noAudio=!0),null!==this.context&&(this.masterGain="undefined"==typeof this.context.createGain?this.context.createGainNode():this.context.createGain(),this.masterGain.gain.value=1,this.masterGain.connect(this.context.destination))},unlock:function(){if(this.touchLocked!==!1)if(this.game.device.webAudio===!1||window.PhaserGlobal&&window.PhaserGlobal.disableWebAudio===!0)this.touchLocked=!1,this._unlockSource=null,this.game.input.touch.callbackContext=null,this.game.input.touch.touchStartCallback=null,this.game.input.mouse.callbackContext=null,this.game.input.mouse.mouseDownCallback=null;else{var a=this.context.createBuffer(1,1,22050);this._unlockSource=this.context.createBufferSource(),this._unlockSource.buffer=a,this._unlockSource.connect(this.context.destination),this._unlockSource.noteOn(0)}},stopAll:function(){for(var a=0;a255)return d.Color.getColor(255,255,255);if(a>b)return d.Color.getColor(255,255,255);var e=a+Math.round(Math.random()*(b-a)),f=a+Math.round(Math.random()*(b-a)),g=a+Math.round(Math.random()*(b-a));return d.Color.getColor32(c,e,f,g)},getRGB:function(a){return{alpha:a>>>24,red:255&a>>16,green:255&a>>8,blue:255&a}},getWebRGB:function(a){var b=(a>>>24)/255,c=255&a>>16,d=255&a>>8,e=255&a;return"rgba("+c.toString()+","+d.toString()+","+e.toString()+","+b.toString()+")"},getAlpha:function(a){return a>>>24},getAlphaFloat:function(a){return(a>>>24)/255},getRed:function(a){return 255&a>>16},getGreen:function(a){return 255&a>>8},getBlue:function(a){return 255&a}},d.Physics={},d.Physics.Arcade=function(a){this.game=a,this.gravity=new d.Point,this.bounds=new d.Rectangle(0,0,a.world.width,a.world.height),this.maxObjects=10,this.maxLevels=4,this.OVERLAP_BIAS=4,this.quadTree=new d.QuadTree(this,this.game.world.bounds.x,this.game.world.bounds.y,this.game.world.bounds.width,this.game.world.bounds.height,this.maxObjects,this.maxLevels),this.quadTreeID=0,this._bounds1=new d.Rectangle,this._bounds2=new d.Rectangle,this._overlap=0,this._maxOverlap=0,this._velocity1=0,this._velocity2=0,this._newVelocity1=0,this._newVelocity2=0,this._average=0,this._mapData=[],this._mapTiles=0,this._result=!1,this._total=0,this._angle=0,this._dx=0,this._dy=0},d.Physics.Arcade.prototype={updateMotion:function(a){this._velocityDelta=60*.5*(this.computeVelocity(0,a,a.angularVelocity,a.angularAcceleration,a.angularDrag,a.maxAngular)-a.angularVelocity)*this.game.time.physicsElapsed,a.angularVelocity+=this._velocityDelta,a.rotation+=a.angularVelocity*this.game.time.physicsElapsed,a.angularVelocity+=this._velocityDelta,this._velocityDelta=60*.5*(this.computeVelocity(1,a,a.velocity.x,a.acceleration.x,a.drag.x,a.maxVelocity.x)-a.velocity.x)*this.game.time.physicsElapsed,a.velocity.x+=this._velocityDelta,a.x+=a.velocity.x*this.game.time.physicsElapsed,a.velocity.x+=this._velocityDelta,this._velocityDelta=60*.5*(this.computeVelocity(2,a,a.velocity.y,a.acceleration.y,a.drag.y,a.maxVelocity.y)-a.velocity.y)*this.game.time.physicsElapsed,a.velocity.y+=this._velocityDelta,a.y+=a.velocity.y*this.game.time.physicsElapsed,a.velocity.y+=this._velocityDelta},computeVelocity:function(a,b,c,d,e,f){return f=f||1e4,1==a&&b.allowGravity?c+=this.gravity.x+b.gravity.x:2==a&&b.allowGravity&&(c+=this.gravity.y+b.gravity.y),0!==d?c+=d*this.game.time.physicsElapsed:0!==e&&(this._drag=e*this.game.time.physicsElapsed,c-this._drag>0?c-=this._drag:c+this._drag<0?c+=this._drag:c=0),c>f?c=f:-f>c&&(c=-f),c},preUpdate:function(){this.quadTree.clear(),this.quadTreeID=0,this.quadTree=new d.QuadTree(this,this.game.world.bounds.x,this.game.world.bounds.y,this.game.world.bounds.width,this.game.world.bounds.height,this.maxObjects,this.maxLevels)},postUpdate:function(){this.quadTree.clear()},overlap:function(a,b){return a&&b&&a.exists&&b.exists?d.Rectangle.intersects(a.body,b.body):!1},collide:function(a,b,c,e,f){return c=c||null,e=e||null,f=f||c,this._result=!1,this._total=0,a&&b&&a.exists&&b.exists&&(a.type==d.SPRITE?b.type==d.SPRITE?this.collideSpriteVsSprite(a,b,c,e,f):b.type==d.GROUP||b.type==d.EMITTER?this.collideSpriteVsGroup(a,b,c,e,f):b.type==d.TILEMAPLAYER&&this.collideSpriteVsTilemapLayer(a,b,c,e,f):a.type==d.GROUP?b.type==d.SPRITE?this.collideSpriteVsGroup(b,a,c,e,f):b.type==d.GROUP||b.type==d.EMITTER?this.collideGroupVsGroup(a,b,c,e,f):b.type==d.TILEMAPLAYER&&this.collideGroupVsTilemapLayer(a,b,c,e,f):a.type==d.TILEMAPLAYER?b.type==d.SPRITE?this.collideSpriteVsTilemapLayer(b,a,c,e,f):(b.type==d.GROUP||b.type==d.EMITTER)&&this.collideGroupVsTilemapLayer(b,a,c,e,f):a.type==d.EMITTER&&(b.type==d.SPRITE?this.collideSpriteVsGroup(b,a,c,e,f):b.type==d.GROUP||b.type==d.EMITTER?this.collideGroupVsGroup(a,b,c,e,f):b.type==d.TILEMAPLAYER&&this.collideGroupVsTilemapLayer(a,b,c,e,f))),this._total>0},collideSpriteVsTilemapLayer:function(a,b,c,d,e){if(this._mapData=b.getTiles(a.body.x,a.body.y,a.body.width,a.body.height,!0),0!==this._mapData.length)for(var f=0;ff;f++)this._potentials[f].sprite.group==b&&(this.separate(a.body,this._potentials[f]),this._result&&d&&(this._result=d.call(e,a,this._potentials[f].sprite)),this._result&&(this._total++,c&&c.call(e,a,this._potentials[f].sprite)))}},collideGroupVsGroup:function(a,b,c,d,e){if(0!==a.length&&0!==b.length&&a._container.first._iNext){var f=a._container.first._iNext;do f.exists&&this.collideSpriteVsGroup(f,b,c,d,e),f=f._iNext;while(f!=a._container.last._iNext)}},separate:function(a,b){this._result=this.separateX(a,b)||this.separateY(a,b)},separateX:function(a,b){return a.immovable&&b.immovable?!1:(this._overlap=0,d.Rectangle.intersects(a,b)&&(this._maxOverlap=a.deltaAbsX()+b.deltaAbsX()+this.OVERLAP_BIAS,0===a.deltaX()&&0===b.deltaX()?(a.embedded=!0,b.embedded=!0):a.deltaX()>b.deltaX()?(this._overlap=a.x+a.width-b.x,this._overlap>this._maxOverlap||a.allowCollision.right===!1||b.allowCollision.left===!1?this._overlap=0:(a.touching.right=!0,b.touching.left=!0)):a.deltaX()this._maxOverlap||a.allowCollision.left===!1||b.allowCollision.right===!1?this._overlap=0:(a.touching.left=!0,b.touching.right=!0)),0!==this._overlap)?(a.overlapX=this._overlap,b.overlapX=this._overlap,a.customSeparateX||b.customSeparateX?!0:(this._velocity1=a.velocity.x,this._velocity2=b.velocity.x,a.immovable||b.immovable?a.immovable?b.immovable||(b.x+=this._overlap,b.velocity.x=this._velocity1-this._velocity2*b.bounce.x):(a.x=a.x-this._overlap,a.velocity.x=this._velocity2-this._velocity1*a.bounce.x):(this._overlap*=.5,a.x=a.x-this._overlap,b.x+=this._overlap,this._newVelocity1=Math.sqrt(this._velocity2*this._velocity2*b.mass/a.mass)*(this._velocity2>0?1:-1),this._newVelocity2=Math.sqrt(this._velocity1*this._velocity1*a.mass/b.mass)*(this._velocity1>0?1:-1),this._average=.5*(this._newVelocity1+this._newVelocity2),this._newVelocity1-=this._average,this._newVelocity2-=this._average,a.velocity.x=this._average+this._newVelocity1*a.bounce.x,b.velocity.x=this._average+this._newVelocity2*b.bounce.x),!0)):!1)},separateY:function(a,b){return a.immovable&&b.immovable?!1:(this._overlap=0,d.Rectangle.intersects(a,b)&&(this._maxOverlap=a.deltaAbsY()+b.deltaAbsY()+this.OVERLAP_BIAS,0===a.deltaY()&&0===b.deltaY()?(a.embedded=!0,b.embedded=!0):a.deltaY()>b.deltaY()?(this._overlap=a.y+a.height-b.y,this._overlap>this._maxOverlap||a.allowCollision.down===!1||b.allowCollision.up===!1?this._overlap=0:(a.touching.down=!0,b.touching.up=!0)):a.deltaY()this._maxOverlap||a.allowCollision.up===!1||b.allowCollision.down===!1?this._overlap=0:(a.touching.up=!0,b.touching.down=!0)),0!==this._overlap)?(a.overlapY=this._overlap,b.overlapY=this._overlap,a.customSeparateY||b.customSeparateY?!0:(this._velocity1=a.velocity.y,this._velocity2=b.velocity.y,a.immovable||b.immovable?a.immovable?b.immovable||(b.y+=this._overlap,b.velocity.y=this._velocity1-this._velocity2*b.bounce.y,a.sprite.active&&a.moves&&a.deltaY()b.deltaY()&&(a.x+=b.x-b.lastX)):(this._overlap*=.5,a.y=a.y-this._overlap,b.y+=this._overlap,this._newVelocity1=Math.sqrt(this._velocity2*this._velocity2*b.mass/a.mass)*(this._velocity2>0?1:-1),this._newVelocity2=Math.sqrt(this._velocity1*this._velocity1*a.mass/b.mass)*(this._velocity1>0?1:-1),this._average=.5*(this._newVelocity1+this._newVelocity2),this._newVelocity1-=this._average,this._newVelocity2-=this._average,a.velocity.y=this._average+this._newVelocity1*a.bounce.y,b.velocity.y=this._average+this._newVelocity2*b.bounce.y),!0)):!1)},separateTile:function(a,b){return this._result=this.separateTileX(a,b,!0)||this.separateTileY(a,b,!0),this._result},separateTileX:function(a,b,c){return a.immovable||0===a.deltaX()||d.Rectangle.intersects(a.hullX,b)===!1?!1:(this._overlap=0,a.deltaX()<0?(this._overlap=b.right-a.hullX.x,a.allowCollision.left===!1||b.tile.collideRight===!1?this._overlap=0:a.touching.left=!0):(this._overlap=a.hullX.right-b.x,a.allowCollision.right===!1||b.tile.collideLeft===!1?this._overlap=0:a.touching.right=!0),0!==this._overlap?(c&&(a.x=a.deltaX()<0?a.x+this._overlap:a.x-this._overlap,a.velocity.x=0===a.bounce.x?0:-a.velocity.x*a.bounce.x,a.updateHulls()),!0):!1)},separateTileY:function(a,b,c){return a.immovable||0===a.deltaY()||d.Rectangle.intersects(a.hullY,b)===!1?!1:(this._overlap=0,a.deltaY()<0?(this._overlap=b.bottom-a.hullY.y,a.allowCollision.up===!1||b.tile.collideDown===!1?this._overlap=0:a.touching.up=!0):(this._overlap=a.hullY.bottom-b.y,a.allowCollision.down===!1||b.tile.collideUp===!1?this._overlap=0:a.touching.down=!0),0!==this._overlap?(c&&(a.y=a.deltaY()<0?a.y+this._overlap:a.y-this._overlap,a.velocity.y=0===a.bounce.y?0:-a.velocity.y*a.bounce.y,a.updateHulls()),!0):!1)},moveToObject:function(a,b,c,d){return"undefined"==typeof c&&(c=60),"undefined"==typeof d&&(d=0),this._angle=Math.atan2(b.y-a.y,b.x-a.x),d>0&&(c=this.distanceBetween(a,b)/(d/1e3)),a.body.velocity.x=Math.cos(this._angle)*c,a.body.velocity.y=Math.sin(this._angle)*c,this._angle},moveToPointer:function(a,b,c,d){return"undefined"==typeof b&&(b=60),c=c||this.game.input.activePointer,"undefined"==typeof d&&(d=0),this._angle=this.angleToPointer(a,c),d>0&&(b=this.distanceToPointer(a,c)/(d/1e3)),a.body.velocity.x=Math.cos(this._angle)*b,a.body.velocity.y=Math.sin(this._angle)*b,this._angle},moveToXY:function(a,b,c,d,e){return"undefined"==typeof d&&(d=60),"undefined"==typeof e&&(e=0),this._angle=Math.atan2(c-a.y,b-a.x),e>0&&(d=this.distanceToXY(a,b,c)/(e/1e3)),a.body.velocity.x=Math.cos(this._angle)*d,a.body.velocity.y=Math.sin(this._angle)*d,this._angle},velocityFromAngle:function(a,b,c){return"undefined"==typeof b&&(b=60),c=c||new d.Point,c.setTo(Math.cos(this.game.math.degToRad(a))*b,Math.sin(this.game.math.degToRad(a))*b)},velocityFromRotation:function(a,b,c){return"undefined"==typeof b&&(b=60),c=c||new d.Point,c.setTo(Math.cos(a)*b,Math.sin(a)*b)},accelerationFromRotation:function(a,b,c){return"undefined"==typeof b&&(b=60),c=c||new d.Point,c.setTo(Math.cos(a)*b,Math.sin(a)*b)},accelerateToObject:function(a,b,c,d,e){return"undefined"==typeof c&&(c=60),"undefined"==typeof d&&(d=1e3),"undefined"==typeof e&&(e=1e3),this._angle=this.angleBetween(a,b),a.body.acceleration.setTo(Math.cos(this._angle)*c,Math.sin(this._angle)*c),a.body.maxVelocity.setTo(d,e),this._angle},accelerateToPointer:function(a,b,c,d,e){return"undefined"==typeof c&&(c=60),"undefined"==typeof b&&(b=this.game.input.activePointer),"undefined"==typeof d&&(d=1e3),"undefined"==typeof e&&(e=1e3),this._angle=this.angleToPointer(a,b),a.body.acceleration.setTo(Math.cos(this._angle)*c,Math.sin(this._angle)*c),a.body.maxVelocity.setTo(d,e),this._angle},accelerateToXY:function(a,b,c,d,e,f){return"undefined"==typeof d&&(d=60),"undefined"==typeof e&&(e=1e3),"undefined"==typeof f&&(f=1e3),this._angle=this.angleToXY(a,b,c),a.body.acceleration.setTo(Math.cos(this._angle)*d,Math.sin(this._angle)*d),a.body.maxVelocity.setTo(e,f),this._angle},distanceBetween:function(a,b){return this._dx=a.x-b.x,this._dy=a.y-b.y,Math.sqrt(this._dx*this._dx+this._dy*this._dy)},distanceToXY:function(a,b,c){return this._dx=a.x-b,this._dy=a.y-c,Math.sqrt(this._dx*this._dx+this._dy*this._dy)},distanceToPointer:function(a,b){return b=b||this.game.input.activePointer,this._dx=a.x-b.x,this._dy=a.y-b.y,Math.sqrt(this._dx*this._dx+this._dy*this._dy)},angleBetween:function(a,b){return this._dx=b.x-a.x,this._dy=b.y-a.y,Math.atan2(this._dy,this._dx)},angleToXY:function(a,b,c){return this._dx=b-a.x,this._dy=c-a.y,Math.atan2(this._dy,this._dx)},angleToPointer:function(a,b){return b=b||this.game.input.activePointer,this._dx=b.worldX-a.x,this._dy=b.worldY-a.y,Math.atan2(this._dy,this._dx)}},d.Physics.Arcade.Body=function(a){this.sprite=a,this.game=a.game,this.offset=new d.Point,this.x=a.x,this.y=a.y,this.preX=a.x,this.preY=a.y,this.preRotation=a.angle,this.screenX=a.x,this.screenY=a.y,this.sourceWidth=a.currentFrame.sourceSizeW,this.sourceHeight=a.currentFrame.sourceSizeH,this.width=a.currentFrame.sourceSizeW,this.height=a.currentFrame.sourceSizeH,this.halfWidth=Math.floor(a.currentFrame.sourceSizeW/2),this.halfHeight=Math.floor(a.currentFrame.sourceSizeH/2),this.center=new d.Point(this.x+this.halfWidth,this.y+this.halfHeight),this._sx=a.scale.x,this._sy=a.scale.y,this.velocity=new d.Point,this.acceleration=new d.Point,this.drag=new d.Point,this.gravity=new d.Point,this.bounce=new d.Point,this.maxVelocity=new d.Point(1e4,1e4),this.angularVelocity=0,this.angularAcceleration=0,this.angularDrag=0,this.maxAngular=1e3,this.mass=1,this.skipQuadTree=!1,this.quadTreeIDs=[],this.quadTreeIndex=-1,this.allowCollision={none:!1,any:!0,up:!0,down:!0,left:!0,right:!0},this.touching={none:!0,up:!1,down:!1,left:!1,right:!1},this.wasTouching={none:!0,up:!1,down:!1,left:!1,right:!1},this.facing=d.NONE,this.immovable=!1,this.moves=!0,this.rotation=0,this.allowRotation=!0,this.allowGravity=!0,this.customSeparateX=!1,this.customSeparateY=!1,this.overlapX=0,this.overlapY=0,this.hullX=new d.Rectangle,this.hullY=new d.Rectangle,this.embedded=!1,this.collideWorldBounds=!1},d.Physics.Arcade.Body.prototype={updateBounds:function(a,b,c,d){(c!=this._sx||d!=this._sy)&&(this.width=this.sourceWidth*c,this.height=this.sourceHeight*d,this.halfWidth=Math.floor(this.width/2),this.halfHeight=Math.floor(this.height/2),this._sx=c,this._sy=d,this.center.setTo(this.x+this.halfWidth,this.y+this.halfHeight))},preUpdate:function(){this.wasTouching.none=this.touching.none,this.wasTouching.up=this.touching.up,this.wasTouching.down=this.touching.down,this.wasTouching.left=this.touching.left,this.wasTouching.right=this.touching.right,this.touching.none=!0,this.touching.up=!1,this.touching.down=!1,this.touching.left=!1,this.touching.right=!1,this.embedded=!1,this.screenX=this.sprite.worldTransform[2]-this.sprite.anchor.x*this.width+this.offset.x,this.screenY=this.sprite.worldTransform[5]-this.sprite.anchor.y*this.height+this.offset.y,this.preX=this.sprite.world.x-this.sprite.anchor.x*this.width+this.offset.x,this.preY=this.sprite.world.y-this.sprite.anchor.y*this.height+this.offset.y,this.preRotation=this.sprite.angle,this.x=this.preX,this.y=this.preY,this.rotation=this.preRotation,this.moves&&(this.game.physics.updateMotion(this),this.collideWorldBounds&&this.checkWorldBounds(),this.updateHulls()),this.skipQuadTree===!1&&this.allowCollision.none===!1&&this.sprite.visible&&this.sprite.alive&&(this.quadTreeIDs=[],this.quadTreeIndex=-1,this.game.physics.quadTree.insert(this))},postUpdate:function(){this.deltaX()<0?this.facing=d.LEFT:this.deltaX()>0&&(this.facing=d.RIGHT),this.deltaY()<0?this.facing=d.UP:this.deltaY()>0&&(this.facing=d.DOWN),(0!==this.deltaX()||0!==this.deltaY())&&(this.sprite.x+=this.deltaX(),this.sprite.y+=this.deltaY(),this.center.setTo(this.x+this.halfWidth,this.y+this.halfHeight)),this.allowRotation&&(this.sprite.angle+=this.deltaZ())},updateHulls:function(){this.hullX.setTo(this.x,this.preY,this.width,this.height),this.hullY.setTo(this.preX,this.y,this.width,this.height)},checkWorldBounds:function(){this.xthis.game.world.bounds.right&&(this.x=this.game.world.bounds.right-this.width,this.velocity.x*=-this.bounce.x),this.ythis.game.world.bounds.bottom&&(this.y=this.game.world.bounds.bottom-this.height,this.velocity.y*=-this.bounce.y)},setSize:function(a,b,c,d){c=c||this.offset.x,d=d||this.offset.y,this.sourceWidth=a,this.sourceHeight=b,this.width=this.sourceWidth*this._sx,this.height=this.sourceHeight*this._sy,this.halfWidth=Math.floor(this.width/2),this.halfHeight=Math.floor(this.height/2),this.offset.setTo(c,d),this.center.setTo(this.x+this.halfWidth,this.y+this.halfHeight)},reset:function(){this.velocity.setTo(0,0),this.acceleration.setTo(0,0),this.angularVelocity=0,this.angularAcceleration=0,this.preX=this.sprite.world.x-this.sprite.anchor.x*this.width+this.offset.x,this.preY=this.sprite.world.y-this.sprite.anchor.y*this.height+this.offset.y,this.preRotation=this.sprite.angle,this.x=this.preX,this.y=this.preY,this.rotation=this.preRotation,this.center.setTo(this.x+this.halfWidth,this.y+this.halfHeight)},deltaAbsX:function(){return this.deltaX()>0?this.deltaX():-this.deltaX()},deltaAbsY:function(){return this.deltaY()>0?this.deltaY():-this.deltaY()},deltaX:function(){return this.x-this.preX},deltaY:function(){return this.y-this.preY},deltaZ:function(){return this.rotation-this.preRotation}},Object.defineProperty(d.Physics.Arcade.Body.prototype,"bottom",{get:function(){return this.y+this.height},set:function(a){this.height=a<=this.y?0:this.y-a}}),Object.defineProperty(d.Physics.Arcade.Body.prototype,"right",{get:function(){return this.x+this.width},set:function(a){this.width=a<=this.x?0:this.x+a}}),d.Particles=function(a){this.game=a,this.emitters={},this.ID=0},d.Particles.prototype={add:function(a){return this.emitters[a.name]=a,a},remove:function(a){delete this.emitters[a.name]},update:function(){for(var a in this.emitters)this.emitters[a].exists&&this.emitters[a].update()}},d.Particles.Arcade={},d.Particles.Arcade.Emitter=function(a,b,c,e){this.maxParticles=e||50,d.Group.call(this,a),this.name="emitter"+this.game.particles.ID++,this.type=d.EMITTER,this.x=0,this.y=0,this.width=1,this.height=1,this.minParticleSpeed=new d.Point(-100,-100),this.maxParticleSpeed=new d.Point(100,100),this.minParticleScale=1,this.maxParticleScale=1,this.minRotation=-360,this.maxRotation=360,this.gravity=2,this.particleClass=null,this.particleDrag=new d.Point,this.angularDrag=0,this.frequency=100,this.lifespan=2e3,this.bounce=new d.Point,this._quantity=0,this._timer=0,this._counter=0,this._explode=!0,this.on=!1,this.exists=!0,this.emitX=b,this.emitY=c -},d.Particles.Arcade.Emitter.prototype=Object.create(d.Group.prototype),d.Particles.Arcade.Emitter.prototype.constructor=d.Particles.Arcade.Emitter,d.Particles.Arcade.Emitter.prototype.update=function(){if(this.on)if(this._explode){this._counter=0;do this.emitParticle(),this._counter++;while(this._counter=this._timer&&(this.emitParticle(),this._counter++,this._quantity>0&&this._counter>=this._quantity&&(this.on=!1),this._timer=this.game.time.now+this.frequency)},d.Particles.Arcade.Emitter.prototype.makeParticles=function(a,b,c,e,f){"undefined"==typeof b&&(b=0),c=c||this.maxParticles,e=e||0,"undefined"==typeof f&&(f=!1);for(var g,h=0,i=a,j=0;c>h;)null==this.particleClass&&("object"==typeof a&&(i=this.game.rnd.pick(a)),"object"==typeof b&&(j=this.game.rnd.pick(b)),g=new d.Sprite(this.game,0,0,i,j)),e>0?(g.body.allowCollision.any=!0,g.body.allowCollision.none=!1):g.body.allowCollision.none=!0,g.body.collideWorldBounds=f,g.exists=!1,g.visible=!1,g.anchor.setTo(.5,.5),this.add(g),h++;return this},d.Particles.Arcade.Emitter.prototype.kill=function(){this.on=!1,this.alive=!1,this.exists=!1},d.Particles.Arcade.Emitter.prototype.revive=function(){this.alive=!0,this.exists=!0},d.Particles.Arcade.Emitter.prototype.start=function(a,b,c,d){"boolean"!=typeof a&&(a=!0),b=b||0,c=c||250,d=d||0,this.revive(),this.visible=!0,this.on=!0,this._explode=a,this.lifespan=b,this.frequency=c,a?this._quantity=d:this._quantity+=d,this._counter=0,this._timer=this.game.time.now+c},d.Particles.Arcade.Emitter.prototype.emitParticle=function(){var a=this.getFirstExists(!1);if(null!=a){if(this.width>1||this.height>1?a.reset(this.game.rnd.integerInRange(this.left,this.right),this.game.rnd.integerInRange(this.top,this.bottom)):a.reset(this.emitX,this.emitY),a.lifespan=this.lifespan,a.body.bounce.setTo(this.bounce.x,this.bounce.y),a.body.velocity.x=this.minParticleSpeed.x!=this.maxParticleSpeed.x?this.game.rnd.integerInRange(this.minParticleSpeed.x,this.maxParticleSpeed.x):this.minParticleSpeed.x,a.body.velocity.y=this.minParticleSpeed.y!=this.maxParticleSpeed.y?this.game.rnd.integerInRange(this.minParticleSpeed.y,this.maxParticleSpeed.y):this.minParticleSpeed.y,a.body.gravity.y=this.gravity,a.body.angularVelocity=this.minRotation!=this.maxRotation?this.game.rnd.integerInRange(this.minRotation,this.maxRotation):this.minRotation,1!==this.minParticleScale||1!==this.maxParticleScale){var b=this.game.rnd.realInRange(this.minParticleScale,this.maxParticleScale);a.scale.setTo(b,b)}a.body.drag.x=this.particleDrag.x,a.body.drag.y=this.particleDrag.y,a.body.angularDrag=this.angularDrag}},d.Particles.Arcade.Emitter.prototype.setSize=function(a,b){this.width=a,this.height=b},d.Particles.Arcade.Emitter.prototype.setXSpeed=function(a,b){a=a||0,b=b||0,this.minParticleSpeed.x=a,this.maxParticleSpeed.x=b},d.Particles.Arcade.Emitter.prototype.setYSpeed=function(a,b){a=a||0,b=b||0,this.minParticleSpeed.y=a,this.maxParticleSpeed.y=b},d.Particles.Arcade.Emitter.prototype.setRotation=function(a,b){a=a||0,b=b||0,this.minRotation=a,this.maxRotation=b},d.Particles.Arcade.Emitter.prototype.at=function(a){this.emitX=a.center.x,this.emitY=a.center.y},Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"alpha",{get:function(){return this._container.alpha},set:function(a){this._container.alpha=a}}),Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"visible",{get:function(){return this._container.visible},set:function(a){this._container.visible=a}}),Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"x",{get:function(){return this.emitX},set:function(a){this.emitX=a}}),Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"y",{get:function(){return this.emitY},set:function(a){this.emitY=a}}),Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"left",{get:function(){return Math.floor(this.x-this.width/2)}}),Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"right",{get:function(){return Math.floor(this.x+this.width/2)}}),Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"top",{get:function(){return Math.floor(this.y-this.height/2)}}),Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"bottom",{get:function(){return Math.floor(this.y+this.height/2)}}),d.Tile=function(a,b,c,d,e,f){this.tileset=a,this.index=b,this.width=e,this.height=f,this.x=c,this.y=d,this.mass=1,this.collideNone=!0,this.collideLeft=!1,this.collideRight=!1,this.collideUp=!1,this.collideDown=!1,this.separateX=!0,this.separateY=!0,this.collisionCallback=null,this.collisionCallbackContext=this},d.Tile.prototype={setCollisionCallback:function(a,b){this.collisionCallbackContext=b,this.collisionCallback=a},destroy:function(){this.tileset=null},setCollision:function(a,b,c,d){this.collideLeft=a,this.collideRight=b,this.collideUp=c,this.collideDown=d,this.collideNone=a||b||c||d?!1:!0},resetCollision:function(){this.collideNone=!0,this.collideLeft=!1,this.collideRight=!1,this.collideUp=!1,this.collideDown=!1}},Object.defineProperty(d.Tile.prototype,"bottom",{get:function(){return this.y+this.height}}),Object.defineProperty(d.Tile.prototype,"right",{get:function(){return this.x+this.width}}),d.Tilemap=function(a,b){this.game=a,this.layers=null,"string"==typeof b?(this.key=b,this.layers=a.cache.getTilemapData(b).layers,this.calculateIndexes()):this.layers=[],this.currentLayer=0,this.debugMap=[],this.dirty=!1,this._results=[],this._tempA=0,this._tempB=0},d.Tilemap.CSV=0,d.Tilemap.TILED_JSON=1,d.Tilemap.prototype={create:function(a,b,c){for(var e=[],f=0;c>f;f++){e[f]=[];for(var g=0;b>g;g++)e[f][g]=0}this.currentLayer=this.layers.push({name:a,width:b,height:c,alpha:1,visible:!0,tileMargin:0,tileSpacing:0,format:d.Tilemap.CSV,data:e,indexes:[]}),this.dirty=!0},calculateIndexes:function(){for(var a=0;a=0&&b=0&&c=0&&a=0&&b=0&&a=0&&b=0&&b=0&&ca&&(a=0),0>b&&(b=0),c>this.layers[e].width&&(c=this.layers[e].width),d>this.layers[e].height&&(d=this.layers[e].height),this._results.length=0,this._results.push({x:a,y:b,width:c,height:d,layer:e});for(var f=b;b+d>f;f++)for(var g=a;a+c>g;g++)this._results.push({x:g,y:f,index:this.layers[e].data[f][g]});return this._results},paste:function(a,b,c,d){if("undefined"==typeof a&&(a=0),"undefined"==typeof b&&(b=0),"undefined"==typeof d&&(d=this.currentLayer),c&&!(c.length<2)){for(var e=c[1].x-a,f=c[1].y-b,g=1;g1?this.debugMap[this.layers[this.currentLayer].data[c][d]]?b.push("background: "+this.debugMap[this.layers[this.currentLayer].data[c][d]]):b.push("background: #ffffff"):b.push("background: rgb(0, 0, 0)");a+="\n"}b[0]=a,console.log.apply(console,b)},destroy:function(){this.removeAllLayers(),this.game=null}},d.TilemapLayer=function(a,b,e,f,g,h,i,j){this.game=a,this.canvas=d.Canvas.create(f,g),this.context=this.canvas.getContext("2d"),this.baseTexture=new c.BaseTexture(this.canvas),this.texture=new c.Texture(this.baseTexture),this.textureFrame=new d.Frame(0,0,0,f,g,"tilemaplayer",a.rnd.uuid()),d.Sprite.call(this,this.game,b,e,this.texture,this.textureFrame),this.type=d.TILEMAPLAYER,this.fixedToCamera=!0,this.tileset=null,this.tileWidth=0,this.tileHeight=0,this.tileMargin=0,this.tileSpacing=0,this.widthInPixels=0,this.heightInPixels=0,this.renderWidth=f,this.renderHeight=g,this._ga=1,this._dx=0,this._dy=0,this._dw=0,this._dh=0,this._tx=0,this._ty=0,this._results=[],this._tw=0,this._th=0,this._tl=0,this._maxX=0,this._maxY=0,this._startX=0,this._startY=0,this.scrollFactorX=1,this.scrollFactorY=1,this.tilemap=null,this.layer=null,this.index=0,this._x=0,this._y=0,this._prevX=0,this._prevY=0,this.dirty=!0,(h instanceof d.Tileset||"string"==typeof h)&&this.updateTileset(h),i instanceof d.Tilemap&&this.updateMapData(i,j)},d.TilemapLayer.prototype=Object.create(d.Sprite.prototype),d.TilemapLayer.prototype=d.Utils.extend(!0,d.TilemapLayer.prototype,d.Sprite.prototype,c.Sprite.prototype),d.TilemapLayer.prototype.constructor=d.TilemapLayer,d.TilemapLayer.prototype.update=function(){this.scrollX=this.game.camera.x*this.scrollFactorX,this.scrollY=this.game.camera.y*this.scrollFactorY,this.render()},d.TilemapLayer.prototype.resizeWorld=function(){this.game.world.setBounds(0,0,this.widthInPixels,this.heightInPixels)},d.TilemapLayer.prototype.updateTileset=function(a){if(a instanceof d.Tileset)this.tileset=a;else{if("string"!=typeof a)return;this.tileset=this.game.cache.getTileset("tiles")}this.tileWidth=this.tileset.tileWidth,this.tileHeight=this.tileset.tileHeight,this.tileMargin=this.tileset.tileMargin,this.tileSpacing=this.tileset.tileSpacing,this.updateMax()},d.TilemapLayer.prototype.updateMapData=function(a,b){"undefined"==typeof b&&(b=0),a instanceof d.Tilemap&&(this.tilemap=a,this.layer=this.tilemap.layers[b],this.index=b,this.updateMax(),this.tilemap.dirty=!0)},d.TilemapLayer.prototype._fixX=function(a){if(1===this.scrollFactorX)return a;var b=a-this._x/this.scrollFactorX;return this._x+b},d.TilemapLayer.prototype._unfixX=function(a){if(1===this.scrollFactorX)return a;var b=a-this._x;return this._x/this.scrollFactorX+b},d.TilemapLayer.prototype._fixY=function(a){if(1===this.scrollFactorY)return a;var b=a-this._y/this.scrollFactorY;return this._y+b},d.TilemapLayer.prototype._unfixY=function(a){if(1===this.scrollFactorY)return a;var b=a-this._y;return this._y/this.scrollFactorY+b},d.TilemapLayer.prototype.getTileX=function(a){var b=this.tileWidth*this.scale.x;return this.game.math.snapToFloor(this._fixX(a),b)/b},d.TilemapLayer.prototype.getTileY=function(a){var b=this.tileHeight*this.scale.y;return this.game.math.snapToFloor(this._fixY(a),b)/b},d.TilemapLayer.prototype.getTileXY=function(a,b,c){return c.x=this.getTileX(a),c.y=this.getTileY(b),c},d.TilemapLayer.prototype.getTiles=function(a,b,c,d,e){if(null!==this.tilemap){"undefined"==typeof e&&(e=!1),0>a&&(a=0),0>b&&(b=0),a=this._fixX(a),b=this._fixY(b),c>this.widthInPixels&&(c=this.widthInPixels),d>this.heightInPixels&&(d=this.heightInPixels);var f=this.tileWidth*this.scale.x,g=this.tileHeight*this.scale.y;this._tx=this.game.math.snapToFloor(a,f)/f,this._ty=this.game.math.snapToFloor(b,g)/g,this._tw=(this.game.math.snapToCeil(c,f)+f)/f,this._th=(this.game.math.snapToCeil(d,g)+g)/g,this._results=[];for(var h=0,i=null,j=0,k=0,l=this._ty;lthis.layer.width&&(this._maxX=this.layer.width),this._maxY>this.layer.height&&(this._maxY=this.layer.height),this.widthInPixels=this.layer.width*this.tileWidth,this.heightInPixels=this.layer.height*this.tileHeight),this.dirty=!0},d.TilemapLayer.prototype.render=function(){if(this.tilemap&&this.tilemap.dirty&&(this.dirty=!0),this.dirty&&this.tileset&&this.tilemap&&this.visible){this._prevX=this._dx,this._prevY=this._dy,this._dx=-(this._x-this._startX*this.tileWidth),this._dy=-(this._y-this._startY*this.tileHeight),this._tx=this._dx,this._ty=this._dy,this.context.clearRect(0,0,this.canvas.width,this.canvas.height);for(var a=this._startY;a0?this.deltaX():-this.deltaX()},d.TilemapLayer.prototype.deltaAbsY=function(){return this.deltaY()>0?this.deltaY():-this.deltaY()},d.TilemapLayer.prototype.deltaX=function(){return this._dx-this._prevX},d.TilemapLayer.prototype.deltaY=function(){return this._dy-this._prevY},Object.defineProperty(d.TilemapLayer.prototype,"scrollX",{get:function(){return this._x},set:function(a){a!==this._x&&a>=0&&this.layer&&(this._x=a,this._x>this.widthInPixels-this.renderWidth&&(this._x=this.widthInPixels-this.renderWidth),this._startX=this.game.math.floor(this._x/this.tileWidth),this._startX<0&&(this._startX=0),this._startX+this._maxX>this.layer.width&&(this._startX=this.layer.width-this._maxX),this.dirty=!0)}}),Object.defineProperty(d.TilemapLayer.prototype,"scrollY",{get:function(){return this._y},set:function(a){a!==this._y&&a>=0&&this.layer&&(this._y=a,this._y>this.heightInPixels-this.renderHeight&&(this._y=this.heightInPixels-this.renderHeight),this._startY=this.game.math.floor(this._y/this.tileHeight),this._startY<0&&(this._startY=0),this._startY+this._maxY>this.layer.height&&(this._startY=this.layer.height-this._maxY),this.dirty=!0)}}),d.TilemapParser={tileset:function(a,b,c,e,f,g,h){var i=a.cache.getTilesetImage(b);if(null==i)return null;var j=i.width,k=i.height;0>=c&&(c=Math.floor(-j/Math.min(-1,c))),0>=e&&(e=Math.floor(-k/Math.min(-1,e)));var l=Math.round(j/c),m=Math.round(k/e),n=l*m;if(-1!==f&&(n=f),0===j||0===k||c>j||e>k||0===n)return console.warn("Phaser.TilemapParser.tileSet: width/height zero or width/height < given tileWidth/tileHeight"),null;for(var o=g,p=g,q=new d.Tileset(i,b,c,e,g,h),r=0;n>r;r++)q.addTile(new d.Tile(q,r,o,p,c,e)),o+=c+h,o===j&&(o=g,p+=e+h);return q},parse:function(a,b,c){return c===d.Tilemap.CSV?this.parseCSV(b):c===d.Tilemap.TILED_JSON?this.parseTiledJSON(b):void 0},parseCSV:function(a){a=a.trim();for(var b=[],c=a.split("\n"),d=c.length,e=0,f=0;fa)for(var g=a;b>=g;g++)this.tiles[g].setCollision(c,d,e,f)},setCollision:function(a,b,c,d,e){this.tiles[a]&&this.tiles[a].setCollision(b,c,d,e)}},Object.defineProperty(d.Tileset.prototype,"total",{get:function(){return this.tiles.length}}),c.CanvasRenderer.prototype.render=function(a){c.texturesToUpdate.length=0,c.texturesToDestroy.length=0,c.visibleCount++,a.updateTransform(),this.context.setTransform(1,0,0,1,0,0),this.context.clearRect(0,0,this.width,this.height),this.renderDisplayObject(a),c.Texture.frameUpdates.length>0&&(c.Texture.frameUpdates.length=0)},c.CanvasRenderer.prototype.renderDisplayObject=function(a){var b=a.last._iNext;a=a.first;do if(a.visible)if(a.renderable&&0!==a.alpha){if(a instanceof c.Sprite)a.texture.frame&&(this.context.globalAlpha=a.worldAlpha,a.texture.trimmed?this.context.setTransform(a.worldTransform[0],a.worldTransform[3],a.worldTransform[1],a.worldTransform[4],a.worldTransform[2]+a.texture.trim.x,a.worldTransform[5]+a.texture.trim.y):this.context.setTransform(a.worldTransform[0],a.worldTransform[3],a.worldTransform[1],a.worldTransform[4],a.worldTransform[2],a.worldTransform[5]),this.context.drawImage(a.texture.baseTexture.source,a.texture.frame.x,a.texture.frame.y,a.texture.frame.width,a.texture.frame.height,a.anchor.x*-a.texture.frame.width,a.anchor.y*-a.texture.frame.height,a.texture.frame.width,a.texture.frame.height));else if(a instanceof c.Strip)this.context.setTransform(a.worldTransform[0],a.worldTransform[3],a.worldTransform[1],a.worldTransform[4],a.worldTransform[2],a.worldTransform[5]),this.renderStrip(a);else if(a instanceof c.TilingSprite)this.context.setTransform(a.worldTransform[0],a.worldTransform[3],a.worldTransform[1],a.worldTransform[4],a.worldTransform[2],a.worldTransform[5]),this.renderTilingSprite(a);else if(a instanceof c.CustomRenderable)a.renderCanvas(this);else if(a instanceof c.Graphics)this.context.setTransform(a.worldTransform[0],a.worldTransform[3],a.worldTransform[1],a.worldTransform[4],a.worldTransform[2],a.worldTransform[5]),c.CanvasGraphics.renderGraphics(a,this.context);else if(a instanceof c.FilterBlock)if(a.open){this.context.save();var d=a.mask.alpha,e=a.mask.worldTransform;this.context.setTransform(e[0],e[3],e[1],e[4],e[2],e[5]),a.mask.worldAlpha=.5,this.context.worldAlpha=0,c.CanvasGraphics.renderGraphicsMask(a.mask,this.context),this.context.clip(),a.mask.worldAlpha=d}else this.context.restore();a=a._iNext}else a=a._iNext;else a=a.last._iNext;while(a!=b)},c.WebGLBatch.prototype.update=function(){for(var a,b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=0,s=this.head;s;){if(s.vcount===c.visibleCount){if(b=s.texture.frame.width,d=s.texture.frame.height,e=s.anchor.x,f=s.anchor.y,g=b*(1-e),h=b*-e,i=d*(1-f),j=d*-f,k=8*r,a=s.worldTransform,l=a[0],m=a[3],n=a[1],o=a[4],p=a[2],q=a[5],s.texture.trimmed&&(p+=s.texture.trim.x,q+=s.texture.trim.y),this.verticies[k+0]=l*h+n*j+p,this.verticies[k+1]=o*j+m*h+q,this.verticies[k+2]=l*g+n*j+p,this.verticies[k+3]=o*j+m*g+q,this.verticies[k+4]=l*g+n*i+p,this.verticies[k+5]=o*i+m*g+q,this.verticies[k+6]=l*h+n*i+p,this.verticies[k+7]=o*i+m*h+q,s.updateFrame||s.texture.updateFrame){this.dirtyUVS=!0;var t=s.texture,u=t.frame,v=t.baseTexture.width,w=t.baseTexture.height;this.uvs[k+0]=u.x/v,this.uvs[k+1]=u.y/w,this.uvs[k+2]=(u.x+u.width)/v,this.uvs[k+3]=u.y/w,this.uvs[k+4]=(u.x+u.width)/v,this.uvs[k+5]=(u.y+u.height)/w,this.uvs[k+6]=u.x/v,this.uvs[k+7]=(u.y+u.height)/w,s.updateFrame=!1}if(s.cacheAlpha!=s.worldAlpha){s.cacheAlpha=s.worldAlpha;var x=4*r;this.colors[x]=this.colors[x+1]=this.colors[x+2]=this.colors[x+3]=s.worldAlpha,this.dirtyColors=!0}}else k=8*r,this.verticies[k+0]=0,this.verticies[k+1]=0,this.verticies[k+2]=0,this.verticies[k+3]=0,this.verticies[k+4]=0,this.verticies[k+5]=0,this.verticies[k+6]=0,this.verticies[k+7]=0;r++,s=s.__next}},d}); \ No newline at end of file +!function(a,b){"function"==typeof define&&define.amd?define(b):"object"==typeof exports?module.exports=b():a.Phaser=b()}(this,function(){function a(a){return[(255&a>>16)/255,(255&a>>8)/255,(255&a)/255]}function b(){return c.Matrix="undefined"!=typeof Float32Array?Float32Array:Array,c.Matrix}function a(a){return[(255&a>>16)/255,(255&a>>8)/255,(255&a)/255]}var c=c||{},d=d||{VERSION:"1.1.3",DEV_VERSION:"1.1.3",GAMES:[],AUTO:0,CANVAS:1,WEBGL:2,HEADLESS:3,SPRITE:0,BUTTON:1,BULLET:2,GRAPHICS:3,TEXT:4,TILESPRITE:5,BITMAPTEXT:6,GROUP:7,RENDERTEXTURE:8,TILEMAP:9,TILEMAPLAYER:10,EMITTER:11,POLYGON:12,BITMAPDATA:13,CANVAS_FILTER:14,WEBGL_FILTER:15,NONE:0,LEFT:1,RIGHT:2,UP:3,DOWN:4};c.InteractionManager=function(){},d.Utils={shuffle:function(a){for(var b=a.length-1;b>0;b--){var c=Math.floor(Math.random()*(b+1)),d=a[b];a[b]=a[c],a[c]=d}return a},pad:function(a,b,c,d){if("undefined"==typeof b)var b=0;if("undefined"==typeof c)var c=" ";if("undefined"==typeof d)var d=3;var e=0;if(b+1>=a.length)switch(d){case 1:a=Array(b+1-a.length).join(c)+a;break;case 3:var f=Math.ceil((e=b-a.length)/2),g=e-f;a=Array(g+1).join(c)+a+Array(f+1).join(c);break;default:a+=Array(b+1-a.length).join(c)}return a},isPlainObject:function(a){if("object"!=typeof a||a.nodeType||a===a.window)return!1;try{if(a.constructor&&!hasOwn.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(b){return!1}return!0},extend:function(){var a,b,c,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;for("boolean"==typeof h&&(k=h,h=arguments[1]||{},i=2),j===i&&(h=this,--i);j>i;i++)if(null!=(a=arguments[i]))for(b in a)c=h[b],e=a[b],h!==e&&(k&&e&&(d.Utils.isPlainObject(e)||(f=Array.isArray(e)))?(f?(f=!1,g=c&&Array.isArray(c)?c:[]):g=c&&d.Utils.isPlainObject(c)?c:{},h[b]=d.Utils.extend(k,g,e)):void 0!==e&&(h[b]=e));return h}},function(){var a=!1;a&&(window.console=void 0),void 0===window.console&&(window.console={debug:function(){return!0},info:function(){return!1},warn:function(){return!1},log:function(){return!1}}),debug=function(a){window.console.debug(a)},info=function(a){window.console.info(a)},warn=function(a){window.console.warn(a)},log=function(a){window.console.log(a)}}(),"function"!=typeof Function.prototype.bind&&(Function.prototype.bind=function(){var a=Array.prototype.slice;return function(b){function c(){var f=e.concat(a.call(arguments));d.apply(this instanceof c?this:b,f)}var d=this,e=a.call(arguments,1);if("function"!=typeof d)throw new TypeError;return c.prototype=function f(a){return a&&(f.prototype=a),this instanceof f?void 0:new f}(d.prototype),c}}()),b(),c.mat3={},c.mat3.create=function(){var a=new c.Matrix(9);return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=1,a[5]=0,a[6]=0,a[7]=0,a[8]=1,a},c.mat3.identity=function(a){return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=1,a[5]=0,a[6]=0,a[7]=0,a[8]=1,a},c.mat4={},c.mat4.create=function(){var a=new c.Matrix(16);return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=1,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=1,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a},c.mat3.multiply=function(a,b,c){c||(c=a);var d=a[0],e=a[1],f=a[2],g=a[3],h=a[4],i=a[5],j=a[6],k=a[7],l=a[8],m=b[0],n=b[1],o=b[2],p=b[3],q=b[4],r=b[5],s=b[6],t=b[7],u=b[8];return c[0]=m*d+n*g+o*j,c[1]=m*e+n*h+o*k,c[2]=m*f+n*i+o*l,c[3]=p*d+q*g+r*j,c[4]=p*e+q*h+r*k,c[5]=p*f+q*i+r*l,c[6]=s*d+t*g+u*j,c[7]=s*e+t*h+u*k,c[8]=s*f+t*i+u*l,c},c.mat3.clone=function(a){var b=new c.Matrix(9);return b[0]=a[0],b[1]=a[1],b[2]=a[2],b[3]=a[3],b[4]=a[4],b[5]=a[5],b[6]=a[6],b[7]=a[7],b[8]=a[8],b},c.mat3.transpose=function(a,b){if(!b||a===b){var c=a[1],d=a[2],e=a[5];return a[1]=a[3],a[2]=a[6],a[3]=c,a[5]=a[7],a[6]=d,a[7]=e,a}return b[0]=a[0],b[1]=a[3],b[2]=a[6],b[3]=a[1],b[4]=a[4],b[5]=a[7],b[6]=a[2],b[7]=a[5],b[8]=a[8],b},c.mat3.toMat4=function(a,b){return b||(b=c.mat4.create()),b[15]=1,b[14]=0,b[13]=0,b[12]=0,b[11]=0,b[10]=a[8],b[9]=a[7],b[8]=a[6],b[7]=0,b[6]=a[5],b[5]=a[4],b[4]=a[3],b[3]=0,b[2]=a[2],b[1]=a[1],b[0]=a[0],b},c.mat4.create=function(){var a=new c.Matrix(16);return a[0]=1,a[1]=0,a[2]=0,a[3]=0,a[4]=0,a[5]=1,a[6]=0,a[7]=0,a[8]=0,a[9]=0,a[10]=1,a[11]=0,a[12]=0,a[13]=0,a[14]=0,a[15]=1,a},c.mat4.transpose=function(a,b){if(!b||a===b){var c=a[1],d=a[2],e=a[3],f=a[6],g=a[7],h=a[11];return a[1]=a[4],a[2]=a[8],a[3]=a[12],a[4]=c,a[6]=a[9],a[7]=a[13],a[8]=d,a[9]=f,a[11]=a[14],a[12]=e,a[13]=g,a[14]=h,a}return b[0]=a[0],b[1]=a[4],b[2]=a[8],b[3]=a[12],b[4]=a[1],b[5]=a[5],b[6]=a[9],b[7]=a[13],b[8]=a[2],b[9]=a[6],b[10]=a[10],b[11]=a[14],b[12]=a[3],b[13]=a[7],b[14]=a[11],b[15]=a[15],b},c.mat4.multiply=function(a,b,c){c||(c=a);var d=a[0],e=a[1],f=a[2],g=a[3],h=a[4],i=a[5],j=a[6],k=a[7],l=a[8],m=a[9],n=a[10],o=a[11],p=a[12],q=a[13],r=a[14],s=a[15],t=b[0],u=b[1],v=b[2],w=b[3];return c[0]=t*d+u*h+v*l+w*p,c[1]=t*e+u*i+v*m+w*q,c[2]=t*f+u*j+v*n+w*r,c[3]=t*g+u*k+v*o+w*s,t=b[4],u=b[5],v=b[6],w=b[7],c[4]=t*d+u*h+v*l+w*p,c[5]=t*e+u*i+v*m+w*q,c[6]=t*f+u*j+v*n+w*r,c[7]=t*g+u*k+v*o+w*s,t=b[8],u=b[9],v=b[10],w=b[11],c[8]=t*d+u*h+v*l+w*p,c[9]=t*e+u*i+v*m+w*q,c[10]=t*f+u*j+v*n+w*r,c[11]=t*g+u*k+v*o+w*s,t=b[12],u=b[13],v=b[14],w=b[15],c[12]=t*d+u*h+v*l+w*p,c[13]=t*e+u*i+v*m+w*q,c[14]=t*f+u*j+v*n+w*r,c[15]=t*g+u*k+v*o+w*s,c},c.Point=function(a,b){this.x=a||0,this.y=b||0},c.Point.prototype.clone=function(){return new c.Point(this.x,this.y)},c.Point.prototype.constructor=c.Point,c.Rectangle=function(a,b,c,d){this.x=a||0,this.y=b||0,this.width=c||0,this.height=d||0},c.Rectangle.prototype.clone=function(){return new c.Rectangle(this.x,this.y,this.width,this.height)},c.Rectangle.prototype.contains=function(a,b){if(this.width<=0||this.height<=0)return!1;var c=this.x;if(a>=c&&a<=c+this.width){var d=this.y;if(b>=d&&b<=d+this.height)return!0}return!1},c.Rectangle.prototype.constructor=c.Rectangle,c.Polygon=function(a){if(a instanceof Array||(a=Array.prototype.slice.call(arguments)),"number"==typeof a[0]){for(var b=[],d=0,e=a.length;e>d;d+=2)b.push(new c.Point(a[d],a[d+1]));a=b}this.points=a},c.Polygon.prototype.clone=function(){for(var a=[],b=0;bb!=i>b&&(h-f)*(b-g)/(i-g)+f>a;j&&(c=!c)}return c},c.Polygon.prototype.constructor=c.Polygon,c.DisplayObject=function(){this.last=this,this.first=this,this.position=new c.Point,this.scale=new c.Point(1,1),this.pivot=new c.Point(0,0),this.rotation=0,this.alpha=1,this.visible=!0,this.hitArea=null,this.buttonMode=!1,this.renderable=!1,this.parent=null,this.stage=null,this.worldAlpha=1,this._interactive=!1,this.worldTransform=c.mat3.create(),this.localTransform=c.mat3.create(),this.color=[],this.dynamic=!0,this._sr=0,this._cr=1,this.filterArea=new c.Rectangle(0,0,1,1)},c.DisplayObject.prototype.constructor=c.DisplayObject,c.DisplayObject.prototype.setInteractive=function(a){this.interactive=a},Object.defineProperty(c.DisplayObject.prototype,"interactive",{get:function(){return this._interactive},set:function(a){this._interactive=a,this.stage&&(this.stage.dirty=!0)}}),Object.defineProperty(c.DisplayObject.prototype,"mask",{get:function(){return this._mask},set:function(a){a?this._mask?(a.start=this._mask.start,a.end=this._mask.end):(this.addFilter(a),a.renderable=!1):(this.removeFilter(this._mask),this._mask.renderable=!0),this._mask=a}}),Object.defineProperty(c.DisplayObject.prototype,"filters",{get:function(){return this._filters},set:function(a){if(a){this._filters&&this.removeFilter(this._filters),this.addFilter(a);for(var b=[],c=0;c=0&&b<=this.children.length))throw new Error(a+" The index "+b+" supplied is out of bounds "+this.children.length);if(void 0!=a.parent&&a.parent.removeChild(a),a.parent=this,this.stage){var c=a;do c.interactive&&(this.stage.dirty=!0),c.stage=this.stage,c=c._iNext;while(c)}var d,e,f=a.first,g=a.last;if(b==this.children.length){e=this.last;for(var h=this,i=this.last;h;)h.last==i&&(h.last=a.last),h=h.parent}else e=0===b?this:this.children[b-1].last;d=e._iNext,d&&(d._iPrev=g,g._iNext=d),f._iPrev=e,e._iNext=f,this.children.splice(b,0,a),this.__renderGroup&&(a.__renderGroup&&a.__renderGroup.removeDisplayObjectAndChildren(a),this.__renderGroup.addDisplayObjectAndChildren(a))},c.DisplayObjectContainer.prototype.swapChildren=function(){},c.DisplayObjectContainer.prototype.getChildAt=function(a){if(a>=0&&aa;a++)this.children[a].updateTransform()}},c.blendModes={},c.blendModes.NORMAL=0,c.blendModes.SCREEN=1,c.Sprite=function(a){c.DisplayObjectContainer.call(this),this.anchor=new c.Point,this.texture=a,this.blendMode=c.blendModes.NORMAL,this._width=0,this._height=0,a.baseTexture.hasLoaded?this.updateFrame=!0:(this.onTextureUpdateBind=this.onTextureUpdate.bind(this),this.texture.addEventListener("update",this.onTextureUpdateBind)),this.renderable=!0},c.Sprite.prototype=Object.create(c.DisplayObjectContainer.prototype),c.Sprite.prototype.constructor=c.Sprite,Object.defineProperty(c.Sprite.prototype,"width",{get:function(){return this.scale.x*this.texture.frame.width},set:function(a){this.scale.x=a/this.texture.frame.width,this._width=a}}),Object.defineProperty(c.Sprite.prototype,"height",{get:function(){return this.scale.y*this.texture.frame.height},set:function(a){this.scale.y=a/this.texture.frame.height,this._height=a}}),c.Sprite.prototype.setTexture=function(a){this.texture.baseTexture!=a.baseTexture?(this.textureChange=!0,this.texture=a,this.__renderGroup&&this.__renderGroup.updateTexture(this)):this.texture=a,this.updateFrame=!0},c.Sprite.prototype.onTextureUpdate=function(){this._width&&(this.scale.x=this._width/this.texture.frame.width),this._height&&(this.scale.y=this._height/this.texture.frame.height),this.updateFrame=!0},c.Sprite.fromFrame=function(a){var b=c.TextureCache[a];if(!b)throw new Error("The frameId '"+a+"' does not exist in the texture cache"+this);return new c.Sprite(b)},c.Sprite.fromImage=function(a){var b=c.Texture.fromImage(a);return new c.Sprite(b)},c.Stage=function(a){c.DisplayObjectContainer.call(this),this.worldTransform=c.mat3.create(),this.interactive=!0,this.interactionManager=new c.InteractionManager(this),this.dirty=!0,this.__childrenAdded=[],this.__childrenRemoved=[],this.stage=this,this.stage.hitArea=new c.Rectangle(0,0,1e5,1e5),this.setBackgroundColor(a),this.worldVisible=!0},c.Stage.prototype=Object.create(c.DisplayObjectContainer.prototype),c.Stage.prototype.constructor=c.Stage,c.Stage.prototype.setInteractionDelegate=function(a){this.interactionManager.setTargetDomElement(a)},c.Stage.prototype.updateTransform=function(){this.worldAlpha=1,this.vcount=c.visibleCount;for(var a=0,b=this.children.length;b>a;a++)this.children[a].updateTransform();this.dirty&&(this.dirty=!1,this.interactionManager.dirty=!0),this.interactive&&this.interactionManager.update()},c.Stage.prototype.setBackgroundColor=function(b){this.backgroundColor=b||0,this.backgroundColorSplit=a(this.backgroundColor);var c=this.backgroundColor.toString(16);c="000000".substr(0,6-c.length)+c,this.backgroundColorString="#"+c},c.Stage.prototype.getMousePosition=function(){return this.interactionManager.mouse.global},c.CustomRenderable=function(){c.DisplayObject.call(this),this.renderable=!0},c.CustomRenderable.prototype=Object.create(c.DisplayObject.prototype),c.CustomRenderable.prototype.constructor=c.CustomRenderable,c.CustomRenderable.prototype.renderCanvas=function(){},c.CustomRenderable.prototype.initWebGL=function(){},c.CustomRenderable.prototype.renderWebGL=function(){},c.Strip=function(a,b,d){c.DisplayObjectContainer.call(this),this.texture=a,this.blendMode=c.blendModes.NORMAL;try{this.uvs=new Float32Array([0,1,1,1,1,0,0,1]),this.verticies=new Float32Array([0,0,0,0,0,0,0,0,0]),this.colors=new Float32Array([1,1,1,1]),this.indices=new Uint16Array([0,1,2,3])}catch(e){this.uvs=[0,1,1,1,1,0,0,1],this.verticies=[0,0,0,0,0,0,0,0,0],this.colors=[1,1,1,1],this.indices=[0,1,2,3]}this.width=b,this.height=d,a.baseTexture.hasLoaded?(this.width=this.texture.frame.width,this.height=this.texture.frame.height,this.updateFrame=!0):(this.onTextureUpdateBind=this.onTextureUpdate.bind(this),this.texture.addEventListener("update",this.onTextureUpdateBind)),this.renderable=!0},c.Strip.prototype=Object.create(c.DisplayObjectContainer.prototype),c.Strip.prototype.constructor=c.Strip,c.Strip.prototype.setTexture=function(a){this.texture=a,this.width=a.frame.width,this.height=a.frame.height,this.updateFrame=!0},c.Strip.prototype.onTextureUpdate=function(){this.updateFrame=!0},c.Rope=function(a,b){c.Strip.call(this,a),this.points=b;try{this.verticies=new Float32Array(4*b.length),this.uvs=new Float32Array(4*b.length),this.colors=new Float32Array(2*b.length),this.indices=new Uint16Array(2*b.length)}catch(d){this.verticies=verticies,this.uvs=uvs,this.colors=colors,this.indices=indices}this.refresh()},c.Rope.prototype=Object.create(c.Strip.prototype),c.Rope.prototype.constructor=c.Rope,c.Rope.prototype.refresh=function(){var a=this.points;if(!(a.length<1)){var b=this.uvs,c=this.indices,d=this.colors,e=a[0],f=a[0];this.count-=.2,b[0]=0,b[1]=1,b[2]=0,b[3]=1,d[0]=1,d[1]=1,c[0]=0,c[1]=1;for(var g=a.length,h=1;g>h;h++){var f=a[h],i=4*h,j=h/(g-1);h%2?(b[i]=j,b[i+1]=0,b[i+2]=j,b[i+3]=1):(b[i]=j,b[i+1]=0,b[i+2]=j,b[i+3]=1),i=2*h,d[i]=1,d[i+1]=1,i=2*h,c[i]=i,c[i+1]=i+1,e=f}}},c.Rope.prototype.updateTransform=function(){var a=this.points;if(!(a.length<1)){var b,d=this.verticies,e=a[0],f={x:0,y:0},g=a[0];this.count-=.2,d[0]=g.x+f.x,d[1]=g.y+f.y,d[2]=g.x-f.x,d[3]=g.y-f.y;for(var h=a.length,i=1;h>i;i++){var g=a[i],j=4*i;b=i1&&(k=1);var l=Math.sqrt(f.x*f.x+f.y*f.y),m=this.texture.height/2;f.x/=l,f.y/=l,f.x*=m,f.y*=m,d[j]=g.x+f.x,d[j+1]=g.y+f.y,d[j+2]=g.x-f.x,d[j+3]=g.y-f.y,e=g}c.DisplayObjectContainer.prototype.updateTransform.call(this)}},c.Rope.prototype.setTexture=function(a){this.texture=a,this.updateFrame=!0},c.TilingSprite=function(a,b,d){c.DisplayObjectContainer.call(this),this.texture=a,this.width=b,this.height=d,this.tileScale=new c.Point(1,1),this.tilePosition=new c.Point(0,0),this.renderable=!0,this.blendMode=c.blendModes.NORMAL},c.TilingSprite.prototype=Object.create(c.DisplayObjectContainer.prototype),c.TilingSprite.prototype.constructor=c.TilingSprite,c.TilingSprite.prototype.setTexture=function(a){this.texture=a,this.updateFrame=!0},c.TilingSprite.prototype.onTextureUpdate=function(){this.updateFrame=!0},c.AbstractFilter=function(a,b){this.passes=[this],this.dirty=!0,this.padding=0,this.uniforms=b||{},this.fragmentSrc=a||[]},c.FilterBlock=function(){this.visible=!0,this.renderable=!0},c.Graphics=function(){c.DisplayObjectContainer.call(this),this.renderable=!0,this.fillAlpha=1,this.lineWidth=0,this.lineColor="black",this.graphicsData=[],this.currentPath={points:[]}},c.Graphics.prototype=Object.create(c.DisplayObjectContainer.prototype),c.Graphics.prototype.constructor=c.Graphics,c.Graphics.prototype.lineStyle=function(a,b,d){0===this.currentPath.points.length&&this.graphicsData.pop(),this.lineWidth=a||0,this.lineColor=b||0,this.lineAlpha=void 0==d?1:d,this.currentPath={lineWidth:this.lineWidth,lineColor:this.lineColor,lineAlpha:this.lineAlpha,fillColor:this.fillColor,fillAlpha:this.fillAlpha,fill:this.filling,points:[],type:c.Graphics.POLY},this.graphicsData.push(this.currentPath)},c.Graphics.prototype.moveTo=function(a,b){0===this.currentPath.points.length&&this.graphicsData.pop(),this.currentPath=this.currentPath={lineWidth:this.lineWidth,lineColor:this.lineColor,lineAlpha:this.lineAlpha,fillColor:this.fillColor,fillAlpha:this.fillAlpha,fill:this.filling,points:[],type:c.Graphics.POLY},this.currentPath.points.push(a,b),this.graphicsData.push(this.currentPath)},c.Graphics.prototype.lineTo=function(a,b){this.currentPath.points.push(a,b),this.dirty=!0},c.Graphics.prototype.beginFill=function(a,b){this.filling=!0,this.fillColor=a||0,this.fillAlpha=void 0==b?1:b},c.Graphics.prototype.endFill=function(){this.filling=!1,this.fillColor=null,this.fillAlpha=1},c.Graphics.prototype.drawRect=function(a,b,d,e){0===this.currentPath.points.length&&this.graphicsData.pop(),this.currentPath={lineWidth:this.lineWidth,lineColor:this.lineColor,lineAlpha:this.lineAlpha,fillColor:this.fillColor,fillAlpha:this.fillAlpha,fill:this.filling,points:[a,b,d,e],type:c.Graphics.RECT},this.graphicsData.push(this.currentPath),this.dirty=!0},c.Graphics.prototype.drawCircle=function(a,b,d){0===this.currentPath.points.length&&this.graphicsData.pop(),this.currentPath={lineWidth:this.lineWidth,lineColor:this.lineColor,lineAlpha:this.lineAlpha,fillColor:this.fillColor,fillAlpha:this.fillAlpha,fill:this.filling,points:[a,b,d,d],type:c.Graphics.CIRC},this.graphicsData.push(this.currentPath),this.dirty=!0},c.Graphics.prototype.drawElipse=function(a,b,d,e){0===this.currentPath.points.length&&this.graphicsData.pop(),this.currentPath={lineWidth:this.lineWidth,lineColor:this.lineColor,lineAlpha:this.lineAlpha,fillColor:this.fillColor,fillAlpha:this.fillAlpha,fill:this.filling,points:[a,b,d,e],type:c.Graphics.ELIP},this.graphicsData.push(this.currentPath),this.dirty=!0},c.Graphics.prototype.clear=function(){this.lineWidth=0,this.filling=!1,this.dirty=!0,this.clearDirty=!0,this.graphicsData=[],this.bounds=null},c.Graphics.prototype.updateFilterBounds=function(){if(!this.bounds){for(var a,b,d,e=1/0,f=-1/0,g=1/0,h=-1/0,i=0;ib?b:e,f=b+m>f?b+m:f,g=g>d?b:g,h=d+n>h?d+n:h}else if(k===c.Graphics.CIRC||k===c.Graphics.ELIP){b=a.x,d=a.y;var o=a.radius+l/2;e=e>b-o?b-o:e,f=b+o>f?b+o:f,g=g>d-o?d-o:g,h=d+o>h?d+o:h}else for(var p=0;pb-l?b-l:e,f=b+l>f?b+l:f,g=g>d-l?d-l:g,h=d+l>h?d+l:h}this.bounds=new c.Rectangle(e,g,f-e,h-g)}},c.Graphics.POLY=0,c.Graphics.RECT=1,c.Graphics.CIRC=2,c.Graphics.ELIP=3,c.CanvasGraphics=function(){},c.CanvasGraphics.renderGraphics=function(a,b){for(var d=a.worldAlpha,e=0;e1&&(d=1,console.log("Pixi.js warning: masks in canvas can only mask using the first path in the graphics object"));for(var e=0;1>e;e++){var f=a.graphicsData[e],g=f.points;if(f.type==c.Graphics.POLY){b.beginPath(),b.moveTo(g[0],g[1]);for(var h=1;h0&&(c.Texture.frameUpdates=[])},c.CanvasRenderer.prototype.resize=function(a,b){this.width=a,this.height=b,this.view.width=a,this.view.height=b},c.CanvasRenderer.prototype.renderDisplayObject=function(a){var b,d=this.context;d.globalCompositeOperation="source-over";var e=a.last._iNext;a=a.first;do if(b=a.worldTransform,a.visible)if(a.renderable){if(a instanceof c.Sprite){var f=a.texture.frame;f&&f.width&&f.height&&(d.globalAlpha=a.worldAlpha,d.setTransform(b[0],b[3],b[1],b[4],b[2],b[5]),d.drawImage(a.texture.baseTexture.source,f.x,f.y,f.width,f.height,a.anchor.x*-f.width,a.anchor.y*-f.height,f.width,f.height))}else if(a instanceof c.Strip)d.setTransform(b[0],b[3],b[1],b[4],b[2],b[5]),this.renderStrip(a);else if(a instanceof c.TilingSprite)d.setTransform(b[0],b[3],b[1],b[4],b[2],b[5]),this.renderTilingSprite(a);else if(a instanceof c.CustomRenderable)d.setTransform(b[0],b[3],b[1],b[4],b[2],b[5]),a.renderCanvas(this);else if(a instanceof c.Graphics)d.setTransform(b[0],b[3],b[1],b[4],b[2],b[5]),c.CanvasGraphics.renderGraphics(a,d);else if(a instanceof c.FilterBlock&&a.data instanceof c.Graphics){var g=a.data;if(a.open){d.save();var h=g.alpha,i=g.worldTransform;d.setTransform(i[0],i[3],i[1],i[4],i[2],i[5]),g.worldAlpha=.5,d.worldAlpha=0,c.CanvasGraphics.renderGraphicsMask(g,d),d.clip(),g.worldAlpha=h}else d.restore()}a=a._iNext}else a=a._iNext;else a=a.last._iNext;while(a!=e)},c.CanvasRenderer.prototype.renderStripFlat=function(a){var b=this.context,c=a.verticies;a.uvs;var d=c.length/2;this.count++,b.beginPath();for(var e=1;d-2>e;e++){var f=2*e,g=c[f],h=c[f+2],i=c[f+4],j=c[f+1],k=c[f+3],l=c[f+5];b.moveTo(g,j),b.lineTo(h,k),b.lineTo(i,l)}b.fillStyle="#FF0000",b.fill(),b.closePath()},c.CanvasRenderer.prototype.renderTilingSprite=function(a){var b=this.context;b.globalAlpha=a.worldAlpha,a.__tilePattern||(a.__tilePattern=b.createPattern(a.texture.baseTexture.source,"repeat")),b.beginPath();var c=a.tilePosition,d=a.tileScale;b.scale(d.x,d.y),b.translate(c.x,c.y),b.fillStyle=a.__tilePattern,b.fillRect(-c.x,-c.y,a.width/d.x,a.height/d.y),b.scale(1/d.x,1/d.y),b.translate(-c.x,-c.y),b.closePath()},c.CanvasRenderer.prototype.renderStrip=function(a){var b=this.context,c=a.verticies,d=a.uvs,e=c.length/2;this.count++;for(var f=1;e-2>f;f++){var g=2*f,h=c[g],i=c[g+2],j=c[g+4],k=c[g+1],l=c[g+3],m=c[g+5],n=d[g]*a.texture.width,o=d[g+2]*a.texture.width,p=d[g+4]*a.texture.width,q=d[g+1]*a.texture.height,r=d[g+3]*a.texture.height,s=d[g+5]*a.texture.height;b.save(),b.beginPath(),b.moveTo(h,k),b.lineTo(i,l),b.lineTo(j,m),b.closePath(),b.clip();var t=n*r+q*p+o*s-r*p-q*o-n*s,u=h*r+q*j+i*s-r*j-q*i-h*s,v=n*i+h*p+o*j-i*p-h*o-n*j,w=n*r*j+q*i*p+h*o*s-h*r*p-q*o*j-n*i*s,x=k*r+q*m+l*s-r*m-q*l-k*s,y=n*l+k*p+o*m-l*p-k*o-n*m,z=n*r*m+q*l*p+k*o*s-k*r*p-q*o*m-n*l*s;b.transform(u/t,x/t,v/t,y/t,w/t,z/t),b.drawImage(a.texture.baseTexture.source,0,0),b.restore()}},c.PixiShader=function(){this.program,this.fragmentSrc=["precision lowp float;","varying vec2 vTextureCoord;","varying float vColor;","uniform sampler2D uSampler;","void main(void) {","gl_FragColor = texture2D(uSampler, vTextureCoord) * vColor;","}"],this.textureCount=0},c.PixiShader.prototype.init=function(){var a=c.compileProgram(this.vertexSrc||c.PixiShader.defaultVertexSrc,this.fragmentSrc),b=c.gl;b.useProgram(a),this.uSampler=b.getUniformLocation(a,"uSampler"),this.projectionVector=b.getUniformLocation(a,"projectionVector"),this.offsetVector=b.getUniformLocation(a,"offsetVector"),this.dimensions=b.getUniformLocation(a,"dimensions"),this.aVertexPosition=b.getAttribLocation(a,"aVertexPosition"),this.colorAttribute=b.getAttribLocation(a,"aColor"),this.aTextureCoord=b.getAttribLocation(a,"aTextureCoord");for(var d in this.uniforms)this.uniforms[d].uniformLocation=b.getUniformLocation(a,d);this.initUniforms(),this.program=a},c.PixiShader.prototype.initUniforms=function(){this.textureCount=1;var a;for(var b in this.uniforms){var a=this.uniforms[b],d=a.type;"sampler2D"==d?(a._init=!1,null!==a.value&&this.initSampler2D(a)):"mat2"==d||"mat3"==d||"mat4"==d?(a.glMatrix=!0,a.glValueLength=1,"mat2"==d?a.glFunc=c.gl.uniformMatrix2fv:"mat3"==d?a.glFunc=c.gl.uniformMatrix3fv:"mat4"==d&&(a.glFunc=c.gl.uniformMatrix4fv)):(a.glFunc=c.gl["uniform"+d],a.glValueLength="2f"==d||"2i"==d?2:"3f"==d||"3i"==d?3:"4f"==d||"4i"==d?4:1)}},c.PixiShader.prototype.initSampler2D=function(a){if(a.value&&a.value.baseTexture&&a.value.baseTexture.hasLoaded){if(c.gl.activeTexture(c.gl["TEXTURE"+this.textureCount]),c.gl.bindTexture(c.gl.TEXTURE_2D,a.value.baseTexture._glTexture),a.textureData){var b=a.textureData,d=b.magFilter?b.magFilter:c.gl.LINEAR,e=b.minFilter?b.minFilter:c.gl.LINEAR,f=b.wrapS?b.wrapS:c.gl.CLAMP_TO_EDGE,g=b.wrapT?b.wrapT:c.gl.CLAMP_TO_EDGE,h=b.luminance?c.gl.LUMINANCE:c.gl.RGBA;if(b.repeat&&(f=c.gl.REPEAT,g=c.gl.REPEAT),c.gl.pixelStorei(c.gl.UNPACK_FLIP_Y_WEBGL,!1),b.width){var i=b.width?b.width:512,j=b.height?b.height:2,k=b.border?b.border:0;c.gl.texImage2D(c.gl.TEXTURE_2D,0,h,i,j,k,h,c.gl.UNSIGNED_BYTE,null)}else c.gl.texImage2D(c.gl.TEXTURE_2D,0,h,c.gl.RGBA,c.gl.UNSIGNED_BYTE,a.value.baseTexture.source);c.gl.texParameteri(c.gl.TEXTURE_2D,c.gl.TEXTURE_MAG_FILTER,d),c.gl.texParameteri(c.gl.TEXTURE_2D,c.gl.TEXTURE_MIN_FILTER,e),c.gl.texParameteri(c.gl.TEXTURE_2D,c.gl.TEXTURE_WRAP_S,f),c.gl.texParameteri(c.gl.TEXTURE_2D,c.gl.TEXTURE_WRAP_T,g)}c.gl.uniform1i(a.uniformLocation,this.textureCount),a._init=!0,this.textureCount++}},c.PixiShader.prototype.syncUniforms=function(){this.textureCount=1;var a;for(var b in this.uniforms)a=this.uniforms[b],1==a.glValueLength?a.glMatrix===!0?a.glFunc.call(c.gl,a.uniformLocation,a.transpose,a.value):a.glFunc.call(c.gl,a.uniformLocation,a.value):2==a.glValueLength?a.glFunc.call(c.gl,a.uniformLocation,a.value.x,a.value.y):3==a.glValueLength?a.glFunc.call(c.gl,a.uniformLocation,a.value.x,a.value.y,a.value.z):4==a.glValueLength?a.glFunc.call(c.gl,a.uniformLocation,a.value.x,a.value.y,a.value.z,a.value.w):"sampler2D"==a.type&&(a._init?(c.gl.activeTexture(c.gl["TEXTURE"+this.textureCount]),c.gl.bindTexture(c.gl.TEXTURE_2D,a.value.baseTexture._glTexture),c.gl.uniform1i(a.uniformLocation,this.textureCount),this.textureCount++):this.initSampler2D(a))},c.PixiShader.defaultVertexSrc=["attribute vec2 aVertexPosition;","attribute vec2 aTextureCoord;","attribute float aColor;","uniform vec2 projectionVector;","uniform vec2 offsetVector;","varying vec2 vTextureCoord;","varying float vColor;","const vec2 center = vec2(-1.0, 1.0);","void main(void) {","gl_Position = vec4( ((aVertexPosition + offsetVector) / projectionVector) + center , 0.0, 1.0);","vTextureCoord = aTextureCoord;","vColor = aColor;","}"],c.PrimitiveShader=function(){this.program,this.fragmentSrc=["precision mediump float;","varying vec4 vColor;","void main(void) {","gl_FragColor = vColor;","}"],this.vertexSrc=["attribute vec2 aVertexPosition;","attribute vec4 aColor;","uniform mat3 translationMatrix;","uniform vec2 projectionVector;","uniform vec2 offsetVector;","uniform float alpha;","varying vec4 vColor;","void main(void) {","vec3 v = translationMatrix * vec3(aVertexPosition , 1.0);","v -= offsetVector.xyx;","gl_Position = vec4( v.x / projectionVector.x -1.0, v.y / -projectionVector.y + 1.0 , 0.0, 1.0);","vColor = aColor * alpha;","}"] +},c.PrimitiveShader.prototype.init=function(){var a=c.compileProgram(this.vertexSrc,this.fragmentSrc),b=c.gl;b.useProgram(a),this.projectionVector=b.getUniformLocation(a,"projectionVector"),this.offsetVector=b.getUniformLocation(a,"offsetVector"),this.aVertexPosition=b.getAttribLocation(a,"aVertexPosition"),this.colorAttribute=b.getAttribLocation(a,"aColor"),this.translationMatrix=b.getUniformLocation(a,"translationMatrix"),this.alpha=b.getUniformLocation(a,"alpha"),this.program=a},c.StripShader=function(){this.program,this.fragmentSrc=["precision mediump float;","varying vec2 vTextureCoord;","varying float vColor;","uniform float alpha;","uniform sampler2D uSampler;","void main(void) {","gl_FragColor = texture2D(uSampler, vec2(vTextureCoord.x, vTextureCoord.y));","gl_FragColor = gl_FragColor * alpha;","}"],this.vertexSrc=["attribute vec2 aVertexPosition;","attribute vec2 aTextureCoord;","attribute float aColor;","uniform mat3 translationMatrix;","uniform vec2 projectionVector;","varying vec2 vTextureCoord;","varying vec2 offsetVector;","varying float vColor;","void main(void) {","vec3 v = translationMatrix * vec3(aVertexPosition, 1.0);","v -= offsetVector.xyx;","gl_Position = vec4( v.x / projectionVector.x -1.0, v.y / projectionVector.y + 1.0 , 0.0, 1.0);","vTextureCoord = aTextureCoord;","vColor = aColor;","}"]},c.StripShader.prototype.init=function(){var a=c.compileProgram(this.vertexSrc,this.fragmentSrc),b=c.gl;b.useProgram(a),this.uSampler=b.getUniformLocation(a,"uSampler"),this.projectionVector=b.getUniformLocation(a,"projectionVector"),this.offsetVector=b.getUniformLocation(a,"offsetVector"),this.colorAttribute=b.getAttribLocation(a,"aColor"),this.aVertexPosition=b.getAttribLocation(a,"aVertexPosition"),this.aTextureCoord=b.getAttribLocation(a,"aTextureCoord"),this.translationMatrix=b.getUniformLocation(a,"translationMatrix"),this.alpha=b.getUniformLocation(a,"alpha"),this.program=a},c._batchs=[],c._getBatch=function(a){return 0===c._batchs.length?new c.WebGLBatch(a):c._batchs.pop()},c._returnBatch=function(a){a.clean(),c._batchs.push(a)},c._restoreBatchs=function(a){for(var b=0;bc;c++){var d=6*c,e=4*c;this.indices[d+0]=e+0,this.indices[d+1]=e+1,this.indices[d+2]=e+2,this.indices[d+3]=e+0,this.indices[d+4]=e+2,this.indices[d+5]=e+3}a.bindBuffer(a.ELEMENT_ARRAY_BUFFER,this.indexBuffer),a.bufferData(a.ELEMENT_ARRAY_BUFFER,this.indices,a.STATIC_DRAW)},c.WebGLBatch.prototype.refresh=function(){this.gl,this.dynamicSizethis.width&&(f.width=this.width),f.y<0&&(f.y=0),f.height>this.height&&(f.height=this.height),b.bindFramebuffer(b.FRAMEBUFFER,e.frameBuffer),b.viewport(0,0,f.width,f.height),c.projection.x=f.width/2,c.projection.y=-f.height/2,c.offset.x=-f.x,c.offset.y=-f.y,b.uniform2f(c.defaultShader.projectionVector,f.width/2,-f.height/2),b.uniform2f(c.defaultShader.offsetVector,-f.x,-f.y),b.colorMask(!0,!0,!0,!0),b.clearColor(0,0,0,0),b.clear(b.COLOR_BUFFER_BIT),a._glFilterTexture=e},c.WebGLFilterManager.prototype.popFilter=function(){var a=c.gl,b=this.filterStack.pop(),d=b.target.filterArea,e=b._glFilterTexture;if(b.filterPasses.length>1){a.viewport(0,0,d.width,d.height),a.bindBuffer(a.ARRAY_BUFFER,this.vertexBuffer),this.vertexArray[0]=0,this.vertexArray[1]=d.height,this.vertexArray[2]=d.width,this.vertexArray[3]=d.height,this.vertexArray[4]=0,this.vertexArray[5]=0,this.vertexArray[6]=d.width,this.vertexArray[7]=0,a.bufferSubData(a.ARRAY_BUFFER,0,this.vertexArray),a.bindBuffer(a.ARRAY_BUFFER,this.uvBuffer),this.uvArray[2]=d.width/this.width,this.uvArray[5]=d.height/this.height,this.uvArray[6]=d.width/this.width,this.uvArray[7]=d.height/this.height,a.bufferSubData(a.ARRAY_BUFFER,0,this.uvArray);var f=e,g=this.texturePool.pop();g||(g=new c.FilterTexture(this.width,this.height)),a.bindFramebuffer(a.FRAMEBUFFER,g.frameBuffer),a.clear(a.COLOR_BUFFER_BIT),a.disable(a.BLEND);for(var h=0;hs?s:E,E=E>t?t:E,E=E>u?u:E,E=E>v?v:E,F=F>w?w:F,F=F>x?x:F,F=F>y?y:F,F=F>z?z:F,C=s>C?s:C,C=t>C?t:C,C=u>C?u:C,C=v>C?v:C,D=w>D?w:D,D=x>D?x:D,D=y>D?y:D,D=z>D?z:D),l=!1,A=A._iNext}while(A!=B);a.filterArea.x=E,a.filterArea.y=F,a.filterArea.width=C-E,a.filterArea.height=D-F},c.FilterTexture=function(a,b){var d=c.gl;this.frameBuffer=d.createFramebuffer(),this.texture=d.createTexture(),d.bindTexture(d.TEXTURE_2D,this.texture),d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MAG_FILTER,d.LINEAR),d.texParameteri(d.TEXTURE_2D,d.TEXTURE_MIN_FILTER,d.LINEAR),d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_S,d.CLAMP_TO_EDGE),d.texParameteri(d.TEXTURE_2D,d.TEXTURE_WRAP_T,d.CLAMP_TO_EDGE),d.bindFramebuffer(d.FRAMEBUFFER,this.framebuffer),d.bindFramebuffer(d.FRAMEBUFFER,this.frameBuffer),d.framebufferTexture2D(d.FRAMEBUFFER,d.COLOR_ATTACHMENT0,d.TEXTURE_2D,this.texture,0),this.resize(a,b)},c.FilterTexture.prototype.resize=function(a,b){this.width=a,this.height=b;var d=c.gl;d.bindTexture(d.TEXTURE_2D,this.texture),d.texImage2D(d.TEXTURE_2D,0,d.RGBA,a,b,0,d.RGBA,d.UNSIGNED_BYTE,null)},c.WebGLGraphics=function(){},c.WebGLGraphics.renderGraphics=function(a,b){var d=c.gl;a._webGL||(a._webGL={points:[],indices:[],lastIndex:0,buffer:d.createBuffer(),indexBuffer:d.createBuffer()}),a.dirty&&(a.dirty=!1,a.clearDirty&&(a.clearDirty=!1,a._webGL.lastIndex=0,a._webGL.points=[],a._webGL.indices=[]),c.WebGLGraphics.updateGraphics(a)),c.activatePrimitiveShader();var e=c.mat3.clone(a.worldTransform);c.mat3.transpose(e),d.blendFunc(d.ONE,d.ONE_MINUS_SRC_ALPHA),d.uniformMatrix3fv(c.primitiveShader.translationMatrix,!1,e),d.uniform2f(c.primitiveShader.projectionVector,b.x,-b.y),d.uniform2f(c.primitiveShader.offsetVector,-c.offset.x,-c.offset.y),d.uniform1f(c.primitiveShader.alpha,a.worldAlpha),d.bindBuffer(d.ARRAY_BUFFER,a._webGL.buffer),d.vertexAttribPointer(c.primitiveShader.aVertexPosition,2,d.FLOAT,!1,24,0),d.vertexAttribPointer(c.primitiveShader.colorAttribute,4,d.FLOAT,!1,24,8),d.bindBuffer(d.ELEMENT_ARRAY_BUFFER,a._webGL.indexBuffer),d.drawElements(d.TRIANGLE_STRIP,a._webGL.indices.length,d.UNSIGNED_SHORT,0),c.deactivatePrimitiveShader()},c.WebGLGraphics.updateGraphics=function(a){for(var b=a._webGL.lastIndex;b3&&c.WebGLGraphics.buildPoly(d,a._webGL),d.lineWidth>0&&c.WebGLGraphics.buildLine(d,a._webGL)):d.type==c.Graphics.RECT?c.WebGLGraphics.buildRectangle(d,a._webGL):(d.type==c.Graphics.CIRC||d.type==c.Graphics.ELIP)&&c.WebGLGraphics.buildCircle(d,a._webGL)}a._webGL.lastIndex=a.graphicsData.length;var e=c.gl;a._webGL.glPoints=new Float32Array(a._webGL.points),e.bindBuffer(e.ARRAY_BUFFER,a._webGL.buffer),e.bufferData(e.ARRAY_BUFFER,a._webGL.glPoints,e.STATIC_DRAW),a._webGL.glIndicies=new Uint16Array(a._webGL.indices),e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,a._webGL.indexBuffer),e.bufferData(e.ELEMENT_ARRAY_BUFFER,a._webGL.glIndicies,e.STATIC_DRAW)},c.WebGLGraphics.buildRectangle=function(b,d){var e=b.points,f=e[0],g=e[1],h=e[2],i=e[3];if(b.fill){var j=a(b.fillColor),k=b.fillAlpha,l=j[0]*k,m=j[1]*k,n=j[2]*k,o=d.points,p=d.indices,q=o.length/6;o.push(f,g),o.push(l,m,n,k),o.push(f+h,g),o.push(l,m,n,k),o.push(f,g+i),o.push(l,m,n,k),o.push(f+h,g+i),o.push(l,m,n,k),p.push(q,q,q+1,q+2,q+3,q+3)}b.lineWidth&&(b.points=[f,g,f+h,g,f+h,g+i,f,g+i,f,g],c.WebGLGraphics.buildLine(b,d))},c.WebGLGraphics.buildCircle=function(b,d){var e=b.points,f=e[0],g=e[1],h=e[2],i=e[3],j=40,k=2*Math.PI/j;if(b.fill){var l=a(b.fillColor),m=b.fillAlpha,n=l[0]*m,o=l[1]*m,p=l[2]*m,q=d.points,r=d.indices,s=q.length/6;r.push(s);for(var t=0;j+1>t;t++)q.push(f,g,n,o,p,m),q.push(f+Math.sin(k*t)*h,g+Math.cos(k*t)*i,n,o,p,m),r.push(s++,s++);r.push(s-1)}if(b.lineWidth){b.points=[];for(var t=0;j+1>t;t++)b.points.push(f+Math.sin(k*t)*h,g+Math.cos(k*t)*i);c.WebGLGraphics.buildLine(b,d)}},c.WebGLGraphics.buildLine=function(b,d){var e=b.points;if(0!==e.length){if(b.lineWidth%2)for(var f=0;ff;f++)k=e[2*(f-1)],l=e[2*(f-1)+1],m=e[2*f],n=e[2*f+1],o=e[2*(f+1)],p=e[2*(f+1)+1],q=-(l-n),r=k-m,E=Math.sqrt(q*q+r*r),q/=E,r/=E,q*=K,r*=K,s=-(n-p),t=m-o,E=Math.sqrt(s*s+t*t),s/=E,t/=E,s*=K,t*=K,w=-r+l-(-r+n),x=-q+m-(-q+k),y=(-q+k)*(-r+n)-(-q+m)*(-r+l),z=-t+p-(-t+n),A=-s+m-(-s+o),B=(-s+o)*(-t+n)-(-s+m)*(-t+p),C=w*A-z*x,Math.abs(C)<.1?(C+=10.1,F.push(m-q,n-r,N,O,P,M),F.push(m+q,n+r,N,O,P,M)):(px=(x*B-A*y)/C,py=(z*y-w*B)/C,D=(px-m)*(px-m)+(py-n)+(py-n),D>19600?(u=q-s,v=r-t,E=Math.sqrt(u*u+v*v),u/=E,v/=E,u*=K,v*=K,F.push(m-u,n-v),F.push(N,O,P,M),F.push(m+u,n+v),F.push(N,O,P,M),F.push(m-u,n-v),F.push(N,O,P,M),I++):(F.push(px,py),F.push(N,O,P,M),F.push(m-(px-m),n-(py-n)),F.push(N,O,P,M)));k=e[2*(H-2)],l=e[2*(H-2)+1],m=e[2*(H-1)],n=e[2*(H-1)+1],q=-(l-n),r=k-m,E=Math.sqrt(q*q+r*r),q/=E,r/=E,q*=K,r*=K,F.push(m-q,n-r),F.push(N,O,P,M),F.push(m+q,n+r),F.push(N,O,P,M),G.push(J);for(var f=0;I>f;f++)G.push(J++);G.push(J-1)}},c.WebGLGraphics.buildPoly=function(b,d){var e=b.points;if(!(e.length<6)){for(var f=d.points,g=d.indices,h=e.length/2,i=a(b.fillColor),j=b.fillAlpha,k=i[0]*j,l=i[1]*j,m=i[2]*j,n=c.PolyK.Triangulate(e),o=f.length/6,p=0;pp;p++)f.push(e[2*p],e[2*p+1],k,l,m,j)}},c._defaultFrame=new c.Rectangle(0,0,1,1),c.gl,c.WebGLRenderer=function(a,b,d,e,f){this.transparent=!!e,this.width=a||800,this.height=b||600,this.view=d||document.createElement("canvas"),this.view.width=this.width,this.view.height=this.height;var g=this;this.view.addEventListener("webglcontextlost",function(a){g.handleContextLost(a)},!1),this.view.addEventListener("webglcontextrestored",function(a){g.handleContextRestored(a)},!1),this.batchs=[];var h={alpha:this.transparent,antialias:!!f,premultipliedAlpha:!1,stencil:!0};try{c.gl=this.gl=this.view.getContext("experimental-webgl",h)}catch(i){try{c.gl=this.gl=this.view.getContext("webgl",h)}catch(i){throw new Error(" This browser does not support webGL. Try using the canvas renderer"+this)}}c.initDefaultShaders();var j=this.gl;j.useProgram(c.defaultShader.program),c.WebGLRenderer.gl=j,this.batch=new c.WebGLBatch(j),j.disable(j.DEPTH_TEST),j.disable(j.CULL_FACE),j.enable(j.BLEND),j.colorMask(!0,!0,!0,this.transparent),c.projection=new c.Point(400,300),c.offset=new c.Point(0,0),this.resize(this.width,this.height),this.contextLost=!1,this.stageRenderGroup=new c.WebGLRenderGroup(this.gl,this.transparent)},c.WebGLRenderer.prototype.constructor=c.WebGLRenderer,c.WebGLRenderer.getBatch=function(){return 0===c._batchs.length?new c.WebGLBatch(c.WebGLRenderer.gl):c._batchs.pop()},c.WebGLRenderer.returnBatch=function(a){a.clean(),c._batchs.push(a)},c.WebGLRenderer.prototype.render=function(a){if(!this.contextLost){this.__stage!==a&&(this.__stage=a,this.stageRenderGroup.setRenderable(a)),c.WebGLRenderer.updateTextures(),c.visibleCount++,a.updateTransform();var b=this.gl;if(b.colorMask(!0,!0,!0,this.transparent),b.viewport(0,0,this.width,this.height),b.bindFramebuffer(b.FRAMEBUFFER,null),b.clearColor(a.backgroundColorSplit[0],a.backgroundColorSplit[1],a.backgroundColorSplit[2],!this.transparent),b.clear(b.COLOR_BUFFER_BIT),this.stageRenderGroup.backgroundColor=a.backgroundColorSplit,c.projection.x=this.width/2,c.projection.y=-this.height/2,this.stageRenderGroup.render(c.projection),a.interactive&&(a._interactiveEventsAdded||(a._interactiveEventsAdded=!0,a.interactionManager.setTarget(this))),c.Texture.frameUpdates.length>0){for(var d=0;dn;n++)renderable=this.batchs[n],renderable instanceof c.WebGLBatch?this.batchs[n].render():this.renderSpecial(renderable,b);endBatch instanceof c.WebGLBatch?endBatch.render(0,h+1):this.renderSpecial(endBatch,b)},c.WebGLRenderGroup.prototype.renderSpecial=function(a,b){var d=a.vcount===c.visibleCount;a instanceof c.TilingSprite?d&&this.renderTilingSprite(a,b):a instanceof c.Strip?d&&this.renderStrip(a,b):a instanceof c.CustomRenderable?d&&a.renderWebGL(this,b):a instanceof c.Graphics?d&&a.renderable&&c.WebGLGraphics.renderGraphics(a,b):a instanceof c.FilterBlock&&this.handleFilterBlock(a,b)},flip=!1;var e=[],f=0;return c.WebGLRenderGroup.prototype.handleFilterBlock=function(a,b){var d=c.gl;if(a.open)a.data instanceof Array?this.filterManager.pushFilter(a):(f++,e.push(a),d.enable(d.STENCIL_TEST),d.colorMask(!1,!1,!1,!1),d.stencilFunc(d.ALWAYS,1,1),d.stencilOp(d.KEEP,d.KEEP,d.INCR),c.WebGLGraphics.renderGraphics(a.data,b),d.colorMask(!0,!0,!0,!0),d.stencilFunc(d.NOTEQUAL,0,e.length),d.stencilOp(d.KEEP,d.KEEP,d.KEEP));else if(a.data instanceof Array)this.filterManager.popFilter();else{var g=e.pop(a);g&&(d.colorMask(!1,!1,!1,!1),d.stencilFunc(d.ALWAYS,1,1),d.stencilOp(d.KEEP,d.KEEP,d.DECR),c.WebGLGraphics.renderGraphics(g.data,b),d.colorMask(!0,!0,!0,!0),d.stencilFunc(d.NOTEQUAL,0,e.length),d.stencilOp(d.KEEP,d.KEEP,d.KEEP)),d.disable(d.STENCIL_TEST)}},c.WebGLRenderGroup.prototype.updateTexture=function(a){this.removeObject(a);for(var b=a.first;b!=this.root&&(b=b._iPrev,!b.renderable||!b.__renderGroup););for(var c=a.last;c._iNext&&(c=c._iNext,!c.renderable||!c.__renderGroup););this.insertObject(a,b,c)},c.WebGLRenderGroup.prototype.addFilterBlocks=function(a,b){a.__renderGroup=this,b.__renderGroup=this;for(var c=a;c!=this.root.first&&(c=c._iPrev,!c.renderable||!c.__renderGroup););this.insertAfter(a,c);for(var d=b;d!=this.root.first&&(d=d._iPrev,!d.renderable||!d.__renderGroup););this.insertAfter(b,d)},c.WebGLRenderGroup.prototype.removeFilterBlocks=function(a,b){this.removeObject(a),this.removeObject(b)},c.WebGLRenderGroup.prototype.addDisplayObjectAndChildren=function(a){a.__renderGroup&&a.__renderGroup.removeDisplayObjectAndChildren(a);for(var b=a.first;b!=this.root.first&&(b=b._iPrev,!b.renderable||!b.__renderGroup););for(var c=a.last;c._iNext&&(c=c._iNext,!c.renderable||!c.__renderGroup););var d=a.first,e=a.last._iNext;do d.__renderGroup=this,d.renderable&&(this.insertObject(d,b,c),b=d),d=d._iNext;while(d!=e)},c.WebGLRenderGroup.prototype.removeDisplayObjectAndChildren=function(a){if(a.__renderGroup==this){a.last;do a.__renderGroup=null,a.renderable&&this.removeObject(a),a=a._iNext;while(a)}},c.WebGLRenderGroup.prototype.insertObject=function(a,b,d){var e=b,f=d;if(a instanceof c.Sprite){var g,h;if(e instanceof c.Sprite){if(g=e.batch,g&&g.texture==a.texture.baseTexture&&g.blendMode==a.blendMode)return g.insertAfter(a,e),void 0}else g=e;if(f)if(f instanceof c.Sprite){if(h=f.batch){if(h.texture==a.texture.baseTexture&&h.blendMode==a.blendMode)return h.insertBefore(a,f),void 0;if(h==g){var i=g.split(f),j=c.WebGLRenderer.getBatch(),k=this.batchs.indexOf(g);return j.init(a),this.batchs.splice(k+1,0,j,i),void 0}}}else h=f;var j=c.WebGLRenderer.getBatch();if(j.init(a),g){var k=this.batchs.indexOf(g);this.batchs.splice(k+1,0,j)}else this.batchs.push(j)}else a instanceof c.TilingSprite?this.initTilingSprite(a):a instanceof c.Strip&&this.initStrip(a),this.insertAfter(a,e)},c.WebGLRenderGroup.prototype.insertAfter=function(a,b){if(b instanceof c.Sprite){var d=b.batch;if(d)if(d.tail==b){var e=this.batchs.indexOf(d);this.batchs.splice(e+1,0,a)}else{var f=d.split(b.__next),e=this.batchs.indexOf(d);this.batchs.splice(e+1,0,a,f)}else this.batchs.push(a)}else{var e=this.batchs.indexOf(b);this.batchs.splice(e+1,0,a)}},c.WebGLRenderGroup.prototype.removeObject=function(a){var b;if(a instanceof c.Sprite){var d=a.batch;if(!d)return;d.remove(a),0==d.size&&(b=d)}else b=a;if(b){var e=this.batchs.indexOf(b);if(-1==e)return;if(0===e||e==this.batchs.length-1)return this.batchs.splice(e,1),b instanceof c.WebGLBatch&&c.WebGLRenderer.returnBatch(b),void 0;if(this.batchs[e-1]instanceof c.WebGLBatch&&this.batchs[e+1]instanceof c.WebGLBatch&&this.batchs[e-1].texture==this.batchs[e+1].texture&&this.batchs[e-1].blendMode==this.batchs[e+1].blendMode)return this.batchs[e-1].merge(this.batchs[e+1]),b instanceof c.WebGLBatch&&c.WebGLRenderer.returnBatch(b),c.WebGLRenderer.returnBatch(this.batchs[e+1]),this.batchs.splice(e,2),void 0;this.batchs.splice(e,1),b instanceof c.WebGLBatch&&c.WebGLRenderer.returnBatch(b)}},c.WebGLRenderGroup.prototype.initTilingSprite=function(a){var b=this.gl;a.verticies=new Float32Array([0,0,a.width,0,a.width,a.height,0,a.height]),a.uvs=new Float32Array([0,0,1,0,1,1,0,1]),a.colors=new Float32Array([1,1,1,1]),a.indices=new Uint16Array([0,1,3,2]),a._vertexBuffer=b.createBuffer(),a._indexBuffer=b.createBuffer(),a._uvBuffer=b.createBuffer(),a._colorBuffer=b.createBuffer(),b.bindBuffer(b.ARRAY_BUFFER,a._vertexBuffer),b.bufferData(b.ARRAY_BUFFER,a.verticies,b.STATIC_DRAW),b.bindBuffer(b.ARRAY_BUFFER,a._uvBuffer),b.bufferData(b.ARRAY_BUFFER,a.uvs,b.DYNAMIC_DRAW),b.bindBuffer(b.ARRAY_BUFFER,a._colorBuffer),b.bufferData(b.ARRAY_BUFFER,a.colors,b.STATIC_DRAW),b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,a._indexBuffer),b.bufferData(b.ELEMENT_ARRAY_BUFFER,a.indices,b.STATIC_DRAW),a.texture.baseTexture._glTexture?(b.bindTexture(b.TEXTURE_2D,a.texture.baseTexture._glTexture),b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_S,b.REPEAT),b.texParameteri(b.TEXTURE_2D,b.TEXTURE_WRAP_T,b.REPEAT),a.texture.baseTexture._powerOf2=!0):a.texture.baseTexture._powerOf2=!0},c.WebGLRenderGroup.prototype.renderStrip=function(a,b){var d=this.gl;c.activateStripShader();var e=c.stripShader;e.program;var f=c.mat3.clone(a.worldTransform);c.mat3.transpose(f),d.uniformMatrix3fv(e.translationMatrix,!1,f),d.uniform2f(e.projectionVector,b.x,b.y),d.uniform2f(e.offsetVector,-c.offset.x,-c.offset.y),d.uniform1f(e.alpha,a.worldAlpha),a.dirty?(a.dirty=!1,d.bindBuffer(d.ARRAY_BUFFER,a._vertexBuffer),d.bufferData(d.ARRAY_BUFFER,a.verticies,d.STATIC_DRAW),d.vertexAttribPointer(e.aVertexPosition,2,d.FLOAT,!1,0,0),d.bindBuffer(d.ARRAY_BUFFER,a._uvBuffer),d.bufferData(d.ARRAY_BUFFER,a.uvs,d.STATIC_DRAW),d.vertexAttribPointer(e.aTextureCoord,2,d.FLOAT,!1,0,0),d.activeTexture(d.TEXTURE0),d.bindTexture(d.TEXTURE_2D,a.texture.baseTexture._glTexture),d.bindBuffer(d.ARRAY_BUFFER,a._colorBuffer),d.bufferData(d.ARRAY_BUFFER,a.colors,d.STATIC_DRAW),d.vertexAttribPointer(e.colorAttribute,1,d.FLOAT,!1,0,0),d.bindBuffer(d.ELEMENT_ARRAY_BUFFER,a._indexBuffer),d.bufferData(d.ELEMENT_ARRAY_BUFFER,a.indices,d.STATIC_DRAW)):(d.bindBuffer(d.ARRAY_BUFFER,a._vertexBuffer),d.bufferSubData(d.ARRAY_BUFFER,0,a.verticies),d.vertexAttribPointer(e.aVertexPosition,2,d.FLOAT,!1,0,0),d.bindBuffer(d.ARRAY_BUFFER,a._uvBuffer),d.vertexAttribPointer(e.aTextureCoord,2,d.FLOAT,!1,0,0),d.activeTexture(d.TEXTURE0),d.bindTexture(d.TEXTURE_2D,a.texture.baseTexture._glTexture),d.bindBuffer(d.ARRAY_BUFFER,a._colorBuffer),d.vertexAttribPointer(e.colorAttribute,1,d.FLOAT,!1,0,0),d.bindBuffer(d.ELEMENT_ARRAY_BUFFER,a._indexBuffer)),d.drawElements(d.TRIANGLE_STRIP,a.indices.length,d.UNSIGNED_SHORT,0),c.deactivateStripShader() +},c.WebGLRenderGroup.prototype.renderTilingSprite=function(a,b){var d=this.gl;c.shaderProgram;var e=a.tilePosition,f=a.tileScale,g=e.x/a.texture.baseTexture.width,h=e.y/a.texture.baseTexture.height,i=a.width/a.texture.baseTexture.width/f.x,j=a.height/a.texture.baseTexture.height/f.y;a.uvs[0]=0-g,a.uvs[1]=0-h,a.uvs[2]=1*i-g,a.uvs[3]=0-h,a.uvs[4]=1*i-g,a.uvs[5]=1*j-h,a.uvs[6]=0-g,a.uvs[7]=1*j-h,d.bindBuffer(d.ARRAY_BUFFER,a._uvBuffer),d.bufferSubData(d.ARRAY_BUFFER,0,a.uvs),this.renderStrip(a,b)},c.WebGLRenderGroup.prototype.initStrip=function(a){var b=this.gl;this.shaderProgram,a._vertexBuffer=b.createBuffer(),a._indexBuffer=b.createBuffer(),a._uvBuffer=b.createBuffer(),a._colorBuffer=b.createBuffer(),b.bindBuffer(b.ARRAY_BUFFER,a._vertexBuffer),b.bufferData(b.ARRAY_BUFFER,a.verticies,b.DYNAMIC_DRAW),b.bindBuffer(b.ARRAY_BUFFER,a._uvBuffer),b.bufferData(b.ARRAY_BUFFER,a.uvs,b.STATIC_DRAW),b.bindBuffer(b.ARRAY_BUFFER,a._colorBuffer),b.bufferData(b.ARRAY_BUFFER,a.colors,b.STATIC_DRAW),b.bindBuffer(b.ELEMENT_ARRAY_BUFFER,a._indexBuffer),b.bufferData(b.ELEMENT_ARRAY_BUFFER,a.indices,b.STATIC_DRAW)},c.initDefaultShaders=function(){c.primitiveShader=new c.PrimitiveShader,c.primitiveShader.init(),c.stripShader=new c.StripShader,c.stripShader.init(),c.defaultShader=new c.PixiShader,c.defaultShader.init();var a=c.gl,b=c.defaultShader.program;a.useProgram(b),a.enableVertexAttribArray(c.defaultShader.aVertexPosition),a.enableVertexAttribArray(c.defaultShader.colorAttribute),a.enableVertexAttribArray(c.defaultShader.aTextureCoord)},c.activatePrimitiveShader=function(){var a=c.gl;a.useProgram(c.primitiveShader.program),a.disableVertexAttribArray(c.defaultShader.aVertexPosition),a.disableVertexAttribArray(c.defaultShader.colorAttribute),a.disableVertexAttribArray(c.defaultShader.aTextureCoord),a.enableVertexAttribArray(c.primitiveShader.aVertexPosition),a.enableVertexAttribArray(c.primitiveShader.colorAttribute)},c.deactivatePrimitiveShader=function(){var a=c.gl;a.useProgram(c.defaultShader.program),a.disableVertexAttribArray(c.primitiveShader.aVertexPosition),a.disableVertexAttribArray(c.primitiveShader.colorAttribute),a.enableVertexAttribArray(c.defaultShader.aVertexPosition),a.enableVertexAttribArray(c.defaultShader.colorAttribute),a.enableVertexAttribArray(c.defaultShader.aTextureCoord)},c.activateStripShader=function(){var a=c.gl;a.useProgram(c.stripShader.program)},c.deactivateStripShader=function(){var a=c.gl;a.useProgram(c.defaultShader.program)},c.CompileVertexShader=function(a,b){return c._CompileShader(a,b,a.VERTEX_SHADER)},c.CompileFragmentShader=function(a,b){return c._CompileShader(a,b,a.FRAGMENT_SHADER)},c._CompileShader=function(a,b,c){var d=b.join("\n"),e=a.createShader(c);return a.shaderSource(e,d),a.compileShader(e),a.getShaderParameter(e,a.COMPILE_STATUS)?e:(console.log(a.getShaderInfoLog(e)),null)},c.compileProgram=function(a,b){var d=c.gl,e=c.CompileFragmentShader(d,b),f=c.CompileVertexShader(d,a),g=d.createProgram();return d.attachShader(g,f),d.attachShader(g,e),d.linkProgram(g),d.getProgramParameter(g,d.LINK_STATUS)||console.log("Could not initialise shaders"),g},c.BitmapText=function(a,b){c.DisplayObjectContainer.call(this),this.setText(a),this.setStyle(b),this.updateText(),this.dirty=!1},c.BitmapText.prototype=Object.create(c.DisplayObjectContainer.prototype),c.BitmapText.prototype.constructor=c.BitmapText,c.BitmapText.prototype.setText=function(a){this.text=a||" ",this.dirty=!0},c.BitmapText.prototype.setStyle=function(a){a=a||{},a.align=a.align||"left",this.style=a;var b=a.font.split(" ");this.fontName=b[b.length-1],this.fontSize=b.length>=2?parseInt(b[b.length-2],10):c.BitmapText.fonts[this.fontName].size,this.dirty=!0},c.BitmapText.prototype.updateText=function(){for(var a=c.BitmapText.fonts[this.fontName],b=new c.Point,d=null,e=[],f=0,g=[],h=0,i=this.fontSize/a.size,j=0;j=j;j++){var n=0;"right"==this.style.align?n=f-g[j]:"center"==this.style.align&&(n=(f-g[j])/2),m.push(n)}for(j=0;j0;)this.removeChild(this.getChildAt(0));this.updateText(),this.dirty=!1}c.DisplayObjectContainer.prototype.updateTransform.call(this)},c.BitmapText.fonts={},c.Text=function(a,b){this.canvas=document.createElement("canvas"),this.context=this.canvas.getContext("2d"),c.Sprite.call(this,c.Texture.fromCanvas(this.canvas)),this.setText(a),this.setStyle(b),this.updateText(),this.dirty=!1},c.Text.prototype=Object.create(c.Sprite.prototype),c.Text.prototype.constructor=c.Text,c.Text.prototype.setStyle=function(a){a=a||{},a.font=a.font||"bold 20pt Arial",a.fill=a.fill||"black",a.align=a.align||"left",a.stroke=a.stroke||"black",a.strokeThickness=a.strokeThickness||0,a.wordWrap=a.wordWrap||!1,a.wordWrapWidth=a.wordWrapWidth||100,this.style=a,this.dirty=!0},c.Text.prototype.setText=function(a){this.text=a.toString()||" ",this.dirty=!0},c.Text.prototype.updateText=function(){this.context.font=this.style.font;var a=this.text;this.style.wordWrap&&(a=this.wordWrap(this.text));for(var b=a.split(/(?:\r\n|\r|\n)/),d=[],e=0,f=0;fe?(g>0&&(b+="\n"),b+=f[g]+" ",e=this.style.wordWrapWidth-h):(e-=i,b+=f[g]+" ")}b+="\n"}return b},c.Text.prototype.destroy=function(a){a&&this.texture.destroy()},c.Text.heightCache={},c.BaseTextureCache={},c.texturesToUpdate=[],c.texturesToDestroy=[],c.BaseTexture=function(a){if(c.EventTarget.call(this),this.width=100,this.height=100,this.hasLoaded=!1,this.source=a,a){if(this.source instanceof Image||this.source instanceof HTMLImageElement)if(this.source.complete)this.hasLoaded=!0,this.width=this.source.width,this.height=this.source.height,c.texturesToUpdate.push(this);else{var b=this;this.source.onload=function(){b.hasLoaded=!0,b.width=b.source.width,b.height=b.source.height,c.texturesToUpdate.push(b),b.dispatchEvent({type:"loaded",content:b})}}else this.hasLoaded=!0,this.width=this.source.width,this.height=this.source.height,c.texturesToUpdate.push(this);this._powerOf2=!1}},c.BaseTexture.prototype.constructor=c.BaseTexture,c.BaseTexture.prototype.destroy=function(){this.source instanceof Image&&(this.source.src=null),this.source=null,c.texturesToDestroy.push(this)},c.BaseTexture.fromImage=function(a,b){var d=c.BaseTextureCache[a];if(!d){var e=new Image;b&&(e.crossOrigin=""),e.src=a,d=new c.BaseTexture(e),c.BaseTextureCache[a]=d}return d},c.TextureCache={},c.FrameCache={},c.Texture=function(a,b){if(c.EventTarget.call(this),b||(this.noFrame=!0,b=new c.Rectangle(0,0,1,1)),a instanceof c.Texture&&(a=a.baseTexture),this.baseTexture=a,this.frame=b,this.trim=new c.Point,this.scope=this,a.hasLoaded)this.noFrame&&(b=new c.Rectangle(0,0,a.width,a.height)),this.setFrame(b);else{var d=this;a.addEventListener("loaded",function(){d.onBaseTextureLoaded()})}},c.Texture.prototype.constructor=c.Texture,c.Texture.prototype.onBaseTextureLoaded=function(){var a=this.baseTexture;a.removeEventListener("loaded",this.onLoaded),this.noFrame&&(this.frame=new c.Rectangle(0,0,a.width,a.height)),this.noFrame=!1,this.width=this.frame.width,this.height=this.frame.height,this.scope.dispatchEvent({type:"update",content:this})},c.Texture.prototype.destroy=function(a){a&&this.baseTexture.destroy()},c.Texture.prototype.setFrame=function(a){if(this.frame=a,this.width=a.width,this.height=a.height,a.x+a.width>this.baseTexture.width||a.y+a.height>this.baseTexture.height)throw new Error("Texture Error: frame does not fit inside the base Texture dimensions "+this);this.updateFrame=!0,c.Texture.frameUpdates.push(this)},c.Texture.fromImage=function(a,b){var d=c.TextureCache[a];return d||(d=new c.Texture(c.BaseTexture.fromImage(a,b)),c.TextureCache[a]=d),d},c.Texture.fromFrame=function(a){var b=c.TextureCache[a];if(!b)throw new Error("The frameId '"+a+"' does not exist in the texture cache "+this);return b},c.Texture.fromCanvas=function(a){var b=new c.BaseTexture(a);return new c.Texture(b)},c.Texture.addTextureToCache=function(a,b){c.TextureCache[b]=a},c.Texture.removeTextureFromCache=function(a){var b=c.TextureCache[a];return c.TextureCache[a]=null,b},c.Texture.frameUpdates=[],c.RenderTexture=function(a,b){c.EventTarget.call(this),this.width=a||100,this.height=b||100,this.indetityMatrix=c.mat3.create(),this.frame=new c.Rectangle(0,0,this.width,this.height),c.gl?this.initWebGL():this.initCanvas()},c.RenderTexture.prototype=Object.create(c.Texture.prototype),c.RenderTexture.prototype.constructor=c.RenderTexture,c.RenderTexture.prototype.initWebGL=function(){var a=c.gl;this.glFramebuffer=a.createFramebuffer(),a.bindFramebuffer(a.FRAMEBUFFER,this.glFramebuffer),this.glFramebuffer.width=this.width,this.glFramebuffer.height=this.height,this.baseTexture=new c.BaseTexture,this.baseTexture.width=this.width,this.baseTexture.height=this.height,this.baseTexture._glTexture=a.createTexture(),a.bindTexture(a.TEXTURE_2D,this.baseTexture._glTexture),a.texImage2D(a.TEXTURE_2D,0,a.RGBA,this.width,this.height,0,a.RGBA,a.UNSIGNED_BYTE,null),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MAG_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_MIN_FILTER,a.LINEAR),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_S,a.CLAMP_TO_EDGE),a.texParameteri(a.TEXTURE_2D,a.TEXTURE_WRAP_T,a.CLAMP_TO_EDGE),this.baseTexture.isRender=!0,a.bindFramebuffer(a.FRAMEBUFFER,this.glFramebuffer),a.framebufferTexture2D(a.FRAMEBUFFER,a.COLOR_ATTACHMENT0,a.TEXTURE_2D,this.baseTexture._glTexture,0),this.projection=new c.Point(this.width/2,-this.height/2),this.render=this.renderWebGL},c.RenderTexture.prototype.resize=function(a,b){if(this.width=a,this.height=b,c.gl){this.projection.x=this.width/2,this.projection.y=-this.height/2;var d=c.gl;d.bindTexture(d.TEXTURE_2D,this.baseTexture._glTexture),d.texImage2D(d.TEXTURE_2D,0,d.RGBA,this.width,this.height,0,d.RGBA,d.UNSIGNED_BYTE,null)}else this.frame.width=this.width,this.frame.height=this.height,this.renderer.resize(this.width,this.height)},c.RenderTexture.prototype.initCanvas=function(){this.renderer=new c.CanvasRenderer(this.width,this.height,null,0),this.baseTexture=new c.BaseTexture(this.renderer.view),this.frame=new c.Rectangle(0,0,this.width,this.height),this.render=this.renderCanvas},c.RenderTexture.prototype.renderWebGL=function(a,b,d){var e=c.gl;e.colorMask(!0,!0,!0,!0),e.viewport(0,0,this.width,this.height),e.bindFramebuffer(e.FRAMEBUFFER,this.glFramebuffer),d&&(e.clearColor(0,0,0,0),e.clear(e.COLOR_BUFFER_BIT));var f=a.children,g=a.worldTransform;a.worldTransform=c.mat3.create(),a.worldTransform[4]=-1,a.worldTransform[5]=-2*this.projection.y,b&&(a.worldTransform[2]=b.x,a.worldTransform[5]-=b.y),c.visibleCount++,a.vcount=c.visibleCount;for(var h=0,i=f.length;i>h;h++)f[h].updateTransform();var j=a.__renderGroup;j?a==j.root?j.render(this.projection,this.glFramebuffer):j.renderSpecific(a,this.projection,this.glFramebuffer):(this.renderGroup||(this.renderGroup=new c.WebGLRenderGroup(e)),this.renderGroup.setRenderable(a),this.renderGroup.render(this.projection,this.glFramebuffer)),a.worldTransform=g},c.RenderTexture.prototype.renderCanvas=function(a,b,d){var e=a.children;a.worldTransform=c.mat3.create(),b&&(a.worldTransform[2]=b.x,a.worldTransform[5]=b.y);for(var f=0,g=e.length;g>f;f++)e[f].updateTransform();d&&this.renderer.context.clearRect(0,0,this.width,this.height),this.renderer.renderDisplayObject(a),this.renderer.context.setTransform(1,0,0,1,0,0)},c.EventTarget=function(){var a={};this.addEventListener=this.on=function(b,c){void 0===a[b]&&(a[b]=[]),-1===a[b].indexOf(c)&&a[b].push(c)},this.dispatchEvent=this.emit=function(b){if(a[b.type]&&a[b.type].length)for(var c=0,d=a[b.type].length;d>c;c++)a[b.type][c](b)},this.removeEventListener=this.off=function(b,c){var d=a[b].indexOf(c);-1!==d&&a[b].splice(d,1)}},c.PolyK={},c.PolyK.Triangulate=function(a){var b=!0,d=a.length>>1;if(3>d)return[];for(var e=[],f=[],g=0;d>g;g++)f.push(g);for(var g=0,h=d;h>3;){var i=f[(g+0)%h],j=f[(g+1)%h],k=f[(g+2)%h],l=a[2*i],m=a[2*i+1],n=a[2*j],o=a[2*j+1],p=a[2*k],q=a[2*k+1],r=!1;if(c.PolyK._convex(l,m,n,o,p,q,b)){r=!0;for(var s=0;h>s;s++){var t=f[s];if(t!=i&&t!=j&&t!=k&&c.PolyK._PointInTriangle(a[2*t],a[2*t+1],l,m,n,o,p,q)){r=!1;break}}}if(r)e.push(i,j,k),f.splice((g+1)%h,1),h--,g=0;else if(g++>3*h){if(!b)return console.log("PIXI Warning: shape too complex to fill"),[];var e=[];f=[];for(var g=0;d>g;g++)f.push(g);g=0,h=d,b=!1}}return e.push(f[0],f[1],f[2]),e},c.PolyK._PointInTriangle=function(a,b,c,d,e,f,g,h){var i=g-c,j=h-d,k=e-c,l=f-d,m=a-c,n=b-d,o=i*i+j*j,p=i*k+j*l,q=i*m+j*n,r=k*k+l*l,s=k*m+l*n,t=1/(o*r-p*p),u=(r*q-p*s)*t,v=(o*s-p*q)*t;return u>=0&&v>=0&&1>u+v},c.PolyK._convex=function(a,b,c,d,e,f,g){return(b-d)*(e-c)+(c-a)*(f-d)>=0==g},d.Camera=function(a,b,c,e,f,g){this.game=a,this.world=a.world,this.id=0,this.view=new d.Rectangle(c,e,f,g),this.screenView=new d.Rectangle(c,e,f,g),this.bounds=new d.Rectangle(c,e,f,g),this.deadzone=null,this.visible=!0,this.atLimit={x:!1,y:!1},this.target=null,this._edge=0,this.displayObject=null},d.Camera.FOLLOW_LOCKON=0,d.Camera.FOLLOW_PLATFORMER=1,d.Camera.FOLLOW_TOPDOWN=2,d.Camera.FOLLOW_TOPDOWN_TIGHT=3,d.Camera.prototype={follow:function(a,b){"undefined"==typeof b&&(b=d.Camera.FOLLOW_LOCKON),this.target=a;var c;switch(b){case d.Camera.FOLLOW_PLATFORMER:var e=this.width/8,f=this.height/3;this.deadzone=new d.Rectangle((this.width-e)/2,(this.height-f)/2-.25*f,e,f);break;case d.Camera.FOLLOW_TOPDOWN:c=Math.max(this.width,this.height)/4,this.deadzone=new d.Rectangle((this.width-c)/2,(this.height-c)/2,c,c);break;case d.Camera.FOLLOW_TOPDOWN_TIGHT:c=Math.max(this.width,this.height)/8,this.deadzone=new d.Rectangle((this.width-c)/2,(this.height-c)/2,c,c);break;case d.Camera.FOLLOW_LOCKON:this.deadzone=null;break;default:this.deadzone=null}},focusOn:function(a){this.setPosition(Math.round(a.x-this.view.halfWidth),Math.round(a.y-this.view.halfHeight))},focusOnXY:function(a,b){this.setPosition(Math.round(a-this.view.halfWidth),Math.round(b-this.view.halfHeight))},update:function(){this.target&&this.updateTarget(),this.bounds&&this.checkBounds(),this.displayObject.position.x=-this.view.x,this.displayObject.position.y=-this.view.y},updateTarget:function(){this.deadzone?(this._edge=this.target.x-this.deadzone.x,this.view.x>this._edge&&(this.view.x=this._edge),this._edge=this.target.x+this.target.width-this.deadzone.x-this.deadzone.width,this.view.xthis._edge&&(this.view.y=this._edge),this._edge=this.target.y+this.target.height-this.deadzone.y-this.deadzone.height,this.view.ythis.bounds.right-this.width&&(this.atLimit.x=!0,this.view.x=this.bounds.right-this.width+1),this.view.ythis.bounds.bottom-this.height&&(this.atLimit.y=!0,this.view.y=this.bounds.bottom-this.height+1),this.view.floor()},setPosition:function(a,b){this.view.x=a,this.view.y=b,this.bounds&&this.checkBounds()},setSize:function(a,b){this.view.width=a,this.view.height=b}},Object.defineProperty(d.Camera.prototype,"x",{get:function(){return this.view.x},set:function(a){this.view.x=a,this.bounds&&this.checkBounds()}}),Object.defineProperty(d.Camera.prototype,"y",{get:function(){return this.view.y},set:function(a){this.view.y=a,this.bounds&&this.checkBounds()}}),Object.defineProperty(d.Camera.prototype,"width",{get:function(){return this.view.width},set:function(a){this.view.width=a}}),Object.defineProperty(d.Camera.prototype,"height",{get:function(){return this.view.height},set:function(a){this.view.height=a}}),d.State=function(){this.game=null,this.add=null,this.camera=null,this.cache=null,this.input=null,this.load=null,this.math=null,this.sound=null,this.stage=null,this.time=null,this.tweens=null,this.world=null,this.particles=null,this.physics=null},d.State.prototype={preload:function(){},loadUpdate:function(){},loadRender:function(){},create:function(){},update:function(){},render:function(){},paused:function(){},destroy:function(){}},d.StateManager=function(a,b){this.game=a,this.states={},this._pendingState=null,null!==b&&(this._pendingState=b),this._created=!1,this.current="",this.onInitCallback=null,this.onPreloadCallback=null,this.onCreateCallback=null,this.onUpdateCallback=null,this.onRenderCallback=null,this.onPreRenderCallback=null,this.onLoadUpdateCallback=null,this.onLoadRenderCallback=null,this.onPausedCallback=null,this.onShutDownCallback=null},d.StateManager.prototype={boot:function(){this.game.onPause.add(this.pause,this),this.game.onResume.add(this.resume,this),null!==this._pendingState&&("string"==typeof this._pendingState?this.start(this._pendingState,!1,!1):this.add("default",this._pendingState,!0))},add:function(a,b,c){"undefined"==typeof c&&(c=!1);var e;return b instanceof d.State?e=b:"object"==typeof b?(e=b,e.game=this.game):"function"==typeof b&&(e=new b(this.game)),this.states[a]=e,c&&(this.game.isBooted?this.start(a):this._pendingState=a),e},remove:function(a){this.current==a&&(this.callbackContext=null,this.onInitCallback=null,this.onShutDownCallback=null,this.onPreloadCallback=null,this.onLoadRenderCallback=null,this.onLoadUpdateCallback=null,this.onCreateCallback=null,this.onUpdateCallback=null,this.onRenderCallback=null,this.onPausedCallback=null,this.onDestroyCallback=null),delete this.states[a]},start:function(a,b,c){return"undefined"==typeof b&&(b=!0),"undefined"==typeof c&&(c=!1),this.game.isBooted===!1?(this._pendingState=a,void 0):(this.checkState(a)!==!1&&(this.current&&this.onShutDownCallback.call(this.callbackContext,this.game),b&&(this.game.tweens.removeAll(),this.game.world.destroy(),c===!0&&this.game.cache.destroy()),this.setCurrentState(a),this.onPreloadCallback?(this.game.load.reset(),this.onPreloadCallback.call(this.callbackContext,this.game),0===this.game.load.totalQueuedFiles()?this.game.loadComplete():this.game.load.start()):this.game.loadComplete()),void 0)},dummy:function(){},checkState:function(a){if(this.states[a]){var b=!1;return this.states[a].preload&&(b=!0),b===!1&&this.states[a].loadRender&&(b=!0),b===!1&&this.states[a].loadUpdate&&(b=!0),b===!1&&this.states[a].create&&(b=!0),b===!1&&this.states[a].update&&(b=!0),b===!1&&this.states[a].preRender&&(b=!0),b===!1&&this.states[a].render&&(b=!0),b===!1&&this.states[a].paused&&(b=!0),b===!1?(console.warn("Invalid Phaser State object given. Must contain at least a one of the required functions."),!1):!0}return console.warn("Phaser.StateManager - No state found with the key: "+a),!1},link:function(a){this.states[a].game=this.game,this.states[a].add=this.game.add,this.states[a].camera=this.game.camera,this.states[a].cache=this.game.cache,this.states[a].input=this.game.input,this.states[a].load=this.game.load,this.states[a].math=this.game.math,this.states[a].sound=this.game.sound,this.states[a].stage=this.game.stage,this.states[a].time=this.game.time,this.states[a].tweens=this.game.tweens,this.states[a].world=this.game.world,this.states[a].particles=this.game.particles,this.states[a].physics=this.game.physics,this.states[a].rnd=this.game.rnd},setCurrentState:function(a){this.callbackContext=this.states[a],this.link(a),this.onInitCallback=this.states[a].init||this.dummy,this.onPreloadCallback=this.states[a].preload||null,this.onLoadRenderCallback=this.states[a].loadRender||null,this.onLoadUpdateCallback=this.states[a].loadUpdate||null,this.onCreateCallback=this.states[a].create||null,this.onUpdateCallback=this.states[a].update||null,this.onPreRenderCallback=this.states[a].preRender||null,this.onRenderCallback=this.states[a].render||null,this.onPausedCallback=this.states[a].paused||null,this.onShutDownCallback=this.states[a].shutdown||this.dummy,this.current=a,this._created=!1,this.onInitCallback.call(this.callbackContext,this.game)},loadComplete:function(){this._created===!1&&this.onCreateCallback?(this._created=!0,this.onCreateCallback.call(this.callbackContext,this.game)):this._created=!0},pause:function(){this._created&&this.onPausedCallback&&this.onPausedCallback.call(this.callbackContext,this.game,!0)},resume:function(){this._created&&this.onre&&this.onPausedCallback.call(this.callbackContext,this.game,!1)},update:function(){this._created&&this.onUpdateCallback?this.onUpdateCallback.call(this.callbackContext,this.game):this.onLoadUpdateCallback&&this.onLoadUpdateCallback.call(this.callbackContext,this.game)},preRender:function(){this.onPreRenderCallback&&this.onPreRenderCallback.call(this.callbackContext,this.game)},render:function(){this._created&&this.onRenderCallback?(this.game.renderType===d.CANVAS&&(this.game.context.save(),this.game.context.setTransform(1,0,0,1,0,0)),this.onRenderCallback.call(this.callbackContext,this.game),this.game.renderType===d.CANVAS&&this.game.context.restore()):this.onLoadRenderCallback&&this.onLoadRenderCallback.call(this.callbackContext,this.game)},destroy:function(){this.callbackContext=null,this.onInitCallback=null,this.onShutDownCallback=null,this.onPreloadCallback=null,this.onLoadRenderCallback=null,this.onLoadUpdateCallback=null,this.onCreateCallback=null,this.onUpdateCallback=null,this.onRenderCallback=null,this.onPausedCallback=null,this.onDestroyCallback=null,this.game=null,this.states={},this._pendingState=null}},d.LinkedList=function(){this.next=null,this.prev=null,this.first=null,this.last=null,this.total=0},d.LinkedList.prototype={add:function(a){return 0===this.total&&null==this.first&&null==this.last?(this.first=a,this.last=a,this.next=a,a.prev=this,this.total++,a):(this.last.next=a,a.prev=this.last,this.last=a,this.total++,a)},remove:function(a){a==this.first?this.first=this.first.next:a==this.last&&(this.last=this.last.prev),a.prev&&(a.prev.next=a.next),a.next&&(a.next.prev=a.prev),a.next=a.prev=null,null==this.first&&(this.last=null),this.total--},callAll:function(a){if(this.first&&this.last){var b=this.first;do b&&b[a]&&b[a].call(b),b=b.next;while(b!=this.last.next)}}},d.Signal=function(){this._bindings=[],this._prevParams=null;var a=this;this.dispatch=function(){d.Signal.prototype.dispatch.apply(a,arguments)}},d.Signal.prototype={memorize:!1,_shouldPropagate:!0,active:!0,validateListener:function(a,b){if("function"!=typeof a)throw new Error("listener is a required param of {fn}() and should be a Function.".replace("{fn}",b))},_registerListener:function(a,b,c,e){var f,g=this._indexOfListener(a,c);if(-1!==g){if(f=this._bindings[g],f.isOnce()!==b)throw new Error("You cannot add"+(b?"":"Once")+"() then add"+(b?"Once":"")+"() the same listener without removing the relationship first.")}else f=new d.SignalBinding(this,a,b,c,e),this._addBinding(f);return this.memorize&&this._prevParams&&f.execute(this._prevParams),f},_addBinding:function(a){var b=this._bindings.length;do--b;while(this._bindings[b]&&a._priority<=this._bindings[b]._priority);this._bindings.splice(b+1,0,a)},_indexOfListener:function(a,b){for(var c,d=this._bindings.length;d--;)if(c=this._bindings[d],c._listener===a&&c.context===b)return d;return-1},has:function(a,b){return-1!==this._indexOfListener(a,b)},add:function(a,b,c){return this.validateListener(a,"add"),this._registerListener(a,!1,b,c)},addOnce:function(a,b,c){return this.validateListener(a,"addOnce"),this._registerListener(a,!0,b,c)},remove:function(a,b){this.validateListener(a,"remove");var c=this._indexOfListener(a,b);return-1!==c&&(this._bindings[c]._destroy(),this._bindings.splice(c,1)),a},removeAll:function(){for(var a=this._bindings.length;a--;)this._bindings[a]._destroy();this._bindings.length=0},getNumListeners:function(){return this._bindings.length},halt:function(){this._shouldPropagate=!1},dispatch:function(){if(this.active){var a,b=Array.prototype.slice.call(arguments),c=this._bindings.length;if(this.memorize&&(this._prevParams=b),c){a=this._bindings.slice(),this._shouldPropagate=!0;do c--;while(a[c]&&this._shouldPropagate&&a[c].execute(b)!==!1)}}},forget:function(){this._prevParams=null},dispose:function(){this.removeAll(),delete this._bindings,delete this._prevParams},toString:function(){return"[Phaser.Signal active:"+this.active+" numListeners:"+this.getNumListeners()+"]"}},d.SignalBinding=function(a,b,c,d,e){this._listener=b,this._isOnce=c,this.context=d,this._signal=a,this._priority=e||0},d.SignalBinding.prototype={active:!0,params:null,execute:function(a){var b,c;return this.active&&this._listener&&(c=this.params?this.params.concat(a):a,b=this._listener.apply(this.context,c),this._isOnce&&this.detach()),b},detach:function(){return this.isBound()?this._signal.remove(this._listener,this.context):null},isBound:function(){return!!this._signal&&!!this._listener},isOnce:function(){return this._isOnce},getListener:function(){return this._listener},getSignal:function(){return this._signal},_destroy:function(){delete this._signal,delete this._listener,delete this.context},toString:function(){return"[Phaser.SignalBinding isOnce:"+this._isOnce+", isBound:"+this.isBound()+", active:"+this.active+"]"}},d.Filter=function(a,b,c){this.game=a,this.type=d.WEBGL_FILTER,this.passes=[this],this.dirty=!0,this.padding=0,this.uniforms={resolution:{type:"3f",value:{x:256,y:256,z:0}},time:{type:"1f",value:0},mouse:{type:"4f",value:{x:0,y:0,z:0,w:0}}},this.fragmentSrc=c||[]},d.Filter.prototype={init:function(){},setResolution:function(a,b){this.uniforms.resolution.value.x=a,this.uniforms.resolution.value.y=b},update:function(a){"undefined"!=typeof a&&(this.uniforms.mouse.x=a.x,this.uniforms.mouse.y=a.y),this.uniforms.time.value=this.game.time.totalElapsedSeconds()},destroy:function(){this.game=null}},Object.defineProperty(d.Filter.prototype,"width",{get:function(){return this.uniforms.resolution.value.x},set:function(a){this.uniforms.resolution.value.x=a}}),Object.defineProperty(d.Filter.prototype,"height",{get:function(){return this.uniforms.resolution.value.y},set:function(a){this.uniforms.resolution.value.y=a}}),d.Plugin=function(a,b){"undefined"==typeof b&&(b=null),this.game=a,this.parent=b,this.active=!1,this.visible=!1,this.hasPreUpdate=!1,this.hasUpdate=!1,this.hasPostUpdate=!1,this.hasRender=!1,this.hasPostRender=!1},d.Plugin.prototype={preUpdate:function(){},update:function(){},render:function(){},postRender:function(){},destroy:function(){this.game=null,this.parent=null,this.active=!1,this.visible=!1}},d.PluginManager=function(a,b){this.game=a,this._parent=b,this.plugins=[],this._pluginsLength=0},d.PluginManager.prototype={add:function(a){var b=!1;return"function"==typeof a?a=new a(this.game,this._parent):(a.game=this.game,a.parent=this._parent),"function"==typeof a.preUpdate&&(a.hasPreUpdate=!0,b=!0),"function"==typeof a.update&&(a.hasUpdate=!0,b=!0),"function"==typeof a.postUpdate&&(a.hasPostUpdate=!0,b=!0),"function"==typeof a.render&&(a.hasRender=!0,b=!0),"function"==typeof a.postRender&&(a.hasPostRender=!0,b=!0),b?((a.hasPreUpdate||a.hasUpdate||a.hasPostUpdate)&&(a.active=!0),(a.hasRender||a.hasPostRender)&&(a.visible=!0),this._pluginsLength=this.plugins.push(a),"function"==typeof a.init&&a.init(),a):null},remove:function(a){if(0!==this._pluginsLength)for(this._p=0;this._pthis._nextOffsetCheck&&(d.Canvas.getOffset(this.canvas,this.offset),this._nextOffsetCheck=this.game.time.now+this.checkOffsetInterval)},visibilityChange:function(a){this.disableVisibilityChange||(this.game.paused="pagehide"==a.type||"blur"==a.type||document.hidden===!0||document.webkitHidden===!0?!0:!1)}},Object.defineProperty(d.Stage.prototype,"backgroundColor",{get:function(){return this._backgroundColor},set:function(a){this._backgroundColor=a,this.game.transparent===!1&&(this.game.renderType==d.CANVAS?this.game.canvas.style.backgroundColor=a:("string"==typeof a&&(a=d.Color.hexToRGB(a)),this._stage.setBackgroundColor(a)))}}),d.Group=function(a,b,e,f){("undefined"==typeof b||null===typeof b)&&(b=a.world),"undefined"==typeof f&&(f=!1),this.game=a,this.name=e||"group",f?this._container=this.game.stage._stage:(this._container=new c.DisplayObjectContainer,this._container.name=this.name,b?b instanceof d.Group?(b._container.addChild(this._container),b._container.updateTransform()):(b.addChild(this._container),b.updateTransform()):(this.game.stage._stage.addChild(this._container),this.game.stage._stage.updateTransform())),this.type=d.GROUP,this.exists=!0,this.scale=new d.Point(1,1),this.cursor=null},d.Group.RETURN_NONE=0,d.Group.RETURN_TOTAL=1,d.Group.RETURN_CHILD=2,d.Group.SORT_ASCENDING=-1,d.Group.SORT_DESCENDING=1,d.Group.prototype={add:function(a){return a.group!==this&&(a.group=this,a.events&&a.events.onAddedToGroup.dispatch(a,this),this._container.addChild(a),a.updateTransform(),null===this.cursor&&(this.cursor=a)),a},addAt:function(a,b){return a.group!==this&&(a.group=this,a.events&&a.events.onAddedToGroup.dispatch(a,this),this._container.addChildAt(a,b),a.updateTransform(),null===this.cursor&&(this.cursor=a)),a},getAt:function(a){return this._container.getChildAt(a)},create:function(a,b,c,e,f){"undefined"==typeof f&&(f=!0);var g=new d.Sprite(this.game,a,b,c,e);return g.group=this,g.exists=f,g.visible=f,g.alive=f,g.events&&g.events.onAddedToGroup.dispatch(g,this),this._container.addChild(g),g.updateTransform(),null===this.cursor&&(this.cursor=g),g},createMultiple:function(a,b,c,e){"undefined"==typeof e&&(e=!1);for(var f=0;a>f;f++){var g=new d.Sprite(this.game,0,0,b,c);g.group=this,g.exists=e,g.visible=e,g.alive=e,g.events&&g.events.onAddedToGroup.dispatch(g,this),this._container.addChild(g),g.updateTransform(),null===this.cursor&&(this.cursor=g)}},next:function(){this.cursor&&(this.cursor=this.cursor==this._container.last?this._container._iNext:this.cursor._iNext)},previous:function(){this.cursor&&(this.cursor=this.cursor==this._container._iNext?this._container.last:this.cursor._iPrev)},childTest:function(a,b){var c=a+" next: ";c+=b._iNext?b._iNext.name:"-null-",c=c+" "+a+" prev: ",c+=b._iPrev?b._iPrev.name:"-null-",console.log(c)},swapIndex:function(a,b){var c=this.getAt(a),d=this.getAt(b);console.log("swapIndex ",a," with ",b),this.swap(c,d)},swap:function(a,b){if(a===b||!a.parent||!b.parent||a.group!==this||b.group!==this)return!1;var c=a._iPrev,d=a._iNext,e=b._iPrev,f=b._iNext,g=this._container.last._iNext,h=this.game.stage._stage;do h!==a&&h!==b&&(h.first===a?h.first=b:h.first===b&&(h.first=a),h.last===a?h.last=b:h.last===b&&(h.last=a)),h=h._iNext;while(h!=g);return a._iNext==b?(a._iNext=f,a._iPrev=b,b._iNext=a,b._iPrev=c,c&&(c._iNext=b),f&&(f._iPrev=a),a.__renderGroup&&a.__renderGroup.updateTexture(a),b.__renderGroup&&b.__renderGroup.updateTexture(b),!0):b._iNext==a?(a._iNext=b,a._iPrev=e,b._iNext=d,b._iPrev=a,e&&(e._iNext=a),d&&(d._iPrev=b),a.__renderGroup&&a.__renderGroup.updateTexture(a),b.__renderGroup&&b.__renderGroup.updateTexture(b),!0):(a._iNext=f,a._iPrev=e,b._iNext=d,b._iPrev=c,c&&(c._iNext=b),d&&(d._iPrev=b),e&&(e._iNext=a),f&&(f._iPrev=a),a.__renderGroup&&a.__renderGroup.updateTexture(a),b.__renderGroup&&b.__renderGroup.updateTexture(b),!0)},bringToTop:function(a){return a.group===this&&(this.remove(a),this.add(a)),a},getIndex:function(a){return this._container.children.indexOf(a)},replace:function(a,b){if(this._container.first._iNext){var c=this.getIndex(a);-1!=c&&(void 0!==b.parent&&(b.events.onRemovedFromGroup.dispatch(b,this),b.parent.removeChild(b)),this._container.removeChild(a),this._container.addChildAt(b,c),b.events.onAddedToGroup.dispatch(b,this),b.updateTransform(),this.cursor==a&&(this.cursor=this._container._iNext))}},setProperty:function(a,b,c,d){d=d||0;var e=b.length;1==e?0===d?a[b[0]]=c:1==d?a[b[0]]+=c:2==d?a[b[0]]-=c:3==d?a[b[0]]*=c:4==d&&(a[b[0]]/=c):2==e?0===d?a[b[0]][b[1]]=c:1==d?a[b[0]][b[1]]+=c:2==d?a[b[0]][b[1]]-=c:3==d?a[b[0]][b[1]]*=c:4==d&&(a[b[0]][b[1]]/=c):3==e?0===d?a[b[0]][b[1]][b[2]]=c:1==d?a[b[0]][b[1]][b[2]]+=c:2==d?a[b[0]][b[1]][b[2]]-=c:3==d?a[b[0]][b[1]][b[2]]*=c:4==d&&(a[b[0]][b[1]][b[2]]/=c):4==e&&(0===d?a[b[0]][b[1]][b[2]][b[3]]=c:1==d?a[b[0]][b[1]][b[2]][b[3]]+=c:2==d?a[b[0]][b[1]][b[2]][b[3]]-=c:3==d?a[b[0]][b[1]][b[2]][b[3]]*=c:4==d&&(a[b[0]][b[1]][b[2]][b[3]]/=c))},setAll:function(a,b,c,d,e){if(a=a.split("."),"undefined"==typeof c&&(c=!1),"undefined"==typeof d&&(d=!1),e=e||0,this._container.children.length>0&&this._container.first._iNext){var f=this._container.first._iNext;do(c===!1||c&&f.alive)&&(d===!1||d&&f.visible)&&this.setProperty(f,a,b,e),f=f._iNext;while(f!=this._container.last._iNext)}},addAll:function(a,b,c,d){this.setAll(a,b,c,d,1)},subAll:function(a,b,c,d){this.setAll(a,b,c,d,2)},multiplyAll:function(a,b,c,d){this.setAll(a,b,c,d,3)},divideAll:function(a,b,c,d){this.setAll(a,b,c,d,4)},callAllExists:function(a,b){var c=Array.prototype.splice.call(arguments,2);if(this._container.children.length>0&&this._container.first._iNext){var d=this._container.first._iNext;do d.exists==b&&d[a]&&d[a].apply(d,c),d=d._iNext;while(d!=this._container.last._iNext)}},callbackFromArray:function(a,b,c){if(1==c){if(a[b[0]])return a[b[0]]}else if(2==c){if(a[b[0]][b[1]])return a[b[0]][b[1]]}else if(3==c){if(a[b[0]][b[1]][b[2]])return a[b[0]][b[1]][b[2]]}else if(4==c){if(a[b[0]][b[1]][b[2]][b[3]])return a[b[0]][b[1]][b[2]][b[3]]}else if(a[b])return a[b];return!1},callAll:function(a,b){if("undefined"!=typeof a){a=a.split(".");var c=a.length;if("undefined"==typeof b)b=null;else if("string"==typeof b){b=b.split(".");var d=b.length}var e=Array.prototype.splice.call(arguments,2),f=null,g=null;if(this._container.children.length>0&&this._container.first._iNext){var h=this._container.first._iNext;do f=this.callbackFromArray(h,a,c),b&&f?(g=this.callbackFromArray(h,b,d),f&&f.apply(g,e)):f&&f.apply(h,e),h=h._iNext;while(h!=this._container.last._iNext)}}},forEach:function(a,b,c){"undefined"==typeof c&&(c=!1);var d=Array.prototype.splice.call(arguments,3);if(d.unshift(null),this._container.children.length>0&&this._container.first._iNext){var e=this._container.first._iNext;do(c===!1||c&&e.exists)&&(d[0]=e,a.apply(b,d)),e=e._iNext;while(e!=this._container.last._iNext)}},forEachExists:function(a,b){var c=Array.prototype.splice.call(arguments,2);c.unshift(null),this.iterate("exists",!0,d.Group.RETURN_TOTAL,a,b,c)},forEachAlive:function(a,b){var c=Array.prototype.splice.call(arguments,2);c.unshift(null),this.iterate("alive",!0,d.Group.RETURN_TOTAL,a,b,c)},forEachDead:function(a,b){var c=Array.prototype.splice.call(arguments,2);c.unshift(null),this.iterate("alive",!1,d.Group.RETURN_TOTAL,a,b,c)},sort:function(a,b){"undefined"==typeof a&&(a="y"),"undefined"==typeof b&&(b=d.Group.SORT_ASCENDING);var c,e;do{c=!1;for(var f=0,g=this._container.children.length-1;g>f;f++)b==d.Group.SORT_ASCENDING?this._container.children[f][a]>this._container.children[f+1][a]&&(this.swap(this.getAt(f),this.getAt(f+1)),e=this._container.children[f],this._container.children[f]=this._container.children[f+1],this._container.children[f+1]=e,c=!0):this._container.children[f][a]0&&this._container.first._iNext){var i=this._container.first._iNext;do{if(i[a]===b&&(h++,e&&(g[0]=i,e.apply(f,g)),c==d.Group.RETURN_CHILD))return i;i=i._iNext}while(i!=this._container.last._iNext)}return c==d.Group.RETURN_TOTAL?h:c==d.Group.RETURN_CHILD?null:void 0},getFirstExists:function(a){return"boolean"!=typeof a&&(a=!0),this.iterate("exists",a,d.Group.RETURN_CHILD)},getFirstAlive:function(){return this.iterate("alive",!0,d.Group.RETURN_CHILD)},getFirstDead:function(){return this.iterate("alive",!1,d.Group.RETURN_CHILD)},countLiving:function(){return this.iterate("alive",!0,d.Group.RETURN_TOTAL)},countDead:function(){return this.iterate("alive",!1,d.Group.RETURN_TOTAL)},getRandom:function(a,b){return 0===this._container.children.length?null:(a=a||0,b=b||this._container.children.length,this.game.math.getRandom(this._container.children,a,b))},remove:function(a){return a.group!==this?!1:(a.events&&a.events.onRemovedFromGroup.dispatch(a,this),a.parent===this._container&&this._container.removeChild(a),this.cursor==a&&(this.cursor=this._container._iNext?this._container._iNext:null),a.group=null,!0)},removeAll:function(){if(0!==this._container.children.length){do this._container.children[0].events&&this._container.children[0].events.onRemovedFromGroup.dispatch(this._container.children[0],this),this._container.removeChild(this._container.children[0]);while(this._container.children.length>0);this.cursor=null}},removeBetween:function(a,b){if(0!==this._container.children.length){if(a>b||0>a||b>this._container.children.length)return!1;for(var c=a;b>c;c++){var d=this._container.children[c];d.events.onRemovedFromGroup.dispatch(d,this),this._container.removeChild(d),this.cursor==d&&(this.cursor=this._container._iNext?this._container._iNext:null)}}},destroy:function(){this.removeAll(),this._container.parent.removeChild(this._container),this._container=null,this.game=null,this.exists=!1,this.cursor=null},validate:function(){var a=this.game.stage._stage.last._iNext,b=this.game.stage._stage,c=null,d=null,e=0;do{if(e>0){if(b!==c)return console.log("check next fail"),!1;if(b._iPrev!==d)return console.log("check previous fail"),!1}c=b._iNext,d=b,b=b._iNext,e++}while(b!=a);return!0},dump:function(a){"undefined"==typeof a&&(a=!1);var b=20,c="\n"+d.Utils.pad("Node",b)+"|"+d.Utils.pad("Next",b)+"|"+d.Utils.pad("Previous",b)+"|"+d.Utils.pad("First",b)+"|"+d.Utils.pad("Last",b);console.log(c);var c=d.Utils.pad("----------",b)+"|"+d.Utils.pad("----------",b)+"|"+d.Utils.pad("----------",b)+"|"+d.Utils.pad("----------",b)+"|"+d.Utils.pad("----------",b);if(console.log(c),a)var e=this.game.stage._stage.last._iNext,f=this.game.stage._stage;else var e=this._container.last._iNext,f=this._container;do{var g=f.name||"*";if(this.cursor==f)var g="> "+g;var h="-",i="-",j="-",k="-";f._iNext&&(h=f._iNext.name),f._iPrev&&(i=f._iPrev.name),f.first&&(j=f.first.name),f.last&&(k=f.last.name),"undefined"==typeof h&&(h="-"),"undefined"==typeof i&&(i="-"),"undefined"==typeof j&&(j="-"),"undefined"==typeof k&&(k="-");var c=d.Utils.pad(g,b)+"|"+d.Utils.pad(h,b)+"|"+d.Utils.pad(i,b)+"|"+d.Utils.pad(j,b)+"|"+d.Utils.pad(k,b);console.log(c),f=f._iNext}while(f!=e)}},Object.defineProperty(d.Group.prototype,"total",{get:function(){return this.iterate("exists",!0,d.Group.RETURN_TOTAL)}}),Object.defineProperty(d.Group.prototype,"length",{get:function(){return this.iterate("exists",!0,d.Group.RETURN_TOTAL)}}),Object.defineProperty(d.Group.prototype,"x",{get:function(){return this._container.position.x},set:function(a){this._container.position.x=a}}),Object.defineProperty(d.Group.prototype,"y",{get:function(){return this._container.position.y},set:function(a){this._container.position.y=a}}),Object.defineProperty(d.Group.prototype,"angle",{get:function(){return d.Math.radToDeg(this._container.rotation)},set:function(a){this._container.rotation=d.Math.degToRad(a)}}),Object.defineProperty(d.Group.prototype,"rotation",{get:function(){return this._container.rotation},set:function(a){this._container.rotation=a}}),Object.defineProperty(d.Group.prototype,"visible",{get:function(){return this._container.visible},set:function(a){this._container.visible=a}}),Object.defineProperty(d.Group.prototype,"alpha",{get:function(){return this._container.alpha},set:function(a){this._container.alpha=a}}),d.World=function(a){d.Group.call(this,a,null,"__world",!1),this.scale=new d.Point(1,1),this.bounds=new d.Rectangle(0,0,a.width,a.height),this.camera=null,this.currentRenderOrderID=0},d.World.prototype=Object.create(d.Group.prototype),d.World.prototype.constructor=d.World,d.World.prototype.boot=function(){this.camera=new d.Camera(this.game,0,0,0,this.game.width,this.game.height),this.camera.displayObject=this._container,this.game.camera=this.camera},d.World.prototype.update=function(){if(this.currentRenderOrderID=0,this.game.stage._stage.first._iNext){var a,b=this.game.stage._stage.first._iNext;do a=!1,b.preUpdate&&(a=b.preUpdate()===!1),b.update&&(a=b.update()===!1||a),b=a?b.last._iNext:b._iNext;while(b!=this.game.stage._stage.last._iNext)}},d.World.prototype.postUpdate=function(){if(this.game.stage._stage.first._iNext){var a=this.game.stage._stage.first._iNext;do a.postUpdate&&a.postUpdate(),a=a._iNext;while(a!=this.game.stage._stage.last._iNext)}this.camera.update()},d.World.prototype.setBounds=function(a,b,c,d){this.bounds.setTo(a,b,c,d),this.camera.bounds&&this.camera.bounds.setTo(a,b,c,d)},d.World.prototype.destroy=function(){this.camera.x=0,this.camera.y=0,this.game.input.reset(!0),this.removeAll()},Object.defineProperty(d.World.prototype,"width",{get:function(){return this.bounds.width},set:function(a){this.bounds.width=a}}),Object.defineProperty(d.World.prototype,"height",{get:function(){return this.bounds.height},set:function(a){this.bounds.height=a}}),Object.defineProperty(d.World.prototype,"centerX",{get:function(){return this.bounds.halfWidth}}),Object.defineProperty(d.World.prototype,"centerY",{get:function(){return this.bounds.halfHeight}}),Object.defineProperty(d.World.prototype,"randomX",{get:function(){return this.bounds.x<0?this.game.rnd.integerInRange(this.bounds.x,this.bounds.width-Math.abs(this.bounds.x)):this.game.rnd.integerInRange(this.bounds.x,this.bounds.width)}}),Object.defineProperty(d.World.prototype,"randomY",{get:function(){return this.bounds.y<0?this.game.rnd.integerInRange(this.bounds.y,this.bounds.height-Math.abs(this.bounds.y)):this.game.rnd.integerInRange(this.bounds.y,this.bounds.height)}}),Object.defineProperty(d.World.prototype,"visible",{get:function(){return this._container.visible},set:function(a){this._container.visible=a}}),d.Game=function(a,b,c,e,f,g,h){a=a||800,b=b||600,c=c||d.AUTO,e=e||"",f=f||null,"undefined"==typeof g&&(g=!1),"undefined"==typeof h&&(h=!0),this.id=d.GAMES.push(this)-1,this.parent=e,this.width=a,this.height=b,this.transparent=g,this.antialias=h,this.renderer=null,this.state=new d.StateManager(this,f),this._paused=!1,this.renderType=c,this._loadComplete=!1,this.isBooted=!1,this.isRunning=!1,this.raf=null,this.add=null,this.cache=null,this.input=null,this.load=null,this.math=null,this.net=null,this.sound=null,this.stage=null,this.time=null,this.tweens=null,this.world=null,this.physics=null,this.rnd=null,this.device=null,this.camera=null,this.canvas=null,this.context=null,this.debug=null,this.particles=null;var i=this;return this._onBoot=function(){return i.boot()},"complete"===document.readyState||"interactive"===document.readyState?window.setTimeout(this._onBoot,0):(document.addEventListener("DOMContentLoaded",this._onBoot,!1),window.addEventListener("load",this._onBoot,!1)),this},d.Game.prototype={boot:function(){this.isBooted||(document.body?(document.removeEventListener("DOMContentLoaded",this._onBoot),window.removeEventListener("load",this._onBoot),this.onPause=new d.Signal,this.onResume=new d.Signal,this.isBooted=!0,this.device=new d.Device,this.math=d.Math,this.rnd=new d.RandomDataGenerator([(Date.now()*Math.random()).toString()]),this.stage=new d.Stage(this,this.width,this.height),this.setUpRenderer(),this.world=new d.World(this),this.add=new d.GameObjectFactory(this),this.cache=new d.Cache(this),this.load=new d.Loader(this),this.time=new d.Time(this),this.tweens=new d.TweenManager(this),this.input=new d.Input(this),this.sound=new d.SoundManager(this),this.physics=new d.Physics.Arcade(this),this.particles=new d.Particles(this),this.plugins=new d.PluginManager(this,this),this.net=new d.Net(this),this.debug=new d.Utils.Debug(this),this.stage.boot(),this.world.boot(),this.input.boot(),this.sound.boot(),this.state.boot(),this.load.onLoadComplete.add(this.loadComplete,this),this.showDebugHeader(),this.isRunning=!0,this._loadComplete=!1,this.raf=new d.RequestAnimationFrame(this),this.raf.start()):window.setTimeout(this._onBoot,20))},showDebugHeader:function(){var a=d.DEV_VERSION,b="Canvas",c="HTML Audio";if(this.renderType==d.WEBGL?b="WebGL":this.renderType==d.HEADLESS&&(b="Headless"),this.device.webAudio&&(c="WebAudio"),this.device.chrome){var e=["%c %c %c Phaser v"+a+" - Renderer: "+b+" - Audio: "+c+" %c %c ","background: #00bff3","background: #0072bc","color: #ffffff; background: #003471","background: #0072bc","background: #00bff3"];console.log.apply(console,e)}else console.log("Phaser v"+a+" - Renderer: "+b+" - Audio: "+c)},setUpRenderer:function(){if(this.renderType===d.HEADLESS||this.renderType===d.CANVAS||this.renderType===d.AUTO&&this.device.webGL===!1){if(!this.device.canvas)throw new Error("Phaser.Game - cannot create Canvas or WebGL context, aborting.");this.renderType===d.AUTO&&(this.renderType=d.CANVAS),this.renderer=new c.CanvasRenderer(this.width,this.height,this.stage.canvas,this.transparent),d.Canvas.setSmoothingEnabled(this.renderer.context,this.antialias),this.canvas=this.renderer.view,this.context=this.renderer.context}else this.renderType=d.WEBGL,this.renderer=new c.WebGLRenderer(this.width,this.height,this.stage.canvas,this.transparent,this.antialias),this.canvas=this.renderer.view,this.context=null;d.Canvas.addToDOM(this.renderer.view,this.parent,!0),d.Canvas.setTouchAction(this.renderer.view)},loadComplete:function(){this._loadComplete=!0,this.state.loadComplete()},update:function(a){this.time.update(a),this._paused?(this.renderer.render(this.stage._stage),this.plugins.render(),this.state.render()):(this.plugins.preUpdate(),this.physics.preUpdate(),this.stage.update(),this.input.update(),this.tweens.update(),this.sound.update(),this.world.update(),this.particles.update(),this.state.update(),this.plugins.update(),this.world.postUpdate(),this.plugins.postUpdate(),this.renderType!==d.HEADLESS&&(this.renderer.render(this.stage._stage),this.plugins.render(),this.state.render(),this.plugins.postRender()))},destroy:function(){this.raf.stop(),this.input.destroy(),this.state.destroy(),this.state=null,this.cache=null,this.input=null,this.load=null,this.sound=null,this.stage=null,this.time=null,this.world=null,this.isBooted=!1}},Object.defineProperty(d.Game.prototype,"paused",{get:function(){return this._paused},set:function(a){a===!0?this._paused===!1&&(this._paused=!0,this.onPause.dispatch(this)):this._paused&&(this._paused=!1,this.onResume.dispatch(this))}}),d.Input=function(a){this.game=a,this.hitCanvas=null,this.hitContext=null},d.Input.MOUSE_OVERRIDES_TOUCH=0,d.Input.TOUCH_OVERRIDES_MOUSE=1,d.Input.MOUSE_TOUCH_COMBINE=2,d.Input.prototype={pollRate:0,_pollCounter:0,_oldPosition:null,_x:0,_y:0,disabled:!1,multiInputOverride:d.Input.MOUSE_TOUCH_COMBINE,position:null,speed:null,circle:null,scale:null,maxPointers:10,currentPointers:0,tapRate:200,doubleTapRate:300,holdRate:2e3,justPressedRate:200,justReleasedRate:200,recordPointerHistory:!1,recordRate:100,recordLimit:100,pointer1:null,pointer2:null,pointer3:null,pointer4:null,pointer5:null,pointer6:null,pointer7:null,pointer8:null,pointer9:null,pointer10:null,activePointer:null,mousePointer:null,mouse:null,keyboard:null,touch:null,mspointer:null,onDown:null,onUp:null,onTap:null,onHold:null,interactiveItems:new d.LinkedList,boot:function(){this.mousePointer=new d.Pointer(this.game,0),this.pointer1=new d.Pointer(this.game,1),this.pointer2=new d.Pointer(this.game,2),this.mouse=new d.Mouse(this.game),this.keyboard=new d.Keyboard(this.game),this.touch=new d.Touch(this.game),this.mspointer=new d.MSPointer(this.game),this.onDown=new d.Signal,this.onUp=new d.Signal,this.onTap=new d.Signal,this.onHold=new d.Signal,this.scale=new d.Point(1,1),this.speed=new d.Point,this.position=new d.Point,this._oldPosition=new d.Point,this.circle=new d.Circle(0,0,44),this.activePointer=this.mousePointer,this.currentPointers=0,this.hitCanvas=document.createElement("canvas"),this.hitCanvas.width=1,this.hitCanvas.height=1,this.hitContext=this.hitCanvas.getContext("2d"),this.mouse.start(),this.keyboard.start(),this.touch.start(),this.mspointer.start(),this.mousePointer.active=!0},destroy:function(){this.mouse.stop(),this.keyboard.stop(),this.touch.stop(),this.mspointer.stop()},addPointer:function(){for(var a=0,b=10;b>0;b--)null===this["pointer"+b]&&(a=b);return 0===a?(console.warn("You can only have 10 Pointer objects"),null):(this["pointer"+a]=new d.Pointer(this.game,a),this["pointer"+a])},update:function(){return this.pollRate>0&&this._pollCounter=b;b++)this["pointer"+b]&&this["pointer"+b].reset();this.currentPointers=0,this.game.stage.canvas.style.cursor="default",a===!0&&(this.onDown.dispose(),this.onUp.dispose(),this.onTap.dispose(),this.onHold.dispose(),this.onDown=new d.Signal,this.onUp=new d.Signal,this.onTap=new d.Signal,this.onHold=new d.Signal,this.interactiveItems.callAll("reset")),this._pollCounter=0}},resetSpeed:function(a,b){this._oldPosition.setTo(a,b),this.speed.setTo(0,0)},startPointer:function(a){if(this.maxPointers<10&&this.totalActivePointers==this.maxPointers)return null;if(this.pointer1.active===!1)return this.pointer1.start(a);if(this.pointer2.active===!1)return this.pointer2.start(a);for(var b=3;10>=b;b++)if(this["pointer"+b]&&this["pointer"+b].active===!1)return this["pointer"+b].start(a);return null},updatePointer:function(a){if(this.pointer1.active&&this.pointer1.identifier==a.identifier)return this.pointer1.move(a);if(this.pointer2.active&&this.pointer2.identifier==a.identifier)return this.pointer2.move(a);for(var b=3;10>=b;b++)if(this["pointer"+b]&&this["pointer"+b].active&&this["pointer"+b].identifier==a.identifier)return this["pointer"+b].move(a);return null},stopPointer:function(a){if(this.pointer1.active&&this.pointer1.identifier==a.identifier)return this.pointer1.stop(a);if(this.pointer2.active&&this.pointer2.identifier==a.identifier)return this.pointer2.stop(a);for(var b=3;10>=b;b++)if(this["pointer"+b]&&this["pointer"+b].active&&this["pointer"+b].identifier==a.identifier)return this["pointer"+b].stop(a);return null},getPointer:function(a){if(a=a||!1,this.pointer1.active==a)return this.pointer1;if(this.pointer2.active==a)return this.pointer2;for(var b=3;10>=b;b++)if(this["pointer"+b]&&this["pointer"+b].active==a)return this["pointer"+b];return null},getPointerFromIdentifier:function(a){if(this.pointer1.identifier==a)return this.pointer1;if(this.pointer2.identifier==a)return this.pointer2;for(var b=3;10>=b;b++)if(this["pointer"+b]&&this["pointer"+b].identifier==a)return this["pointer"+b];return null}},Object.defineProperty(d.Input.prototype,"x",{get:function(){return this._x},set:function(a){this._x=Math.floor(a)}}),Object.defineProperty(d.Input.prototype,"y",{get:function(){return this._y},set:function(a){this._y=Math.floor(a)}}),Object.defineProperty(d.Input.prototype,"pollLocked",{get:function(){return this.pollRate>0&&this._pollCounter=a;a++)this["pointer"+a]&&this["pointer"+a].active&&this.currentPointers++;return this.currentPointers}}),Object.defineProperty(d.Input.prototype,"worldX",{get:function(){return this.game.camera.view.x+this.x}}),Object.defineProperty(d.Input.prototype,"worldY",{get:function(){return this.game.camera.view.y+this.y}}),d.Key=function(a,b){this.game=a,this.isDown=!1,this.isUp=!1,this.altKey=!1,this.ctrlKey=!1,this.shiftKey=!1,this.timeDown=0,this.duration=0,this.timeUp=0,this.repeats=0,this.keyCode=b,this.onDown=new d.Signal,this.onUp=new d.Signal},d.Key.prototype={processKeyDown:function(a){this.altKey=a.altKey,this.ctrlKey=a.ctrlKey,this.shiftKey=a.shiftKey,this.isDown?(this.duration=a.timeStamp-this.timeDown,this.repeats++):(this.isDown=!0,this.isUp=!1,this.timeDown=a.timeStamp,this.duration=0,this.repeats=0,this.onDown.dispatch(this))},processKeyUp:function(a){this.isDown=!1,this.isUp=!0,this.timeUp=a.timeStamp,this.onUp.dispatch(this)},justPressed:function(a){return"undefined"==typeof a&&(a=250),this.isDown&&this.duration=this.game.input.holdRate&&((this.game.input.multiInputOverride==d.Input.MOUSE_OVERRIDES_TOUCH||this.game.input.multiInputOverride==d.Input.MOUSE_TOUCH_COMBINE||this.game.input.multiInputOverride==d.Input.TOUCH_OVERRIDES_MOUSE&&0===this.game.input.currentPointers)&&this.game.input.onHold.dispatch(this),this._holdSent=!0),this.game.input.recordPointerHistory&&this.game.time.now>=this._nextDrop&&(this._nextDrop=this.game.time.now+this.game.input.recordRate,this._history.push({x:this.position.x,y:this.position.y}),this._history.length>this.game.input.recordLimit&&this._history.shift()))},move:function(a){if(!this.game.input.pollLocked){if("undefined"!=typeof a.button&&(this.button=a.button),this.clientX=a.clientX,this.clientY=a.clientY,this.pageX=a.pageX,this.pageY=a.pageY,this.screenX=a.screenX,this.screenY=a.screenY,this.x=(this.pageX-this.game.stage.offset.x)*this.game.input.scale.x,this.y=(this.pageY-this.game.stage.offset.y)*this.game.input.scale.y,this.position.setTo(this.x,this.y),this.circle.x=this.x,this.circle.y=this.y,(this.game.input.multiInputOverride==d.Input.MOUSE_OVERRIDES_TOUCH||this.game.input.multiInputOverride==d.Input.MOUSE_TOUCH_COMBINE||this.game.input.multiInputOverride==d.Input.TOUCH_OVERRIDES_MOUSE&&0===this.game.input.currentPointers)&&(this.game.input.activePointer=this,this.game.input.x=this.x,this.game.input.y=this.y,this.game.input.position.setTo(this.game.input.x,this.game.input.y),this.game.input.circle.x=this.game.input.x,this.game.input.circle.y=this.game.input.y),this.game.paused)return this;if(null!==this.targetObject&&this.targetObject.isDragged===!0)return this.targetObject.update(this)===!1&&(this.targetObject=null),this;if(this._highestRenderOrderID=-1,this._highestRenderObject=null,this._highestInputPriorityID=-1,this.game.input.interactiveItems.total>0){var b=this.game.input.interactiveItems.next;do(b.pixelPerfect||b.priorityID>this._highestInputPriorityID||b.priorityID==this._highestInputPriorityID&&b.sprite.renderOrderID>this._highestRenderOrderID)&&b.checkPointerOver(this)&&(this._highestRenderOrderID=b.sprite.renderOrderID,this._highestInputPriorityID=b.priorityID,this._highestRenderObject=b),b=b.next;while(null!=b)}return null==this._highestRenderObject?this.targetObject&&(this.targetObject._pointerOutHandler(this),this.targetObject=null):null==this.targetObject?(this.targetObject=this._highestRenderObject,this._highestRenderObject._pointerOverHandler(this)):this.targetObject==this._highestRenderObject?this._highestRenderObject.update(this)===!1&&(this.targetObject=null):(this.targetObject._pointerOutHandler(this),this.targetObject=this._highestRenderObject,this.targetObject._pointerOverHandler(this)),this}},leave:function(a){this.withinGame=!1,this.move(a)},stop:function(a){if(this._stateReset)return a.preventDefault(),void 0;if(this.timeUp=this.game.time.now,(this.game.input.multiInputOverride==d.Input.MOUSE_OVERRIDES_TOUCH||this.game.input.multiInputOverride==d.Input.MOUSE_TOUCH_COMBINE||this.game.input.multiInputOverride==d.Input.TOUCH_OVERRIDES_MOUSE&&0===this.game.input.currentPointers)&&(this.game.input.onUp.dispatch(this,a),this.duration>=0&&this.duration<=this.game.input.tapRate&&(this.timeUp-this.previousTapTime0&&(this.active=!1),this.withinGame=!1,this.isDown=!1,this.isUp=!0,this.isMouse===!1&&this.game.input.currentPointers--,this.game.input.interactiveItems.total>0){var b=this.game.input.interactiveItems.next;do b&&b._releasedHandler(this),b=b.next;while(null!=b)}return this.targetObject&&this.targetObject._releasedHandler(this),this.targetObject=null,this},justPressed:function(a){return a=a||this.game.input.justPressedRate,this.isDown===!0&&this.timeDown+a>this.game.time.now},justReleased:function(a){return a=a||this.game.input.justReleasedRate,this.isUp===!0&&this.timeUp+a>this.game.time.now},reset:function(){this.isMouse===!1&&(this.active=!1),this.identifier=null,this.isDown=!1,this.isUp=!0,this.totalTouches=0,this._holdSent=!1,this._history.length=0,this._stateReset=!0,this.targetObject&&this.targetObject._releasedHandler(this),this.targetObject=null}},Object.defineProperty(d.Pointer.prototype,"duration",{get:function(){return this.isUp?-1:this.game.time.now-this.timeDown}}),Object.defineProperty(d.Pointer.prototype,"worldX",{get:function(){return this.game.world.camera.x+this.x}}),Object.defineProperty(d.Pointer.prototype,"worldY",{get:function(){return this.game.world.camera.y+this.y}}),d.Touch=function(a){this.game=a,this.disabled=!1,this.callbackContext=this.game,this.touchStartCallback=null,this.touchMoveCallback=null,this.touchEndCallback=null,this.touchEnterCallback=null,this.touchLeaveCallback=null,this.touchCancelCallback=null,this.preventDefault=!0,this.event=null,this._onTouchStart=null,this._onTouchMove=null,this._onTouchEnd=null,this._onTouchEnter=null,this._onTouchLeave=null,this._onTouchCancel=null,this._onTouchMove=null},d.Touch.prototype={start:function(){var a=this;this.game.device.touch&&(this._onTouchStart=function(b){return a.onTouchStart(b)},this._onTouchMove=function(b){return a.onTouchMove(b)},this._onTouchEnd=function(b){return a.onTouchEnd(b)},this._onTouchEnter=function(b){return a.onTouchEnter(b)},this._onTouchLeave=function(b){return a.onTouchLeave(b)},this._onTouchCancel=function(b){return a.onTouchCancel(b)},this.game.renderer.view.addEventListener("touchstart",this._onTouchStart,!1),this.game.renderer.view.addEventListener("touchmove",this._onTouchMove,!1),this.game.renderer.view.addEventListener("touchend",this._onTouchEnd,!1),this.game.renderer.view.addEventListener("touchenter",this._onTouchEnter,!1),this.game.renderer.view.addEventListener("touchleave",this._onTouchLeave,!1),this.game.renderer.view.addEventListener("touchcancel",this._onTouchCancel,!1))},consumeDocumentTouches:function(){this._documentTouchMove=function(a){a.preventDefault()},document.addEventListener("touchmove",this._documentTouchMove,!1)},onTouchStart:function(a){if(this.event=a,this.touchStartCallback&&this.touchStartCallback.call(this.callbackContext,a),!this.game.input.disabled&&!this.disabled){this.preventDefault&&a.preventDefault();for(var b=0;bc;c++)this._pointerData[c]={id:c,x:0,y:0,isDown:!1,isUp:!1,isOver:!1,isOut:!1,timeOver:0,timeOut:0,timeDown:0,timeUp:0,downDuration:0,isDragged:!1};this.snapOffset=new d.Point,this.enabled=!0,this.sprite.events&&null==this.sprite.events.onInputOver&&(this.sprite.events.onInputOver=new d.Signal,this.sprite.events.onInputOut=new d.Signal,this.sprite.events.onInputDown=new d.Signal,this.sprite.events.onInputUp=new d.Signal,this.sprite.events.onDragStart=new d.Signal,this.sprite.events.onDragStop=new d.Signal)}return this.sprite},reset:function(){this.enabled=!1;for(var a=0;10>a;a++)this._pointerData[a]={id:a,x:0,y:0,isDown:!1,isUp:!1,isOver:!1,isOut:!1,timeOver:0,timeOut:0,timeDown:0,timeUp:0,downDuration:0,isDragged:!1}},stop:function(){this.enabled!==!1&&(this.enabled=!1,this.game.input.interactiveItems.remove(this))},destroy:function(){this.enabled&&(this.enabled=!1,this.game.input.interactiveItems.remove(this),this.stop(),this.sprite=null)},pointerX:function(a){return a=a||0,this._pointerData[a].x},pointerY:function(a){return a=a||0,this._pointerData[a].y},pointerDown:function(a){return a=a||0,this._pointerData[a].isDown},pointerUp:function(a){return a=a||0,this._pointerData[a].isUp},pointerTimeDown:function(a){return a=a||0,this._pointerData[a].timeDown},pointerTimeUp:function(a){return a=a||0,this._pointerData[a].timeUp},pointerOver:function(a){if(this.enabled){if("undefined"!=typeof a)return this._pointerData[a].isOver;for(var b=0;10>b;b++)if(this._pointerData[b].isOver)return!0}return!1},pointerOut:function(a){if(this.enabled){if("undefined"!=typeof a)return this._pointerData[a].isOut;for(var b=0;10>b;b++)if(this._pointerData[b].isOut)return!0}return!1},pointerTimeOver:function(a){return a=a||0,this._pointerData[a].timeOver},pointerTimeOut:function(a){return a=a||0,this._pointerData[a].timeOut},pointerDragged:function(a){return a=a||0,this._pointerData[a].isDragged},checkPointerOver:function(a){return this.enabled===!1||this.sprite.visible===!1||this.sprite.group&&this.sprite.group.visible===!1?!1:(this.sprite.getLocalUnmodifiedPosition(this._tempPoint,a.x,a.y),this._tempPoint.x>=0&&this._tempPoint.x<=this.sprite.currentFrame.width&&this._tempPoint.y>=0&&this._tempPoint.y<=this.sprite.currentFrame.height?this.pixelPerfect?this.checkPixel(this._tempPoint.x,this._tempPoint.y):!0:void 0)},checkPixel:function(a,b){if(this.sprite.texture.baseTexture.source){this.game.input.hitContext.clearRect(0,0,1,1),a+=this.sprite.texture.frame.x,b+=this.sprite.texture.frame.y,this.game.input.hitContext.drawImage(this.sprite.texture.baseTexture.source,a,b,1,1,0,0,1,1);var c=this.game.input.hitContext.getImageData(0,0,1,1);if(c.data[3]>=this.pixelPerfectAlpha)return!0}return!1},update:function(a){return this.enabled===!1||this.sprite.visible===!1||this.sprite.group&&this.sprite.group.visible===!1?(this._pointerOutHandler(a),!1):this.draggable&&this._draggedPointerID==a.id?this.updateDrag(a):this._pointerData[a.id].isOver===!0?this.checkPointerOver(a)?(this._pointerData[a.id].x=a.x-this.sprite.x,this._pointerData[a.id].y=a.y-this.sprite.y,!0):(this._pointerOutHandler(a),!1):void 0},_pointerOverHandler:function(a){this._pointerData[a.id].isOver===!1&&(this._pointerData[a.id].isOver=!0,this._pointerData[a.id].isOut=!1,this._pointerData[a.id].timeOver=this.game.time.now,this._pointerData[a.id].x=a.x-this.sprite.x,this._pointerData[a.id].y=a.y-this.sprite.y,this.useHandCursor&&this._pointerData[a.id].isDragged===!1&&(this.game.stage.canvas.style.cursor="pointer"),this.sprite.events.onInputOver.dispatch(this.sprite,a))},_pointerOutHandler:function(a){this._pointerData[a.id].isOver=!1,this._pointerData[a.id].isOut=!0,this._pointerData[a.id].timeOut=this.game.time.now,this.useHandCursor&&this._pointerData[a.id].isDragged===!1&&(this.game.stage.canvas.style.cursor="default"),this.sprite&&this.sprite.events&&this.sprite.events.onInputOut.dispatch(this.sprite,a)},_touchedHandler:function(a){return this._pointerData[a.id].isDown===!1&&this._pointerData[a.id].isOver===!0&&(this._pointerData[a.id].isDown=!0,this._pointerData[a.id].isUp=!1,this._pointerData[a.id].timeDown=this.game.time.now,this.sprite.events.onInputDown.dispatch(this.sprite,a),this.draggable&&this.isDragged===!1&&this.startDrag(a),this.bringToTop&&this.sprite.bringToTop()),this.consumePointerEvent},_releasedHandler:function(a){this._pointerData[a.id].isDown&&a.isUp&&(this._pointerData[a.id].isDown=!1,this._pointerData[a.id].isUp=!0,this._pointerData[a.id].timeUp=this.game.time.now,this._pointerData[a.id].downDuration=this._pointerData[a.id].timeUp-this._pointerData[a.id].timeDown,this.checkPointerOver(a)?this.sprite.events.onInputUp.dispatch(this.sprite,a):this.useHandCursor&&(this.game.stage.canvas.style.cursor="default"),this.draggable&&this.isDragged&&this._draggedPointerID==a.id&&this.stopDrag(a))},updateDrag:function(a){return a.isUp?(this.stopDrag(a),!1):(this.allowHorizontalDrag&&(this.sprite.x=a.x+this._dragPoint.x+this.dragOffset.x),this.allowVerticalDrag&&(this.sprite.y=a.y+this._dragPoint.y+this.dragOffset.y),this.boundsRect&&this.checkBoundsRect(),this.boundsSprite&&this.checkBoundsSprite(),this.snapOnDrag&&(this.sprite.x=Math.round(this.sprite.x/this.snapX)*this.snapX,this.sprite.y=Math.round(this.sprite.y/this.snapY)*this.snapY),!0)},justOver:function(a,b){return a=a||0,b=b||500,this._pointerData[a].isOver&&this.overDuration(a)a;a++)this._pointerData[a].isDragged=!1;this.draggable=!1,this.isDragged=!1,this._draggedPointerID=-1},startDrag:function(a){this.isDragged=!0,this._draggedPointerID=a.id,this._pointerData[a.id].isDragged=!0,this.dragFromCenter?(this.sprite.centerOn(a.x,a.y),this._dragPoint.setTo(this.sprite.x-a.x,this.sprite.y-a.y)):this._dragPoint.setTo(this.sprite.x-a.x,this.sprite.y-a.y),this.updateDrag(a),this.bringToTop&&this.sprite.bringToTop(),this.sprite.events.onDragStart.dispatch(this.sprite,a)},stopDrag:function(a){this.isDragged=!1,this._draggedPointerID=-1,this._pointerData[a.id].isDragged=!1,this.snapOnRelease&&(this.sprite.x=Math.round(this.sprite.x/this.snapX)*this.snapX,this.sprite.y=Math.round(this.sprite.y/this.snapY)*this.snapY),this.sprite.events.onDragStop.dispatch(this.sprite,a),this.sprite.events.onInputUp.dispatch(this.sprite,a),this.checkPointerOver(a)===!1&&this._pointerOutHandler(a)},setDragLock:function(a,b){"undefined"==typeof a&&(a=!0),"undefined"==typeof b&&(b=!0),this.allowHorizontalDrag=a,this.allowVerticalDrag=b},enableSnap:function(a,b,c,d){"undefined"==typeof c&&(c=!0),"undefined"==typeof d&&(d=!1),this.snapX=a,this.snapY=b,this.snapOnDrag=c,this.snapOnRelease=d},disableSnap:function(){this.snapOnDrag=!1,this.snapOnRelease=!1},checkBoundsRect:function(){this.sprite.xthis.boundsRect.right&&(this.sprite.x=this.boundsRect.right-this.sprite.width),this.sprite.ythis.boundsRect.bottom&&(this.sprite.y=this.boundsRect.bottom-this.sprite.height)},checkBoundsSprite:function(){this.sprite.xthis.boundsSprite.x+this.boundsSprite.width&&(this.sprite.x=this.boundsSprite.x+this.boundsSprite.width-this.sprite.width),this.sprite.ythis.boundsSprite.y+this.boundsSprite.height&&(this.sprite.y=this.boundsSprite.y+this.boundsSprite.height-this.sprite.height)}},d.Events=function(a){this.parent=a,this.onAddedToGroup=new d.Signal,this.onRemovedFromGroup=new d.Signal,this.onKilled=new d.Signal,this.onRevived=new d.Signal,this.onOutOfBounds=new d.Signal,this.onInputOver=null,this.onInputOut=null,this.onInputDown=null,this.onInputUp=null,this.onDragStart=null,this.onDragStop=null,this.onAnimationStart=null,this.onAnimationComplete=null,this.onAnimationLoop=null},d.Events.prototype={destroy:function(){this.parent=null,this.onAddedToGroup.dispose(),this.onRemovedFromGroup.dispose(),this.onKilled.dispose(),this.onRevived.dispose(),this.onOutOfBounds.dispose(),this.onInputOver&&(this.onInputOver.dispose(),this.onInputOut.dispose(),this.onInputDown.dispose(),this.onInputUp.dispose(),this.onDragStart.dispose(),this.onDragStop.dispose()),this.onAnimationStart&&(this.onAnimationStart.dispose(),this.onAnimationComplete.dispose(),this.onAnimationLoop.dispose())}},d.GameObjectFactory=function(a){this.game=a,this.world=this.game.world},d.GameObjectFactory.prototype={existing:function(a){return this.world.add(a)},sprite:function(a,b,c,d){return this.world.create(a,b,c,d)},child:function(a,b,c,d,e){return a.create(b,c,d,e)},tween:function(a){return this.game.tweens.create(a)},group:function(a,b){return new d.Group(this.game,a,b)},audio:function(a,b,c,d){return this.game.sound.add(a,b,c,d)},tileSprite:function(a,b,c,e,f,g){return this.world.add(new d.TileSprite(this.game,a,b,c,e,f,g))},text:function(a,b,c,e){return this.world.add(new d.Text(this.game,a,b,c,e))},button:function(a,b,c,e,f,g,h,i){return this.world.add(new d.Button(this.game,a,b,c,e,f,g,h,i))},graphics:function(a,b){return this.world.add(new d.Graphics(this.game,a,b))},emitter:function(a,b,c){return this.game.particles.add(new d.Particles.Arcade.Emitter(this.game,a,b,c))},bitmapText:function(a,b,c,e){return this.world.add(new d.BitmapText(this.game,a,b,c,e))},tilemap:function(a){return new d.Tilemap(this.game,a)},tileset:function(a){return this.game.cache.getTileset(a)},tilemapLayer:function(a,b,c,e,f,g,h){return this.world.add(new d.TilemapLayer(this.game,a,b,c,e,f,g,h))},renderTexture:function(a,b,c){var e=new d.RenderTexture(this.game,a,b,c);return this.game.cache.addRenderTexture(a,e),e},bitmapData:function(a,b){return new d.BitmapData(this.game,a,b)},filter:function(a){var b=Array.prototype.splice.call(arguments,1),a=new d.Filter[a](this.game);return a.init.apply(a,b),a}},d.BitmapData=function(a,b,e){"undefined"==typeof b&&(b=256),"undefined"==typeof e&&(e=256),this.game=a,this.name="",this.width=b,this.height=e,this.canvas=d.Canvas.create(b,e),this.context=this.canvas.getContext("2d"),this.imageData=this.context.getImageData(0,0,b,e),this.pixels=this.imageData.data.buffer?this.imageData.data.buffer:this.imageData.data,this.baseTexture=new c.BaseTexture(this.canvas),this.texture=new c.Texture(this.baseTexture),this.textureFrame=new d.Frame(0,0,0,b,e,"bitmapData",a.rnd.uuid()),this.type=d.BITMAPDATA,this._dirty=!1},d.BitmapData.prototype={add:function(a){a.loadTexture(this)},addTo:function(a){for(var b=0;b=0&&a<=this.width&&b>=0&&b<=this.height&&(this.pixels[b*this.width+a]=f<<24|e<<16|d<<8|c,this.context.putImageData(this.imageData,0,0),this._dirty=!0)},setPixel:function(a,b,c,d,e){this.setPixel32(a,b,c,d,e,255)},getPixel:function(a,b){return a>=0&&a<=this.width&&b>=0&&b<=this.height?this.data32[b*this.width+a]:void 0},getPixel32:function(a,b){return a>=0&&a<=this.width&&b>=0&&b<=this.height?this.data32[b*this.width+a]:void 0},getPixels:function(a){return this.context.getImageData(a.x,a.y,a.width,a.height)},arc:function(a,b,c,d,e,f){return"undefined"==typeof f&&(f=!1),this._dirty=!0,this.context.arc(a,b,c,d,e,f),this},arcTo:function(a,b,c,d,e){return this._dirty=!0,this.context.arcTo(a,b,c,d,e),this},beginFill:function(a){return this.fillStyle(a),this},beginLinearGradientFill:function(a,b,c,d,e,f){for(var g=this.createLinearGradient(c,d,e,f),h=0,i=a.length;i>h;h++)g.addColorStop(b[h],a[h]);return this.fillStyle(g),this},beginLinearGradientStroke:function(a,b,c,d,e,f){for(var g=this.createLinearGradient(c,d,e,f),h=0,i=a.length;i>h;h++)g.addColorStop(b[h],a[h]);return this.strokeStyle(g),this},beginRadialGradientStroke:function(a,b,c,d,e,f,g,h){for(var i=this.createRadialGradient(c,d,e,f,g,h),j=0,k=a.length;k>j;j++)i.addColorStop(b[j],a[j]);return this.strokeStyle(i),this},beginPath:function(){return this.context.beginPath(),this},beginStroke:function(a){return this.strokeStyle(a),this},bezierCurveTo:function(a,b,c,d,e,f){return this._dirty=!0,this.context.bezierCurveTo(a,b,c,d,e,f),this},circle:function(a,b,c){return this.arc(a,b,c,0,2*Math.PI),this},clearRect:function(a,b,c,d){return this._dirty=!0,this.context.clearRect(a,b,c,d),this},clip:function(){return this._dirty=!0,this.context.clip(),this},closePath:function(){return this._dirty=!0,this.context.closePath(),this},createLinearGradient:function(a,b,c,d){return this.context.createLinearGradient(a,b,c,d)},createRadialGradient:function(a,b,c,d,e,f){return this.context.createRadialGradient(a,b,c,d,e,f)},ellipse:function(a,b,c,d){var e=.5522848,f=c/2*e,g=d/2*e,h=a+c,i=b+d,j=a+c/2,k=b+d/2;return this.moveTo(a,k),this.bezierCurveTo(a,k-g,j-f,b,j,b),this.bezierCurveTo(j+f,b,h,k-g,h,k),this.bezierCurveTo(h,k+g,j+f,i,j,i),this.bezierCurveTo(j-f,i,a,k+g,a,k),this},fill:function(){return this._dirty=!0,this.context.fill(),this},fillRect:function(a,b,c,d){return this._dirty=!0,this.context.fillRect(a,b,c,d),this},fillStyle:function(a){return this.context.fillStyle=a,this},font:function(a){return this.context.font=a,this},globalAlpha:function(a){return this.context.globalAlpha=a,this},globalCompositeOperation:function(a){return this.context.globalCompositeOperation=a,this},lineCap:function(a){return this.context.lineCap=a,this},lineDashOffset:function(a){return this.context.lineDashOffset=a,this},lineJoin:function(a){return this.context.lineJoin=a,this},lineWidth:function(a){return this.context.lineWidth=a,this},miterLimit:function(a){return this.context.miterLimit=a,this},lineTo:function(a,b){return this._dirty=!0,this.context.lineTo(a,b),this},moveTo:function(a,b){return this.context.moveTo(a,b),this},quadraticCurveTo:function(a,b,c,d){return this._dirty=!0,this.context.quadraticCurveTo(a,b,c,d),this},rect:function(a,b,c,d){return this._dirty=!0,this.context.rect(a,b,c,d),this},restore:function(){return this._dirty=!0,this.context.restore(),this},rotate:function(a){return this._dirty=!0,this.context.rotate(a),this},setStrokeStyle:function(a,b,c,d,e){return"undefined"==typeof a&&(a=1),"undefined"==typeof b&&(b="butt"),"undefined"==typeof c&&(c="miter"),"undefined"==typeof d&&(d=10),e=!1,this.lineWidth(a),this.lineCap(b),this.lineJoin(c),this.miterLimit(d),this},save:function(){return this._dirty=!0,this.context.save(),this},scale:function(a,b){return this._dirty=!0,this.context.scale(a,b),this},scrollPathIntoView:function(){return this._dirty=!0,this.context.scrollPathIntoView(),this},stroke:function(){return this._dirty=!0,this.context.stroke(),this},strokeRect:function(a,b,c,d){return this._dirty=!0,this.context.strokeRect(a,b,c,d),this},strokeStyle:function(a){return this.context.strokeStyle=a,this},render:function(){this._dirty&&(this.game.renderType==d.WEBGL&&c.texturesToUpdate.push(this.baseTexture),this._dirty=!1)}},d.BitmapData.prototype.mt=d.BitmapData.prototype.moveTo,d.BitmapData.prototype.lt=d.BitmapData.prototype.lineTo,d.BitmapData.prototype.at=d.BitmapData.prototype.arcTo,d.BitmapData.prototype.bt=d.BitmapData.prototype.bezierCurveTo,d.BitmapData.prototype.qt=d.BitmapData.prototype.quadraticCurveTo,d.BitmapData.prototype.a=d.BitmapData.prototype.arc,d.BitmapData.prototype.r=d.BitmapData.prototype.rect,d.BitmapData.prototype.cp=d.BitmapData.prototype.closePath,d.BitmapData.prototype.c=d.BitmapData.prototype.clear,d.BitmapData.prototype.f=d.BitmapData.prototype.beginFill,d.BitmapData.prototype.lf=d.BitmapData.prototype.beginLinearGradientFill,d.BitmapData.prototype.rf=d.BitmapData.prototype.beginRadialGradientFill,d.BitmapData.prototype.ef=d.BitmapData.prototype.endFill,d.BitmapData.prototype.ss=d.BitmapData.prototype.setStrokeStyle,d.BitmapData.prototype.s=d.BitmapData.prototype.beginStroke,d.BitmapData.prototype.ls=d.BitmapData.prototype.beginLinearGradientStroke,d.BitmapData.prototype.rs=d.BitmapData.prototype.beginRadialGradientStroke,d.BitmapData.prototype.dr=d.BitmapData.prototype.rect,d.BitmapData.prototype.dc=d.BitmapData.prototype.circle,d.BitmapData.prototype.de=d.BitmapData.prototype.ellipse,d.Sprite=function(a,b,e,f,g){b=b||0,e=e||0,f=f||null,g=g||null,this.game=a,this.exists=!0,this.alive=!0,this.group=null,this.name="",this.type=d.SPRITE,this.renderOrderID=-1,this.lifespan=0,this.events=new d.Events(this),this.animations=new d.AnimationManager(this),this.input=new d.InputHandler(this),this.key=f,this.currentFrame=null,f instanceof d.RenderTexture?(c.Sprite.call(this,f),this.currentFrame=this.game.cache.getTextureFrame(f.name)):f instanceof d.BitmapData?(c.Sprite.call(this,f.texture,f.textureFrame),this.currentFrame=f.textureFrame):f instanceof c.Texture?(c.Sprite.call(this,f),this.currentFrame=g):(null===f||"undefined"==typeof f?(f="__default",this.key=f):"string"==typeof f&&this.game.cache.checkImageKey(f)===!1&&(f="__missing",this.key=f),c.Sprite.call(this,c.TextureCache[f]),this.game.cache.isSpriteSheet(f)?(this.animations.loadFrameData(this.game.cache.getFrameData(f)),null!==g&&("string"==typeof g?this.frameName=g:this.frame=g)):this.currentFrame=this.game.cache.getFrame(f)),this.textureRegion=new d.Rectangle(this.texture.frame.x,this.texture.frame.y,this.texture.frame.width,this.texture.frame.height),this.anchor=new d.Point,this.x=b,this.y=e,this.position.x=b,this.position.y=e,this.world=new d.Point(b,e),this.autoCull=!1,this.scale=new d.Point(1,1),this._cache={dirty:!1,a00:-1,a01:-1,a02:-1,a10:-1,a11:-1,a12:-1,id:-1,i01:-1,i10:-1,idi:-1,left:null,right:null,top:null,bottom:null,prevX:b,prevY:e,x:-1,y:-1,scaleX:1,scaleY:1,width:this.currentFrame.sourceSizeW,height:this.currentFrame.sourceSizeH,halfWidth:Math.floor(this.currentFrame.sourceSizeW/2),halfHeight:Math.floor(this.currentFrame.sourceSizeH/2),calcWidth:-1,calcHeight:-1,frameID:-1,frameWidth:this.currentFrame.width,frameHeight:this.currentFrame.height,cameraVisible:!0,cropX:0,cropY:0,cropWidth:this.currentFrame.sourceSizeW,cropHeight:this.currentFrame.sourceSizeH},this.offset=new d.Point,this.center=new d.Point(b+Math.floor(this._cache.width/2),e+Math.floor(this._cache.height/2)),this.topLeft=new d.Point(b,e),this.topRight=new d.Point(b+this._cache.width,e),this.bottomRight=new d.Point(b+this._cache.width,e+this._cache.height),this.bottomLeft=new d.Point(b,e+this._cache.height),this.bounds=new d.Rectangle(b,e,this._cache.width,this._cache.height),this.body=new d.Physics.Arcade.Body(this),this.health=1,this.inWorld=d.Rectangle.intersects(this.bounds,this.game.world.bounds),this.inWorldThreshold=0,this.outOfBoundsKill=!1,this._outOfBoundsFired=!1,this.fixedToCamera=!1,this.cameraOffset=new d.Point,this.crop=new d.Rectangle(0,0,this._cache.width,this._cache.height),this.cropEnabled=!1,this.updateCache(),this.updateBounds() +},d.Sprite.prototype=Object.create(c.Sprite.prototype),d.Sprite.prototype.constructor=d.Sprite,d.Sprite.prototype.preUpdate=function(){return!this.exists||this.group&&!this.group.exists?(this.renderOrderID=-1,!1):this.lifespan>0&&(this.lifespan-=this.game.time.elapsed,this.lifespan<=0)?(this.kill(),!1):(this._cache.dirty=!1,this.visible&&(this.renderOrderID=this.game.world.currentRenderOrderID++),this.updateCache(),this.updateAnimation(),this.updateCrop(),(this._cache.dirty||this.world.x!==this._cache.prevX||this.world.y!==this._cache.prevY)&&this.updateBounds(),this.body&&this.body.preUpdate(),!0)},d.Sprite.prototype.updateCache=function(){this._cache.prevX=this.world.x,this._cache.prevY=this.world.y,this.fixedToCamera&&(this.x=this.game.camera.view.x+this.cameraOffset.x,this.y=this.game.camera.view.y+this.cameraOffset.y),this.world.setTo(this.game.camera.x+this.worldTransform[2],this.game.camera.y+this.worldTransform[5]),(this.worldTransform[1]!=this._cache.i01||this.worldTransform[3]!=this._cache.i10||this.worldTransform[0]!=this._cache.a00||this.worldTransform[41]!=this._cache.a11)&&(this._cache.a00=this.worldTransform[0],this._cache.a01=this.worldTransform[1],this._cache.a10=this.worldTransform[3],this._cache.a11=this.worldTransform[4],this._cache.i01=this.worldTransform[1],this._cache.i10=this.worldTransform[3],this._cache.scaleX=Math.sqrt(this._cache.a00*this._cache.a00+this._cache.a01*this._cache.a01),this._cache.scaleY=Math.sqrt(this._cache.a10*this._cache.a10+this._cache.a11*this._cache.a11),this._cache.a01*=-1,this._cache.a10*=-1,this._cache.id=1/(this._cache.a00*this._cache.a11+this._cache.a01*-this._cache.a10),this._cache.idi=1/(this._cache.a00*this._cache.a11+this._cache.i01*-this._cache.i10),this._cache.dirty=!0),this._cache.a02=this.worldTransform[2],this._cache.a12=this.worldTransform[5]},d.Sprite.prototype.updateAnimation=function(){(this.animations.update()||this.currentFrame&&this.currentFrame.uuid!=this._cache.frameID)&&(this._cache.frameID=this.currentFrame.uuid,this._cache.frameWidth=this.texture.frame.width,this._cache.frameHeight=this.texture.frame.height,this._cache.width=this.currentFrame.width,this._cache.height=this.currentFrame.height,this._cache.halfWidth=Math.floor(this._cache.width/2),this._cache.halfHeight=Math.floor(this._cache.height/2),this._cache.dirty=!0)},d.Sprite.prototype.updateCrop=function(){!this.cropEnabled||this.crop.width==this._cache.cropWidth&&this.crop.height==this._cache.cropHeight&&this.crop.x==this._cache.cropX&&this.crop.y==this._cache.cropY||(this.crop.floorAll(),this._cache.cropX=this.crop.x,this._cache.cropY=this.crop.y,this._cache.cropWidth=this.crop.width,this._cache.cropHeight=this.crop.height,this.texture.frame=this.crop,this.texture.width=this.crop.width,this.texture.height=this.crop.height,this.texture.updateFrame=!0,c.Texture.frameUpdates.push(this.texture))},d.Sprite.prototype.updateBounds=function(){this.offset.setTo(this._cache.a02-this.anchor.x*this.width,this._cache.a12-this.anchor.y*this.height),this.getLocalPosition(this.center,this.offset.x+this.width/2,this.offset.y+this.height/2),this.getLocalPosition(this.topLeft,this.offset.x,this.offset.y),this.getLocalPosition(this.topRight,this.offset.x+this.width,this.offset.y),this.getLocalPosition(this.bottomLeft,this.offset.x,this.offset.y+this.height),this.getLocalPosition(this.bottomRight,this.offset.x+this.width,this.offset.y+this.height),this._cache.left=d.Math.min(this.topLeft.x,this.topRight.x,this.bottomLeft.x,this.bottomRight.x),this._cache.right=d.Math.max(this.topLeft.x,this.topRight.x,this.bottomLeft.x,this.bottomRight.x),this._cache.top=d.Math.min(this.topLeft.y,this.topRight.y,this.bottomLeft.y,this.bottomRight.y),this._cache.bottom=d.Math.max(this.topLeft.y,this.topRight.y,this.bottomLeft.y,this.bottomRight.y),this.bounds.setTo(this._cache.left,this._cache.top,this._cache.right-this._cache.left,this._cache.bottom-this._cache.top),this.updateFrame=!0,this.inWorld===!1?(this.inWorld=d.Rectangle.intersects(this.bounds,this.game.world.bounds,this.inWorldThreshold),this.inWorld&&(this._outOfBoundsFired=!1)):(this.inWorld=d.Rectangle.intersects(this.bounds,this.game.world.bounds,this.inWorldThreshold),this.inWorld===!1&&(this.events.onOutOfBounds.dispatch(this),this._outOfBoundsFired=!0,this.outOfBoundsKill&&this.kill())),this._cache.cameraVisible=d.Rectangle.intersects(this.game.world.camera.screenView,this.bounds,0),this.autoCull&&(this.renderable=this._cache.cameraVisible),this.body&&this.body.updateBounds(this.center.x,this.center.y,this._cache.scaleX,this._cache.scaleY)},d.Sprite.prototype.getLocalPosition=function(a,b,c){return a.x=(this._cache.a11*this._cache.id*b+-this._cache.a01*this._cache.id*c+(this._cache.a12*this._cache.a01-this._cache.a02*this._cache.a11)*this._cache.id)*this.scale.x+this._cache.a02,a.y=(this._cache.a00*this._cache.id*c+-this._cache.a10*this._cache.id*b+(-this._cache.a12*this._cache.a00+this._cache.a02*this._cache.a10)*this._cache.id)*this.scale.y+this._cache.a12,a},d.Sprite.prototype.getLocalUnmodifiedPosition=function(a,b,c){return a.x=this._cache.a11*this._cache.idi*b+-this._cache.i01*this._cache.idi*c+(this._cache.a12*this._cache.i01-this._cache.a02*this._cache.a11)*this._cache.idi+this.anchor.x*this._cache.width,a.y=this._cache.a00*this._cache.idi*c+-this._cache.i10*this._cache.idi*b+(-this._cache.a12*this._cache.a00+this._cache.a02*this._cache.i10)*this._cache.idi+this.anchor.y*this._cache.height,a},d.Sprite.prototype.resetCrop=function(){this.crop=new d.Rectangle(0,0,this._cache.width,this._cache.height),this.texture.setFrame(this.crop),this.cropEnabled=!1},d.Sprite.prototype.postUpdate=function(){this.key instanceof d.BitmapData&&this.key._dirty&&this.key.render(),this.exists&&(this.body&&this.body.postUpdate(),this.fixedToCamera?(this._cache.x=this.game.camera.view.x+this.cameraOffset.x,this._cache.y=this.game.camera.view.y+this.cameraOffset.y):(this._cache.x=this.x,this._cache.y=this.y),this.world.setTo(this.game.camera.x+this.worldTransform[2],this.game.camera.y+this.worldTransform[5]),this.position.x=this._cache.x,this.position.y=this._cache.y)},d.Sprite.prototype.loadTexture=function(a,b){this.key=a,a instanceof d.RenderTexture?this.currentFrame=this.game.cache.getTextureFrame(a.name):a instanceof d.BitmapData?(this.setTexture(a.texture),this.currentFrame=a.textureFrame):a instanceof c.Texture?this.currentFrame=b:(("undefined"==typeof a||this.game.cache.checkImageKey(a)===!1)&&(a="__default",this.key=a),this.game.cache.isSpriteSheet(a)?(this.animations.loadFrameData(this.game.cache.getFrameData(a)),"undefined"!=typeof b&&("string"==typeof b?this.frameName=b:this.frame=b)):(this.currentFrame=this.game.cache.getFrame(a),this.setTexture(c.TextureCache[a])))},d.Sprite.prototype.centerOn=function(a,b){return this.x=a+(this.x-this.center.x),this.y=b+(this.y-this.center.y),this},d.Sprite.prototype.revive=function(a){return"undefined"==typeof a&&(a=1),this.alive=!0,this.exists=!0,this.visible=!0,this.health=a,this.events&&this.events.onRevived.dispatch(this),this},d.Sprite.prototype.kill=function(){return this.alive=!1,this.exists=!1,this.visible=!1,this.events&&this.events.onKilled.dispatch(this),this},d.Sprite.prototype.destroy=function(){this.group&&this.group.remove(this),this.input&&this.input.destroy(),this.events&&this.events.destroy(),this.animations&&this.animations.destroy(),this.alive=!1,this.exists=!1,this.visible=!1,this.game=null},d.Sprite.prototype.damage=function(a){return this.alive&&(this.health-=a,this.health<0&&this.kill()),this},d.Sprite.prototype.reset=function(a,b,c){return"undefined"==typeof c&&(c=1),this.x=a,this.y=b,this.position.x=this.x,this.position.y=this.y,this.alive=!0,this.exists=!0,this.visible=!0,this.renderable=!0,this._outOfBoundsFired=!1,this.health=c,this.body&&this.body.reset(),this},d.Sprite.prototype.bringToTop=function(){return this.group?this.group.bringToTop(this):this.game.world.bringToTop(this),this},d.Sprite.prototype.play=function(a,b,c,d){return this.animations?this.animations.play(a,b,c,d):void 0},Object.defineProperty(d.Sprite.prototype,"angle",{get:function(){return d.Math.wrapAngle(d.Math.radToDeg(this.rotation))},set:function(a){this.rotation=d.Math.degToRad(d.Math.wrapAngle(a))}}),Object.defineProperty(d.Sprite.prototype,"frame",{get:function(){return this.animations.frame},set:function(a){this.animations.frame=a}}),Object.defineProperty(d.Sprite.prototype,"frameName",{get:function(){return this.animations.frameName},set:function(a){this.animations.frameName=a}}),Object.defineProperty(d.Sprite.prototype,"inCamera",{get:function(){return this._cache.cameraVisible}}),Object.defineProperty(d.Sprite.prototype,"width",{get:function(){return this.scale.x*this.currentFrame.width},set:function(a){this.scale.x=a/this.currentFrame.width,this._cache.scaleX=a/this.currentFrame.width,this._width=a}}),Object.defineProperty(d.Sprite.prototype,"height",{get:function(){return this.scale.y*this.currentFrame.height},set:function(a){this.scale.y=a/this.currentFrame.height,this._cache.scaleY=a/this.currentFrame.height,this._height=a}}),Object.defineProperty(d.Sprite.prototype,"inputEnabled",{get:function(){return this.input.enabled},set:function(a){console.log("inputEnabled",a,this.input),a?this.input.enabled===!1&&this.input.start():this.input.enabled&&this.input.stop()}}),d.TileSprite=function(a,b,e,f,g,h,i){b=b||0,e=e||0,f=f||256,g=g||256,h=h||null,i=i||null,d.Sprite.call(this,a,b,e,h,i),this.texture=c.TextureCache[h],c.TilingSprite.call(this,this.texture,f,g),this.type=d.TILESPRITE,this.tileScale=new d.Point(1,1),this.tilePosition=new d.Point(0,0)},d.TileSprite.prototype=d.Utils.extend(!0,c.TilingSprite.prototype,d.Sprite.prototype),d.TileSprite.prototype.constructor=d.TileSprite,d.Text=function(a,b,e,f,g){b=b||0,e=e||0,f=f||"",g=g||"",this.game=a,this.exists=!0,this.alive=!0,this.group=null,this.name="",this.type=d.TEXT,this._text=f,this._style=g,c.Text.call(this,f,g),this.position.x=this.x=b,this.position.y=this.y=e,this.anchor=new d.Point,this.scale=new d.Point(1,1),this._cache={dirty:!1,a00:1,a01:0,a02:b,a10:0,a11:1,a12:e,id:1,x:-1,y:-1,scaleX:1,scaleY:1},this._cache.x=this.x,this._cache.y=this.y,this.renderable=!0},d.Text.prototype=Object.create(c.Text.prototype),d.Text.prototype.constructor=d.Text,d.Text.prototype.update=function(){this.exists&&(this._cache.dirty=!1,this._cache.x=this.x,this._cache.y=this.y,(this.position.x!=this._cache.x||this.position.y!=this._cache.y)&&(this.position.x=this._cache.x,this.position.y=this._cache.y,this._cache.dirty=!0))},d.Text.prototype.destroy=function(){this.group&&this.group.remove(this),this.canvas.parentNode?this.canvas.parentNode.removeChild(this.canvas):(this.canvas=null,this.context=null),this.exists=!1,this.group=null},Object.defineProperty(d.Text.prototype,"angle",{get:function(){return d.Math.radToDeg(this.rotation)},set:function(a){this.rotation=d.Math.degToRad(a)}}),Object.defineProperty(d.Text.prototype,"x",{get:function(){return this.position.x},set:function(a){this.position.x=a}}),Object.defineProperty(d.Text.prototype,"y",{get:function(){return this.position.y},set:function(a){this.position.y=a}}),Object.defineProperty(d.Text.prototype,"content",{get:function(){return this._text},set:function(a){a!==this._text&&(this._text=a,this.setText(a))}}),Object.defineProperty(d.Text.prototype,"font",{get:function(){return this._style},set:function(a){a!==this._style&&(this._style=a,this.setStyle(a))}}),d.BitmapText=function(a,b,e,f,g){b=b||0,e=e||0,f=f||"",g=g||"",this.game=a,this.exists=!0,this.alive=!0,this.group=null,this.name="",this.type=d.BITMAPTEXT,c.BitmapText.call(this,f,g),this.position.x=b,this.position.y=e,this.anchor=new d.Point,this.scale=new d.Point(1,1),this._cache={dirty:!1,a00:1,a01:0,a02:b,a10:0,a11:1,a12:e,id:1,x:-1,y:-1,scaleX:1,scaleY:1},this._cache.x=this.x,this._cache.y=this.y,this.renderable=!0},d.BitmapText.prototype=Object.create(c.BitmapText.prototype),d.BitmapText.prototype.constructor=d.BitmapText,d.BitmapText.prototype.update=function(){this.exists&&(this._cache.dirty=!1,this._cache.x=this.x,this._cache.y=this.y,(this.position.x!=this._cache.x||this.position.y!=this._cache.y)&&(this.position.x=this._cache.x,this.position.y=this._cache.y,this._cache.dirty=!0),this.pivot.x=this.anchor.x*this.width,this.pivot.y=this.anchor.y*this.height)},d.BitmapText.prototype.destroy=function(){this.group&&this.group.remove(this),this.canvas&&this.canvas.parentNode?this.canvas.parentNode.removeChild(this.canvas):(this.canvas=null,this.context=null),this.exists=!1,this.group=null},Object.defineProperty(d.BitmapText.prototype,"angle",{get:function(){return d.Math.radToDeg(this.rotation)},set:function(a){this.rotation=d.Math.degToRad(a)}}),Object.defineProperty(d.BitmapText.prototype,"x",{get:function(){return this.position.x},set:function(a){this.position.x=a}}),Object.defineProperty(d.BitmapText.prototype,"y",{get:function(){return this.position.y},set:function(a){this.position.y=a}}),d.Button=function(a,b,c,e,f,g,h,i,j){b=b||0,c=c||0,e=e||null,f=f||null,g=g||this,d.Sprite.call(this,a,b,c,e,i),this.type=d.BUTTON,this._onOverFrameName=null,this._onOutFrameName=null,this._onDownFrameName=null,this._onUpFrameName=null,this._onOverFrameID=null,this._onOutFrameID=null,this._onDownFrameID=null,this._onUpFrameID=null,this.onOverSound=null,this.onOutSound=null,this.onDownSound=null,this.onUpSound=null,this.onOverSoundMarker="",this.onOutSoundMarker="",this.onDownSoundMarker="",this.onUpSoundMarker="",this.onInputOver=new d.Signal,this.onInputOut=new d.Signal,this.onInputDown=new d.Signal,this.onInputUp=new d.Signal,this.freezeFrames=!1,this.forceOut=!0,this.setFrames(h,i,j),null!==f&&this.onInputUp.add(f,g),this.input.start(0,!0),this.events.onInputOver.add(this.onInputOverHandler,this),this.events.onInputOut.add(this.onInputOutHandler,this),this.events.onInputDown.add(this.onInputDownHandler,this),this.events.onInputUp.add(this.onInputUpHandler,this)},d.Button.prototype=Object.create(d.Sprite.prototype),d.Button.prototype=d.Utils.extend(!0,d.Button.prototype,d.Sprite.prototype,c.Sprite.prototype),d.Button.prototype.constructor=d.Button,d.Button.prototype.setFrames=function(a,b,c){null!==a&&("string"==typeof a?(this._onOverFrameName=a,this.input.pointerOver()&&(this.frameName=a)):(this._onOverFrameID=a,this.input.pointerOver()&&(this.frame=a))),null!==b&&("string"==typeof b?(this._onOutFrameName=b,this._onUpFrameName=b,this.input.pointerOver()===!1&&(this.frameName=b)):(this._onOutFrameID=b,this._onUpFrameID=b,this.input.pointerOver()===!1&&(this.frame=b))),null!==c&&("string"==typeof c?(this._onDownFrameName=c,this.input.pointerDown()&&(this.frameName=c)):(this._onDownFrameID=c,this.input.pointerDown()&&(this.frame=c)))},d.Button.prototype.setSounds=function(a,b,c,d,e,f,g,h){this.setOverSound(a,b),this.setOutSound(e,f),this.setUpSound(g,h),this.setDownSound(c,d)},d.Button.prototype.setOverSound=function(a,b){this.onOverSound=null,this.onOverSoundMarker="",a instanceof d.Sound&&(this.onOverSound=a),"string"==typeof b&&(this.onOverSoundMarker=b)},d.Button.prototype.setOutSound=function(a,b){this.onOutSound=null,this.onOutSoundMarker="",a instanceof d.Sound&&(this.onOutSound=a),"string"==typeof b&&(this.onOutSoundMarker=b)},d.Button.prototype.setUpSound=function(a,b){this.onUpSound=null,this.onUpSoundMarker="",a instanceof d.Sound&&(this.onUpSound=a),"string"==typeof b&&(this.onUpSoundMarker=b)},d.Button.prototype.setDownSound=function(a,b){this.onDownSound=null,this.onDownSoundMarker="",a instanceof d.Sound&&(this.onDownSound=a),"string"==typeof b&&(this.onDownSoundMarker=b)},d.Button.prototype.onInputOverHandler=function(a){this.freezeFrames===!1&&(null!=this._onOverFrameName?this.frameName=this._onOverFrameName:null!=this._onOverFrameID&&(this.frame=this._onOverFrameID)),this.onOverSound&&this.onOverSound.play(this.onOverSoundMarker),this.onInputOver&&this.onInputOver.dispatch(this,a)},d.Button.prototype.onInputOutHandler=function(a){this.freezeFrames===!1&&(null!=this._onOutFrameName?this.frameName=this._onOutFrameName:null!=this._onOutFrameID&&(this.frame=this._onOutFrameID)),this.onOutSound&&this.onOutSound.play(this.onOutSoundMarker),this.onInputOut&&this.onInputOut.dispatch(this,a)},d.Button.prototype.onInputDownHandler=function(a){this.freezeFrames===!1&&(null!=this._onDownFrameName?this.frameName=this._onDownFrameName:null!=this._onDownFrameID&&(this.frame=this._onDownFrameID)),this.onDownSound&&this.onDownSound.play(this.onDownSoundMarker),this.onInputDown&&this.onInputDown.dispatch(this,a)},d.Button.prototype.onInputUpHandler=function(a){this.freezeFrames===!1&&(null!=this._onUpFrameName?this.frameName=this._onUpFrameName:null!=this._onUpFrameID&&(this.frame=this._onUpFrameID)),this.onUpSound&&this.onUpSound.play(this.onUpSoundMarker),this.forceOut&&this.freezeFrames===!1&&(null!=this._onOutFrameName?this.frameName=this._onOutFrameName:null!=this._onOutFrameID&&(this.frame=this._onOutFrameID)),this.onInputUp&&this.onInputUp.dispatch(this,a)},d.Graphics=function(a,b,e){this.game=a,c.Graphics.call(this),this.type=d.GRAPHICS,this.position.x=b,this.position.y=e},d.Graphics.prototype=Object.create(c.Graphics.prototype),d.Graphics.prototype.constructor=d.Graphics,d.Graphics.prototype.destroy=function(){this.clear(),this.group&&this.group.remove(this),this.game=null},d.Graphics.prototype.drawPolygon=function(a){this.moveTo(a.points[0].x,a.points[0].y);for(var b=1;bh;h++)f[h].updateTransform();var j=a.__renderGroup;j?a==j.root?j.render(this.projection,this.glFramebuffer):j.renderSpecific(a,this.projection,this.glFramebuffer):(this.renderGroup||(this.renderGroup=new c.WebGLRenderGroup(e)),this.renderGroup.setRenderable(a),this.renderGroup.render(this.projection,this.glFramebuffer)),a.worldTransform=g},d.RenderTexture.prototype.renderCanvas=function(a,b,d){var e=a.children;a.worldTransform=c.mat3.create(),b&&(a.worldTransform[2]=b.x,a.worldTransform[5]=b.y);for(var f=0,g=e.length;g>f;f++)e[f].updateTransform();d&&this.renderer.context.clearRect(0,0,this.width,this.height),this.renderer.renderDisplayObject(a),this.renderer.context.setTransform(1,0,0,1,0,0)},d.Canvas={create:function(a,b){a=a||256,b=b||256;var c=document.createElement("canvas");return c.width=a,c.height=b,c.style.display="block",c},getOffset:function(a,b){b=b||new d.Point;var c=a.getBoundingClientRect(),e=a.clientTop||document.body.clientTop||0,f=a.clientLeft||document.body.clientLeft||0,g=window.pageYOffset||a.scrollTop||document.body.scrollTop,h=window.pageXOffset||a.scrollLeft||document.body.scrollLeft;return b.x=c.left+h-f,b.y=c.top+g-e,b},getAspectRatio:function(a){return a.width/a.height},setBackgroundColor:function(a,b){return b=b||"rgb(0,0,0)",a.style.backgroundColor=b,a},setTouchAction:function(a,b){return b=b||"none",a.style.msTouchAction=b,a.style["ms-touch-action"]=b,a.style["touch-action"]=b,a},setUserSelect:function(a,b){return b=b||"none",a.style["-webkit-touch-callout"]=b,a.style["-webkit-user-select"]=b,a.style["-khtml-user-select"]=b,a.style["-moz-user-select"]=b,a.style["-ms-user-select"]=b,a.style["user-select"]=b,a.style["-webkit-tap-highlight-color"]="rgba(0, 0, 0, 0)",a},addToDOM:function(a,b,c){var d;return"undefined"==typeof c&&(c=!0),b&&("string"==typeof b?d=document.getElementById(b):"object"==typeof b&&1===b.nodeType&&(d=b),c&&(d.style.overflow="hidden")),d||(d=document.body),d.appendChild(a),a},setTransform:function(a,b,c,d,e,f,g){return a.setTransform(d,f,g,e,b,c),a},setSmoothingEnabled:function(a,b){return a.imageSmoothingEnabled=b,a.mozImageSmoothingEnabled=b,a.oImageSmoothingEnabled=b,a.webkitImageSmoothingEnabled=b,a.msImageSmoothingEnabled=b,a},setImageRenderingCrisp:function(a){return a.style["image-rendering"]="crisp-edges",a.style["image-rendering"]="-moz-crisp-edges",a.style["image-rendering"]="-webkit-optimize-contrast",a.style.msInterpolationMode="nearest-neighbor",a},setImageRenderingBicubic:function(a){return a.style["image-rendering"]="auto",a.style.msInterpolationMode="bicubic",a}},d.StageScaleMode=function(a,b,c){this.game=a,this.width=b,this.height=c,this.minWidth=null,this.maxWidth=null,this.minHeight=null,this.maxHeight=null,this._startHeight=0,this.forceLandscape=!1,this.forcePortrait=!1,this.incorrectOrientation=!1,this.pageAlignHorizontally=!1,this.pageAlignVertically=!1,this._width=0,this._height=0,this.maxIterations=5,this.orientationSprite=null,this.enterLandscape=new d.Signal,this.enterPortrait=new d.Signal,this.enterIncorrectOrientation=new d.Signal,this.leaveIncorrectOrientation=new d.Signal,this.hasResized=new d.Signal,this.orientation=window.orientation?window.orientation:window.outerWidth>window.outerHeight?90:0,this.scaleFactor=new d.Point(1,1),this.scaleFactorInversed=new d.Point(1,1),this.margin=new d.Point(0,0),this.aspectRatio=0,this.event=null;var e=this;window.addEventListener("orientationchange",function(a){return e.checkOrientation(a)},!1),window.addEventListener("resize",function(a){return e.checkResize(a)},!1),document.addEventListener("webkitfullscreenchange",function(a){return e.fullScreenChange(a)},!1),document.addEventListener("mozfullscreenchange",function(a){return e.fullScreenChange(a)},!1),document.addEventListener("fullscreenchange",function(a){return e.fullScreenChange(a)},!1)},d.StageScaleMode.EXACT_FIT=0,d.StageScaleMode.NO_SCALE=1,d.StageScaleMode.SHOW_ALL=2,d.StageScaleMode.prototype={startFullScreen:function(a){if(!this.isFullScreen){"undefined"!=typeof a&&d.Canvas.setSmoothingEnabled(this.game.context,a);var b=this.game.canvas;this._width=this.width,this._height=this.height,console.log("startFullScreen",this._width,this._height),b.requestFullScreen?b.requestFullScreen():b.mozRequestFullScreen?b.mozRequestFullScreen():b.webkitRequestFullScreen&&b.webkitRequestFullScreen(Element.ALLOW_KEYBOARD_INPUT)}},stopFullScreen:function(){document.cancelFullScreen?document.cancelFullScreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitCancelFullScreen&&document.webkitCancelFullScreen()},fullScreenChange:function(a){this.event=a,this.isFullScreen?(this.game.stage.canvas.style.width="100%",this.game.stage.canvas.style.height="100%",this.setMaximum(),this.game.input.scale.setTo(this.game.width/this.width,this.game.height/this.height),this.aspectRatio=this.width/this.height,this.scaleFactor.x=this.game.width/this.width,this.scaleFactor.y=this.game.height/this.height):(this.game.stage.canvas.style.width=this.game.width+"px",this.game.stage.canvas.style.height=this.game.height+"px",this.width=this._width,this.height=this._height,this.game.input.scale.setTo(this.game.width/this.width,this.game.height/this.height),this.aspectRatio=this.width/this.height,this.scaleFactor.x=this.game.width/this.width,this.scaleFactor.y=this.game.height/this.height)},forceOrientation:function(a,b,d){"undefined"==typeof b&&(b=!1),this.forceLandscape=a,this.forcePortrait=b,"undefined"!=typeof d&&((null==d||this.game.cache.checkImageKey(d)===!1)&&(d="__default"),this.orientationSprite=new c.Sprite(c.TextureCache[d]),this.orientationSprite.anchor.x=.5,this.orientationSprite.anchor.y=.5,this.orientationSprite.position.x=this.game.width/2,this.orientationSprite.position.y=this.game.height/2,this.checkOrientationState(),this.incorrectOrientation?(this.orientationSprite.visible=!0,this.game.world.visible=!1):(this.orientationSprite.visible=!1,this.game.world.visible=!0),this.game.stage._stage.addChild(this.orientationSprite))},checkOrientationState:function(){this.incorrectOrientation?(this.forceLandscape&&window.innerWidth>window.innerHeight||this.forcePortrait&&window.innerHeight>window.innerWidth)&&(this.game.paused=!1,this.incorrectOrientation=!1,this.leaveIncorrectOrientation.dispatch(),this.orientationSprite&&(this.orientationSprite.visible=!1,this.game.world.visible=!0),this.refresh()):(this.forceLandscape&&window.innerWidthwindow.outerHeight?90:0,this.isLandscape?this.enterLandscape.dispatch(this.orientation,!0,!1):this.enterPortrait.dispatch(this.orientation,!1,!0),this.game.stage.scaleMode!==d.StageScaleMode.NO_SCALE&&this.refresh(),this.checkOrientationState()},refresh:function(){if(this.game.device.iPad===!1&&this.game.device.webApp===!1&&this.game.device.desktop===!1&&(this.game.device.android&&this.game.device.chrome===!1?window.scrollTo(0,1):window.scrollTo(0,0)),null==this._check&&this.maxIterations>0){this._iterations=this.maxIterations;var a=this;this._check=window.setInterval(function(){return a.setScreenSize()},10),this.setScreenSize()}},setScreenSize:function(a){"undefined"==typeof a&&(a=!1),this.game.device.iPad===!1&&this.game.device.webApp===!1&&this.game.device.desktop===!1&&(this.game.device.android&&this.game.device.chrome===!1?window.scrollTo(0,1):window.scrollTo(0,0)),this._iterations--,(a||window.innerHeight>this._startHeight||this._iterations<0)&&(document.documentElement.style.minHeight=window.innerHeight+"px",this.incorrectOrientation===!0?this.setMaximum():this.game.stage.scaleMode==d.StageScaleMode.EXACT_FIT?this.setExactFit():this.game.stage.scaleMode==d.StageScaleMode.SHOW_ALL&&this.setShowAll(),this.setSize(),clearInterval(this._check),this._check=null)},setSize:function(){this.incorrectOrientation===!1&&(this.maxWidth&&this.width>this.maxWidth&&(this.width=this.maxWidth),this.maxHeight&&this.height>this.maxHeight&&(this.height=this.maxHeight),this.minWidth&&this.widththis.maxWidth?this.maxWidth:a,this.height=this.maxHeight&&b>this.maxHeight?this.maxHeight:b}},Object.defineProperty(d.StageScaleMode.prototype,"isFullScreen",{get:function(){return document.fullscreenElement||document.mozFullScreenElement||document.webkitFullscreenElement}}),Object.defineProperty(d.StageScaleMode.prototype,"isPortrait",{get:function(){return 0===this.orientation||180==this.orientation}}),Object.defineProperty(d.StageScaleMode.prototype,"isLandscape",{get:function(){return 90===this.orientation||-90===this.orientation}}),d.Device=function(){this.patchAndroidClearRectBug=!1,this.desktop=!1,this.iOS=!1,this.cocoonJS=!1,this.android=!1,this.chromeOS=!1,this.linux=!1,this.macOS=!1,this.windows=!1,this.canvas=!1,this.file=!1,this.fileSystem=!1,this.localStorage=!1,this.webGL=!1,this.worker=!1,this.touch=!1,this.mspointer=!1,this.css3D=!1,this.pointerLock=!1,this.typedArray=!1,this.arora=!1,this.chrome=!1,this.epiphany=!1,this.firefox=!1,this.ie=!1,this.ieVersion=0,this.mobileSafari=!1,this.midori=!1,this.opera=!1,this.safari=!1,this.webApp=!1,this.audioData=!1,this.webAudio=!1,this.ogg=!1,this.opus=!1,this.mp3=!1,this.wav=!1,this.m4a=!1,this.webm=!1,this.iPhone=!1,this.iPhone4=!1,this.iPad=!1,this.pixelRatio=0,this.littleEndian=!1,this._checkAudio(),this._checkBrowser(),this._checkCSS3D(),this._checkDevice(),this._checkFeatures(),this._checkOS() +},d.Device.prototype={_checkOS:function(){var a=navigator.userAgent;/Android/.test(a)?this.android=!0:/CrOS/.test(a)?this.chromeOS=!0:/iP[ao]d|iPhone/i.test(a)?this.iOS=!0:/Linux/.test(a)?this.linux=!0:/Mac OS/.test(a)?this.macOS=!0:/Windows/.test(a)&&(this.windows=!0),(this.windows||this.macOS||this.linux)&&(this.desktop=!0)},_checkFeatures:function(){this.canvas=!!window.CanvasRenderingContext2D;try{this.localStorage=!!localStorage.getItem}catch(a){this.localStorage=!1}this.file=!!(window.File&&window.FileReader&&window.FileList&&window.Blob),this.fileSystem=!!window.requestFileSystem,this.webGL=function(){try{var a=document.createElement("canvas");return!!window.WebGLRenderingContext&&(a.getContext("webgl")||a.getContext("experimental-webgl"))}catch(b){return!1}}(),this.webGL=null===this.webGL||this.webGL===!1?!1:!0,this.worker=!!window.Worker,("ontouchstart"in document.documentElement||window.navigator.maxTouchPoints&&window.navigator.maxTouchPoints>1)&&(this.touch=!0),(window.navigator.msPointerEnabled||window.navigator.pointerEnabled)&&(this.mspointer=!0),this.pointerLock="pointerLockElement"in document||"mozPointerLockElement"in document||"webkitPointerLockElement"in document},_checkBrowser:function(){var a=navigator.userAgent;/Arora/.test(a)?this.arora=!0:/Chrome/.test(a)?this.chrome=!0:/Epiphany/.test(a)?this.epiphany=!0:/Firefox/.test(a)?this.firefox=!0:/Mobile Safari/.test(a)?this.mobileSafari=!0:/MSIE (\d+\.\d+);/.test(a)?(this.ie=!0,this.ieVersion=parseInt(RegExp.$1,10)):/Midori/.test(a)?this.midori=!0:/Opera/.test(a)?this.opera=!0:/Safari/.test(a)&&(this.safari=!0),navigator.standalone&&(this.webApp=!0),navigator.isCocoonJS&&(this.cocoonJS=!0)},_checkAudio:function(){this.audioData=!!window.Audio,this.webAudio=!(!window.webkitAudioContext&&!window.AudioContext);var a=document.createElement("audio"),b=!1;try{(b=!!a.canPlayType)&&(a.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,"")&&(this.ogg=!0),a.canPlayType('audio/ogg; codecs="opus"').replace(/^no$/,"")&&(this.opus=!0),a.canPlayType("audio/mpeg;").replace(/^no$/,"")&&(this.mp3=!0),a.canPlayType('audio/wav; codecs="1"').replace(/^no$/,"")&&(this.wav=!0),(a.canPlayType("audio/x-m4a;")||a.canPlayType("audio/aac;").replace(/^no$/,""))&&(this.m4a=!0),a.canPlayType('audio/webm; codecs="vorbis"').replace(/^no$/,"")&&(this.webm=!0))}catch(c){}},_checkDevice:function(){this.pixelRatio=window.devicePixelRatio||1,this.iPhone=-1!=navigator.userAgent.toLowerCase().indexOf("iphone"),this.iPhone4=2==this.pixelRatio&&this.iPhone,this.iPad=-1!=navigator.userAgent.toLowerCase().indexOf("ipad"),"undefined"!=typeof Int8Array?(this.littleEndian=new Int8Array(new Int16Array([1]).buffer)[0]>0,this.typedArray=!0):(this.littleEndian=!1,this.typedArray=!1)},_checkCSS3D:function(){var a,b=document.createElement("p"),c={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};document.body.insertBefore(b,null);for(var d in c)void 0!==b.style[d]&&(b.style[d]="translate3d(1px,1px,1px)",a=window.getComputedStyle(b).getPropertyValue(c[d]));document.body.removeChild(b),this.css3D=void 0!==a&&a.length>0&&"none"!==a},canPlayAudio:function(a){return"mp3"==a&&this.mp3?!0:"ogg"==a&&(this.ogg||this.opus)?!0:"m4a"==a&&this.m4a?!0:"wav"==a&&this.wav?!0:"webm"==a&&this.webm?!0:!1},isConsoleOpen:function(){return window.console&&window.console.firebug?!0:window.console?(console.profile(),console.profileEnd(),console.clear&&console.clear(),console.profiles.length>0):!1}},d.RequestAnimationFrame=function(a){this.game=a,this.isRunning=!1;for(var b=["ms","moz","webkit","o"],c=0;c>>0,b-=d,b*=d,d=b>>>0,b-=d,d+=4294967296*b;return 2.3283064365386963e-10*(d>>>0)},integer:function(){return 4294967296*this.rnd.apply(this)},frac:function(){return this.rnd.apply(this)+1.1102230246251565e-16*(0|2097152*this.rnd.apply(this))},real:function(){return this.integer()+this.frac()},integerInRange:function(a,b){return Math.floor(this.realInRange(a,b))},realInRange:function(a,b){return this.frac()*(b-a)+a},normal:function(){return 1-2*this.frac()},uuid:function(){var a="",b="";for(b=a="";a++<36;b+=~a%5|4&3*a?(15^a?8^this.frac()*(20^a?16:4):4).toString(16):"-");return b},pick:function(a){return a[this.integerInRange(0,a.length)]},weightedPick:function(a){return a[~~(Math.pow(this.frac(),2)*a.length)]},timestamp:function(a,b){return this.realInRange(a||9466848e5,b||1577862e6)},angle:function(){return this.integerInRange(-180,180)}},d.Math={PI2:2*Math.PI,fuzzyEqual:function(a,b,c){return"undefined"==typeof c&&(c=1e-4),Math.abs(a-b)a},fuzzyGreaterThan:function(a,b,c){return"undefined"==typeof c&&(c=1e-4),a>b-c},fuzzyCeil:function(a,b){return"undefined"==typeof b&&(b=1e-4),Math.ceil(a-b)},fuzzyFloor:function(a,b){return"undefined"==typeof b&&(b=1e-4),Math.floor(a+b)},average:function(){for(var a=[],b=0;b0?Math.floor(a):Math.ceil(a)},shear:function(a){return a%1},snapTo:function(a,b,c){return"undefined"==typeof c&&(c=0),0===b?a:(a-=c,a=b*Math.round(a/b),c+a)},snapToFloor:function(a,b,c){return"undefined"==typeof c&&(c=0),0===b?a:(a-=c,a=b*Math.floor(a/b),c+a)},snapToCeil:function(a,b,c){return"undefined"==typeof c&&(c=0),0===b?a:(a-=c,a=b*Math.ceil(a/b),c+a)},snapToInArray:function(a,b,c){if("undefined"==typeof c&&(c=!0),c&&b.sort(),a=f-a?f:e},roundTo:function(a,b,c){"undefined"==typeof b&&(b=0),"undefined"==typeof c&&(c=10);var d=Math.pow(c,-b);return Math.round(a*d)/d},floorTo:function(a,b,c){"undefined"==typeof b&&(b=0),"undefined"==typeof c&&(c=10);var d=Math.pow(c,-b);return Math.floor(a*d)/d},ceilTo:function(a,b,c){"undefined"==typeof b&&(b=0),"undefined"==typeof c&&(c=10);var d=Math.pow(c,-b);return Math.ceil(a*d)/d},interpolateFloat:function(a,b,c){return(b-a)*c+a},angleBetween:function(a,b,c,d){return Math.atan2(d-b,c-a)},normalizeAngle:function(a,b){"undefined"==typeof b&&(b=!0);var c=b?Math.PI:180;return this.wrap(a,-c,c)},nearestAngleBetween:function(a,b,c){"undefined"==typeof c&&(c=!0);var d=c?Math.PI:180;return a=this.normalizeAngle(a,c),b=this.normalizeAngle(b,c),-d/2>a&&b>d/2&&(a+=2*d),-d/2>b&&a>d/2&&(b+=2*d),b-a},interpolateAngles:function(a,b,c,d,e){return"undefined"==typeof d&&(d=!0),"undefined"==typeof e&&(e=null),a=this.normalizeAngle(a,d),b=this.normalizeAngleToAnother(b,a,d),"function"==typeof e?e(c,a,b-a,1):this.interpolateFloat(a,b,c)},chanceRoll:function(a){return"undefined"==typeof a&&(a=50),0>=a?!1:a>=100?!0:100*Math.random()>=a?!1:!0},numberArray:function(a,b){for(var c=[],d=a;b>=d;d++)c.push(d);return c},maxAdd:function(a,b,c){return a+=b,a>c&&(a=c),a},minSub:function(a,b,c){return a-=b,c>a&&(a=c),a},wrap:function(a,b,c){var d=c-b;if(0>=d)return 0;var e=(a-b)%d;return 0>e&&(e+=d),e+b},wrapValue:function(a,b,c){var d;return a=Math.abs(a),b=Math.abs(b),c=Math.abs(c),d=(a+b)%c},randomSign:function(){return Math.random()>.5?1:-1},isOdd:function(a){return 1&a},isEven:function(a){return 1&a?!1:!0},max:function(){for(var a=1,b=0,c=arguments.length;c>a;a++)arguments[b]a;a++)arguments[a]c?d=c:b>a&&(d=b),d},linearInterpolation:function(a,b){var c=a.length-1,d=c*b,e=Math.floor(d);return 0>b?this.linear(a[0],a[1],d):b>1?this.linear(a[c],a[c-1],c-d):this.linear(a[e],a[e+1>c?c:e+1],d-e)},bezierInterpolation:function(a,b){for(var c=0,d=a.length-1,e=0;d>=e;e++)c+=Math.pow(1-b,d-e)*Math.pow(b,e)*a[e]*this.bernstein(d,e);return c},catmullRomInterpolation:function(a,b){var c=a.length-1,d=c*b,e=Math.floor(d);return a[0]===a[c]?(0>b&&(e=Math.floor(d=c*(1+b))),this.catmullRom(a[(e-1+c)%c],a[e],a[(e+1)%c],a[(e+2)%c],d-e)):0>b?a[0]-(this.catmullRom(a[0],a[0],a[1],a[1],-d)-a[0]):b>1?a[c]-(this.catmullRom(a[c],a[c],a[c-1],a[c-1],d-c)-a[c]):this.catmullRom(a[e?e-1:0],a[e],a[e+1>c?c:e+1],a[e+2>c?c:e+2],d-e)},linear:function(a,b,c){return(b-a)*c+a},bernstein:function(a,b){return this.factorial(a)/this.factorial(b)/this.factorial(a-b)},catmullRom:function(a,b,c,d,e){var f=.5*(c-a),g=.5*(d-b),h=e*e,i=e*h;return(2*b-2*c+f+g)*i+(-3*b+3*c-2*f-g)*h+f*e+b},difference:function(a,b){return Math.abs(a-b)},getRandom:function(a,b,c){if("undefined"==typeof b&&(b=0),"undefined"==typeof c&&(c=0),null!=a){var d=c;if((0===d||d>a.length-b)&&(d=a.length-b),d>0)return a[b+Math.floor(Math.random()*d)]}return null},floor:function(a){var b=0|a;return a>0?b:b!=a?b-1:b},ceil:function(a){var b=0|a;return a>0?b!=a?b+1:b:b},sinCosGenerator:function(a,b,c,d){"undefined"==typeof b&&(b=1),"undefined"==typeof c&&(c=1),"undefined"==typeof d&&(d=1);for(var e=b,f=c,g=d*Math.PI/a,h=[],i=[],j=0;a>j;j++)f-=e*g,e+=f*g,h[j]=f,i[j]=e;return{sin:i,cos:h,length:a}},shift:function(a){var b=a.shift();return a.push(b),b},shuffleArray:function(a){for(var b=a.length-1;b>0;b--){var c=Math.floor(Math.random()*(b+1)),d=a[b];a[b]=a[c],a[c]=d}return a},distance:function(a,b,c,d){var e=a-c,f=b-d;return Math.sqrt(e*e+f*f)},distanceRounded:function(a,b,c,e){return Math.round(d.Math.distance(a,b,c,e))},clamp:function(a,b,c){return b>a?b:a>c?c:a},clampBottom:function(a,b){return b>a?b:a},within:function(a,b,c){return Math.abs(a-b)<=c},mapLinear:function(a,b,c,d,e){return d+(a-b)*(e-d)/(c-b)},smoothstep:function(a,b,c){return b>=a?0:a>=c?1:(a=(a-b)/(c-b),a*a*(3-2*a))},smootherstep:function(a,b,c){return b>=a?0:a>=c?1:(a=(a-b)/(c-b),a*a*a*(a*(6*a-15)+10))},sign:function(a){return 0>a?-1:a>0?1:0},degToRad:function(){var a=Math.PI/180;return function(b){return b*a}}(),radToDeg:function(){var a=180/Math.PI;return function(b){return b*a}}()},d.QuadTree=function(a,b,c,d,e,f,g,h){this.physicsManager=a,this.ID=a.quadTreeID,a.quadTreeID++,this.maxObjects=f||10,this.maxLevels=g||4,this.level=h||0,this.bounds={x:Math.round(b),y:Math.round(c),width:d,height:e,subWidth:Math.floor(d/2),subHeight:Math.floor(e/2),right:Math.round(b)+Math.floor(d/2),bottom:Math.round(c)+Math.floor(e/2)},this.objects=[],this.nodes=[]},d.QuadTree.prototype={split:function(){this.level++,this.nodes[0]=new d.QuadTree(this.physicsManager,this.bounds.right,this.bounds.y,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level),this.nodes[1]=new d.QuadTree(this.physicsManager,this.bounds.x,this.bounds.y,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level),this.nodes[2]=new d.QuadTree(this.physicsManager,this.bounds.x,this.bounds.bottom,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level),this.nodes[3]=new d.QuadTree(this.physicsManager,this.bounds.right,this.bounds.bottom,this.bounds.subWidth,this.bounds.subHeight,this.maxObjects,this.maxLevels,this.level)},insert:function(a){var b,c=0;if(null!=this.nodes[0]&&(b=this.getIndex(a),-1!==b))return this.nodes[b].insert(a),void 0;if(this.objects.push(a),this.objects.length>this.maxObjects&&this.levelthis.bounds.bottom&&(b=2):a.x>this.bounds.right&&(a.ythis.bounds.bottom&&(b=3)),b},retrieve:function(a){var b=this.objects;return a.body.quadTreeIndex=this.getIndex(a.body),a.body.quadTreeIDs.push(this.ID),this.nodes[0]&&(-1!==a.body.quadTreeIndex?b=b.concat(this.nodes[a.body.quadTreeIndex].retrieve(a)):(b=b.concat(this.nodes[0].retrieve(a)),b=b.concat(this.nodes[1].retrieve(a)),b=b.concat(this.nodes[2].retrieve(a)),b=b.concat(this.nodes[3].retrieve(a)))),b},clear:function(){this.objects=[];for(var a=0,b=this.nodes.length;b>a;a++)this.nodes[a]&&(this.nodes[a].clear(),delete this.nodes[a])}},d.Circle=function(a,b,c){a=a||0,b=b||0,c=c||0,this.x=a,this.y=b,this._diameter=c,this._radius=c>0?.5*c:0},d.Circle.prototype={circumference:function(){return 2*Math.PI*this._radius},setTo:function(a,b,c){return this.x=a,this.y=b,this._diameter=c,this._radius=.5*c,this},copyFrom:function(a){return this.setTo(a.x,a.y,a.diameter)},copyTo:function(a){return a.x=this.x,a.y=this.y,a.diameter=this._diameter,a},distance:function(a,b){return"undefined"==typeof b&&(b=!1),b?d.Math.distanceRound(this.x,this.y,a.x,a.y):d.Math.distance(this.x,this.y,a.x,a.y)},clone:function(a){return"undefined"==typeof a&&(a=new d.Circle),a.setTo(this.x,this.y,this.diameter)},contains:function(a,b){return d.Circle.contains(this,a,b)},circumferencePoint:function(a,b,c){return d.Circle.circumferencePoint(this,a,b,c)},offset:function(a,b){return this.x+=a,this.y+=b,this},offsetPoint:function(a){return this.offset(a.x,a.y)},toString:function(){return"[{Phaser.Circle (x="+this.x+" y="+this.y+" diameter="+this.diameter+" radius="+this.radius+")}]"}},Object.defineProperty(d.Circle.prototype,"diameter",{get:function(){return this._diameter},set:function(a){a>0&&(this._diameter=a,this._radius=.5*a)}}),Object.defineProperty(d.Circle.prototype,"radius",{get:function(){return this._radius},set:function(a){a>0&&(this._radius=a,this._diameter=2*a)}}),Object.defineProperty(d.Circle.prototype,"left",{get:function(){return this.x-this._radius},set:function(a){a>this.x?(this._radius=0,this._diameter=0):this.radius=this.x-a}}),Object.defineProperty(d.Circle.prototype,"right",{get:function(){return this.x+this._radius},set:function(a){athis.y?(this._radius=0,this._diameter=0):this.radius=this.y-a}}),Object.defineProperty(d.Circle.prototype,"bottom",{get:function(){return this.y+this._radius},set:function(a){a0?Math.PI*this._radius*this._radius:0}}),Object.defineProperty(d.Circle.prototype,"empty",{get:function(){return 0===this._diameter},set:function(a){a===!0&&this.setTo(0,0,0)}}),d.Circle.contains=function(a,b,c){if(b>=a.left&&b<=a.right&&c>=a.top&&c<=a.bottom){var d=(a.x-b)*(a.x-b),e=(a.y-c)*(a.y-c);return d+e<=a.radius*a.radius}return!1},d.Circle.equals=function(a,b){return a.x==b.x&&a.y==b.y&&a.diameter==b.diameter},d.Circle.intersects=function(a,b){return d.Math.distance(a.x,a.y,b.x,b.y)<=a.radius+b.radius},d.Circle.circumferencePoint=function(a,b,c,e){return"undefined"==typeof c&&(c=!1),"undefined"==typeof e&&(e=new d.Point),c===!0&&(b=d.Math.radToDeg(b)),e.x=a.x+a.radius*Math.cos(b),e.y=a.y+a.radius*Math.sin(b),e},d.Circle.intersectsRectangle=function(a,b){var c=Math.abs(a.x-b.x-b.halfWidth),d=b.halfWidth+a.radius;if(c>d)return!1;var e=Math.abs(a.y-b.y-b.halfHeight),f=b.halfHeight+a.radius;if(e>f)return!1;if(c<=b.halfWidth||e<=b.halfHeight)return!0;var g=c-b.halfWidth,h=e-b.halfHeight,i=g*g,j=h*h,k=a.radius*a.radius;return k>=i+j},d.Point=function(a,b){a=a||0,b=b||0,this.x=a,this.y=b},d.Point.prototype={copyFrom:function(a){return this.setTo(a.x,a.y)},invert:function(){return this.setTo(this.y,this.x)},setTo:function(a,b){return this.x=a,this.y=b,this},add:function(a,b){return this.x+=a,this.y+=b,this},subtract:function(a,b){return this.x-=a,this.y-=b,this},multiply:function(a,b){return this.x*=a,this.y*=b,this},divide:function(a,b){return this.x/=a,this.y/=b,this},clampX:function(a,b){return this.x=d.Math.clamp(this.x,a,b),this},clampY:function(a,b){return this.y=d.Math.clamp(this.y,a,b),this},clamp:function(a,b){return this.x=d.Math.clamp(this.x,a,b),this.y=d.Math.clamp(this.y,a,b),this},clone:function(a){return"undefined"==typeof a&&(a=new d.Point),a.setTo(this.x,this.y)},copyTo:function(a){return a.x=this.x,a.y=this.y,a},distance:function(a,b){return d.Point.distance(this,a,b)},equals:function(a){return a.x==this.x&&a.y==this.y},rotate:function(a,b,c,e,f){return d.Point.rotate(this,a,b,c,e,f)},getMagnitude:function(){return Math.sqrt(this.x*this.x+this.y*this.y)},setMagnitude:function(a){return this.normalize().multiply(a,a)},normalize:function(){if(!this.isZero()){var a=this.getMagnitude();this.x/=a,this.y/=a}return this},isZero:function(){return 0===this.x&&0===this.y},toString:function(){return"[{Point (x="+this.x+" y="+this.y+")}]"}},d.Point.add=function(a,b,c){return"undefined"==typeof c&&(c=new d.Point),c.x=a.x+b.x,c.y=a.y+b.y,c},d.Point.subtract=function(a,b,c){return"undefined"==typeof c&&(c=new d.Point),c.x=a.x-b.x,c.y=a.y-b.y,c},d.Point.multiply=function(a,b,c){return"undefined"==typeof c&&(c=new d.Point),c.x=a.x*b.x,c.y=a.y*b.y,c},d.Point.divide=function(a,b,c){return"undefined"==typeof c&&(c=new d.Point),c.x=a.x/b.x,c.y=a.y/b.y,c},d.Point.equals=function(a,b){return a.x==b.x&&a.y==b.y},d.Point.distance=function(a,b,c){return"undefined"==typeof c&&(c=!1),c?d.Math.distanceRound(a.x,a.y,b.x,b.y):d.Math.distance(a.x,a.y,b.x,b.y)},d.Point.rotate=function(a,b,c,e,f,g){return f=f||!1,g=g||null,f&&(e=d.Math.degToRad(e)),null===g&&(g=Math.sqrt((b-a.x)*(b-a.x)+(c-a.y)*(c-a.y))),a.setTo(b+g*Math.cos(e),c+g*Math.sin(e))},d.Rectangle=function(a,b,c,d){a=a||0,b=b||0,c=c||0,d=d||0,this.x=a,this.y=b,this.width=c,this.height=d},d.Rectangle.prototype={offset:function(a,b){return this.x+=a,this.y+=b,this},offsetPoint:function(a){return this.offset(a.x,a.y)},setTo:function(a,b,c,d){return this.x=a,this.y=b,this.width=c,this.height=d,this},floor:function(){this.x=Math.floor(this.x),this.y=Math.floor(this.y)},floorAll:function(){this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.width=Math.floor(this.width),this.height=Math.floor(this.height)},copyFrom:function(a){return this.setTo(a.x,a.y,a.width,a.height)},copyTo:function(a){return a.x=this.x,a.y=this.y,a.width=this.width,a.height=this.height,a},inflate:function(a,b){return d.Rectangle.inflate(this,a,b)},size:function(a){return d.Rectangle.size(this,a)},clone:function(a){return d.Rectangle.clone(this,a)},contains:function(a,b){return d.Rectangle.contains(this,a,b)},containsRect:function(a){return d.Rectangle.containsRect(this,a)},equals:function(a){return d.Rectangle.equals(this,a)},intersection:function(a,b){return d.Rectangle.intersection(this,a,b)},intersects:function(a,b){return d.Rectangle.intersects(this,a,b)},intersectsRaw:function(a,b,c,e,f){return d.Rectangle.intersectsRaw(this,a,b,c,e,f)},union:function(a,b){return d.Rectangle.union(this,a,b)},toString:function(){return"[{Rectangle (x="+this.x+" y="+this.y+" width="+this.width+" height="+this.height+" empty="+this.empty+")}]"}},Object.defineProperty(d.Rectangle.prototype,"halfWidth",{get:function(){return Math.round(this.width/2)}}),Object.defineProperty(d.Rectangle.prototype,"halfHeight",{get:function(){return Math.round(this.height/2)}}),Object.defineProperty(d.Rectangle.prototype,"bottom",{get:function(){return this.y+this.height},set:function(a){this.height=a<=this.y?0:this.y-a}}),Object.defineProperty(d.Rectangle.prototype,"bottomRight",{get:function(){return new d.Point(this.right,this.bottom)},set:function(a){this.right=a.x,this.bottom=a.y}}),Object.defineProperty(d.Rectangle.prototype,"left",{get:function(){return this.x},set:function(a){this.width=a>=this.right?0:this.right-a,this.x=a}}),Object.defineProperty(d.Rectangle.prototype,"right",{get:function(){return this.x+this.width},set:function(a){this.width=a<=this.x?0:this.x+a}}),Object.defineProperty(d.Rectangle.prototype,"volume",{get:function(){return this.width*this.height}}),Object.defineProperty(d.Rectangle.prototype,"perimeter",{get:function(){return 2*this.width+2*this.height}}),Object.defineProperty(d.Rectangle.prototype,"centerX",{get:function(){return this.x+this.halfWidth},set:function(a){this.x=a-this.halfWidth}}),Object.defineProperty(d.Rectangle.prototype,"centerY",{get:function(){return this.y+this.halfHeight},set:function(a){this.y=a-this.halfHeight}}),Object.defineProperty(d.Rectangle.prototype,"top",{get:function(){return this.y},set:function(a){a>=this.bottom?(this.height=0,this.y=a):this.height=this.bottom-a}}),Object.defineProperty(d.Rectangle.prototype,"topLeft",{get:function(){return new d.Point(this.x,this.y)},set:function(a){this.x=a.x,this.y=a.y}}),Object.defineProperty(d.Rectangle.prototype,"empty",{get:function(){return!this.width||!this.height},set:function(a){a===!0&&this.setTo(0,0,0,0)}}),d.Rectangle.inflate=function(a,b,c){return a.x-=b,a.width+=2*b,a.y-=c,a.height+=2*c,a},d.Rectangle.inflatePoint=function(a,b){return d.Rectangle.inflate(a,b.x,b.y)},d.Rectangle.size=function(a,b){return"undefined"==typeof b&&(b=new d.Point),b.setTo(a.width,a.height)},d.Rectangle.clone=function(a,b){return"undefined"==typeof b&&(b=new d.Rectangle),b.setTo(a.x,a.y,a.width,a.height)},d.Rectangle.contains=function(a,b,c){return b>=a.x&&b<=a.right&&c>=a.y&&c<=a.bottom},d.Rectangle.containsRaw=function(a,b,c,d,e,f){return e>=a&&a+c>=e&&f>=b&&b+d>=f},d.Rectangle.containsPoint=function(a,b){return d.Rectangle.contains(a,b.x,b.y)},d.Rectangle.containsRect=function(a,b){return a.volume>b.volume?!1:a.x>=b.x&&a.y>=b.y&&a.right<=b.right&&a.bottom<=b.bottom},d.Rectangle.equals=function(a,b){return a.x==b.x&&a.y==b.y&&a.width==b.width&&a.height==b.height},d.Rectangle.intersection=function(a,b,c){return c=c||new d.Rectangle,d.Rectangle.intersects(a,b)&&(c.x=Math.max(a.x,b.x),c.y=Math.max(a.y,b.y),c.width=Math.min(a.right,b.right)-c.x,c.height=Math.min(a.bottom,b.bottom)-c.y),c},d.Rectangle.intersects=function(a,b){return a.xa.right+f||ca.bottom+f||e1){if(a&&a==this.decodeURI(e[0]))return this.decodeURI(e[1]);b[this.decodeURI(e[0])]=this.decodeURI(e[1])}}return b},decodeURI:function(a){return decodeURIComponent(a.replace(/\+/g," "))}},d.TweenManager=function(a){this.game=a,this._tweens=[],this._add=[],this.game.onPause.add(this.pauseAll,this),this.game.onResume.add(this.resumeAll,this)},d.TweenManager.prototype={REVISION:"11dev",getAll:function(){return this._tweens},removeAll:function(){this._tweens=[]},add:function(a){this._add.push(a)},create:function(a){return new d.Tween(a,this.game)},remove:function(a){var b=this._tweens.indexOf(a);-1!==b&&(this._tweens[b].pendingDelete=!0)},update:function(){if(0===this._tweens.length&&0===this._add.length)return!1;for(var a=0,b=this._tweens.length;b>a;)this._tweens[a].update(this.game.time.now)?a++:(this._tweens.splice(a,1),b--);return this._add.length>0&&(this._tweens=this._tweens.concat(this._add),this._add.length=0),!0},isTweening:function(a){return this._tweens.some(function(b){return b._object===a})},pauseAll:function(){for(var a=this._tweens.length-1;a>=0;a--)this._tweens[a].pause()},resumeAll:function(){for(var a=this._tweens.length-1;a>=0;a--)this._tweens[a].resume()}},d.Tween=function(a,b){this._object=a,this.game=b,this._manager=this.game.tweens,this._valuesStart={},this._valuesEnd={},this._valuesStartRepeat={},this._duration=1e3,this._repeat=0,this._yoyo=!1,this._reversed=!1,this._delayTime=0,this._startTime=null,this._easingFunction=d.Easing.Linear.None,this._interpolationFunction=d.Math.linearInterpolation,this._chainedTweens=[],this._onStartCallback=null,this._onStartCallbackFired=!1,this._onUpdateCallback=null,this._onCompleteCallback=null,this._pausedTime=0,this.pendingDelete=!1;for(var c in a)this._valuesStart[c]=parseFloat(a[c],10);this.onStart=new d.Signal,this.onComplete=new d.Signal,this.isRunning=!1},d.Tween.prototype={to:function(a,b,c,d,e,f,g){b=b||1e3,c=c||null,d=d||!1,e=e||0,f=f||0,g=g||!1;var h;return this._parent?(h=this._manager.create(this._object),this._lastChild.chain(h),this._lastChild=h):(h=this,this._parent=this,this._lastChild=this),h._repeat=f,h._duration=b,h._valuesEnd=a,null!==c&&(h._easingFunction=c),e>0&&(h._delayTime=e),h._yoyo=g,d?this.start():this},start:function(){if(null!==this.game&&null!==this._object){this._manager.add(this),this.onStart.dispatch(this._object),this.isRunning=!0,this._onStartCallbackFired=!1,this._startTime=this.game.time.now+this._delayTime;for(var a in this._valuesEnd){if(this._valuesEnd[a]instanceof Array){if(0===this._valuesEnd[a].length)continue;this._valuesEnd[a]=[this._object[a]].concat(this._valuesEnd[a])}this._valuesStart[a]=this._object[a],this._valuesStart[a]instanceof Array==!1&&(this._valuesStart[a]*=1),this._valuesStartRepeat[a]=this._valuesStart[a]||0}return this}},stop:function(){return this.isRunning=!1,this._manager.remove(this),this},delay:function(a){return this._delayTime=a,this},repeat:function(a){return this._repeat=a,this},yoyo:function(a){return this._yoyo=a,this},easing:function(a){return this._easingFunction=a,this},interpolation:function(a){return this._interpolationFunction=a,this},chain:function(){return this._chainedTweens=arguments,this},loop:function(){return this._lastChild.chain(this),this},onStartCallback:function(a){return this._onStartCallback=a,this},onUpdateCallback:function(a){return this._onUpdateCallback=a,this},onCompleteCallback:function(a){return this._onCompleteCallback=a,this},pause:function(){this._paused=!0,this._pausedTime=this.game.time.now},resume:function(){this._paused=!1,this._startTime+=this.game.time.now-this._pausedTime},update:function(a){if(this.pendingDelete)return!1;if(this._paused||a1?1:c;var d=this._easingFunction(c);for(b in this._valuesEnd){var e=this._valuesStart[b]||0,f=this._valuesEnd[b];f instanceof Array?this._object[b]=this._interpolationFunction(f,d):("string"==typeof f&&(f=e+parseFloat(f,10)),"number"==typeof f&&(this._object[b]=e+(f-e)*d))}if(null!==this._onUpdateCallback&&this._onUpdateCallback.call(this._object,d),1==c){if(this._repeat>0){isFinite(this._repeat)&&this._repeat--;for(b in this._valuesStartRepeat){if("string"==typeof this._valuesEnd[b]&&(this._valuesStartRepeat[b]=this._valuesStartRepeat[b]+parseFloat(this._valuesEnd[b],10)),this._yoyo){var g=this._valuesStartRepeat[b];this._valuesStartRepeat[b]=this._valuesEnd[b],this._valuesEnd[b]=g,this._reversed=!this._reversed}this._valuesStart[b]=this._valuesStartRepeat[b]}return this._startTime=a+this._delayTime,this.onComplete.dispatch(this._object),null!==this._onCompleteCallback&&this._onCompleteCallback.call(this._object),!0}this.isRunning=!1,this.onComplete.dispatch(this._object),null!==this._onCompleteCallback&&this._onCompleteCallback.call(this._object);for(var h=0,i=this._chainedTweens.length;i>h;h++)this._chainedTweens[h].start(a);return!1}return!0}},d.Easing={Linear:{None:function(a){return a}},Quadratic:{In:function(a){return a*a},Out:function(a){return a*(2-a)},InOut:function(a){return(a*=2)<1?.5*a*a:-.5*(--a*(a-2)-1)}},Cubic:{In:function(a){return a*a*a},Out:function(a){return--a*a*a+1},InOut:function(a){return(a*=2)<1?.5*a*a*a:.5*((a-=2)*a*a+2)}},Quartic:{In:function(a){return a*a*a*a},Out:function(a){return 1- --a*a*a*a},InOut:function(a){return(a*=2)<1?.5*a*a*a*a:-.5*((a-=2)*a*a*a-2)}},Quintic:{In:function(a){return a*a*a*a*a},Out:function(a){return--a*a*a*a*a+1},InOut:function(a){return(a*=2)<1?.5*a*a*a*a*a:.5*((a-=2)*a*a*a*a+2)}},Sinusoidal:{In:function(a){return 1-Math.cos(a*Math.PI/2)},Out:function(a){return Math.sin(a*Math.PI/2)},InOut:function(a){return.5*(1-Math.cos(Math.PI*a))}},Exponential:{In:function(a){return 0===a?0:Math.pow(1024,a-1)},Out:function(a){return 1===a?1:1-Math.pow(2,-10*a)},InOut:function(a){return 0===a?0:1===a?1:(a*=2)<1?.5*Math.pow(1024,a-1):.5*(-Math.pow(2,-10*(a-1))+2)}},Circular:{In:function(a){return 1-Math.sqrt(1-a*a)},Out:function(a){return Math.sqrt(1- --a*a)},InOut:function(a){return(a*=2)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)}},Elastic:{In:function(a){var b,c=.1,d=.4;return 0===a?0:1===a?1:(!c||1>c?(c=1,b=d/4):b=d*Math.asin(1/c)/(2*Math.PI),-(c*Math.pow(2,10*(a-=1))*Math.sin((a-b)*2*Math.PI/d)))},Out:function(a){var b,c=.1,d=.4;return 0===a?0:1===a?1:(!c||1>c?(c=1,b=d/4):b=d*Math.asin(1/c)/(2*Math.PI),c*Math.pow(2,-10*a)*Math.sin((a-b)*2*Math.PI/d)+1)},InOut:function(a){var b,c=.1,d=.4;return 0===a?0:1===a?1:(!c||1>c?(c=1,b=d/4):b=d*Math.asin(1/c)/(2*Math.PI),(a*=2)<1?-.5*c*Math.pow(2,10*(a-=1))*Math.sin((a-b)*2*Math.PI/d):.5*c*Math.pow(2,-10*(a-=1))*Math.sin((a-b)*2*Math.PI/d)+1)}},Back:{In:function(a){var b=1.70158;return a*a*((b+1)*a-b) +},Out:function(a){var b=1.70158;return--a*a*((b+1)*a+b)+1},InOut:function(a){var b=2.5949095;return(a*=2)<1?.5*a*a*((b+1)*a-b):.5*((a-=2)*a*((b+1)*a+b)+2)}},Bounce:{In:function(a){return 1-d.Easing.Bounce.Out(1-a)},Out:function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375},InOut:function(a){return.5>a?.5*d.Easing.Bounce.In(2*a):.5*d.Easing.Bounce.Out(2*a-1)+.5}}},d.Time=function(a){this.game=a,this._started=0,this._timeLastSecond=0,this._pauseStarted=0,this.physicsElapsed=0,this.time=0,this.pausedTime=0,this.now=0,this.elapsed=0,this.fps=0,this.fpsMin=1e3,this.fpsMax=0,this.msMin=1e3,this.msMax=0,this.frames=0,this.pauseDuration=0,this.timeToCall=0,this.lastTime=0,this.game.onPause.add(this.gamePaused,this),this.game.onResume.add(this.gameResumed,this),this._justResumed=!1},d.Time.prototype={update:function(a){this.now=a,this._justResumed&&(this.time=this.now,this._justResumed=!1),this.timeToCall=this.game.math.max(0,16-(a-this.lastTime)),this.elapsed=this.now-this.time,this.msMin=this.game.math.min(this.msMin,this.elapsed),this.msMax=this.game.math.max(this.msMax,this.elapsed),this.frames++,this.now>this._timeLastSecond+1e3&&(this.fps=Math.round(1e3*this.frames/(this.now-this._timeLastSecond)),this.fpsMin=this.game.math.min(this.fpsMin,this.fps),this.fpsMax=this.game.math.max(this.fpsMax,this.fps),this._timeLastSecond=this.now,this.frames=0),this.time=this.now,this.lastTime=a+this.timeToCall,this.physicsElapsed=1*(this.elapsed/1e3),this.physicsElapsed>1&&(this.physicsElapsed=1),this.game.paused&&(this.pausedTime=this.now-this._pauseStarted)},gamePaused:function(){this._pauseStarted=this.now},gameResumed:function(){this.time=Date.now(),this.pauseDuration=this.pausedTime,this._justResumed=!0},totalElapsedSeconds:function(){return.001*(this.now-this._started)},elapsedSince:function(a){return this.now-a},elapsedSecondsSince:function(a){return.001*(this.now-a)},reset:function(){this._started=this.now}},d.Timer=function(a){this.game=a,this._started=0,this._timeLastSecond=0,this.running=!1,this.events=[],this.onEvent=new d.Signal},d.Timer.prototype={add:function(a){this.events.push({delay:a,dispatched:!1,args:Array.prototype.splice.call(arguments,1)})},start:function(){this._started=this.game.time.now,this.running=!0},stop:function(){this.running=!1,this.events.length=0},update:function(){if(this.running)for(var a=this.seconds(),b=0,c=this.events.length;c>b;b++)this.events[b].dispatched===!1&&a>=this.events[b].delay&&(this.events[b].dispatched=!0,this.onEvent.dispatch.apply(this,this.events[b].args))},seconds:function(){return.001*(this.game.time.now-this._started)}},d.AnimationManager=function(a){this.sprite=a,this.game=a.game,this.currentFrame=null,this.updateIfVisible=!0,this.isLoaded=!1,this._frameData=null,this._anims={},this._outputFrames=[]},d.AnimationManager.prototype={loadFrameData:function(a){this._frameData=a,this.frame=0,this.isLoaded=!0},add:function(a,b,e,f,g){return null==this._frameData?(console.warn("No FrameData available for Phaser.Animation "+a),void 0):(e=e||60,"undefined"==typeof f&&(f=!1),"undefined"==typeof g&&(g=b&&"number"==typeof b[0]?!0:!1),null==this.sprite.events.onAnimationStart&&(this.sprite.events.onAnimationStart=new d.Signal,this.sprite.events.onAnimationComplete=new d.Signal,this.sprite.events.onAnimationLoop=new d.Signal),this._outputFrames.length=0,this._frameData.getFrameIndexes(b,g,this._outputFrames),this._anims[a]=new d.Animation(this.game,this.sprite,a,this._frameData,this._outputFrames,e,f),this.currentAnim=this._anims[a],this.currentFrame=this.currentAnim.currentFrame,this.sprite.setTexture(c.TextureCache[this.currentFrame.uuid]),this._anims[a])},validateFrames:function(a,b){"undefined"==typeof b&&(b=!0);for(var c=0;cthis._frameData.total)return!1}else if(this._frameData.checkFrameName(a[c])===!1)return!1;return!0},play:function(a,b,c,d){if(this._anims[a]){if(this.currentAnim!=this._anims[a])return this.currentAnim=this._anims[a],this.currentAnim.paused=!1,this.currentAnim.play(b,c,d);if(this.currentAnim.isPlaying===!1)return this.currentAnim.paused=!1,this.currentAnim.play(b,c,d)}},stop:function(a,b){"undefined"==typeof b&&(b=!1),"string"==typeof a?this._anims[a]&&(this.currentAnim=this._anims[a],this.currentAnim.stop(b)):this.currentAnim&&this.currentAnim.stop(b)},update:function(){return this.updateIfVisible&&this.sprite.visible===!1?!1:this.currentAnim&&this.currentAnim.update()===!0?(this.currentFrame=this.currentAnim.currentFrame,this.sprite.currentFrame=this.currentFrame,!0):!1},getAnimation:function(a){return"string"==typeof a&&this._anims[a]?this._anims[a]:!1},refreshFrame:function(){this.sprite.currentFrame=this.currentFrame,this.sprite.setTexture(c.TextureCache[this.currentFrame.uuid])},destroy:function(){this._anims={},this._frameData=null,this._frameIndex=0,this.currentAnim=null,this.currentFrame=null}},Object.defineProperty(d.AnimationManager.prototype,"frameData",{get:function(){return this._frameData}}),Object.defineProperty(d.AnimationManager.prototype,"frameTotal",{get:function(){return this._frameData?this._frameData.total:-1}}),Object.defineProperty(d.AnimationManager.prototype,"paused",{get:function(){return this.currentAnim.isPaused},set:function(a){this.currentAnim.paused=a}}),Object.defineProperty(d.AnimationManager.prototype,"frame",{get:function(){return this.currentFrame?this._frameIndex:void 0},set:function(a){"number"==typeof a&&this._frameData&&null!==this._frameData.getFrame(a)&&(this.currentFrame=this._frameData.getFrame(a),this._frameIndex=a,this.sprite.currentFrame=this.currentFrame,this.sprite.setTexture(c.TextureCache[this.currentFrame.uuid]))}}),Object.defineProperty(d.AnimationManager.prototype,"frameName",{get:function(){return this.currentFrame?this.currentFrame.name:void 0},set:function(a){"string"==typeof a&&this._frameData&&null!==this._frameData.getFrameByName(a)?(this.currentFrame=this._frameData.getFrameByName(a),this._frameIndex=this.currentFrame.index,this.sprite.currentFrame=this.currentFrame,this.sprite.setTexture(c.TextureCache[this.currentFrame.uuid])):console.warn("Cannot set frameName: "+a)}}),d.Animation=function(a,b,c,d,e,f,g){this.game=a,this._parent=b,this._frameData=d,this.name=c,this._frames=[],this._frames=this._frames.concat(e),this.delay=1e3/f,this.looped=g,this.killOnComplete=!1,this.isFinished=!1,this.isPlaying=!1,this.isPaused=!1,this._pauseStartTime=0,this._frameIndex=0,this._frameDiff=0,this._frameSkip=1,this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex])},d.Animation.prototype={play:function(a,b,d){return"number"==typeof a&&(this.delay=1e3/a),"boolean"==typeof b&&(this.looped=b),"undefined"!=typeof d&&(this.killOnComplete=d),this.isPlaying=!0,this.isFinished=!1,this.paused=!1,this._timeLastFrame=this.game.time.now,this._timeNextFrame=this.game.time.now+this.delay,this._frameIndex=0,this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this._parent.setTexture(c.TextureCache[this.currentFrame.uuid]),this._parent.events&&this._parent.events.onAnimationStart.dispatch(this._parent,this),this},restart:function(){this.isPlaying=!0,this.isFinished=!1,this.paused=!1,this._timeLastFrame=this.game.time.now,this._timeNextFrame=this.game.time.now+this.delay,this._frameIndex=0,this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex])},stop:function(a){"undefined"==typeof a&&(a=!1),this.isPlaying=!1,this.isFinished=!0,this.paused=!1,a&&(this.currentFrame=this._frameData.getFrame(this._frames[0]))},update:function(){return this.isPaused?!1:this.isPlaying===!0&&this.game.time.now>=this._timeNextFrame?(this._frameSkip=1,this._frameDiff=this.game.time.now-this._timeNextFrame,this._timeLastFrame=this.game.time.now,this._frameDiff>this.delay&&(this._frameSkip=Math.floor(this._frameDiff/this.delay),this._frameDiff-=this._frameSkip*this.delay),this._timeNextFrame=this.game.time.now+(this.delay-this._frameDiff),this._frameIndex+=this._frameSkip,this._frameIndex>=this._frames.length?this.looped?(this._frameIndex%=this._frames.length,this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this.currentFrame&&this._parent.setTexture(c.TextureCache[this.currentFrame.uuid]),this._parent.events.onAnimationLoop.dispatch(this._parent,this)):this.onComplete():(this.currentFrame=this._frameData.getFrame(this._frames[this._frameIndex]),this.currentFrame&&this._parent.setTexture(c.TextureCache[this.currentFrame.uuid])),!0):!1},destroy:function(){this.game=null,this._parent=null,this._frames=null,this._frameData=null,this.currentFrame=null,this.isPlaying=!1},onComplete:function(){this.isPlaying=!1,this.isFinished=!0,this.paused=!1,this._parent.events&&this._parent.events.onAnimationComplete.dispatch(this._parent,this),this.killOnComplete&&this._parent.kill()}},Object.defineProperty(d.Animation.prototype,"paused",{get:function(){return this.isPaused},set:function(a){this.isPaused=a,a?this._pauseStartTime=this.game.time.now:this.isPlaying&&(this._timeNextFrame=this.game.time.now+this.delay)}}),Object.defineProperty(d.Animation.prototype,"frameTotal",{get:function(){return this._frames.length}}),Object.defineProperty(d.Animation.prototype,"frame",{get:function(){return null!==this.currentFrame?this.currentFrame.index:this._frameIndex},set:function(a){this.currentFrame=this._frameData.getFrame(a),null!==this.currentFrame&&(this._frameIndex=a,this._parent.setTexture(c.TextureCache[this.currentFrame.uuid]))}}),d.Animation.generateFrameNames=function(a,b,c,e,f){"undefined"==typeof e&&(e="");var g=[],h="";if(c>b)for(var i=b;c>=i;i++)h="number"==typeof f?d.Utils.pad(i.toString(),f,"0",1):i.toString(),h=a+h+e,g.push(h);else for(var i=b;i>=c;i--)h="number"==typeof f?d.Utils.pad(i.toString(),f,"0",1):i.toString(),h=a+h+e,g.push(h);return g},d.Frame=function(a,b,c,e,f,g,h){this.index=a,this.x=b,this.y=c,this.width=e,this.height=f,this.name=g,this.uuid=h,this.centerX=Math.floor(e/2),this.centerY=Math.floor(f/2),this.distance=d.Math.distance(0,0,e,f),this.rotated=!1,this.rotationDirection="cw",this.trimmed=!1,this.sourceSizeW=e,this.sourceSizeH=f,this.spriteSourceSizeX=0,this.spriteSourceSizeY=0,this.spriteSourceSizeW=0,this.spriteSourceSizeH=0},d.Frame.prototype={setTrim:function(a,b,c,d,e,f,g){this.trimmed=a,a&&(this.width=b,this.height=c,this.sourceSizeW=b,this.sourceSizeH=c,this.centerX=Math.floor(b/2),this.centerY=Math.floor(c/2),this.spriteSourceSizeX=d,this.spriteSourceSizeY=e,this.spriteSourceSizeW=f,this.spriteSourceSizeH=g)}},d.FrameData=function(){this._frames=[],this._frameNames=[]},d.FrameData.prototype={addFrame:function(a){return a.index=this._frames.length,this._frames.push(a),""!==a.name&&(this._frameNames[a.name]=a.index),a},getFrame:function(a){return this._frames.length>a?this._frames[a]:null},getFrameByName:function(a){return"number"==typeof this._frameNames[a]?this._frames[this._frameNames[a]]:null},checkFrameName:function(a){return null==this._frameNames[a]?!1:!0},getFrameRange:function(a,b,c){"undefined"==typeof c&&(c=[]);for(var d=a;b>=d;d++)c.push(this._frames[d]);return c},getFrames:function(a,b,c){if("undefined"==typeof b&&(b=!0),"undefined"==typeof c&&(c=[]),"undefined"==typeof a||0===a.length)for(var d=0;dd;d++)b?c.push(this.getFrame(a[d])):c.push(this.getFrameByName(a[d]));return c},getFrameIndexes:function(a,b,c){if("undefined"==typeof b&&(b=!0),"undefined"==typeof c&&(c=[]),"undefined"==typeof a||0===a.length)for(var d=0,e=this._frames.length;e>d;d++)c.push(this._frames[d].index);else for(var d=0,e=a.length;e>d;d++)b?c.push(a[d]):this.getFrameByName(a[d])&&c.push(this.getFrameByName(a[d]).index);return c}},Object.defineProperty(d.FrameData.prototype,"total",{get:function(){return this._frames.length}}),d.AnimationParser={spriteSheet:function(a,b,e,f,g){var h=a.cache.getImage(b);if(null==h)return null;var i=h.width,j=h.height;0>=e&&(e=Math.floor(-i/Math.min(-1,e))),0>=f&&(f=Math.floor(-j/Math.min(-1,f)));var k=Math.round(i/e),l=Math.round(j/f),m=k*l;if(-1!==g&&(m=g),0===i||0===j||e>i||f>j||0===m)return console.warn("Phaser.AnimationParser.spriteSheet: width/height zero or width/height < given frameWidth/frameHeight"),null;for(var n=new d.FrameData,o=0,p=0,q=0;m>q;q++){var r=a.rnd.uuid();n.addFrame(new d.Frame(q,o,p,e,f,"",r)),c.TextureCache[r]=new c.Texture(c.BaseTextureCache[b],{x:o,y:p,width:e,height:f}),o+=e,o===i&&(o=0,p+=f)}return n},JSONData:function(a,b,e){if(!b.frames)return console.warn("Phaser.AnimationParser.JSONData: Invalid Texture Atlas JSON given, missing 'frames' array"),console.log(b),void 0;for(var f,g=new d.FrameData,h=b.frames,i=0;i tag"),void 0;for(var f,g,h,i,j,k,l,m,n,o,p,q,r=new d.FrameData,s=b.getElementsByTagName("SubTexture"),t=0;t0)for(var c=0;c0)for(var c=0;c0?(this._fileIndex=0,this._progressChunk=100/this._fileList.length,this.loadFile()):(this.progress=100,this.hasLoaded=!0,this.onLoadComplete.dispatch()))},loadFile:function(){if(!this._fileList[this._fileIndex])return console.warn("Phaser.Loader loadFile invalid index "+this._fileIndex),void 0;var a=this._fileList[this._fileIndex],b=this;switch(a.type){case"image":case"spritesheet":case"textureatlas":case"bitmapfont":case"tileset":a.data=new Image,a.data.name=a.key,a.data.onload=function(){return b.fileComplete(b._fileIndex)},a.data.onerror=function(){return b.fileError(b._fileIndex)},a.data.crossOrigin=this.crossOrigin,a.data.src=this.baseURL+a.url;break;case"audio":a.url=this.getAudioURL(a.url),null!==a.url?this.game.sound.usingWebAudio?(this._xhr.open("GET",this.baseURL+a.url,!0),this._xhr.responseType="arraybuffer",this._xhr.onload=function(){return b.fileComplete(b._fileIndex)},this._xhr.onerror=function(){return b.fileError(b._fileIndex)},this._xhr.send()):this.game.sound.usingAudioTag&&(this.game.sound.touchLocked?(a.data=new Audio,a.data.name=a.key,a.data.preload="auto",a.data.src=this.baseURL+a.url,this.fileComplete(this._fileIndex)):(a.data=new Audio,a.data.name=a.key,a.data.onerror=function(){return b.fileError(b._fileIndex)},a.data.preload="auto",a.data.src=this.baseURL+a.url,a.data.addEventListener("canplaythrough",d.GAMES[this.game.id].load.fileComplete(this._fileIndex),!1),a.data.load())):this.fileError(this._fileIndex);break;case"tilemap":if(this._xhr.open("GET",this.baseURL+a.url,!0),this._xhr.responseType="text",a.format===d.Tilemap.TILED_JSON)this._xhr.onload=function(){return b.jsonLoadComplete(b._fileIndex)};else{if(a.format!==d.Tilemap.CSV)throw new Error("Phaser.Loader. Invalid Tilemap format: "+a.format);this._xhr.onload=function(){return b.csvLoadComplete(b._fileIndex)}}this._xhr.onerror=function(){return b.dataLoadError(b._fileIndex)},this._xhr.send();break;case"text":this._xhr.open("GET",this.baseURL+a.url,!0),this._xhr.responseType="text",this._xhr.onload=function(){return b.fileComplete(b._fileIndex)},this._xhr.onerror=function(){return b.fileError(b._fileIndex)},this._xhr.send();break;case"script":this._xhr.open("GET",this.baseURL+a.url,!0),this._xhr.responseType="text",this._xhr.onload=function(){return b.fileComplete(b._fileIndex)},this._xhr.onerror=function(){return b.fileError(b._fileIndex)},this._xhr.send()}},getAudioURL:function(a){var b;"string"==typeof a&&(a=[a]);for(var c=0;c100&&(this.progress=100),null!==this.preloadSprite&&(0===this.preloadSprite.direction?this.preloadSprite.crop.width=Math.floor(this.preloadSprite.width/100*this.progress):this.preloadSprite.crop.height=Math.floor(this.preloadSprite.height/100*this.progress),this.preloadSprite.sprite.crop=this.preloadSprite.crop),this.onFileComplete.dispatch(this.progress,this._fileList[a].key,b,this.totalLoadedFiles(),this._fileList.length),this.totalQueuedFiles()>0?(this._fileIndex++,this.loadFile()):(this.hasLoaded=!0,this.isLoading=!1,this.removeAll(),this.onLoadComplete.dispatch())},totalLoadedFiles:function(){for(var a=0,b=0;b tag"),void 0;var e=c.TextureCache[d],f={},g=b.getElementsByTagName("info")[0],h=b.getElementsByTagName("common")[0];f.font=g.attributes.getNamedItem("face").nodeValue,f.size=parseInt(g.attributes.getNamedItem("size").nodeValue,10),f.lineHeight=parseInt(h.attributes.getNamedItem("lineHeight").nodeValue,10),f.chars={};for(var i=b.getElementsByTagName("char"),j=0;j=this.durationMS&&(this.usingWebAudio?this.loop?(this.onLoop.dispatch(this),""===this.currentMarker?(this.currentTime=0,this.startTime=this.game.time.now):this.play(this.currentMarker,0,this.volume,!0,!0)):this.stop():this.loop?(this.onLoop.dispatch(this),this.play(this.currentMarker,0,this.volume,!0,!0)):this.stop()))},play:function(a,b,c,d,e){if(a=a||"",b=b||0,"undefined"==typeof c&&(c=this._volume),"undefined"==typeof d&&(d=!1),"undefined"==typeof e&&(e=!0),this.isPlaying!==!0||e!==!1||this.override!==!1){if(this.isPlaying&&this.override&&(this.usingWebAudio?"undefined"==typeof this._sound.stop?this._sound.noteOff(0):this._sound.stop(0):this.usingAudioTag&&(this._sound.pause(),this._sound.currentTime=0)),this.currentMarker=a,""!==a){if(!this.markers[a])return console.warn("Phaser.Sound.play: audio marker "+a+" doesn't exist"),void 0;this.position=this.markers[a].start,this.volume=this.markers[a].volume,this.loop=this.markers[a].loop,this.duration=this.markers[a].duration,this.durationMS=this.markers[a].durationMS,this._tempMarker=a,this._tempPosition=this.position,this._tempVolume=this.volume,this._tempLoop=this.loop}else this.position=b,this.volume=c,this.loop=d,this.duration=0,this.durationMS=0,this._tempMarker=a,this._tempPosition=b,this._tempVolume=c,this._tempLoop=d;this.usingWebAudio?this.game.cache.isSoundDecoded(this.key)?(null==this._buffer&&(this._buffer=this.game.cache.getSoundData(this.key)),this._sound=this.context.createBufferSource(),this._sound.buffer=this._buffer,this.externalNode?this._sound.connect(this.externalNode.input):this._sound.connect(this.gainNode),this.totalDuration=this._sound.buffer.duration,0===this.duration&&(this.duration=this.totalDuration,this.durationMS=1e3*this.totalDuration),this.loop&&""===a&&(this._sound.loop=!0),"undefined"==typeof this._sound.start?this._sound.noteGrainOn(0,this.position,this.duration):this._sound.start(0,this.position,this.duration),this.isPlaying=!0,this.startTime=this.game.time.now,this.currentTime=0,this.stopTime=this.startTime+this.durationMS,this.onPlay.dispatch(this)):(this.pendingPlayback=!0,this.game.cache.getSound(this.key)&&this.game.cache.getSound(this.key).isDecoding===!1&&this.game.sound.decode(this.key,this)):this.game.cache.getSound(this.key)&&this.game.cache.getSound(this.key).locked?(this.game.cache.reloadSound(this.key),this.pendingPlayback=!0):this._sound&&4==this._sound.readyState?(this._sound.play(),this.totalDuration=this._sound.duration,0===this.duration&&(this.duration=this.totalDuration,this.durationMS=1e3*this.totalDuration),this._sound.currentTime=this.position,this._sound.muted=this._muted,this._sound.volume=this._muted?0:this._volume,this.isPlaying=!0,this.startTime=this.game.time.now,this.currentTime=0,this.stopTime=this.startTime+this.durationMS,this.onPlay.dispatch(this)):this.pendingPlayback=!0}},restart:function(a,b,c,d){a=a||"",b=b||0,c=c||1,"undefined"==typeof d&&(d=!1),this.play(a,b,c,d,!0)},pause:function(){this.isPlaying&&this._sound&&(this.stop(),this.isPlaying=!1,this.paused=!0,this.pausedPosition=this.currentTime,this.pausedTime=this.game.time.now,this.onPause.dispatch(this))},resume:function(){if(this.paused&&this._sound){if(this.usingWebAudio){var a=this.position+this.pausedPosition/1e3;this._sound=this.context.createBufferSource(),this._sound.buffer=this._buffer,this._sound.connect(this.gainNode),"undefined"==typeof this._sound.start?this._sound.noteGrainOn(0,a,this.duration):this._sound.start(0,a,this.duration)}else this._sound.play();this.isPlaying=!0,this.paused=!1,this.startTime+=this.game.time.now-this.pausedTime,this.onResume.dispatch(this)}},stop:function(){this.isPlaying&&this._sound&&(this.usingWebAudio?"undefined"==typeof this._sound.stop?this._sound.noteOff(0):this._sound.stop(0):this.usingAudioTag&&(this._sound.pause(),this._sound.currentTime=0)),this.isPlaying=!1;var a=this.currentMarker;this.currentMarker="",this.onStop.dispatch(this,a)}},Object.defineProperty(d.Sound.prototype,"isDecoding",{get:function(){return this.game.cache.getSound(this.key).isDecoding}}),Object.defineProperty(d.Sound.prototype,"isDecoded",{get:function(){return this.game.cache.isSoundDecoded(this.key)}}),Object.defineProperty(d.Sound.prototype,"mute",{get:function(){return this._muted},set:function(a){a=a||null,a?(this._muted=!0,this.usingWebAudio?(this._muteVolume=this.gainNode.gain.value,this.gainNode.gain.value=0):this.usingAudioTag&&this._sound&&(this._muteVolume=this._sound.volume,this._sound.volume=0)):(this._muted=!1,this.usingWebAudio?this.gainNode.gain.value=this._muteVolume:this.usingAudioTag&&this._sound&&(this._sound.volume=this._muteVolume)),this.onMute.dispatch(this)}}),Object.defineProperty(d.Sound.prototype,"volume",{get:function(){return this._volume},set:function(a){this.usingWebAudio?(this._volume=a,this.gainNode.gain.value=a):this.usingAudioTag&&this._sound&&a>=0&&1>=a&&(this._volume=a,this._sound.volume=a)}}),d.SoundManager=function(a){this.game=a,this.onSoundDecode=new d.Signal,this._muted=!1,this._unlockSource=null,this._volume=1,this._sounds=[],this.context=null,this.usingWebAudio=!0,this.usingAudioTag=!1,this.noAudio=!1,this.connectToMaster=!0,this.touchLocked=!1,this.channels=32},d.SoundManager.prototype={boot:function(){if(this.game.device.iOS&&this.game.device.webAudio===!1&&(this.channels=1),this.game.device.iOS||window.PhaserGlobal&&window.PhaserGlobal.fakeiOSTouchLock?(this.game.input.touch.callbackContext=this,this.game.input.touch.touchStartCallback=this.unlock,this.game.input.mouse.callbackContext=this,this.game.input.mouse.mouseDownCallback=this.unlock,this.touchLocked=!0):this.touchLocked=!1,window.PhaserGlobal){if(window.PhaserGlobal.disableAudio===!0)return this.usingWebAudio=!1,this.noAudio=!0,void 0;if(window.PhaserGlobal.disableWebAudio===!0)return this.usingWebAudio=!1,this.usingAudioTag=!0,this.noAudio=!1,void 0}window.AudioContext?this.context=new window.AudioContext:window.webkitAudioContext?this.context=new window.webkitAudioContext:window.Audio?(this.usingWebAudio=!1,this.usingAudioTag=!0):(this.usingWebAudio=!1,this.noAudio=!0),null!==this.context&&(this.masterGain="undefined"==typeof this.context.createGain?this.context.createGainNode():this.context.createGain(),this.masterGain.gain.value=1,this.masterGain.connect(this.context.destination))},unlock:function(){if(this.touchLocked!==!1)if(this.game.device.webAudio===!1||window.PhaserGlobal&&window.PhaserGlobal.disableWebAudio===!0)this.touchLocked=!1,this._unlockSource=null,this.game.input.touch.callbackContext=null,this.game.input.touch.touchStartCallback=null,this.game.input.mouse.callbackContext=null,this.game.input.mouse.mouseDownCallback=null;else{var a=this.context.createBuffer(1,1,22050);this._unlockSource=this.context.createBufferSource(),this._unlockSource.buffer=a,this._unlockSource.connect(this.context.destination),this._unlockSource.noteOn(0)}},stopAll:function(){for(var a=0;a255)return d.Color.getColor(255,255,255);if(a>b)return d.Color.getColor(255,255,255);var e=a+Math.round(Math.random()*(b-a)),f=a+Math.round(Math.random()*(b-a)),g=a+Math.round(Math.random()*(b-a));return d.Color.getColor32(c,e,f,g)},getRGB:function(a){return{alpha:a>>>24,red:255&a>>16,green:255&a>>8,blue:255&a}},getWebRGB:function(a){var b=(a>>>24)/255,c=255&a>>16,d=255&a>>8,e=255&a;return"rgba("+c.toString()+","+d.toString()+","+e.toString()+","+b.toString()+")"},getAlpha:function(a){return a>>>24},getAlphaFloat:function(a){return(a>>>24)/255},getRed:function(a){return 255&a>>16},getGreen:function(a){return 255&a>>8},getBlue:function(a){return 255&a}},d.Physics={},d.Physics.Arcade=function(a){this.game=a,this.gravity=new d.Point,this.bounds=new d.Rectangle(0,0,a.world.width,a.world.height),this.maxObjects=10,this.maxLevels=4,this.OVERLAP_BIAS=4,this.quadTree=new d.QuadTree(this,this.game.world.bounds.x,this.game.world.bounds.y,this.game.world.bounds.width,this.game.world.bounds.height,this.maxObjects,this.maxLevels),this.quadTreeID=0,this._bounds1=new d.Rectangle,this._bounds2=new d.Rectangle,this._overlap=0,this._maxOverlap=0,this._velocity1=0,this._velocity2=0,this._newVelocity1=0,this._newVelocity2=0,this._average=0,this._mapData=[],this._mapTiles=0,this._result=!1,this._total=0,this._angle=0,this._dx=0,this._dy=0},d.Physics.Arcade.prototype={updateMotion:function(a){this._velocityDelta=60*.5*(this.computeVelocity(0,a,a.angularVelocity,a.angularAcceleration,a.angularDrag,a.maxAngular)-a.angularVelocity)*this.game.time.physicsElapsed,a.angularVelocity+=this._velocityDelta,a.rotation+=a.angularVelocity*this.game.time.physicsElapsed,a.angularVelocity+=this._velocityDelta,this._velocityDelta=60*.5*(this.computeVelocity(1,a,a.velocity.x,a.acceleration.x,a.drag.x,a.maxVelocity.x)-a.velocity.x)*this.game.time.physicsElapsed,a.velocity.x+=this._velocityDelta,a.x+=a.velocity.x*this.game.time.physicsElapsed,a.velocity.x+=this._velocityDelta,this._velocityDelta=60*.5*(this.computeVelocity(2,a,a.velocity.y,a.acceleration.y,a.drag.y,a.maxVelocity.y)-a.velocity.y)*this.game.time.physicsElapsed,a.velocity.y+=this._velocityDelta,a.y+=a.velocity.y*this.game.time.physicsElapsed,a.velocity.y+=this._velocityDelta},computeVelocity:function(a,b,c,d,e,f){return f=f||1e4,1==a&&b.allowGravity?c+=this.gravity.x+b.gravity.x:2==a&&b.allowGravity&&(c+=this.gravity.y+b.gravity.y),0!==d?c+=d*this.game.time.physicsElapsed:0!==e&&(this._drag=e*this.game.time.physicsElapsed,c-this._drag>0?c-=this._drag:c+this._drag<0?c+=this._drag:c=0),c>f?c=f:-f>c&&(c=-f),c},preUpdate:function(){this.quadTree.clear(),this.quadTreeID=0,this.quadTree=new d.QuadTree(this,this.game.world.bounds.x,this.game.world.bounds.y,this.game.world.bounds.width,this.game.world.bounds.height,this.maxObjects,this.maxLevels)},postUpdate:function(){this.quadTree.clear()},overlap:function(a,b,c,e,f){return c=c||null,e=e||null,f=f||c,this._result=!1,this._total=0,a&&b&&a.exists&&b.exists&&(a.type==d.SPRITE?b.type==d.SPRITE?this.overlapSpriteVsSprite(a,b,c,e,f):(b.type==d.GROUP||b.type==d.EMITTER)&&this.overlapSpriteVsGroup(a,b,c,e,f):a.type==d.GROUP?b.type==d.SPRITE?this.overlapSpriteVsGroup(b,a,c,e,f):(b.type==d.GROUP||b.type==d.EMITTER)&&this.overlapGroupVsGroup(a,b,c,e,f):a.type==d.EMITTER&&(b.type==d.SPRITE?this.overlapSpriteVsGroup(b,a,c,e,f):(b.type==d.GROUP||b.type==d.EMITTER)&&this.overlapGroupVsGroup(a,b,c,e,f))),this._total>0},overlapSpriteVsSprite:function(a,b,c,e,f){this._result=d.Rectangle.intersects(a.body,b.body),this._result&&(e?e.call(f,a,b)&&(this._total++,c&&c.call(f,a,b)):(this._total++,c&&c.call(f,a,b)))},overlapSpriteVsGroup:function(a,b,c,e,f){if(0!==b.length){this._potentials=this.quadTree.retrieve(a);for(var g=0,h=this._potentials.length;h>g;g++)this._potentials[g].sprite.group==b&&(this._result=d.Rectangle.intersects(a.body,this._potentials[g]),this._result&&e&&(this._result=e.call(f,a,this._potentials[g].sprite)),this._result&&(this._total++,c&&c.call(f,a,this._potentials[g].sprite)))}},overlapGroupVsGroup:function(a,b,c,d,e){if(0!==a.length&&0!==b.length&&a._container.first._iNext){var f=a._container.first._iNext;do f.exists&&this.overlapSpriteVsGroup(f,b,c,d,e),f=f._iNext;while(f!=a._container.last._iNext)}},collide:function(a,b,c,e,f){return c=c||null,e=e||null,f=f||c,this._result=!1,this._total=0,a&&b&&a.exists&&b.exists&&(a.type==d.SPRITE?b.type==d.SPRITE?this.collideSpriteVsSprite(a,b,c,e,f):b.type==d.GROUP||b.type==d.EMITTER?this.collideSpriteVsGroup(a,b,c,e,f):b.type==d.TILEMAPLAYER&&this.collideSpriteVsTilemapLayer(a,b,c,e,f):a.type==d.GROUP?b.type==d.SPRITE?this.collideSpriteVsGroup(b,a,c,e,f):b.type==d.GROUP||b.type==d.EMITTER?this.collideGroupVsGroup(a,b,c,e,f):b.type==d.TILEMAPLAYER&&this.collideGroupVsTilemapLayer(a,b,c,e,f):a.type==d.TILEMAPLAYER?b.type==d.SPRITE?this.collideSpriteVsTilemapLayer(b,a,c,e,f):(b.type==d.GROUP||b.type==d.EMITTER)&&this.collideGroupVsTilemapLayer(b,a,c,e,f):a.type==d.EMITTER&&(b.type==d.SPRITE?this.collideSpriteVsGroup(b,a,c,e,f):b.type==d.GROUP||b.type==d.EMITTER?this.collideGroupVsGroup(a,b,c,e,f):b.type==d.TILEMAPLAYER&&this.collideGroupVsTilemapLayer(a,b,c,e,f))),this._total>0},collideSpriteVsTilemapLayer:function(a,b,c,d,e){if(this._mapData=b.getTiles(a.body.x,a.body.y,a.body.width,a.body.height,!0),0!==this._mapData.length)for(var f=0;ff;f++)this._potentials[f].sprite.group==b&&(this.separate(a.body,this._potentials[f]),this._result&&d&&(this._result=d.call(e,a,this._potentials[f].sprite)),this._result&&(this._total++,c&&c.call(e,a,this._potentials[f].sprite)))}},collideGroupVsGroup:function(a,b,c,d,e){if(0!==a.length&&0!==b.length&&a._container.first._iNext){var f=a._container.first._iNext;do f.exists&&this.collideSpriteVsGroup(f,b,c,d,e),f=f._iNext;while(f!=a._container.last._iNext)}},separate:function(a,b){this._result=this.separateX(a,b)||this.separateY(a,b)},separateX:function(a,b){return a.immovable&&b.immovable?!1:(this._overlap=0,d.Rectangle.intersects(a,b)&&(this._maxOverlap=a.deltaAbsX()+b.deltaAbsX()+this.OVERLAP_BIAS,0===a.deltaX()&&0===b.deltaX()?(a.embedded=!0,b.embedded=!0):a.deltaX()>b.deltaX()?(this._overlap=a.x+a.width-b.x,this._overlap>this._maxOverlap||a.allowCollision.right===!1||b.allowCollision.left===!1?this._overlap=0:(a.touching.right=!0,b.touching.left=!0)):a.deltaX()this._maxOverlap||a.allowCollision.left===!1||b.allowCollision.right===!1?this._overlap=0:(a.touching.left=!0,b.touching.right=!0)),0!==this._overlap)?(a.overlapX=this._overlap,b.overlapX=this._overlap,a.customSeparateX||b.customSeparateX?!0:(this._velocity1=a.velocity.x,this._velocity2=b.velocity.x,a.immovable||b.immovable?a.immovable?b.immovable||(b.x+=this._overlap,b.velocity.x=this._velocity1-this._velocity2*b.bounce.x):(a.x=a.x-this._overlap,a.velocity.x=this._velocity2-this._velocity1*a.bounce.x):(this._overlap*=.5,a.x=a.x-this._overlap,b.x+=this._overlap,this._newVelocity1=Math.sqrt(this._velocity2*this._velocity2*b.mass/a.mass)*(this._velocity2>0?1:-1),this._newVelocity2=Math.sqrt(this._velocity1*this._velocity1*a.mass/b.mass)*(this._velocity1>0?1:-1),this._average=.5*(this._newVelocity1+this._newVelocity2),this._newVelocity1-=this._average,this._newVelocity2-=this._average,a.velocity.x=this._average+this._newVelocity1*a.bounce.x,b.velocity.x=this._average+this._newVelocity2*b.bounce.x),a.updateHulls(),b.updateHulls(),!0)):!1)},separateY:function(a,b){return a.immovable&&b.immovable?!1:(this._overlap=0,d.Rectangle.intersects(a,b)&&(this._maxOverlap=a.deltaAbsY()+b.deltaAbsY()+this.OVERLAP_BIAS,0===a.deltaY()&&0===b.deltaY()?(a.embedded=!0,b.embedded=!0):a.deltaY()>b.deltaY()?(this._overlap=a.y+a.height-b.y,this._overlap>this._maxOverlap||a.allowCollision.down===!1||b.allowCollision.up===!1?this._overlap=0:(a.touching.down=!0,b.touching.up=!0)):a.deltaY()this._maxOverlap||a.allowCollision.up===!1||b.allowCollision.down===!1?this._overlap=0:(a.touching.up=!0,b.touching.down=!0)),0!==this._overlap)?(a.overlapY=this._overlap,b.overlapY=this._overlap,a.customSeparateY||b.customSeparateY?!0:(this._velocity1=a.velocity.y,this._velocity2=b.velocity.y,a.immovable||b.immovable?a.immovable?b.immovable||(b.y+=this._overlap,b.velocity.y=this._velocity1-this._velocity2*b.bounce.y,a.sprite.active&&a.moves&&a.deltaY()b.deltaY()&&(a.x+=b.x-b.lastX)):(this._overlap*=.5,a.y=a.y-this._overlap,b.y+=this._overlap,this._newVelocity1=Math.sqrt(this._velocity2*this._velocity2*b.mass/a.mass)*(this._velocity2>0?1:-1),this._newVelocity2=Math.sqrt(this._velocity1*this._velocity1*a.mass/b.mass)*(this._velocity1>0?1:-1),this._average=.5*(this._newVelocity1+this._newVelocity2),this._newVelocity1-=this._average,this._newVelocity2-=this._average,a.velocity.y=this._average+this._newVelocity1*a.bounce.y,b.velocity.y=this._average+this._newVelocity2*b.bounce.y),a.updateHulls(),b.updateHulls(),!0)):!1)},separateTile:function(a,b){return this._result=this.separateTileX(a,b,!0)||this.separateTileY(a,b,!0),this._result},separateTileX:function(a,b,c){return a.immovable||0===a.deltaX()||d.Rectangle.intersects(a.hullX,b)===!1?!1:(this._overlap=0,a.deltaX()<0?(this._overlap=b.right-a.hullX.x,a.allowCollision.left===!1||b.tile.collideRight===!1?this._overlap=0:a.touching.left=!0):(this._overlap=a.hullX.right-b.x,a.allowCollision.right===!1||b.tile.collideLeft===!1?this._overlap=0:a.touching.right=!0),0!==this._overlap?(c&&(a.x=a.deltaX()<0?a.x+this._overlap:a.x-this._overlap,a.velocity.x=0===a.bounce.x?0:-a.velocity.x*a.bounce.x,a.updateHulls()),!0):!1)},separateTileY:function(a,b,c){return a.immovable||0===a.deltaY()||d.Rectangle.intersects(a.hullY,b)===!1?!1:(this._overlap=0,a.deltaY()<0?(this._overlap=b.bottom-a.hullY.y,a.allowCollision.up===!1||b.tile.collideDown===!1?this._overlap=0:a.touching.up=!0):(this._overlap=a.hullY.bottom-b.y,a.allowCollision.down===!1||b.tile.collideUp===!1?this._overlap=0:a.touching.down=!0),0!==this._overlap?(c&&(a.y=a.deltaY()<0?a.y+this._overlap:a.y-this._overlap,a.velocity.y=0===a.bounce.y?0:-a.velocity.y*a.bounce.y,a.updateHulls()),!0):!1)},moveToObject:function(a,b,c,d){return"undefined"==typeof c&&(c=60),"undefined"==typeof d&&(d=0),this._angle=Math.atan2(b.y-a.y,b.x-a.x),d>0&&(c=this.distanceBetween(a,b)/(d/1e3)),a.body.velocity.x=Math.cos(this._angle)*c,a.body.velocity.y=Math.sin(this._angle)*c,this._angle},moveToPointer:function(a,b,c,d){return"undefined"==typeof b&&(b=60),c=c||this.game.input.activePointer,"undefined"==typeof d&&(d=0),this._angle=this.angleToPointer(a,c),d>0&&(b=this.distanceToPointer(a,c)/(d/1e3)),a.body.velocity.x=Math.cos(this._angle)*b,a.body.velocity.y=Math.sin(this._angle)*b,this._angle},moveToXY:function(a,b,c,d,e){return"undefined"==typeof d&&(d=60),"undefined"==typeof e&&(e=0),this._angle=Math.atan2(c-a.y,b-a.x),e>0&&(d=this.distanceToXY(a,b,c)/(e/1e3)),a.body.velocity.x=Math.cos(this._angle)*d,a.body.velocity.y=Math.sin(this._angle)*d,this._angle},velocityFromAngle:function(a,b,c){return"undefined"==typeof b&&(b=60),c=c||new d.Point,c.setTo(Math.cos(this.game.math.degToRad(a))*b,Math.sin(this.game.math.degToRad(a))*b)},velocityFromRotation:function(a,b,c){return"undefined"==typeof b&&(b=60),c=c||new d.Point,c.setTo(Math.cos(a)*b,Math.sin(a)*b)},accelerationFromRotation:function(a,b,c){return"undefined"==typeof b&&(b=60),c=c||new d.Point,c.setTo(Math.cos(a)*b,Math.sin(a)*b)},accelerateToObject:function(a,b,c,d,e){return"undefined"==typeof c&&(c=60),"undefined"==typeof d&&(d=1e3),"undefined"==typeof e&&(e=1e3),this._angle=this.angleBetween(a,b),a.body.acceleration.setTo(Math.cos(this._angle)*c,Math.sin(this._angle)*c),a.body.maxVelocity.setTo(d,e),this._angle},accelerateToPointer:function(a,b,c,d,e){return"undefined"==typeof c&&(c=60),"undefined"==typeof b&&(b=this.game.input.activePointer),"undefined"==typeof d&&(d=1e3),"undefined"==typeof e&&(e=1e3),this._angle=this.angleToPointer(a,b),a.body.acceleration.setTo(Math.cos(this._angle)*c,Math.sin(this._angle)*c),a.body.maxVelocity.setTo(d,e),this._angle},accelerateToXY:function(a,b,c,d,e,f){return"undefined"==typeof d&&(d=60),"undefined"==typeof e&&(e=1e3),"undefined"==typeof f&&(f=1e3),this._angle=this.angleToXY(a,b,c),a.body.acceleration.setTo(Math.cos(this._angle)*d,Math.sin(this._angle)*d),a.body.maxVelocity.setTo(e,f),this._angle},distanceBetween:function(a,b){return this._dx=a.x-b.x,this._dy=a.y-b.y,Math.sqrt(this._dx*this._dx+this._dy*this._dy)},distanceToXY:function(a,b,c){return this._dx=a.x-b,this._dy=a.y-c,Math.sqrt(this._dx*this._dx+this._dy*this._dy)},distanceToPointer:function(a,b){return b=b||this.game.input.activePointer,this._dx=a.x-b.x,this._dy=a.y-b.y,Math.sqrt(this._dx*this._dx+this._dy*this._dy)},angleBetween:function(a,b){return this._dx=b.x-a.x,this._dy=b.y-a.y,Math.atan2(this._dy,this._dx)},angleToXY:function(a,b,c){return this._dx=b-a.x,this._dy=c-a.y,Math.atan2(this._dy,this._dx)},angleToPointer:function(a,b){return b=b||this.game.input.activePointer,this._dx=b.worldX-a.x,this._dy=b.worldY-a.y,Math.atan2(this._dy,this._dx)}},d.Physics.Arcade.Body=function(a){this.sprite=a,this.game=a.game,this.offset=new d.Point,this.x=a.x,this.y=a.y,this.preX=a.x,this.preY=a.y,this.preRotation=a.angle,this.screenX=a.x,this.screenY=a.y,this.sourceWidth=a.currentFrame.sourceSizeW,this.sourceHeight=a.currentFrame.sourceSizeH,this.width=a.currentFrame.sourceSizeW,this.height=a.currentFrame.sourceSizeH,this.halfWidth=Math.floor(a.currentFrame.sourceSizeW/2),this.halfHeight=Math.floor(a.currentFrame.sourceSizeH/2),this.center=new d.Point(this.x+this.halfWidth,this.y+this.halfHeight),this._sx=a.scale.x,this._sy=a.scale.y,this.velocity=new d.Point,this.acceleration=new d.Point,this.drag=new d.Point,this.gravity=new d.Point,this.bounce=new d.Point,this.maxVelocity=new d.Point(1e4,1e4),this.angularVelocity=0,this.angularAcceleration=0,this.angularDrag=0,this.maxAngular=1e3,this.mass=1,this.skipQuadTree=!1,this.quadTreeIDs=[],this.quadTreeIndex=-1,this.allowCollision={none:!1,any:!0,up:!0,down:!0,left:!0,right:!0},this.touching={none:!0,up:!1,down:!1,left:!1,right:!1},this.wasTouching={none:!0,up:!1,down:!1,left:!1,right:!1},this.facing=d.NONE,this.immovable=!1,this.moves=!0,this.rotation=0,this.allowRotation=!0,this.allowGravity=!0,this.customSeparateX=!1,this.customSeparateY=!1,this.overlapX=0,this.overlapY=0,this.hullX=new d.Rectangle,this.hullY=new d.Rectangle,this.embedded=!1,this.collideWorldBounds=!1},d.Physics.Arcade.Body.prototype={updateBounds:function(a,b,c,d){(c!=this._sx||d!=this._sy)&&(this.width=this.sourceWidth*c,this.height=this.sourceHeight*d,this.halfWidth=Math.floor(this.width/2),this.halfHeight=Math.floor(this.height/2),this._sx=c,this._sy=d,this.center.setTo(this.x+this.halfWidth,this.y+this.halfHeight))},preUpdate:function(){this.wasTouching.none=this.touching.none,this.wasTouching.up=this.touching.up,this.wasTouching.down=this.touching.down,this.wasTouching.left=this.touching.left,this.wasTouching.right=this.touching.right,this.touching.none=!0,this.touching.up=!1,this.touching.down=!1,this.touching.left=!1,this.touching.right=!1,this.embedded=!1,this.screenX=this.sprite.worldTransform[2]-this.sprite.anchor.x*this.width+this.offset.x,this.screenY=this.sprite.worldTransform[5]-this.sprite.anchor.y*this.height+this.offset.y,this.preX=this.sprite.world.x-this.sprite.anchor.x*this.width+this.offset.x,this.preY=this.sprite.world.y-this.sprite.anchor.y*this.height+this.offset.y,this.preRotation=this.sprite.angle,this.x=this.preX,this.y=this.preY,this.rotation=this.preRotation,this.moves&&(this.game.physics.updateMotion(this),this.collideWorldBounds&&this.checkWorldBounds(),this.updateHulls()),this.skipQuadTree===!1&&this.allowCollision.none===!1&&this.sprite.visible&&this.sprite.alive&&(this.quadTreeIDs=[],this.quadTreeIndex=-1,this.game.physics.quadTree.insert(this))},postUpdate:function(){this.deltaX()<0?this.facing=d.LEFT:this.deltaX()>0&&(this.facing=d.RIGHT),this.deltaY()<0?this.facing=d.UP:this.deltaY()>0&&(this.facing=d.DOWN),(0!==this.deltaX()||0!==this.deltaY())&&(this.sprite.x+=this.deltaX(),this.sprite.y+=this.deltaY(),this.center.setTo(this.x+this.halfWidth,this.y+this.halfHeight)),this.allowRotation&&(this.sprite.angle+=this.deltaZ())},updateHulls:function(){this.hullX.setTo(this.x,this.preY,this.width,this.height),this.hullY.setTo(this.preX,this.y,this.width,this.height)},checkWorldBounds:function(){this.xthis.game.world.bounds.right&&(this.x=this.game.world.bounds.right-this.width,this.velocity.x*=-this.bounce.x),this.ythis.game.world.bounds.bottom&&(this.y=this.game.world.bounds.bottom-this.height,this.velocity.y*=-this.bounce.y)},setSize:function(a,b,c,d){c=c||this.offset.x,d=d||this.offset.y,this.sourceWidth=a,this.sourceHeight=b,this.width=this.sourceWidth*this._sx,this.height=this.sourceHeight*this._sy,this.halfWidth=Math.floor(this.width/2),this.halfHeight=Math.floor(this.height/2),this.offset.setTo(c,d),this.center.setTo(this.x+this.halfWidth,this.y+this.halfHeight)},reset:function(){this.velocity.setTo(0,0),this.acceleration.setTo(0,0),this.angularVelocity=0,this.angularAcceleration=0,this.preX=this.sprite.world.x-this.sprite.anchor.x*this.width+this.offset.x,this.preY=this.sprite.world.y-this.sprite.anchor.y*this.height+this.offset.y,this.preRotation=this.sprite.angle,this.x=this.preX,this.y=this.preY,this.rotation=this.preRotation,this.center.setTo(this.x+this.halfWidth,this.y+this.halfHeight)},deltaAbsX:function(){return this.deltaX()>0?this.deltaX():-this.deltaX()},deltaAbsY:function(){return this.deltaY()>0?this.deltaY():-this.deltaY()},deltaX:function(){return this.x-this.preX},deltaY:function(){return this.y-this.preY},deltaZ:function(){return this.rotation-this.preRotation}},Object.defineProperty(d.Physics.Arcade.Body.prototype,"bottom",{get:function(){return this.y+this.height},set:function(a){this.height=a<=this.y?0:this.y-a}}),Object.defineProperty(d.Physics.Arcade.Body.prototype,"right",{get:function(){return this.x+this.width},set:function(a){this.width=a<=this.x?0:this.x+a}}),d.Particles=function(a){this.game=a,this.emitters={},this.ID=0},d.Particles.prototype={add:function(a){return this.emitters[a.name]=a,a},remove:function(a){delete this.emitters[a.name]},update:function(){for(var a in this.emitters)this.emitters[a].exists&&this.emitters[a].update()}},d.Particles.Arcade={},d.Particles.Arcade.Emitter=function(a,b,c,e){this.maxParticles=e||50,d.Group.call(this,a),this.name="emitter"+this.game.particles.ID++,this.type=d.EMITTER,this.x=0,this.y=0,this.width=1,this.height=1,this.minParticleSpeed=new d.Point(-100,-100),this.maxParticleSpeed=new d.Point(100,100),this.minParticleScale=1,this.maxParticleScale=1,this.minRotation=-360,this.maxRotation=360,this.gravity=2,this.particleClass=null,this.particleDrag=new d.Point,this.angularDrag=0,this.frequency=100,this.lifespan=2e3,this.bounce=new d.Point,this._quantity=0,this._timer=0,this._counter=0,this._explode=!0,this.on=!1,this.exists=!0,this.emitX=b,this.emitY=c},d.Particles.Arcade.Emitter.prototype=Object.create(d.Group.prototype),d.Particles.Arcade.Emitter.prototype.constructor=d.Particles.Arcade.Emitter,d.Particles.Arcade.Emitter.prototype.update=function(){if(this.on)if(this._explode){this._counter=0;do this.emitParticle(),this._counter++;while(this._counter=this._timer&&(this.emitParticle(),this._counter++,this._quantity>0&&this._counter>=this._quantity&&(this.on=!1),this._timer=this.game.time.now+this.frequency)},d.Particles.Arcade.Emitter.prototype.makeParticles=function(a,b,c,e,f){"undefined"==typeof b&&(b=0),c=c||this.maxParticles,e=e||0,"undefined"==typeof f&&(f=!1);for(var g,h=0,i=a,j=0;c>h;)null==this.particleClass&&("object"==typeof a&&(i=this.game.rnd.pick(a)),"object"==typeof b&&(j=this.game.rnd.pick(b)),g=new d.Sprite(this.game,0,0,i,j)),e>0?(g.body.allowCollision.any=!0,g.body.allowCollision.none=!1):g.body.allowCollision.none=!0,g.body.collideWorldBounds=f,g.exists=!1,g.visible=!1,g.anchor.setTo(.5,.5),this.add(g),h++;return this},d.Particles.Arcade.Emitter.prototype.kill=function(){this.on=!1,this.alive=!1,this.exists=!1},d.Particles.Arcade.Emitter.prototype.revive=function(){this.alive=!0,this.exists=!0},d.Particles.Arcade.Emitter.prototype.start=function(a,b,c,d){"boolean"!=typeof a&&(a=!0),b=b||0,c=c||250,d=d||0,this.revive(),this.visible=!0,this.on=!0,this._explode=a,this.lifespan=b,this.frequency=c,a?this._quantity=d:this._quantity+=d,this._counter=0,this._timer=this.game.time.now+c},d.Particles.Arcade.Emitter.prototype.emitParticle=function(){var a=this.getFirstExists(!1);if(null!=a){if(this.width>1||this.height>1?a.reset(this.game.rnd.integerInRange(this.left,this.right),this.game.rnd.integerInRange(this.top,this.bottom)):a.reset(this.emitX,this.emitY),a.lifespan=this.lifespan,a.body.bounce.setTo(this.bounce.x,this.bounce.y),a.body.velocity.x=this.minParticleSpeed.x!=this.maxParticleSpeed.x?this.game.rnd.integerInRange(this.minParticleSpeed.x,this.maxParticleSpeed.x):this.minParticleSpeed.x,a.body.velocity.y=this.minParticleSpeed.y!=this.maxParticleSpeed.y?this.game.rnd.integerInRange(this.minParticleSpeed.y,this.maxParticleSpeed.y):this.minParticleSpeed.y,a.body.gravity.y=this.gravity,a.body.angularVelocity=this.minRotation!=this.maxRotation?this.game.rnd.integerInRange(this.minRotation,this.maxRotation):this.minRotation,1!==this.minParticleScale||1!==this.maxParticleScale){var b=this.game.rnd.realInRange(this.minParticleScale,this.maxParticleScale);a.scale.setTo(b,b)}a.body.drag.x=this.particleDrag.x,a.body.drag.y=this.particleDrag.y,a.body.angularDrag=this.angularDrag}},d.Particles.Arcade.Emitter.prototype.setSize=function(a,b){this.width=a,this.height=b},d.Particles.Arcade.Emitter.prototype.setXSpeed=function(a,b){a=a||0,b=b||0,this.minParticleSpeed.x=a,this.maxParticleSpeed.x=b},d.Particles.Arcade.Emitter.prototype.setYSpeed=function(a,b){a=a||0,b=b||0,this.minParticleSpeed.y=a,this.maxParticleSpeed.y=b},d.Particles.Arcade.Emitter.prototype.setRotation=function(a,b){a=a||0,b=b||0,this.minRotation=a,this.maxRotation=b},d.Particles.Arcade.Emitter.prototype.at=function(a){this.emitX=a.center.x,this.emitY=a.center.y},Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"alpha",{get:function(){return this._container.alpha},set:function(a){this._container.alpha=a}}),Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"visible",{get:function(){return this._container.visible},set:function(a){this._container.visible=a}}),Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"x",{get:function(){return this.emitX},set:function(a){this.emitX=a}}),Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"y",{get:function(){return this.emitY},set:function(a){this.emitY=a}}),Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"left",{get:function(){return Math.floor(this.x-this.width/2)}}),Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"right",{get:function(){return Math.floor(this.x+this.width/2)}}),Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"top",{get:function(){return Math.floor(this.y-this.height/2)}}),Object.defineProperty(d.Particles.Arcade.Emitter.prototype,"bottom",{get:function(){return Math.floor(this.y+this.height/2)}}),d.Tile=function(a,b,c,d,e,f){this.tileset=a,this.index=b,this.width=e,this.height=f,this.x=c,this.y=d,this.mass=1,this.collideNone=!0,this.collideLeft=!1,this.collideRight=!1,this.collideUp=!1,this.collideDown=!1,this.separateX=!0,this.separateY=!0,this.collisionCallback=null,this.collisionCallbackContext=this},d.Tile.prototype={setCollisionCallback:function(a,b){this.collisionCallbackContext=b,this.collisionCallback=a},destroy:function(){this.tileset=null},setCollision:function(a,b,c,d){this.collideLeft=a,this.collideRight=b,this.collideUp=c,this.collideDown=d,this.collideNone=a||b||c||d?!1:!0},resetCollision:function(){this.collideNone=!0,this.collideLeft=!1,this.collideRight=!1,this.collideUp=!1,this.collideDown=!1}},Object.defineProperty(d.Tile.prototype,"bottom",{get:function(){return this.y+this.height}}),Object.defineProperty(d.Tile.prototype,"right",{get:function(){return this.x+this.width}}),d.Tilemap=function(a,b){this.game=a,this.layers=null,"string"==typeof b?(this.key=b,this.layers=a.cache.getTilemapData(b).layers,this.calculateIndexes()):this.layers=[],this.currentLayer=0,this.debugMap=[],this.dirty=!1,this._results=[],this._tempA=0,this._tempB=0},d.Tilemap.CSV=0,d.Tilemap.TILED_JSON=1,d.Tilemap.prototype={create:function(a,b,c){for(var e=[],f=0;c>f;f++){e[f]=[];for(var g=0;b>g;g++)e[f][g]=0}this.layers.push({name:a,width:b,height:c,alpha:1,visible:!0,tileMargin:0,tileSpacing:0,format:d.Tilemap.CSV,data:e,indexes:[]}),this.currentLayer=this.layers.length-1,this.dirty=!0},calculateIndexes:function(){for(var a=0;a=0&&b=0&&c=0&&a=0&&b=0&&a=0&&b=0&&b=0&&ca&&(a=0),0>b&&(b=0),c>this.layers[e].width&&(c=this.layers[e].width),d>this.layers[e].height&&(d=this.layers[e].height),this._results.length=0,this._results.push({x:a,y:b,width:c,height:d,layer:e});for(var f=b;b+d>f;f++)for(var g=a;a+c>g;g++)this._results.push({x:g,y:f,index:this.layers[e].data[f][g]});return this._results},paste:function(a,b,c,d){if("undefined"==typeof a&&(a=0),"undefined"==typeof b&&(b=0),"undefined"==typeof d&&(d=this.currentLayer),c&&!(c.length<2)){for(var e=c[1].x-a,f=c[1].y-b,g=1;g1?this.debugMap[this.layers[this.currentLayer].data[c][d]]?b.push("background: "+this.debugMap[this.layers[this.currentLayer].data[c][d]]):b.push("background: #ffffff"):b.push("background: rgb(0, 0, 0)");a+="\n"}b[0]=a,console.log.apply(console,b)},destroy:function(){this.removeAllLayers(),this.game=null}},d.TilemapLayer=function(a,b,e,f,g,h,i,j){this.game=a,this.canvas=d.Canvas.create(f,g),this.context=this.canvas.getContext("2d"),this.baseTexture=new c.BaseTexture(this.canvas),this.texture=new c.Texture(this.baseTexture),this.textureFrame=new d.Frame(0,0,0,f,g,"tilemaplayer",a.rnd.uuid()),d.Sprite.call(this,this.game,b,e,this.texture,this.textureFrame),this.type=d.TILEMAPLAYER,this.fixedToCamera=!0,this.tileset=null,this.tileWidth=0,this.tileHeight=0,this.tileMargin=0,this.tileSpacing=0,this.widthInPixels=0,this.heightInPixels=0,this.renderWidth=f,this.renderHeight=g,this._ga=1,this._dx=0,this._dy=0,this._dw=0,this._dh=0,this._tx=0,this._ty=0,this._tw=0,this._th=0,this._tl=0,this._maxX=0,this._maxY=0,this._startX=0,this._startY=0,this._results=[],this._x=0,this._y=0,this._prevX=0,this._prevY=0,this.scrollFactorX=1,this.scrollFactorY=1,this.tilemap=null,this.layer=null,this.index=0,this.dirty=!0,(h instanceof d.Tileset||"string"==typeof h)&&this.updateTileset(h),i instanceof d.Tilemap&&this.updateMapData(i,j)},d.TilemapLayer.prototype=Object.create(d.Sprite.prototype),d.TilemapLayer.prototype=d.Utils.extend(!0,d.TilemapLayer.prototype,d.Sprite.prototype,c.Sprite.prototype),d.TilemapLayer.prototype.constructor=d.TilemapLayer,d.TilemapLayer.prototype.update=function(){this.scrollX=this.game.camera.x*this.scrollFactorX,this.scrollY=this.game.camera.y*this.scrollFactorY,this.render()},d.TilemapLayer.prototype.resizeWorld=function(){this.game.world.setBounds(0,0,this.widthInPixels,this.heightInPixels)},d.TilemapLayer.prototype.updateTileset=function(a){if(a instanceof d.Tileset)this.tileset=a;else{if("string"!=typeof a)return;this.tileset=this.game.cache.getTileset("tiles")}this.tileWidth=this.tileset.tileWidth,this.tileHeight=this.tileset.tileHeight,this.tileMargin=this.tileset.tileMargin,this.tileSpacing=this.tileset.tileSpacing,this.updateMax()},d.TilemapLayer.prototype.updateMapData=function(a,b){"undefined"==typeof b&&(b=0),a instanceof d.Tilemap&&(this.tilemap=a,this.layer=this.tilemap.layers[b],this.index=b,this.updateMax(),this.tilemap.dirty=!0)},d.TilemapLayer.prototype._fixX=function(a){if(1===this.scrollFactorX)return a;var b=a-this._x/this.scrollFactorX;return this._x+b},d.TilemapLayer.prototype._unfixX=function(a){if(1===this.scrollFactorX)return a;var b=a-this._x;return this._x/this.scrollFactorX+b},d.TilemapLayer.prototype._fixY=function(a){if(1===this.scrollFactorY)return a;var b=a-this._y/this.scrollFactorY;return this._y+b},d.TilemapLayer.prototype._unfixY=function(a){if(1===this.scrollFactorY)return a;var b=a-this._y;return this._y/this.scrollFactorY+b},d.TilemapLayer.prototype.getTileX=function(a){var b=this.tileWidth*this.scale.x;return this.game.math.snapToFloor(this._fixX(a),b)/b},d.TilemapLayer.prototype.getTileY=function(a){var b=this.tileHeight*this.scale.y;return this.game.math.snapToFloor(this._fixY(a),b)/b},d.TilemapLayer.prototype.getTileXY=function(a,b,c){return c.x=this.getTileX(a),c.y=this.getTileY(b),c},d.TilemapLayer.prototype.getTiles=function(a,b,c,d,e){if(null!==this.tilemap){"undefined"==typeof e&&(e=!1),0>a&&(a=0),0>b&&(b=0),a=this._fixX(a),b=this._fixY(b),c>this.widthInPixels&&(c=this.widthInPixels),d>this.heightInPixels&&(d=this.heightInPixels);var f=this.tileWidth*this.scale.x,g=this.tileHeight*this.scale.y;this._tx=this.game.math.snapToFloor(a,f)/f,this._ty=this.game.math.snapToFloor(b,g)/g,this._tw=(this.game.math.snapToCeil(c,f)+f)/f,this._th=(this.game.math.snapToCeil(d,g)+g)/g,this._results=[];for(var h=0,i=null,j=0,k=0,l=this._ty;lthis.layer.width&&(this._maxX=this.layer.width),this._maxY>this.layer.height&&(this._maxY=this.layer.height),this.widthInPixels=this.layer.width*this.tileWidth,this.heightInPixels=this.layer.height*this.tileHeight),this.dirty=!0},d.TilemapLayer.prototype.render=function(){if(this.tilemap&&this.tilemap.dirty&&(this.dirty=!0),this.dirty&&this.tileset&&this.tilemap&&this.visible){this._prevX=this._dx,this._prevY=this._dy,this._dx=-(this._x-this._startX*this.tileWidth),this._dy=-(this._y-this._startY*this.tileHeight),this._tx=this._dx,this._ty=this._dy,this.context.clearRect(0,0,this.canvas.width,this.canvas.height);for(var a=this._startY;a0?this.deltaX():-this.deltaX()},d.TilemapLayer.prototype.deltaAbsY=function(){return this.deltaY()>0?this.deltaY():-this.deltaY()},d.TilemapLayer.prototype.deltaX=function(){return this._dx-this._prevX},d.TilemapLayer.prototype.deltaY=function(){return this._dy-this._prevY},Object.defineProperty(d.TilemapLayer.prototype,"scrollX",{get:function(){return this._x},set:function(a){a!==this._x&&a>=0&&this.layer&&(this._x=a,this._x>this.widthInPixels-this.renderWidth&&(this._x=this.widthInPixels-this.renderWidth),this._startX=this.game.math.floor(this._x/this.tileWidth),this._startX<0&&(this._startX=0),this._startX+this._maxX>this.layer.width&&(this._startX=this.layer.width-this._maxX),this.dirty=!0)}}),Object.defineProperty(d.TilemapLayer.prototype,"scrollY",{get:function(){return this._y},set:function(a){a!==this._y&&a>=0&&this.layer&&(this._y=a,this._y>this.heightInPixels-this.renderHeight&&(this._y=this.heightInPixels-this.renderHeight),this._startY=this.game.math.floor(this._y/this.tileHeight),this._startY<0&&(this._startY=0),this._startY+this._maxY>this.layer.height&&(this._startY=this.layer.height-this._maxY),this.dirty=!0)}}),d.TilemapParser={tileset:function(a,b,c,e,f,g,h){var i=a.cache.getTilesetImage(b);if(null==i)return null;var j=i.width,k=i.height;0>=c&&(c=Math.floor(-j/Math.min(-1,c))),0>=e&&(e=Math.floor(-k/Math.min(-1,e)));var l=Math.round(j/c),m=Math.round(k/e),n=l*m;if(-1!==f&&(n=f),0===j||0===k||c>j||e>k||0===n)return console.warn("Phaser.TilemapParser.tileSet: width/height zero or width/height < given tileWidth/tileHeight"),null;for(var o=g,p=g,q=new d.Tileset(i,b,c,e,g,h),r=0;n>r;r++)q.addTile(new d.Tile(q,r,o,p,c,e)),o+=c+h,o===j&&(o=g,p+=e+h);return q},parse:function(a,b,c){return c===d.Tilemap.CSV?this.parseCSV(b):c===d.Tilemap.TILED_JSON?this.parseTiledJSON(b):void 0},parseCSV:function(a){a=a.trim();for(var b=[],c=a.split("\n"),d=c.length,e=0,f=0;fa)for(var g=a;b>=g;g++)this.tiles[g].setCollision(c,d,e,f)},setCollision:function(a,b,c,d,e){this.tiles[a]&&this.tiles[a].setCollision(b,c,d,e)}},Object.defineProperty(d.Tileset.prototype,"total",{get:function(){return this.tiles.length}}),c.CanvasRenderer.prototype.render=function(a){c.texturesToUpdate.length=0,c.texturesToDestroy.length=0,c.visibleCount++,a.updateTransform(),this.context.setTransform(1,0,0,1,0,0),this.context.clearRect(0,0,this.width,this.height),this.renderDisplayObject(a),c.Texture.frameUpdates.length>0&&(c.Texture.frameUpdates.length=0)},c.CanvasRenderer.prototype.renderDisplayObject=function(a){var b=a.last._iNext;a=a.first;do if(a.visible)if(a.renderable&&0!==a.alpha){if(a instanceof c.Sprite)a.texture.frame&&(this.context.globalAlpha=a.worldAlpha,a.texture.trimmed?this.context.setTransform(a.worldTransform[0],a.worldTransform[3],a.worldTransform[1],a.worldTransform[4],a.worldTransform[2]+a.texture.trim.x,a.worldTransform[5]+a.texture.trim.y):this.context.setTransform(a.worldTransform[0],a.worldTransform[3],a.worldTransform[1],a.worldTransform[4],a.worldTransform[2],a.worldTransform[5]),this.context.drawImage(a.texture.baseTexture.source,a.texture.frame.x,a.texture.frame.y,a.texture.frame.width,a.texture.frame.height,a.anchor.x*-a.texture.frame.width,a.anchor.y*-a.texture.frame.height,a.texture.frame.width,a.texture.frame.height));else if(a instanceof c.Strip)this.context.setTransform(a.worldTransform[0],a.worldTransform[3],a.worldTransform[1],a.worldTransform[4],a.worldTransform[2],a.worldTransform[5]),this.renderStrip(a);else if(a instanceof c.TilingSprite)this.context.setTransform(a.worldTransform[0],a.worldTransform[3],a.worldTransform[1],a.worldTransform[4],a.worldTransform[2],a.worldTransform[5]),this.renderTilingSprite(a);else if(a instanceof c.CustomRenderable)a.renderCanvas(this);else if(a instanceof c.Graphics)this.context.setTransform(a.worldTransform[0],a.worldTransform[3],a.worldTransform[1],a.worldTransform[4],a.worldTransform[2],a.worldTransform[5]),c.CanvasGraphics.renderGraphics(a,this.context);else if(a instanceof c.FilterBlock)if(a.open){this.context.save();var d=a.mask.alpha,e=a.mask.worldTransform;this.context.setTransform(e[0],e[3],e[1],e[4],e[2],e[5]),a.mask.worldAlpha=.5,this.context.worldAlpha=0,c.CanvasGraphics.renderGraphicsMask(a.mask,this.context),this.context.clip(),a.mask.worldAlpha=d}else this.context.restore();a=a._iNext}else a=a._iNext;else a=a.last._iNext;while(a!=b)},c.WebGLBatch.prototype.update=function(){for(var a,b,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r=0,s=this.head;s;){if(s.vcount===c.visibleCount){if(b=s.texture.frame.width,d=s.texture.frame.height,e=s.anchor.x,f=s.anchor.y,g=b*(1-e),h=b*-e,i=d*(1-f),j=d*-f,k=8*r,a=s.worldTransform,l=a[0],m=a[3],n=a[1],o=a[4],p=a[2],q=a[5],s.texture.trimmed&&(p+=s.texture.trim.x,q+=s.texture.trim.y),this.verticies[k+0]=l*h+n*j+p,this.verticies[k+1]=o*j+m*h+q,this.verticies[k+2]=l*g+n*j+p,this.verticies[k+3]=o*j+m*g+q,this.verticies[k+4]=l*g+n*i+p,this.verticies[k+5]=o*i+m*g+q,this.verticies[k+6]=l*h+n*i+p,this.verticies[k+7]=o*i+m*h+q,s.updateFrame||s.texture.updateFrame){this.dirtyUVS=!0;var t=s.texture,u=t.frame,v=t.baseTexture.width,w=t.baseTexture.height;this.uvs[k+0]=u.x/v,this.uvs[k+1]=u.y/w,this.uvs[k+2]=(u.x+u.width)/v,this.uvs[k+3]=u.y/w,this.uvs[k+4]=(u.x+u.width)/v,this.uvs[k+5]=(u.y+u.height)/w,this.uvs[k+6]=u.x/v,this.uvs[k+7]=(u.y+u.height)/w,s.updateFrame=!1}if(s.cacheAlpha!=s.worldAlpha){s.cacheAlpha=s.worldAlpha;var x=4*r;this.colors[x]=this.colors[x+1]=this.colors[x+2]=this.colors[x+3]=s.worldAlpha,this.dirtyColors=!0}}else k=8*r,this.verticies[k+0]=0,this.verticies[k+1]=0,this.verticies[k+2]=0,this.verticies[k+3]=0,this.verticies[k+4]=0,this.verticies[k+5]=0,this.verticies[k+6]=0,this.verticies[k+7]=0;r++,s=s.__next}},d}); \ No newline at end of file diff --git a/docs/Animation.js.html b/docs/Animation.js.html index 0fbf3d3b83..9234bde6b2 100644 --- a/docs/Animation.js.html +++ b/docs/Animation.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -406,13 +446,13 @@

    Source: animation/Animation.js

    /** * @property {Phaser.Game} game - A reference to the currently running Game. */ - this.game = game; + this.game = game; /** * @property {Phaser.Sprite} _parent - A reference to the parent Sprite that owns this Animation. * @private */ - this._parent = parent; + this._parent = parent; /** * @property {Phaser.FrameData} _frameData - The FrameData the Animation uses. @@ -429,18 +469,18 @@

    Source: animation/Animation.js

    * @property {object} _frames * @private */ - this._frames = []; + this._frames = []; this._frames = this._frames.concat(frames); /** * @property {number} delay - The delay in ms between each frame of the Animation. */ - this.delay = 1000 / delay; + this.delay = 1000 / delay; /** * @property {boolean} looped - The loop state of the Animation. */ - this.looped = looped; + this.looped = looped; /** * @property {boolean} looped - The loop state of the Animation. @@ -451,13 +491,13 @@

    Source: animation/Animation.js

    * @property {boolean} isFinished - The finished state of the Animation. Set to true once playback completes, false during playback. * @default */ - this.isFinished = false; + this.isFinished = false; /** * @property {boolean} isPlaying - The playing state of the Animation. Set to false once playback completes, true during playback. * @default */ - this.isPlaying = false; + this.isPlaying = false; /** * @property {boolean} isPaused - The paused state of the Animation. @@ -477,7 +517,7 @@

    Source: animation/Animation.js

    * @private * @default */ - this._frameIndex = 0; + this._frameIndex = 0; /** * @property {number} _frameDiff @@ -496,8 +536,8 @@

    Source: animation/Animation.js

    /** * @property {Phaser.Frame} currentFrame - The currently displayed frame of the Animation. */ - this.currentFrame = this._frameData.getFrame(this._frames[this._frameIndex]); - + this.currentFrame = this._frameData.getFrame(this._frames[this._frameIndex]); + }; Phaser.Animation.prototype = { @@ -542,7 +582,7 @@

    Source: animation/Animation.js

    this._frameIndex = 0; this.currentFrame = this._frameData.getFrame(this._frames[this._frameIndex]); - this._parent.setTexture(PIXI.TextureCache[this.currentFrame.uuid]); + this._parent.setTexture(PIXI.TextureCache[this.currentFrame.uuid]); if (this._parent.events) { @@ -609,7 +649,7 @@

    Source: animation/Animation.js

    return false; } - if (this.isPlaying == true && this.game.time.now >= this._timeNextFrame) + if (this.isPlaying === true && this.game.time.now >= this._timeNextFrame) { this._frameSkip = 1; @@ -653,7 +693,11 @@

    Source: animation/Animation.js

    else { this.currentFrame = this._frameData.getFrame(this._frames[this._frameIndex]); - this._parent.setTexture(PIXI.TextureCache[this.currentFrame.uuid]); + + if (this.currentFrame) + { + this._parent.setTexture(PIXI.TextureCache[this.currentFrame.uuid]); + } } return true; @@ -710,7 +754,7 @@

    Source: animation/Animation.js

    * @name Phaser.Animation#paused * @property {boolean} paused - Gets and sets the paused state of this Animation. */ -Object.defineProperty(Phaser.Animation.prototype, "paused", { +Object.defineProperty(Phaser.Animation.prototype, 'paused', { get: function () { @@ -745,7 +789,7 @@

    Source: animation/Animation.js

    * @property {number} frameTotal - The total number of frames in the currently loaded FrameData, or -1 if no FrameData is loaded. * @readonly */ -Object.defineProperty(Phaser.Animation.prototype, "frameTotal", { +Object.defineProperty(Phaser.Animation.prototype, 'frameTotal', { get: function () { return this._frames.length; @@ -757,7 +801,7 @@

    Source: animation/Animation.js

    * @name Phaser.Animation#frame * @property {number} frame - Gets or sets the current frame index and updates the Texture Cache for display. */ -Object.defineProperty(Phaser.Animation.prototype, "frame", { +Object.defineProperty(Phaser.Animation.prototype, 'frame', { get: function () { @@ -779,7 +823,7 @@

    Source: animation/Animation.js

    if (this.currentFrame !== null) { this._frameIndex = value; - this._parent.setTexture(PIXI.TextureCache[this.currentFrame.uuid]); + this._parent.setTexture(PIXI.TextureCache[this.currentFrame.uuid]); } } @@ -868,7 +912,7 @@

    Source: animation/Animation.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/AnimationManager.js.html b/docs/AnimationManager.js.html index 4c9a95a2bb..48a1f83a3e 100644 --- a/docs/AnimationManager.js.html +++ b/docs/AnimationManager.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -400,49 +440,49 @@

    Source: animation/AnimationManager.js

    /** * @property {Phaser.Sprite} sprite - A reference to the parent Sprite that owns this AnimationManager. */ - this.sprite = sprite; + this.sprite = sprite; /** * @property {Phaser.Game} game - A reference to the currently running Game. */ - this.game = sprite.game; + this.game = sprite.game; - /** - * @property {Phaser.Frame} currentFrame - The currently displayed Frame of animation, if any. - * @default - */ - this.currentFrame = null; - - /** - * @property {boolean} updateIfVisible - Should the animation data continue to update even if the Sprite.visible is set to false. - * @default - */ - this.updateIfVisible = true; - - /** - * @property {boolean} isLoaded - Set to true once animation data has been loaded. - * @default - */ - this.isLoaded = false; - - /** - * @property {Phaser.FrameData} _frameData - A temp. var for holding the currently playing Animations FrameData. - * @private - * @default - */ - this._frameData = null; - - /** - * @property {object} _anims - An internal object that stores all of the Animation instances. - * @private - */ - this._anims = {}; - - /** - * @property {object} _outputFrames - An internal object to help avoid gc. - * @private - */ - this._outputFrames = []; + /** + * @property {Phaser.Frame} currentFrame - The currently displayed Frame of animation, if any. + * @default + */ + this.currentFrame = null; + + /** + * @property {boolean} updateIfVisible - Should the animation data continue to update even if the Sprite.visible is set to false. + * @default + */ + this.updateIfVisible = true; + + /** + * @property {boolean} isLoaded - Set to true once animation data has been loaded. + * @default + */ + this.isLoaded = false; + + /** + * @property {Phaser.FrameData} _frameData - A temp. var for holding the currently playing Animations FrameData. + * @private + * @default + */ + this._frameData = null; + + /** + * @property {object} _anims - An internal object that stores all of the Animation instances. + * @private + */ + this._anims = {}; + + /** + * @property {object} _outputFrames - An internal object to help avoid gc. + * @private + */ + this._outputFrames = []; }; @@ -456,226 +496,226 @@

    Source: animation/AnimationManager.js

    * @private * @param {Phaser.FrameData} frameData - The FrameData set to load. */ - loadFrameData: function (frameData) { + loadFrameData: function (frameData) { - this._frameData = frameData; - this.frame = 0; - this.isLoaded = true; + this._frameData = frameData; + this.frame = 0; + this.isLoaded = true; - }, + }, - /** - * Adds a new animation under the given key. Optionally set the frames, frame rate and loop. - * Animations added in this way are played back with the play function. - * + /** + * Adds a new animation under the given key. Optionally set the frames, frame rate and loop. + * Animations added in this way are played back with the play function. + * * @method Phaser.AnimationManager#add - * @param {string} name - The unique (within this Sprite) name for the animation, i.e. "run", "fire", "walk". - * @param {Array} [frames=null] - An array of numbers/strings that correspond to the frames to add to this animation and in which order. e.g. [1, 2, 3] or ['run0', 'run1', run2]). If null then all frames will be used. - * @param {number} [frameRate=60] - The speed at which the animation should play. The speed is given in frames per second. - * @param {boolean} [loop=false] - Whether or not the animation is looped or just plays once. - * @param {boolean} [useNumericIndex=true] - Are the given frames using numeric indexes (default) or strings? - * @return {Phaser.Animation} The Animation object that was created. - */ - add: function (name, frames, frameRate, loop, useNumericIndex) { - - if (this._frameData == null) - { - console.warn('No FrameData available for Phaser.Animation ' + name); - return; - } - - frameRate = frameRate || 60; - - if (typeof loop === 'undefined') { loop = false; } - - // If they didn't set the useNumericIndex then let's at least try and guess it - if (typeof useNumericIndex === 'undefined') - { - if (frames && typeof frames[0] === 'number') - { - useNumericIndex = true; - } - else - { - useNumericIndex = false; - } - } - - // Create the signals the AnimationManager will emit - if (this.sprite.events.onAnimationStart == null) - { - this.sprite.events.onAnimationStart = new Phaser.Signal(); - this.sprite.events.onAnimationComplete = new Phaser.Signal(); - this.sprite.events.onAnimationLoop = new Phaser.Signal(); - } - - this._outputFrames.length = 0; - - this._frameData.getFrameIndexes(frames, useNumericIndex, this._outputFrames); - - this._anims[name] = new Phaser.Animation(this.game, this.sprite, name, this._frameData, this._outputFrames, frameRate, loop); - this.currentAnim = this._anims[name]; - this.currentFrame = this.currentAnim.currentFrame; - this.sprite.setTexture(PIXI.TextureCache[this.currentFrame.uuid]); - - return this._anims[name]; - - }, - - /** - * Check whether the frames in the given array are valid and exist. - * + * @param {string} name - The unique (within this Sprite) name for the animation, i.e. "run", "fire", "walk". + * @param {Array} [frames=null] - An array of numbers/strings that correspond to the frames to add to this animation and in which order. e.g. [1, 2, 3] or ['run0', 'run1', run2]). If null then all frames will be used. + * @param {number} [frameRate=60] - The speed at which the animation should play. The speed is given in frames per second. + * @param {boolean} [loop=false] - Whether or not the animation is looped or just plays once. + * @param {boolean} [useNumericIndex=true] - Are the given frames using numeric indexes (default) or strings? + * @return {Phaser.Animation} The Animation object that was created. + */ + add: function (name, frames, frameRate, loop, useNumericIndex) { + + if (this._frameData == null) + { + console.warn('No FrameData available for Phaser.Animation ' + name); + return; + } + + frameRate = frameRate || 60; + + if (typeof loop === 'undefined') { loop = false; } + + // If they didn't set the useNumericIndex then let's at least try and guess it + if (typeof useNumericIndex === 'undefined') + { + if (frames && typeof frames[0] === 'number') + { + useNumericIndex = true; + } + else + { + useNumericIndex = false; + } + } + + // Create the signals the AnimationManager will emit + if (this.sprite.events.onAnimationStart == null) + { + this.sprite.events.onAnimationStart = new Phaser.Signal(); + this.sprite.events.onAnimationComplete = new Phaser.Signal(); + this.sprite.events.onAnimationLoop = new Phaser.Signal(); + } + + this._outputFrames.length = 0; + + this._frameData.getFrameIndexes(frames, useNumericIndex, this._outputFrames); + + this._anims[name] = new Phaser.Animation(this.game, this.sprite, name, this._frameData, this._outputFrames, frameRate, loop); + this.currentAnim = this._anims[name]; + this.currentFrame = this.currentAnim.currentFrame; + this.sprite.setTexture(PIXI.TextureCache[this.currentFrame.uuid]); + + return this._anims[name]; + + }, + + /** + * Check whether the frames in the given array are valid and exist. + * * @method Phaser.AnimationManager#validateFrames - * @param {Array} frames - An array of frames to be validated. - * @param {boolean} [useNumericIndex=true] - Validate the frames based on their numeric index (true) or string index (false) - * @return {boolean} True if all given Frames are valid, otherwise false. - */ - validateFrames: function (frames, useNumericIndex) { - - if (typeof useNumericIndex == 'undefined') { useNumericIndex = true; } - - for (var i = 0; i < frames.length; i++) - { - if (useNumericIndex == true) - { - if (frames[i] > this._frameData.total) - { - return false; - } - } - else - { - if (this._frameData.checkFrameName(frames[i]) == false) - { - return false; - } - } - } - - return true; - - }, - - /** - * Play an animation based on the given key. The animation should previously have been added via sprite.animations.add() - * If the requested animation is already playing this request will be ignored. If you need to reset an already running animation do so directly on the Animation object itself. - * - * @method Phaser.AnimationManager#play - * @param {string} name - The name of the animation to be played, e.g. "fire", "walk", "jump". + * @param {Array} frames - An array of frames to be validated. + * @param {boolean} [useNumericIndex=true] - Validate the frames based on their numeric index (true) or string index (false) + * @return {boolean} True if all given Frames are valid, otherwise false. + */ + validateFrames: function (frames, useNumericIndex) { + + if (typeof useNumericIndex == 'undefined') { useNumericIndex = true; } + + for (var i = 0; i < frames.length; i++) + { + if (useNumericIndex === true) + { + if (frames[i] > this._frameData.total) + { + return false; + } + } + else + { + if (this._frameData.checkFrameName(frames[i]) === false) + { + return false; + } + } + } + + return true; + + }, + + /** + * Play an animation based on the given key. The animation should previously have been added via sprite.animations.add() + * If the requested animation is already playing this request will be ignored. If you need to reset an already running animation do so directly on the Animation object itself. + * + * @method Phaser.AnimationManager#play + * @param {string} name - The name of the animation to be played, e.g. "fire", "walk", "jump". * @param {number} [frameRate=null] - The framerate to play the animation at. The speed is given in frames per second. If not provided the previously set frameRate of the Animation is used. * @param {boolean} [loop=false] - Should the animation be looped after playback. If not provided the previously set loop value of the Animation is used. * @param {boolean} [killOnComplete=false] - If set to true when the animation completes (only happens if loop=false) the parent Sprite will be killed. * @return {Phaser.Animation} A reference to playing Animation instance. - */ - play: function (name, frameRate, loop, killOnComplete) { - - if (this._anims[name]) - { - if (this.currentAnim == this._anims[name]) - { - if (this.currentAnim.isPlaying == false) - { - this.currentAnim.paused = false; - return this.currentAnim.play(frameRate, loop, killOnComplete); - } - } - else - { - this.currentAnim = this._anims[name]; - this.currentAnim.paused = false; - return this.currentAnim.play(frameRate, loop, killOnComplete); - } - } - - }, - - /** - * Stop playback of an animation. If a name is given that specific animation is stopped, otherwise the current animation is stopped. - * The currentAnim property of the AnimationManager is automatically set to the animation given. - * - * @method Phaser.AnimationManager#stop - * @param {string} [name=null] - The name of the animation to be stopped, e.g. "fire". If none is given the currently running animation is stopped. - * @param {boolean} [resetFrame=false] - When the animation is stopped should the currentFrame be set to the first frame of the animation (true) or paused on the last frame displayed (false) - */ - stop: function (name, resetFrame) { - - if (typeof resetFrame == 'undefined') { resetFrame = false; } - - if (typeof name == 'string') - { - if (this._anims[name]) - { - this.currentAnim = this._anims[name]; - this.currentAnim.stop(resetFrame); - } - } - else - { - if (this.currentAnim) - { - this.currentAnim.stop(resetFrame); - } - } - - }, - - /** - * The main update function is called by the Sprites update loop. It's responsible for updating animation frames and firing related events. - * - * @method Phaser.AnimationManager#update - * @protected + */ + play: function (name, frameRate, loop, killOnComplete) { + + if (this._anims[name]) + { + if (this.currentAnim == this._anims[name]) + { + if (this.currentAnim.isPlaying === false) + { + this.currentAnim.paused = false; + return this.currentAnim.play(frameRate, loop, killOnComplete); + } + } + else + { + this.currentAnim = this._anims[name]; + this.currentAnim.paused = false; + return this.currentAnim.play(frameRate, loop, killOnComplete); + } + } + + }, + + /** + * Stop playback of an animation. If a name is given that specific animation is stopped, otherwise the current animation is stopped. + * The currentAnim property of the AnimationManager is automatically set to the animation given. + * + * @method Phaser.AnimationManager#stop + * @param {string} [name=null] - The name of the animation to be stopped, e.g. "fire". If none is given the currently running animation is stopped. + * @param {boolean} [resetFrame=false] - When the animation is stopped should the currentFrame be set to the first frame of the animation (true) or paused on the last frame displayed (false) + */ + stop: function (name, resetFrame) { + + if (typeof resetFrame == 'undefined') { resetFrame = false; } + + if (typeof name == 'string') + { + if (this._anims[name]) + { + this.currentAnim = this._anims[name]; + this.currentAnim.stop(resetFrame); + } + } + else + { + if (this.currentAnim) + { + this.currentAnim.stop(resetFrame); + } + } + + }, + + /** + * The main update function is called by the Sprites update loop. It's responsible for updating animation frames and firing related events. + * + * @method Phaser.AnimationManager#update + * @protected * @return {boolean} True if a new animation frame has been set, otherwise false. - */ - update: function () { - - if (this.updateIfVisible && this.sprite.visible == false) - { - return false; - } - - if (this.currentAnim && this.currentAnim.update() == true) - { - this.currentFrame = this.currentAnim.currentFrame; - this.sprite.currentFrame = this.currentFrame; - return true; - } - - return false; - - }, - - /** - * Returns an animation that was previously added by name. - * - * @method Phaser.AnimationManager#getAnimation - * @param {string} name - The name of the animation to be returned, e.g. "fire". + */ + update: function () { + + if (this.updateIfVisible && this.sprite.visible === false) + { + return false; + } + + if (this.currentAnim && this.currentAnim.update() === true) + { + this.currentFrame = this.currentAnim.currentFrame; + this.sprite.currentFrame = this.currentFrame; + return true; + } + + return false; + + }, + + /** + * Returns an animation that was previously added by name. + * + * @method Phaser.AnimationManager#getAnimation + * @param {string} name - The name of the animation to be returned, e.g. "fire". * @return {Phaser.Animation|boolean} The Animation instance, if found, otherwise false. - */ - getAnimation: function (name) { + */ + getAnimation: function (name) { - if (typeof name == 'string') - { - if (this._anims[name]) - { - return this._anims[name]; - } - } + if (typeof name == 'string') + { + if (this._anims[name]) + { + return this._anims[name]; + } + } - return false; + return false; - }, + }, /** * Refreshes the current frame data back to the parent Sprite and also resets the texture data. * * @method Phaser.AnimationManager#refreshFrame */ - refreshFrame: function () { + refreshFrame: function () { this.sprite.currentFrame = this.currentFrame; - this.sprite.setTexture(PIXI.TextureCache[this.currentFrame.uuid]); + this.sprite.setTexture(PIXI.TextureCache[this.currentFrame.uuid]); - }, + }, /** * Destroys all references this AnimationManager contains. Sets the _anims to a new object and nulls the current animation. @@ -699,7 +739,7 @@

    Source: animation/AnimationManager.js

    * @property {Phaser.FrameData} frameData - The current animations FrameData. * @readonly */ -Object.defineProperty(Phaser.AnimationManager.prototype, "frameData", { +Object.defineProperty(Phaser.AnimationManager.prototype, 'frameData', { get: function () { return this._frameData; @@ -712,7 +752,7 @@

    Source: animation/AnimationManager.js

    * @property {number} frameTotal - The total number of frames in the currently loaded FrameData, or -1 if no FrameData is loaded. * @readonly */ -Object.defineProperty(Phaser.AnimationManager.prototype, "frameTotal", { +Object.defineProperty(Phaser.AnimationManager.prototype, 'frameTotal', { get: function () { @@ -732,7 +772,7 @@

    Source: animation/AnimationManager.js

    * @name Phaser.AnimationManager#paused * @property {boolean} paused - Gets and sets the paused state of the current animation. */ -Object.defineProperty(Phaser.AnimationManager.prototype, "paused", { +Object.defineProperty(Phaser.AnimationManager.prototype, 'paused', { get: function () { @@ -752,15 +792,15 @@

    Source: animation/AnimationManager.js

    * @name Phaser.AnimationManager#frame * @property {number} frame - Gets or sets the current frame index and updates the Texture Cache for display. */ -Object.defineProperty(Phaser.AnimationManager.prototype, "frame", { +Object.defineProperty(Phaser.AnimationManager.prototype, 'frame', { get: function () { - if (this.currentFrame) - { - return this._frameIndex; - } - + if (this.currentFrame) + { + return this._frameIndex; + } + }, set: function (value) { @@ -770,7 +810,7 @@

    Source: animation/AnimationManager.js

    this.currentFrame = this._frameData.getFrame(value); this._frameIndex = value; this.sprite.currentFrame = this.currentFrame; - this.sprite.setTexture(PIXI.TextureCache[this.currentFrame.uuid]); + this.sprite.setTexture(PIXI.TextureCache[this.currentFrame.uuid]); } } @@ -781,14 +821,14 @@

    Source: animation/AnimationManager.js

    * @name Phaser.AnimationManager#frameName * @property {string} frameName - Gets or sets the current frame name and updates the Texture Cache for display. */ -Object.defineProperty(Phaser.AnimationManager.prototype, "frameName", { +Object.defineProperty(Phaser.AnimationManager.prototype, 'frameName', { get: function () { - if (this.currentFrame) - { - return this.currentFrame.name; - } + if (this.currentFrame) + { + return this.currentFrame.name; + } }, @@ -799,11 +839,11 @@

    Source: animation/AnimationManager.js

    this.currentFrame = this._frameData.getFrameByName(value); this._frameIndex = this.currentFrame.index; this.sprite.currentFrame = this.currentFrame; - this.sprite.setTexture(PIXI.TextureCache[this.currentFrame.uuid]); + this.sprite.setTexture(PIXI.TextureCache[this.currentFrame.uuid]); } else { - console.warn("Cannot set frameName: " + value); + console.warn('Cannot set frameName: ' + value); } } @@ -829,7 +869,7 @@

    Source: animation/AnimationManager.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/AnimationParser.js.html b/docs/AnimationParser.js.html index e5234ffa21..7e14835dcd 100644 --- a/docs/AnimationParser.js.html +++ b/docs/AnimationParser.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -438,7 +478,7 @@

    Source: animation/AnimationParser.js

    } // Zero or smaller than frame sizes? - if (width == 0 || height == 0 || width < frameWidth || height < frameHeight || total === 0) + if (width === 0 || height === 0 || width < frameWidth || height < frameHeight || total === 0) { console.warn("Phaser.AnimationParser.spriteSheet: width/height zero or width/height < given frameWidth/frameHeight"); return null; @@ -507,13 +547,13 @@

    Source: animation/AnimationParser.js

    newFrame = data.addFrame(new Phaser.Frame( i, - frames[i].frame.x, - frames[i].frame.y, - frames[i].frame.w, - frames[i].frame.h, - frames[i].filename, + frames[i].frame.x, + frames[i].frame.y, + frames[i].frame.w, + frames[i].frame.h, + frames[i].filename, uuid - )); + )); PIXI.TextureCache[uuid] = new PIXI.Texture(PIXI.BaseTextureCache[cacheKey], { x: frames[i].frame.x, @@ -525,12 +565,12 @@

    Source: animation/AnimationParser.js

    if (frames[i].trimmed) { newFrame.setTrim( - frames[i].trimmed, - frames[i].sourceSize.w, - frames[i].sourceSize.h, - frames[i].spriteSourceSize.x, - frames[i].spriteSourceSize.y, - frames[i].spriteSourceSize.w, + frames[i].trimmed, + frames[i].sourceSize.w, + frames[i].sourceSize.h, + frames[i].spriteSourceSize.x, + frames[i].spriteSourceSize.y, + frames[i].spriteSourceSize.w, frames[i].spriteSourceSize.h ); @@ -579,10 +619,10 @@

    Source: animation/AnimationParser.js

    newFrame = data.addFrame(new Phaser.Frame( i, - frames[key].frame.x, - frames[key].frame.y, - frames[key].frame.w, - frames[key].frame.h, + frames[key].frame.x, + frames[key].frame.y, + frames[key].frame.w, + frames[key].frame.h, key, uuid )); @@ -597,12 +637,12 @@

    Source: animation/AnimationParser.js

    if (frames[key].trimmed) { newFrame.setTrim( - frames[key].trimmed, - frames[key].sourceSize.w, - frames[key].sourceSize.h, - frames[key].spriteSourceSize.x, - frames[key].spriteSourceSize.y, - frames[key].spriteSourceSize.w, + frames[key].trimmed, + frames[key].sourceSize.w, + frames[key].sourceSize.h, + frames[key].spriteSourceSize.x, + frames[key].spriteSourceSize.y, + frames[key].spriteSourceSize.w, frames[key].spriteSourceSize.h ); @@ -644,6 +684,7 @@

    Source: animation/AnimationParser.js

    var newFrame; var uuid; + var name; var frame; var x; var y; @@ -661,20 +702,20 @@

    Source: animation/AnimationParser.js

    frame = frames[i].attributes; name = frame.name.nodeValue; - x = parseInt(frame.x.nodeValue); - y = parseInt(frame.y.nodeValue); - width = parseInt(frame.width.nodeValue); - height = parseInt(frame.height.nodeValue); + x = parseInt(frame.x.nodeValue, 10); + y = parseInt(frame.y.nodeValue, 10); + width = parseInt(frame.width.nodeValue, 10); + height = parseInt(frame.height.nodeValue, 10); frameX = null; frameY = null; if (frame.frameX) { - frameX = Math.abs(parseInt(frame.frameX.nodeValue)); - frameY = Math.abs(parseInt(frame.frameY.nodeValue)); - frameWidth = parseInt(frame.frameWidth.nodeValue); - frameHeight = parseInt(frame.frameHeight.nodeValue); + frameX = Math.abs(parseInt(frame.frameX.nodeValue, 10)); + frameY = Math.abs(parseInt(frame.frameY.nodeValue, 10)); + frameWidth = parseInt(frame.frameWidth.nodeValue, 10); + frameHeight = parseInt(frame.frameHeight.nodeValue, 10); } newFrame = data.addFrame(new Phaser.Frame(i, x, y, width, height, name, uuid)); @@ -726,7 +767,7 @@

    Source: animation/AnimationParser.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/ArcadePhysics.js.html b/docs/ArcadePhysics.js.html index 6d7f662464..0dd1246e45 100644 --- a/docs/ArcadePhysics.js.html +++ b/docs/ArcadePhysics.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -410,7 +450,7 @@

    Source: physics/arcade/ArcadePhysics.js

    /** * @property {Phaser.Point} gravity - The World gravity setting. Defaults to x: 0, y: 0, or no gravity. */ - this.gravity = new Phaser.Point; + this.gravity = new Phaser.Point(); /** * @property {Phaser.Rectangle} bounds - The bounds inside of which the physics world exists. Defaults to match the world bounds. @@ -448,13 +488,13 @@

    Source: physics/arcade/ArcadePhysics.js

    * @property {Phaser.Rectangle} _bounds1 - Internal cache var. * @private */ - this._bounds1 = new Phaser.Rectangle; + this._bounds1 = new Phaser.Rectangle(); /** * @property {Phaser.Rectangle} _bounds2 - Internal cache var. * @private */ - this._bounds2 = new Phaser.Rectangle; + this._bounds2 = new Phaser.Rectangle(); /** * @property {number} _overlap - Internal cache var. @@ -665,37 +705,194 @@

    Source: physics/arcade/ArcadePhysics.js

    }, /** - * Checks if two Sprite objects overlap. + * Checks for overlaps between two game objects. The objects can be Sprites, Groups or Emitters. + * You can perform Sprite vs. Sprite, Sprite vs. Group and Group vs. Group overlap checks. + * Unlike collide the objects are NOT automatically separated or have any physics applied, they merely test for overlap results. * * @method Phaser.Physics.Arcade#overlap - * @param {Phaser.Sprite} object1 - The first object to check. Can be an instance of Phaser.Sprite or anything that extends it. - * @param {Phaser.Sprite} object2 - The second object to check. Can be an instance of Phaser.Sprite or anything that extends it. - * @returns {boolean} true if the two objects overlap. + * @param {Phaser.Sprite|Phaser.Group|Phaser.Particles.Emitter} object1 - The first object to check. Can be an instance of Phaser.Sprite, Phaser.Group or Phaser.Particles.Emitter. + * @param {Phaser.Sprite|Phaser.Group|Phaser.Particles.Emitter} object2 - The second object to check. Can be an instance of Phaser.Sprite, Phaser.Group or Phaser.Particles.Emitter. + * @param {function} [overlapCallback=null] - An optional callback function that is called if the objects overlap. The two objects will be passed to this function in the same order in which you specified them. + * @param {function} [processCallback=null] - A callback function that lets you perform additional checks against the two objects if they overlap. If this is set then overlapCallback will only be called if processCallback returns true. + * @param {object} [callbackContext] - The context in which to run the callbacks. + * @returns {boolean} True if an overlap occured otherwise false. */ - overlap: function (object1, object2) { + overlap: function (object1, object2, overlapCallback, processCallback, callbackContext) { + + overlapCallback = overlapCallback || null; + processCallback = processCallback || null; + callbackContext = callbackContext || overlapCallback; + + this._result = false; + this._total = 0; // Only test valid objects if (object1 && object2 && object1.exists && object2.exists) { - return (Phaser.Rectangle.intersects(object1.body, object2.body)); + // SPRITES + if (object1.type == Phaser.SPRITE) + { + if (object2.type == Phaser.SPRITE) + { + this.overlapSpriteVsSprite(object1, object2, overlapCallback, processCallback, callbackContext); + } + else if (object2.type == Phaser.GROUP || object2.type == Phaser.EMITTER) + { + this.overlapSpriteVsGroup(object1, object2, overlapCallback, processCallback, callbackContext); + } + } + // GROUPS + else if (object1.type == Phaser.GROUP) + { + if (object2.type == Phaser.SPRITE) + { + this.overlapSpriteVsGroup(object2, object1, overlapCallback, processCallback, callbackContext); + } + else if (object2.type == Phaser.GROUP || object2.type == Phaser.EMITTER) + { + this.overlapGroupVsGroup(object1, object2, overlapCallback, processCallback, callbackContext); + } + } + // EMITTER + else if (object1.type == Phaser.EMITTER) + { + if (object2.type == Phaser.SPRITE) + { + this.overlapSpriteVsGroup(object2, object1, overlapCallback, processCallback, callbackContext); + } + else if (object2.type == Phaser.GROUP || object2.type == Phaser.EMITTER) + { + this.overlapGroupVsGroup(object1, object2, overlapCallback, processCallback, callbackContext); + } + } } - return false; + return (this._total > 0); + + }, + + /** + * An internal function. Use Phaser.Physics.Arcade.overlap instead. + * + * @method Phaser.Physics.Arcade#overlapSpriteVsSprite + * @private + */ + overlapSpriteVsSprite: function (sprite1, sprite2, overlapCallback, processCallback, callbackContext) { + + this._result = Phaser.Rectangle.intersects(sprite1.body, sprite2.body); + + if (this._result) + { + // They collided, is there a custom process callback? + if (processCallback) + { + if (processCallback.call(callbackContext, sprite1, sprite2)) + { + this._total++; + + if (overlapCallback) + { + overlapCallback.call(callbackContext, sprite1, sprite2); + } + } + } + else + { + this._total++; + + if (overlapCallback) + { + overlapCallback.call(callbackContext, sprite1, sprite2); + } + } + } }, /** - * Checks for collision between two game objects. The objects can be Sprites, Groups, Emitters or Tilemaps. - * You can perform Sprite vs. Sprite, Sprite vs. Group, Group vs. Group, Sprite vs. Tilemap or Group vs. Tilemap collisions. + * An internal function. Use Phaser.Physics.Arcade.overlap instead. + * + * @method Phaser.Physics.Arcade#overlapSpriteVsGroup + * @private + */ + overlapSpriteVsGroup: function (sprite, group, overlapCallback, processCallback, callbackContext) { + + if (group.length === 0) + { + return; + } + + // What is the sprite colliding with in the quadtree? + this._potentials = this.quadTree.retrieve(sprite); + + for (var i = 0, len = this._potentials.length; i < len; i++) + { + // We have our potential suspects, are they in this group? + if (this._potentials[i].sprite.group == group) + { + this._result = Phaser.Rectangle.intersects(sprite.body, this._potentials[i]); + + if (this._result && processCallback) + { + this._result = processCallback.call(callbackContext, sprite, this._potentials[i].sprite); + } + + if (this._result) + { + this._total++; + + if (overlapCallback) + { + overlapCallback.call(callbackContext, sprite, this._potentials[i].sprite); + } + } + } + } + + }, + + /** + * An internal function. Use Phaser.Physics.Arcade.overlap instead. + * + * @method Phaser.Physics.Arcade#overlapGroupVsGroup + * @private + */ + overlapGroupVsGroup: function (group1, group2, overlapCallback, processCallback, callbackContext) { + + if (group1.length === 0 || group2.length === 0) + { + return; + } + + if (group1._container.first._iNext) + { + var currentNode = group1._container.first._iNext; + + do + { + if (currentNode.exists) + { + this.overlapSpriteVsGroup(currentNode, group2, overlapCallback, processCallback, callbackContext); + } + currentNode = currentNode._iNext; + } + while (currentNode != group1._container.last._iNext); + } + + }, + + /** + * Checks for collision between two game objects. The objects can be Sprites, Groups, Emitters or Tilemap Layers. + * You can perform Sprite vs. Sprite, Sprite vs. Group, Group vs. Group, Sprite vs. Tilemap Layer or Group vs. Tilemap Layer collisions. * The objects are also automatically separated. * * @method Phaser.Physics.Arcade#collide * @param {Phaser.Sprite|Phaser.Group|Phaser.Particles.Emitter|Phaser.Tilemap} object1 - The first object to check. Can be an instance of Phaser.Sprite, Phaser.Group, Phaser.Particles.Emitter, or Phaser.Tilemap * @param {Phaser.Sprite|Phaser.Group|Phaser.Particles.Emitter|Phaser.Tilemap} object2 - The second object to check. Can be an instance of Phaser.Sprite, Phaser.Group, Phaser.Particles.Emitter or Phaser.Tilemap - * @param {function} [collideCallback=null] - An optional callback function that is called if the objects overlap. The two objects will be passed to this function in the same order in which you passed them to Collision.overlap. + * @param {function} [collideCallback=null] - An optional callback function that is called if the objects overlap. The two objects will be passed to this function in the same order in which you specified them. * @param {function} [processCallback=null] - A callback function that lets you perform additional checks against the two objects if they overlap. If this is set then collideCallback will only be called if processCallback returns true. * @param {object} [callbackContext] - The context in which to run the callbacks. - * @returns {number} The number of collisions that were processed. + * @returns {boolean} True if a collision occured otherwise false. */ collide: function (object1, object2, collideCallback, processCallback, callbackContext) { @@ -787,7 +984,7 @@

    Source: physics/arcade/ArcadePhysics.js

    this._mapData = tilemapLayer.getTiles(sprite.body.x, sprite.body.y, sprite.body.width, sprite.body.height, true); - if (this._mapData.length == 0) + if (this._mapData.length === 0) { return; } @@ -831,12 +1028,12 @@

    Source: physics/arcade/ArcadePhysics.js

    */ collideGroupVsTilemapLayer: function (group, tilemapLayer, collideCallback, processCallback, callbackContext) { - if (group.length == 0) + if (group.length === 0) { return; } - if (group.length == 0) + if (group.length === 0) { return; } @@ -845,7 +1042,7 @@

    Source: physics/arcade/ArcadePhysics.js

    { var currentNode = group._container.first._iNext; - do + do { if (currentNode.exists) { @@ -904,7 +1101,7 @@

    Source: physics/arcade/ArcadePhysics.js

    */ collideSpriteVsGroup: function (sprite, group, collideCallback, processCallback, callbackContext) { - if (group.length == 0) + if (group.length === 0) { return; } @@ -946,7 +1143,7 @@

    Source: physics/arcade/ArcadePhysics.js

    */ collideGroupVsGroup: function (group1, group2, collideCallback, processCallback, callbackContext) { - if (group1.length == 0 || group2.length == 0) + if (group1.length === 0 || group2.length === 0) { return; } @@ -955,7 +1152,7 @@

    Source: physics/arcade/ArcadePhysics.js

    { var currentNode = group1._container.first._iNext; - do + do { if (currentNode.exists) { @@ -1003,7 +1200,7 @@

    Source: physics/arcade/ArcadePhysics.js

    { this._maxOverlap = body1.deltaAbsX() + body2.deltaAbsX() + this.OVERLAP_BIAS; - if (body1.deltaX() == 0 && body2.deltaX() == 0) + if (body1.deltaX() === 0 && body2.deltaX() === 0) { // They overlap but neither of them are moving body1.embedded = true; @@ -1014,7 +1211,7 @@

    Source: physics/arcade/ArcadePhysics.js

    // Body1 is moving right and/or Body2 is moving left this._overlap = body1.x + body1.width - body2.x; - if ((this._overlap > this._maxOverlap) || body1.allowCollision.right == false || body2.allowCollision.left == false) + if ((this._overlap > this._maxOverlap) || body1.allowCollision.right === false || body2.allowCollision.left === false) { this._overlap = 0; } @@ -1029,7 +1226,7 @@

    Source: physics/arcade/ArcadePhysics.js

    // Body1 is moving left and/or Body2 is moving right this._overlap = body1.x - body2.width - body2.x; - if ((-this._overlap > this._maxOverlap) || body1.allowCollision.left == false || body2.allowCollision.right == false) + if ((-this._overlap > this._maxOverlap) || body1.allowCollision.left === false || body2.allowCollision.right === false) { this._overlap = 0; } @@ -1041,7 +1238,7 @@

    Source: physics/arcade/ArcadePhysics.js

    } // Then adjust their positions and velocities accordingly (if there was any overlap) - if (this._overlap != 0) + if (this._overlap !== 0) { body1.overlapX = this._overlap; body2.overlapX = this._overlap; @@ -1080,6 +1277,8 @@

    Source: physics/arcade/ArcadePhysics.js

    body2.x += this._overlap; body2.velocity.x = this._velocity1 - this._velocity2 * body2.bounce.x; } + body1.updateHulls(); + body2.updateHulls(); return true; } @@ -1111,7 +1310,7 @@

    Source: physics/arcade/ArcadePhysics.js

    { this._maxOverlap = body1.deltaAbsY() + body2.deltaAbsY() + this.OVERLAP_BIAS; - if (body1.deltaY() == 0 && body2.deltaY() == 0) + if (body1.deltaY() === 0 && body2.deltaY() === 0) { // They overlap but neither of them are moving body1.embedded = true; @@ -1122,7 +1321,7 @@

    Source: physics/arcade/ArcadePhysics.js

    // Body1 is moving down and/or Body2 is moving up this._overlap = body1.y + body1.height - body2.y; - if ((this._overlap > this._maxOverlap) || body1.allowCollision.down == false || body2.allowCollision.up == false) + if ((this._overlap > this._maxOverlap) || body1.allowCollision.down === false || body2.allowCollision.up === false) { this._overlap = 0; } @@ -1137,7 +1336,7 @@

    Source: physics/arcade/ArcadePhysics.js

    // Body1 is moving up and/or Body2 is moving down this._overlap = body1.y - body2.height - body2.y; - if ((-this._overlap > this._maxOverlap) || body1.allowCollision.up == false || body2.allowCollision.down == false) + if ((-this._overlap > this._maxOverlap) || body1.allowCollision.up === false || body2.allowCollision.down === false) { this._overlap = 0; } @@ -1149,7 +1348,7 @@

    Source: physics/arcade/ArcadePhysics.js

    } // Then adjust their positions and velocities accordingly (if there was any overlap) - if (this._overlap != 0) + if (this._overlap !== 0) { body1.overlapY = this._overlap; body2.overlapY = this._overlap; @@ -1200,6 +1399,8 @@

    Source: physics/arcade/ArcadePhysics.js

    body2.x += body1.x - body1.lastX; } } + body1.updateHulls(); + body2.updateHulls(); return true; } @@ -1221,6 +1422,8 @@

    Source: physics/arcade/ArcadePhysics.js

    this._result = (this.separateTileX(body, tile, true) || this.separateTileY(body, tile, true)); + return this._result; + }, /** @@ -1233,7 +1436,7 @@

    Source: physics/arcade/ArcadePhysics.js

    separateTileX: function (body, tile, separate) { // Can't separate two immovable objects (tiles are always immovable) - if (body.immovable || body.deltaX() == 0 || Phaser.Rectangle.intersects(body.hullX, tile) == false) + if (body.immovable || body.deltaX() === 0 || Phaser.Rectangle.intersects(body.hullX, tile) === false) { return false; } @@ -1248,8 +1451,8 @@

    Source: physics/arcade/ArcadePhysics.js

    // Moving left this._overlap = tile.right - body.hullX.x; - // if ((this._overlap > this._maxOverlap) || body.allowCollision.left == false || tile.tile.collideRight == false) - if (body.allowCollision.left == false || tile.tile.collideRight == false) + // if ((this._overlap > this._maxOverlap) || body.allowCollision.left === false || tile.tile.collideRight === false) + if (body.allowCollision.left === false || tile.tile.collideRight === false) { this._overlap = 0; } @@ -1263,8 +1466,8 @@

    Source: physics/arcade/ArcadePhysics.js

    // Moving right this._overlap = body.hullX.right - tile.x; - // if ((this._overlap > this._maxOverlap) || body.allowCollision.right == false || tile.tile.collideLeft == false) - if (body.allowCollision.right == false || tile.tile.collideLeft == false) + // if ((this._overlap > this._maxOverlap) || body.allowCollision.right === false || tile.tile.collideLeft === false) + if (body.allowCollision.right === false || tile.tile.collideLeft === false) { this._overlap = 0; } @@ -1275,7 +1478,7 @@

    Source: physics/arcade/ArcadePhysics.js

    } // Then adjust their positions and velocities accordingly (if there was any overlap) - if (this._overlap != 0) + if (this._overlap !== 0) { if (separate) { @@ -1288,7 +1491,7 @@

    Source: physics/arcade/ArcadePhysics.js

    body.x = body.x - this._overlap; } - if (body.bounce.x == 0) + if (body.bounce.x === 0) { body.velocity.x = 0; } @@ -1319,7 +1522,7 @@

    Source: physics/arcade/ArcadePhysics.js

    separateTileY: function (body, tile, separate) { // Can't separate two immovable objects (tiles are always immovable) - if (body.immovable || body.deltaY() == 0 || Phaser.Rectangle.intersects(body.hullY, tile) == false) + if (body.immovable || body.deltaY() === 0 || Phaser.Rectangle.intersects(body.hullY, tile) === false) { return false; } @@ -1334,8 +1537,8 @@

    Source: physics/arcade/ArcadePhysics.js

    // Moving up this._overlap = tile.bottom - body.hullY.y; - // if ((this._overlap > this._maxOverlap) || body.allowCollision.up == false || tile.tile.collideDown == false) - if (body.allowCollision.up == false || tile.tile.collideDown == false) + // if ((this._overlap > this._maxOverlap) || body.allowCollision.up === false || tile.tile.collideDown === false) + if (body.allowCollision.up === false || tile.tile.collideDown === false) { this._overlap = 0; } @@ -1349,8 +1552,8 @@

    Source: physics/arcade/ArcadePhysics.js

    // Moving down this._overlap = body.hullY.bottom - tile.y; - // if ((this._overlap > this._maxOverlap) || body.allowCollision.down == false || tile.tile.collideUp == false) - if (body.allowCollision.down == false || tile.tile.collideUp == false) + // if ((this._overlap > this._maxOverlap) || body.allowCollision.down === false || tile.tile.collideUp === false) + if (body.allowCollision.down === false || tile.tile.collideUp === false) { this._overlap = 0; } @@ -1361,7 +1564,7 @@

    Source: physics/arcade/ArcadePhysics.js

    } // Then adjust their positions and velocities accordingly (if there was any overlap) - if (this._overlap != 0) + if (this._overlap !== 0) { if (separate) { @@ -1374,7 +1577,7 @@

    Source: physics/arcade/ArcadePhysics.js

    body.y = body.y - this._overlap; } - if (body.bounce.y == 0) + if (body.bounce.y === 0) { body.velocity.y = 0; } @@ -1514,7 +1717,7 @@

    Source: physics/arcade/ArcadePhysics.js

    velocityFromAngle: function (angle, speed, point) { if (typeof speed === 'undefined') { speed = 60; } - point = point || new Phaser.Point; + point = point || new Phaser.Point(); return point.setTo((Math.cos(this.game.math.degToRad(angle)) * speed), (Math.sin(this.game.math.degToRad(angle)) * speed)); @@ -1533,7 +1736,7 @@

    Source: physics/arcade/ArcadePhysics.js

    velocityFromRotation: function (rotation, speed, point) { if (typeof speed === 'undefined') { speed = 60; } - point = point || new Phaser.Point; + point = point || new Phaser.Point(); return point.setTo((Math.cos(rotation) * speed), (Math.sin(rotation) * speed)); @@ -1552,7 +1755,7 @@

    Source: physics/arcade/ArcadePhysics.js

    accelerationFromRotation: function (rotation, speed, point) { if (typeof speed === 'undefined') { speed = 60; } - point = point || new Phaser.Point; + point = point || new Phaser.Point(); return point.setTo((Math.cos(rotation) * speed), (Math.sin(rotation) * speed)); @@ -1781,7 +1984,7 @@

    Source: physics/arcade/ArcadePhysics.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/BitmapData.js.html b/docs/BitmapData.js.html new file mode 100644 index 0000000000..b38a31c2db --- /dev/null +++ b/docs/BitmapData.js.html @@ -0,0 +1,1603 @@ + + + + + + Phaser Source: gameobjects/BitmapData.js + + + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Source: gameobjects/BitmapData.js

    + +
    +
    +
    /**
    +* @author       Richard Davey <rich@photonstorm.com>
    +* @copyright    2013 Photon Storm Ltd.
    +* @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
    +*/
    +
    +/**
    +* Creates a new BitmapData object.
    +*
    +* @class Phaser.BitmapData
    +*
    +* @classdesc Note: This object is still experimental and likely to change.
    +*
    +* A BitmapData object can be thought of as a blank canvas onto which you can perform graphics operations as you would on a normal canvas, 
    +* such as drawing lines, circles, arcs, fills and copying and setting blocks of pixel data. A single BitmapData can be used as the texture 
    +* for multiple Sprites. So if you need to dynamically create a Sprite texture then they are a good choice. It supports the EaselJS Tiny API.
    +*
    +* @constructor
    +* @param {Phaser.Game} game - A reference to the currently running game.
    +* @param {number} [width=256] - The width of the BitmapData in pixels.
    +* @param {number} [height=256] - The height of the BitmapData in pixels.
    +*/
    +Phaser.BitmapData = function (game, width, height) {
    +
    +    if (typeof width === 'undefined') { width = 256; }
    +    if (typeof height === 'undefined') { height = 256; }
    +
    +    /**
    +    * @property {Phaser.Game} game - A reference to the currently running game. 
    +    */
    +    this.game = game;
    +
    +    /**
    +    * @property {string} name - The name of the BitmapData.
    +    */
    +    this.name = '';
    +
    +    /**
    +    * @property {number} width - The width of the BitmapData in pixels.
    +    */
    +    this.width = width;
    +    
    +    /**
    +    * @property {number} height - The height of the BitmapData in pixels.
    +    */
    +    this.height = height;
    +
    +    /**
    +    * @property {HTMLCanvasElement} canvas - The canvas to which this BitmapData draws.
    +    * @default
    +    */
    +    this.canvas = Phaser.Canvas.create(width, height);
    +    
    +    /**
    +    * @property {CanvasRenderingContext2D} context - The 2d context of the canvas.
    +    * @default
    +    */
    +    this.context = this.canvas.getContext('2d');
    +
    +    /**
    +    * @property {array} imageData - The canvas image data.
    +    */
    +    this.imageData = this.context.getImageData(0, 0, width, height);
    +
    +    /**
    +    * @property {UInt8Clamped} pixels - A reference to the context imageData buffer.
    +    */
    +    if (this.imageData.data.buffer)
    +    {
    +        this.pixels = this.imageData.data.buffer;
    +    }
    +    else
    +    {
    +        this.pixels = this.imageData.data;
    +    }
    +
    +    /**
    +    * @property {PIXI.BaseTexture} baseTexture - The PIXI.BaseTexture.
    +    * @default
    +    */
    +    this.baseTexture = new PIXI.BaseTexture(this.canvas);
    +    
    +    /**
    +    * @property {PIXI.Texture} texture - The PIXI.Texture.
    +    * @default
    +    */
    +    this.texture = new PIXI.Texture(this.baseTexture);
    +    
    +    /**
    +    * @property {Phaser.Frame} textureFrame - The Frame this BitmapData uses for rendering.
    +    * @default
    +    */
    +    this.textureFrame = new Phaser.Frame(0, 0, 0, width, height, 'bitmapData', game.rnd.uuid());
    +
    +    /**
    +    * @property {number} type - The const type of this object.
    +    * @default
    +    */
    +    this.type = Phaser.BITMAPDATA;
    +
    +    this._dirty = false;
    +
    +}
    +
    +Phaser.BitmapData.prototype = {
    +
    +    /**
    +    * Updates the given Sprite so that it uses this BitmapData as its texture.
    +    * @method Phaser.BitmapData#add
    +    * @param {Phaser.Sprite} sprite - The sprite to apply this texture to.
    +    */
    +    add: function (sprite) {
    +
    +        sprite.loadTexture(this);
    +
    +    },
    +
    +    /**
    +    * Given an array of Sprites it will update each of them so that their Textures reference this BitmapData.
    +    * @method Phaser.BitmapData#addTo
    +    * @param {Phaser.Sprite[]} sprites - An array of Sprites to apply this texture to.
    +    */
    +    addTo: function (sprites) {
    +
    +        for (var i = 0; i < sprites.length; i++)
    +        {
    +            if (sprites[i].texture)
    +            {
    +                sprites[i].loadTexture(this);
    +            }
    +        }
    +
    +    },
    +
    +    /**
    +    * Clears the BitmapData.
    +    * @method Phaser.BitmapData#clear
    +    */
    +    clear: function () {
    +
    +        this.context.clearRect(0, 0, this.width, this.height);
    +    
    +        this._dirty = true;
    +
    +    },
    +
    +    refreshBuffer: function () {
    +
    +        this.imageData = this.context.getImageData(0, 0, this.width, this.height);
    +        this.pixels = new Int32Array(this.imageData.data.buffer);
    +
    +        // this.data8 = new Uint8ClampedArray(this.imageData.buffer);
    +        // this.data32 = new Uint32Array(this.imageData.buffer);
    +
    +    },
    +
    +    /**
    +    * Sets the color of the given pixel to the specified red, green, blue and alpha values.
    +    * @method Phaser.BitmapData#setPixel32
    +    * @param {number} x - The X coordinate of the pixel to be set.
    +    * @param {number} y - The Y coordinate of the pixel to be set.
    +    * @param {number} red - The red color value, between 0 and 0xFF (255).
    +    * @param {number} green - The green color value, between 0 and 0xFF (255).
    +    * @param {number} blue - The blue color value, between 0 and 0xFF (255).
    +    * @param {number} alpha - The alpha color value, between 0 and 0xFF (255).
    +    */
    +    setPixel32: function (x, y, red, green, blue, alpha) {
    +
    +        if (x >= 0 && x <= this.width && y >= 0 && y <= this.height)
    +        {
    +            this.pixels[y * this.width + x] = (alpha << 24) | (blue << 16) | (green << 8) | red;
    +
    +            /*
    +            if (this.isLittleEndian)
    +            {
    +                this.data32[y * this.width + x] = (alpha << 24) | (blue << 16) | (green << 8) | red;
    +            }
    +            else
    +            {
    +                this.data32[y * this.width + x] = (red << 24) | (green << 16) | (blue << 8) | alpha;
    +            }
    +           */
    +
    +            // this.imageData.data.set(this.data8);
    +
    +            this.context.putImageData(this.imageData, 0, 0);
    +
    +            this._dirty = true;
    +        }
    +
    +    },
    +
    +    /**
    +    * Sets the color of the given pixel to the specified red, green and blue values.
    +    * @method Phaser.BitmapData#setPixel
    +    * @param {number} x - The X coordinate of the pixel to be set.
    +    * @param {number} y - The Y coordinate of the pixel to be set.
    +    * @param {number} red - The red color value (between 0 and 255)
    +    * @param {number} green - The green color value (between 0 and 255)
    +    * @param {number} blue - The blue color value (between 0 and 255)
    +    */
    +    setPixel: function (x, y, red, green, blue) {
    +
    +        this.setPixel32(x, y, red, green, blue, 255);
    +
    +    },
    +
    +    /**
    +    * Get a color of a specific pixel.
    +    * @param {number} x - The X coordinate of the pixel to get.
    +    * @param {number} y - The Y coordinate of the pixel to get.
    +    * @return {number} A native color value integer (format: 0xRRGGBB)
    +    */
    +    getPixel: function (x, y) {
    +
    +        if (x >= 0 && x <= this.width && y >= 0 && y <= this.height)
    +        {
    +            return this.data32[y * this.width + x];
    +        }
    +
    +    },
    +
    +    /**
    +    * Get a color of a specific pixel (including alpha value).
    +    * @param {number} x - The X coordinate of the pixel to get.
    +    * @param {number} y - The Y coordinate of the pixel to get.
    +    * @return {number} A native color value integer (format: 0xAARRGGBB)
    +    */
    +    getPixel32: function (x, y) {
    +
    +        if (x >= 0 && x <= this.width && y >= 0 && y <= this.height)
    +        {
    +            return this.data32[y * this.width + x];
    +        }
    +
    +    },
    +
    +    /**
    +    * Get pixels in array in a specific Rectangle.
    +    * @param rect {Rectangle} The specific Rectangle.
    +    * @return {array} CanvasPixelArray.
    +    */
    +    getPixels: function (rect) {
    +
    +        return this.context.getImageData(rect.x, rect.y, rect.width, rect.height);
    +
    +    },
    +
    +    /**
    +    * Adds an arc to the path which is centered at (x, y) position with radius r starting at startAngle and ending at endAngle 
    +    * going in the given direction by anticlockwise (defaulting to clockwise).
    +    * @method Phaser.BitmapData#arc
    +    * @param {number} x - The x axis of the coordinate for the arc's center
    +    * @param {number} y - The y axis of the coordinate for the arc's center
    +    * @param {number} radius - The arc's radius
    +    * @param {number} startAngle - The starting point, measured from the x axis, from which it will be drawn, expressed in radians.
    +    * @param {number} endAngle - The end arc's angle to which it will be drawn, expressed in radians.
    +    * @param {boolean} [anticlockwise=true] - true draws the arc anticlockwise, otherwise in a clockwise direction.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    arc: function (x, y, radius, startAngle, endAngle, anticlockwise) {
    +
    +        if (typeof anticlockwise === 'undefined') { anticlockwise = false; }
    +
    +        this._dirty = true;
    +        this.context.arc(x, y, radius, startAngle, endAngle, anticlockwise);
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Adds an arc with the given control points and radius, connected to the previous point by a straight line.
    +    * @method Phaser.BitmapData#arcTo
    +    * @param {number} x1
    +    * @param {number} y1
    +    * @param {number} x2
    +    * @param {number} y2
    +    * @param {number} radius
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    arcTo: function (x1, y1, x2, y2, radius) {
    +
    +        this._dirty = true;
    +        this.context.arcTo(x1, y1, x2, y2, radius);
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Begins a fill with the specified color. This ends the current sub-path.
    +    * @method Phaser.BitmapData#beginFill
    +    * @param {string} color - A CSS compatible color value (ex. "red", "#FF0000", or "rgba(255,0,0,0.5)"). Setting to null will result in no fill.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    beginFill: function (color) {
    +
    +        this.fillStyle(color);
    +
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Begins a linear gradient fill defined by the line (x0, y0) to (x1, y1). This ends the current sub-path. For
    +    * example, the following code defines a black to white vertical gradient ranging from 20px to 120px, and draws a square to display it:
    +    *
    +    *      ```myGraphics.beginLinearGradientFill(["#000","#FFF"], [0, 1], 0, 20, 0, 120).rect(20, 20, 120, 120);```
    +    *
    +    * @method Phaser.BitmapData#beginLinearGradientFill
    +    * @param {Array} colors - An array of CSS compatible color values. For example, ["#F00","#00F"] would define a gradient drawing from red to blue.
    +    * @param {Array} ratios - An array of gradient positions which correspond to the colors. For example, [0.1, 0.9] would draw the first color to 10% then interpolating to the second color at 90%.
    +    * @param {number} x0 - The position of the first point defining the line that defines the gradient direction and size.
    +    * @param {number} y0 - The position of the first point defining the line that defines the gradient direction and size.
    +    * @param {number} x1 - The position of the second point defining the line that defines the gradient direction and size.
    +    * @param {number} y1 - The position of the second point defining the line that defines the gradient direction and size.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    beginLinearGradientFill: function (colors, ratios, x0, y0, x1, y1) {
    +
    +        var gradient = this.createLinearGradient(x0, y0, x1, y1);
    +
    +        for (var i = 0, len = colors.length; i < len; i++)
    +        {
    +            gradient.addColorStop(ratios[i], colors[i]);
    +        }
    +
    +        this.fillStyle(gradient);
    +
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Begins a linear gradient stroke defined by the line (x0, y0) to (x1, y1). This ends the current sub-path. For
    +    * example, the following code defines a black to white vertical gradient ranging from 20px to 120px, and draws a
    +    * square to display it:
    +    *
    +    *      ```myGraphics.setStrokeStyle(10).beginLinearGradientStroke(["#000","#FFF"], [0, 1], 0, 20, 0, 120).drawRect(20, 20, 120, 120);```
    +    *
    +    * @method Phaser.BitmapData#beginLinearGradientStroke
    +    * @param {Array} colors - An array of CSS compatible color values. For example, ["#F00","#00F"] would define a gradient drawing from red to blue.
    +    * @param {Array} ratios - An array of gradient positions which correspond to the colors. For example, [0.1, 0.9] would draw the first color to 10% then interpolating to the second color at 90%.
    +    * @param {number} x0 - The position of the first point defining the line that defines the gradient direction and size.
    +    * @param {number} y0 - The position of the first point defining the line that defines the gradient direction and size.
    +    * @param {number} x1 - The position of the second point defining the line that defines the gradient direction and size.
    +    * @param {number} y1 - The position of the second point defining the line that defines the gradient direction and size.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    beginLinearGradientStroke: function (colors, ratios, x0, y0, x1, y1) {
    +
    +        var gradient = this.createLinearGradient(x0, y0, x1, y1);
    +
    +        for (var i = 0, len = colors.length; i < len; i++)
    +        {
    +            gradient.addColorStop(ratios[i], colors[i]);
    +        }
    +
    +        this.strokeStyle(gradient);
    +
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Begins a radial gradient stroke. This ends the current sub-path. For example, the following code defines a red to
    +    * blue radial gradient centered at (100, 100), with a radius of 50, and draws a rectangle to display it:
    +    *
    +    *      myGraphics.setStrokeStyle(10)
    +    *          .beginRadialGradientStroke(["#F00","#00F"], [0, 1], 100, 100, 0, 100, 100, 50)
    +    *          .drawRect(50, 90, 150, 110);
    +    *
    +    * @method Phaser.BitmapData#beginRadialGradientStroke
    +    * @param {Array} colors - An array of CSS compatible color values. For example, ["#F00","#00F"] would define a gradient drawing from red to blue.
    +    * @param {Array} ratios - An array of gradient positions which correspond to the colors. For example, [0.1, 0.9] would draw the first color to 10% then interpolating to the second color at 90%.
    +    * @param {number} x0 - Center position of the inner circle that defines the gradient.
    +    * @param {number} y0 - Center position of the inner circle that defines the gradient.
    +    * @param {number} r0 - Radius of the inner circle that defines the gradient.
    +    * @param {number} x1 - Center position of the outer circle that defines the gradient.
    +    * @param {number} y1 - Center position of the outer circle that defines the gradient.
    +    * @param {number} r1 - Radius of the outer circle that defines the gradient.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    beginRadialGradientStroke: function (colors, ratios, x0, y0, r0, x1, y1, r1) {
    +
    +        var gradient = this.createRadialGradient(x0, y0, r0, x1, y1, r1);
    +
    +        for (var i = 0, len = colors.length; i < len; i++)
    +        {
    +            gradient.addColorStop(ratios[i], colors[i]);
    +        }
    +
    +        this.strokeStyle(gradient);
    +
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Starts a new path by resetting the list of sub-paths. Call this method when you want to create a new path.
    +    * @method Phaser.BitmapData#beginPath
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    beginPath: function () {
    +
    +        this.context.beginPath();
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Begins a stroke with the specified color. This ends the current sub-path.
    +    * @method Phaser.BitmapData#beginStroke
    +    * @param {String} color A CSS compatible color value (ex. "#FF0000", "red", or "rgba(255,0,0,0.5)"). Setting to null will result in no stroke.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    beginStroke: function (color) {
    +
    +        this.strokeStyle(color);
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Adds a bezier curve from the current context point to (x, y) using the control points (cp1x, cp1y) and (cp2x, cp2y).
    +    * @method Phaser.BitmapData#bezierCurveTo
    +    * @param {number} cp1x - The x axis of control point 1.
    +    * @param {number} cp1y - The y axis of control point 1.
    +    * @param {number} cp2x - The x axis of control point 2.
    +    * @param {number} cp2y - The y axis of control point 2.
    +    * @param {number} x - The x axis of the ending point.
    +    * @param {number} y - The y axis of the ending point.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    bezierCurveTo: function (cp1x, cp1y, cp2x, cp2y, x, y) {
    +
    +        this._dirty = true;
    +        this.context.bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y);
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Draws a circle with the specified radius at (x, y).
    +    * @method Phaser.BitmapData#circle
    +    * @param {number} x - x coordinate center point of circle.
    +    * @param {number} y - y coordinate center point of circle.
    +    * @param {number} radius - Radius of circle in radians.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    circle: function (x, y, radius) {
    +
    +        this.arc(x, y, radius, 0, Math.PI*2);
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Sets all pixels in the rectangle defined by starting point (x, y) and size (width, height) to transparent black.
    +    * @method Phaser.BitmapData#clearRect
    +    * @param {number} x - The x axis of the coordinate for the rectangle starting point.
    +    * @param {number} y - The y axis of the coordinate for the rectangle starting point.
    +    * @param {number} width - The rectangles width.
    +    * @param {number} height - The rectangles height.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    clearRect: function (x, y, width, height) {
    +
    +        this._dirty = true;
    +        this.context.clearRect(x, y, width, height);
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Creates a clipping path from the current sub-paths. Everything drawn after clip() is called appears inside the clipping path only.
    +    * @method Phaser.BitmapData#clip
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    clip: function () {
    +
    +        this._dirty = true;
    +        this.context.clip();
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Tries to draw a straight line from the current point to the start. If the shape has already been closed or has only one point, this function does nothing.
    +    * @method Phaser.BitmapData#closePath
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    closePath: function () {
    +
    +        this._dirty = true;
    +        this.context.closePath();
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Creates a linear gradient with defined by an imaginary line which implies the direction of the gradient.
    +    * Once the gradient is created colors can be inserted using the addColorStop method.
    +    * @method Phaser.BitmapData#createLinearGradient
    +    * @param {number} x - The x axis of the coordinate for the gradients starting point.
    +    * @param {number} y - The y axis of the coordinate for the gradients starting point.
    +    * @param {number} width - The width of the gradient.
    +    * @param {number} height - The height of the gradient.
    +    * @return {CanvasGradient} The Linear Gradient.
    +    */
    +    createLinearGradient: function (x, y, width, height) {
    +
    +        return this.context.createLinearGradient(x, y, width, height);
    +
    +    },
    +
    +    //  createPattern
    +
    +    /**
    +    * Creates a radial gradient.
    +    * @method Phaser.BitmapData#createRadialGradient
    +    * @param {number} x0
    +    * @param {number} y0
    +    * @param {number} r0
    +    * @param {number} x1
    +    * @param {number} y1
    +    * @param {number} r1
    +    * @return {CanvasGradient} The Radial Gradient.
    +    */
    +    createRadialGradient: function (x0, y0, r0, x1, y1, r1) {
    +
    +        return this.context.createRadialGradient(x0, y0, r0, x1, y1, r1);
    +
    +    },
    +
    +    //  drawImage
    +    //  drawSystemFocusRing (?)
    +
    +    /**
    +    * Draws an ellipse (oval) with a specified width (w) and height (h).
    +    * @method Phaser.BitmapData#ellipse
    +    * @param {number} x - x coordinate center point of ellipse.
    +    * @param {number} y - y coordinate center point of ellipse.
    +    * @param {number} w - height (horizontal diameter) of ellipse. The horizontal radius will be half of this number.
    +    * @param {number} h - width (vertical diameter) of ellipse. The vertical radius will be half of this number.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    ellipse: function (x, y, w, h) {
    +
    +        var k = 0.5522848;
    +        var ox = (w / 2) * k;
    +        var oy = (h / 2) * k;
    +        var xe = x + w;
    +        var ye = y + h;
    +        var xm = x + w / 2;
    +        var ym = y + h / 2;
    +            
    +        this.moveTo(x, ym);
    +        this.bezierCurveTo(x, ym - oy, xm - ox, y, xm, y);
    +        this.bezierCurveTo(xm + ox, y, xe, ym - oy, xe, ym);
    +        this.bezierCurveTo(xe, ym + oy, xm + ox, ye, xm, ye);
    +        this.bezierCurveTo(xm - ox, ye, x, ym + oy, x, ym);
    +
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Fills the subpaths with the current fill style.
    +    * @method Phaser.BitmapData#fill
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    fill: function () {
    +
    +        this._dirty = true;
    +        this.context.fill();
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Draws a filled rectangle at (x, y) position whose size is determined by width and height.
    +    * @method Phaser.BitmapData#fillRect
    +    * @param {number} x - The x axis of the coordinate for the rectangle starting point.
    +    * @param {number} y - The y axis of the coordinate for the rectangle starting point.
    +    * @param {number} width - The rectangles width.
    +    * @param {number} height - The rectangles height.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    fillRect: function (x, y, width, height) {
    +
    +        this._dirty = true;
    +        this.context.fillRect(x, y, width, height);
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Sets the fill style.
    +    * @method Phaser.BitmapData#fillStyle
    +    * @param {string} color - The fill color value in CSS format: #RRGGBB or rgba(r,g,b,a)
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    fillStyle: function (color) {
    +
    +        this.context.fillStyle = color;
    +        return this;
    +
    +    },
    +
    +    //  fillText
    +
    +    /**
    +    * Sets the font.
    +    * @method Phaser.BitmapData#font
    +    * @param {DOMString} font - The font to be used for any text rendering. Default value 10px sans-serif.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    font: function (font) {
    +
    +        this.context.font = font;
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Alpha value that is applied to shapes and images before they are composited onto the canvas. Default 1.0 (opaque).
    +    * @method Phaser.BitmapData#globalAlpha
    +    * @param {number} alpha - Alpha value that is applied to shapes and images before they are composited onto the canvas. Default 1.0 (opaque).
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    globalAlpha: function (alpha) {
    +
    +        this.context.globalAlpha = alpha;
    +        return this;
    +
    +    },
    +
    +    /**
    +    * With globalAlpha applied this sets how shapes and images are drawn onto the existing bitmap. Possible values: source-atop, source-in, source-out,
    +    * source-over (default), destination-atop, destination-in, destination-out, destination-over, lighter, darker, copy and xor.
    +    * @method Phaser.BitmapData#globalCompositeOperation
    +    * @param {DOMString} operation - The composite operation to apply.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    globalCompositeOperation: function (operation) {
    +
    +        this.context.globalCompositeOperation = operation;
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Type of endings on the end of lines. Possible values: butt (default), round, square.
    +    * @method Phaser.BitmapData#lineCap
    +    * @param {DOMString} style - Possible values: butt (default), round, square
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    lineCap: function (style) {
    +
    +        this.context.lineCap = style;
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Specifies where to start a dasharray on a line.
    +    * @method Phaser.BitmapData#lineDashOffset
    +    * @param {number} offset - Specifies where to start a dasharray on a line.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    lineDashOffset: function (offset) {
    +
    +        this.context.lineDashOffset = offset;
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Defines the type of corners where two lines meet. Possible values: round, bevel, miter (default)
    +    * @method Phaser.BitmapData#lineJoin
    +    * @param {DOMString} join - Possible values: round, bevel, miter (default)
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    lineJoin: function (join) {
    +
    +        this.context.lineJoin = join;
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Width of lines. Default 1.0
    +    * @method Phaser.BitmapData#lineWidth
    +    * @param {number} width - Width of lines. Default 1.0
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    lineWidth: function (width) {
    +
    +        this.context.lineWidth = width;
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Default 10.
    +    * @method Phaser.BitmapData#miterLimit
    +    * @param {number} limit - Default 10.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    miterLimit: function (limit) {
    +
    +        this.context.miterLimit = limit;
    +        return this;
    +
    +    },
    +
    +    //  getImageData
    +    //  getLineDash
    +    //  isPointInPath
    +    //  isPointInStroke
    +
    +    /**
    +    * Connects the last point in the subpath to the x, y coordinates with a straight line.
    +    * @method Phaser.BitmapData#lineTo
    +    * @param {number} x - The x axis of the coordinate for the end of the line.
    +    * @param {number} y - The y axis of the coordinate for the end of the line.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    lineTo: function (x, y) {
    +
    +        this._dirty = true;
    +        this.context.lineTo(x, y);
    +        return this;
    +
    +    },
    +
    +    //  measureText
    +
    +    /**
    +    * Moves the starting point of a new subpath to the (x, y) coordinates.
    +    * @method Phaser.BitmapData#moveTo
    +    * @param {number} x - The x axis of the point.
    +    * @param {number} y - The y axis of the point.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    moveTo: function (x, y) {
    +
    +        this.context.moveTo(x, y);
    +        return this;
    +
    +    },
    +
    +    //  putImageData
    +
    +    /**
    +    * Draws a quadratic curve from the current drawing point to (x, y) using the control point (cpx, cpy).
    +    * @method Phaser.BitmapData#quadraticCurveTo
    +    * @param {Number} cpx - The x axis of the control point.
    +    * @param {Number} cpy - The y axis of the control point.
    +    * @param {Number} x - The x axis of the ending point.
    +    * @param {Number} y - The y axis of the ending point.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    quadraticCurveTo: function(cpx, cpy, x, y) {
    +
    +        this._dirty = true;
    +        this.context.quadraticCurveTo(cpx, cpy, x, y);
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Draws a rectangle at (x, y) position whose size is determined by width and height.
    +    * @method Phaser.BitmapData#rect
    +    * @param {number} x - The x axis of the coordinate for the rectangle starting point.
    +    * @param {number} y - The y axis of the coordinate for the rectangle starting point.
    +    * @param {number} width - The rectangles width.
    +    * @param {number} height - The rectangles height.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    rect: function (x, y, width, height) {
    +
    +        this._dirty = true;
    +        this.context.rect(x, y, width, height);
    +        return this;
    +
    +    },
    +    
    +    /**
    +    * Restores the drawing style state to the last element on the 'state stack' saved by save().
    +    * @method Phaser.BitmapData#restore
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    restore: function () {
    +
    +        this._dirty = true;
    +        this.context.restore();
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Rotates the drawing context values by r radians.
    +    * @method Phaser.BitmapData#rotate
    +    * @param {number} angle - The angle of rotation given in radians.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    rotate: function (angle) {
    +
    +        this._dirty = true;
    +        this.context.rotate(angle);
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Sets the stroke style for the current sub-path. Like all drawing methods, this can be chained, so you can define
    +    * the stroke style and color in a single line of code like so:
    +    *
    +    *      ```myGraphics.setStrokeStyle(8,"round").beginStroke("#F00");```
    +    *
    +    * @method Phaser.BitmapData#setStrokeStyle
    +    * @param {number} thickness - The width of the stroke.
    +    * @param {string|number} [caps=0] - Indicates the type of caps to use at the end of lines. One of butt, round, or square. Defaults to "butt". Also accepts the values 0 (butt), 1 (round), and 2 (square) for use with he tiny API.
    +    * @param {string|number} [joints=0] Specifies the type of joints that should be used where two lines meet. One of bevel, round, or miter. Defaults to "miter". Also accepts the values 0 (miter), 1 (round), and 2 (bevel) for use with the tiny API.
    +    * @param {number} [miterLimit=10] - If joints is set to "miter", then you can specify a miter limit ratio which controls at what point a mitered joint will be clipped.
    +    * @param {boolean} [ignoreScale=false] - If true, the stroke will be drawn at the specified thickness regardless of active transformations.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    setStrokeStyle: function (thickness, caps, joints, miterLimit, ignoreScale) {
    +
    +        if (typeof thickness === 'undefined') { thickness = 1; }
    +        if (typeof caps === 'undefined') { caps = 'butt'; }
    +        if (typeof joints === 'undefined') { joints = 'miter'; }
    +        if (typeof miterLimit === 'undefined') { miterLimit = 10; }
    +
    +        //  TODO
    +        ignoreScale = false;
    +
    +        this.lineWidth(thickness);
    +        this.lineCap(caps);
    +        this.lineJoin(joints);
    +        this.miterLimit(miterLimit);
    +
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Saves the current drawing style state using a stack so you can revert any change you make to it using restore().
    +    * @method Phaser.BitmapData#save
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    save: function () {
    +
    +        this._dirty = true;
    +        this.context.save();
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Scales the current drawing context.
    +    * @method Phaser.BitmapData#scale
    +    * @param {number} x
    +    * @param {number} y
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    scale: function (x, y) {
    +
    +        this._dirty = true;
    +        this.context.scale(x, y);
    +        return this;
    +
    +    },
    +
    +    /**
    +    * 
    +    * @method Phaser.BitmapData#scrollPathIntoView
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    scrollPathIntoView: function () {
    +
    +        this._dirty = true;
    +        this.context.scrollPathIntoView();
    +        return this;
    +
    +    },
    +
    +    //  setLineDash
    +    //  setTransform
    +
    +    /**
    +    * Strokes the subpaths with the current stroke style.
    +    * @method Phaser.BitmapData#stroke
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    stroke: function () {
    +
    +        this._dirty = true;
    +        this.context.stroke();
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Paints a rectangle which has a starting point at (x, y) and has a w width and an h height onto the canvas, using the current stroke style.
    +    * @method Phaser.BitmapData#strokeRect
    +    * @param {number} x - The x axis for the starting point of the rectangle.
    +    * @param {number} y - The y axis for the starting point of the rectangle.
    +    * @param {number} width - The rectangles width.
    +    * @param {number} height - The rectangles height.
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    strokeRect: function (x, y, width, height) {
    +
    +        this._dirty = true;
    +        this.context.strokeRect(x, y, width, height);
    +        return this;
    +
    +    },
    +
    +    /**
    +    * Color or style to use for the lines around shapes. Default #000 (black).
    +    * @method Phaser.BitmapData#strokeStyle
    +    * @param {string} style - Color or style to use for the lines around shapes. Default #000 (black).
    +    * @return {Phaser.BitmapData} The BitmapData instance this method was called on.
    +    */
    +    strokeStyle: function (style) {
    +
    +        this.context.strokeStyle = style;
    +        return this;
    +
    +    },
    +
    +    //  strokeText
    +    //  transform
    +    //  translate
    +
    +    /**
    +    * If the game is running in WebGL this will push the texture up to the GPU if it's dirty.
    +    * This is called automatically if the BitmapData is being used by a Sprite, otherwise you need to remember to call it in your render function.
    +    * @method Phaser.BitmapData#render
    +    */
    +    render: function () {
    +
    +        if (this._dirty)
    +        {
    +            //  Only needed if running in WebGL, otherwise this array will never get cleared down
    +            if (this.game.renderType == Phaser.WEBGL)
    +            {
    +                PIXI.texturesToUpdate.push(this.baseTexture);
    +            }
    +
    +            this._dirty = false;
    +        }
    +
    +    }
    +
    +}
    +
    +//  EaselJS Tiny API emulation
    +
    +/**
    +* Shortcut to moveTo.
    +* @method Phaser.BitmapData.prototype.mt
    +*/
    +Phaser.BitmapData.prototype.mt = Phaser.BitmapData.prototype.moveTo;
    +
    +/**
    +* Shortcut to lineTo.
    +* @method Phaser.BitmapData.prototype.mt
    +*/
    +Phaser.BitmapData.prototype.lt = Phaser.BitmapData.prototype.lineTo;
    +
    +/**
    +* Shortcut to arcTo.
    +* @method Phaser.BitmapData.prototype.at
    +*/
    +Phaser.BitmapData.prototype.at = Phaser.BitmapData.prototype.arcTo;
    +
    +/**
    +* Shortcut to bezierCurveTo.
    +* @method Phaser.BitmapData.prototype.bt
    +*/
    +Phaser.BitmapData.prototype.bt = Phaser.BitmapData.prototype.bezierCurveTo;
    +    
    +/**
    +* Shortcut to quadraticCurveTo.
    +* @method Phaser.BitmapData.prototype.qt
    +*/
    +Phaser.BitmapData.prototype.qt = Phaser.BitmapData.prototype.quadraticCurveTo;
    +    
    +/**
    +* Shortcut to arc.
    +* @method Phaser.BitmapData.prototype.a
    +*/
    +Phaser.BitmapData.prototype.a = Phaser.BitmapData.prototype.arc;
    +
    +/**
    +* Shortcut to rect.
    +* @method Phaser.BitmapData.prototype.r
    +*/
    +Phaser.BitmapData.prototype.r = Phaser.BitmapData.prototype.rect;
    +    
    +/**
    +* Shortcut to closePath.
    +* @method Phaser.BitmapData.prototype.cp
    +*/
    +Phaser.BitmapData.prototype.cp = Phaser.BitmapData.prototype.closePath;
    +
    +/**
    +* Shortcut to clear.
    +* @method Phaser.BitmapData.prototype.c
    +*/
    +Phaser.BitmapData.prototype.c = Phaser.BitmapData.prototype.clear;
    +    
    +/**
    +* Shortcut to beginFill.
    +* @method Phaser.BitmapData.prototype.f
    +*/
    +Phaser.BitmapData.prototype.f = Phaser.BitmapData.prototype.beginFill;
    +
    +/**
    +* Shortcut to beginLinearGradientFill.
    +* @method Phaser.BitmapData.prototype.lf
    +*/
    +Phaser.BitmapData.prototype.lf = Phaser.BitmapData.prototype.beginLinearGradientFill;
    +    
    +/**
    +* Shortcut to beginRadialGradientFill.
    +* @method Phaser.BitmapData.prototype.rf
    +*/
    +Phaser.BitmapData.prototype.rf = Phaser.BitmapData.prototype.beginRadialGradientFill;
    +    
    +/**
    +* Shortcut to beginBitmapFill.
    +* @method Phaser.BitmapData.prototype.bf
    +*/
    +//Phaser.BitmapData.prototype.bf = Phaser.BitmapData.prototype.beginBitmapFill;
    +    
    +/**
    +* Shortcut to endFill.
    +* @method Phaser.BitmapData.prototype.ef
    +*/
    +Phaser.BitmapData.prototype.ef = Phaser.BitmapData.prototype.endFill;
    +
    +/**
    +* Shortcut to setStrokeStyle.
    +* @method Phaser.BitmapData.prototype.ss
    +*/
    +Phaser.BitmapData.prototype.ss = Phaser.BitmapData.prototype.setStrokeStyle;
    +    
    +/**
    +* Shortcut to beginStroke.
    +* @method Phaser.BitmapData.prototype.s
    +*/
    +Phaser.BitmapData.prototype.s = Phaser.BitmapData.prototype.beginStroke;
    +    
    +/**
    +* Shortcut to beginLinearGradientStroke.
    +* @method Phaser.BitmapData.prototype.ls
    +*/
    +Phaser.BitmapData.prototype.ls = Phaser.BitmapData.prototype.beginLinearGradientStroke;
    +
    +/**
    +* Shortcut to beginRadialGradientStroke.
    +* @method Phaser.BitmapData.prototype.rs
    +*/
    +Phaser.BitmapData.prototype.rs = Phaser.BitmapData.prototype.beginRadialGradientStroke;
    +    
    +/**
    +* Shortcut to beginBitmapStroke.
    +* @method Phaser.BitmapData.prototype.bs
    +*/
    +// Phaser.BitmapData.prototype.bs = Phaser.BitmapData.prototype.beginBitmapStroke;
    +    
    +/**
    +* Shortcut to endStroke.
    +* @method Phaser.BitmapData.prototype.es
    +*/
    +// Phaser.BitmapData.prototype.es = Phaser.BitmapData.prototype.endStroke;
    +    
    +/**
    +* Shortcut to rect.
    +* @method Phaser.BitmapData.prototype.dr
    +*/
    +Phaser.BitmapData.prototype.dr = Phaser.BitmapData.prototype.rect;
    +    
    +/**
    +* Shortcut to drawRoundRect.
    +* @method Phaser.BitmapData.prototype.rr
    +*/
    +// Phaser.BitmapData.prototype.rr = Phaser.BitmapData.prototype.drawRoundRect;
    +    
    +/**
    +* Shortcut to drawRoundRectComplex.
    +* @method Phaser.BitmapData.prototype.rc
    +*/
    +// Phaser.BitmapData.prototype.rc = Phaser.BitmapData.prototype.drawRoundRectComplex;
    +
    +/**
    +* Shortcut to drawCircle.
    +* @method Phaser.BitmapData.prototype.dc
    +*/
    +Phaser.BitmapData.prototype.dc = Phaser.BitmapData.prototype.circle;
    +    
    +/**
    +* Shortcut to drawEllipse.
    +* @method Phaser.BitmapData.prototype.de
    +*/
    +Phaser.BitmapData.prototype.de = Phaser.BitmapData.prototype.ellipse;
    +    
    +/**
    +* Shortcut to drawPolyStar.
    +* @method Phaser.BitmapData.prototype.dp
    +*/
    +// Phaser.BitmapData.prototype.dp = Phaser.BitmapData.prototype.drawPolyStar;
    +
    +
    +
    + + + + + +
    + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. + +
    +
    + + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + diff --git a/docs/BitmapText.js.html b/docs/BitmapText.js.html index df269efd9a..8750254954 100644 --- a/docs/BitmapText.js.html +++ b/docs/BitmapText.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -388,11 +428,16 @@

    Source: gameobjects/BitmapText.js

    */ /** -* Creates a new `BitmapText` object. BitmapText work by taking a texture file and an XML file that describes the font layout. +* Creates a new BitmapText object. +* +* @class Phaser.BitmapText +* +* @classdesc BitmapText objects work by taking a texture file and an XML file that describes the font layout. +* * On Windows you can use the free app BMFont: http://www.angelcode.com/products/bmfont/ +* * On OS X we recommend Glyph Designer: http://www.71squared.com/en/glyphdesigner * -* @class Phaser.BitmapText * @constructor * @param {Phaser.Game} game - A reference to the currently running game. * @param {number} x - X position of the new bitmapText object. @@ -404,100 +449,108 @@

    Source: gameobjects/BitmapText.js

    x = x || 0; y = y || 0; - text = text || ''; style = style || ''; - /** - * @property {boolean} exists - If exists = false then the Sprite isn't updated by the core game loop or physics subsystem at all. - * @default - */ + /** + * @property {Phaser.Game} game - A reference to the currently running Game. + */ + this.game = game; + + /** + * @property {boolean} exists - If exists = false then the Sprite isn't updated by the core game loop or physics subsystem at all. + * @default + */ this.exists = true; - /** + /** * @property {boolean} alive - This is a handy little var your game can use to determine if a sprite is alive or not, it doesn't effect rendering. - * @default - */ + * @default + */ this.alive = true; - /** - * @property {Description} group - Description. - * @default - */ + /** + * @property {Phaser.Group} group - The parent Group of this BitmapText. + */ this.group = null; - /** - * @property {string} name - Description. - * @default - */ + /** + * @property {string} name - The user defined name given to this BitmapText. + * @default + */ this.name = ''; /** - * @property {Phaser.Game} game - A reference to the currently running Game. + * @property {number} type - The const type of this object. + * @readonly */ - this.game = game; + this.type = Phaser.BITMAPTEXT; PIXI.BitmapText.call(this, text, style); /** - * @property {Description} type - Description. + * @property {number} position.x - The x position of this object. */ - this.type = Phaser.BITMAPTEXT; - - /** - * @property {number} position.x - Description. - */ this.position.x = x; - /** - * @property {number} position.y - Description. - */ + /** + * @property {number} position.y - The y position of this object. + */ this.position.y = y; - // Replaces the PIXI.Point with a slightly more flexible one - /** - * @property {Phaser.Point} anchor - Description. - */ + /** + * The anchor sets the origin point of the texture. + * The default is 0,0 this means the textures origin is the top left + * Setting than anchor to 0.5,0.5 means the textures origin is centered + * Setting the anchor to 1,1 would mean the textures origin points will be the bottom right + * + * @property {Phaser.Point} anchor - The anchor around which rotation and scaling takes place. + */ this.anchor = new Phaser.Point(); - /** - * @property {Phaser.Point} scale - Description. - */ + /** + * @property {Phaser.Point} scale - The scale of the object when rendered. By default it's set to 1 (no scale). You can modify it via scale.x or scale.y or scale.setTo(x, y). A value of 1 means no change to the scale, 0.5 means "half the size", 2 means "twice the size", etc. + */ this.scale = new Phaser.Point(1, 1); - // A mini cache for storing all of the calculated values - /** - * @property {function} _cache - Description. - * @private - */ - this._cache = { + /** + * @property {object} _cache - A mini cache for storing all of the calculated values. + * @private + */ + this._cache = { dirty: false, // Transform cache - a00: 1, a01: 0, a02: x, a10: 0, a11: 1, a12: y, id: 1, + a00: 1, + a01: 0, + a02: x, + a10: 0, + a11: 1, + a12: y, + id: 1, // The previous calculated position - x: -1, y: -1, + x: -1, + y: -1, // The actual scale values based on the worldTransform - scaleX: 1, scaleY: 1 + scaleX: 1, + scaleY: 1 }; this._cache.x = this.x; this._cache.y = this.y; - /** - * @property {boolean} renderable - Description. - * @private - */ + /** + * @property {boolean} renderable - A renderable object will be rendered to the context each frame. + */ this.renderable = true; }; Phaser.BitmapText.prototype = Object.create(PIXI.BitmapText.prototype); -// Phaser.BitmapText.prototype = Phaser.Utils.extend(true, PIXI.BitmapText.prototype); Phaser.BitmapText.prototype.constructor = Phaser.BitmapText; /** @@ -555,11 +608,11 @@

    Source: gameobjects/BitmapText.js

    } /** -* Get -* @returns {Description} -*//** -* Set -* @param {Description} value - Description +* Indicates the rotation of the BitmapText, in degrees, from its original orientation. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. +* Values outside this range are added to or subtracted from 360 to obtain a value within the range. For example, the statement player.angle = 450 is the same as player.angle = 90. +* If you wish to work in radians instead of degrees use the property Sprite.rotation instead. +* @name Phaser.BitmapText#angle +* @property {number} angle - Gets or sets the angle of rotation in degrees. */ Object.defineProperty(Phaser.BitmapText.prototype, 'angle', { @@ -574,11 +627,9 @@

    Source: gameobjects/BitmapText.js

    }); /** -* Get -* @returns {Description} -*//** -* Set -* @param {Description} value - Description +* The x coordinate of this object in world space. +* @name Phaser.BitmapText#x +* @property {number} x - The x coordinate of this object in world space. */ Object.defineProperty(Phaser.BitmapText.prototype, 'x', { @@ -593,11 +644,9 @@

    Source: gameobjects/BitmapText.js

    }); /** -* Get -* @returns {Description} -*//** -* Set -* @param {Description} value - Description +* The y coordinate of this object in world space. +* @name Phaser.BitmapText#y +* @property {number} y - The y coordinate of this object in world space. */ Object.defineProperty(Phaser.BitmapText.prototype, 'y', { @@ -631,7 +680,7 @@

    Source: gameobjects/BitmapText.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Body.js.html b/docs/Body.js.html index 28fb637848..244d02309f 100644 --- a/docs/Body.js.html +++ b/docs/Body.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -401,91 +441,91 @@

    Source: physics/arcade/Body.js

    /** * @property {Phaser.Sprite} sprite - Reference to the parent Sprite. */ - this.sprite = sprite; + this.sprite = sprite; /** * @property {Phaser.Game} game - Local reference to game. */ - this.game = sprite.game; + this.game = sprite.game; /** * @property {Phaser.Point} offset - The offset of the Physics Body from the Sprite x/y position. */ - this.offset = new Phaser.Point; + this.offset = new Phaser.Point(); /** * @property {number} x - The x position of the physics body. * @readonly */ - this.x = sprite.x; + this.x = sprite.x; /** * @property {number} y - The y position of the physics body. * @readonly */ - this.y = sprite.y; + this.y = sprite.y; /** * @property {number} preX - The previous x position of the physics body. * @readonly */ - this.preX = sprite.x; + this.preX = sprite.x; /** * @property {number} preY - The previous y position of the physics body. * @readonly */ - this.preY = sprite.y; + this.preY = sprite.y; /** * @property {number} preRotation - The previous rotation of the physics body. * @readonly */ - this.preRotation = sprite.angle; + this.preRotation = sprite.angle; /** * @property {number} screenX - The x position of the physics body translated to screen space. * @readonly */ - this.screenX = sprite.x; + this.screenX = sprite.x; /** * @property {number} screenY - The y position of the physics body translated to screen space. * @readonly */ - this.screenY = sprite.y; + this.screenY = sprite.y; /** * @property {number} sourceWidth - The un-scaled original size. * @readonly */ - this.sourceWidth = sprite.currentFrame.sourceSizeW; + this.sourceWidth = sprite.currentFrame.sourceSizeW; /** * @property {number} sourceHeight - The un-scaled original size. * @readonly */ - this.sourceHeight = sprite.currentFrame.sourceSizeH; + this.sourceHeight = sprite.currentFrame.sourceSizeH; /** * @property {number} width - The calculated width of the physics body. */ - this.width = sprite.currentFrame.sourceSizeW; + this.width = sprite.currentFrame.sourceSizeW; /** * @property .numInternal ID cache */ - this.height = sprite.currentFrame.sourceSizeH; + this.height = sprite.currentFrame.sourceSizeH; /** * @property {number} halfWidth - The calculated width / 2 of the physics body. */ - this.halfWidth = Math.floor(sprite.currentFrame.sourceSizeW / 2); + this.halfWidth = Math.floor(sprite.currentFrame.sourceSizeW / 2); /** * @property {number} halfHeight - The calculated height / 2 of the physics body. */ - this.halfHeight = Math.floor(sprite.currentFrame.sourceSizeH / 2); + this.halfHeight = Math.floor(sprite.currentFrame.sourceSizeH / 2); /** * @property {Phaser.Point} center - The center coordinate of the Physics Body. @@ -496,38 +536,38 @@

    Source: physics/arcade/Body.js

    * @property {number} _sx - Internal cache var. * @private */ - this._sx = sprite.scale.x; + this._sx = sprite.scale.x; /** * @property {number} _sy - Internal cache var. * @private */ - this._sy = sprite.scale.y; + this._sy = sprite.scale.y; /** * @property {Phaser.Point} velocity - The velocity in pixels per second sq. of the Body. */ - this.velocity = new Phaser.Point; + this.velocity = new Phaser.Point(); /** * @property {Phaser.Point} acceleration - The velocity in pixels per second sq. of the Body. */ - this.acceleration = new Phaser.Point; + this.acceleration = new Phaser.Point(); /** * @property {Phaser.Point} drag - The drag applied to the motion of the Body. */ - this.drag = new Phaser.Point; + this.drag = new Phaser.Point(); /** * @property {Phaser.Point} gravity - A private Gravity setting for the Body. */ - this.gravity = new Phaser.Point; + this.gravity = new Phaser.Point(); /** * @property {Phaser.Point} bounce - The elasticitiy of the Body when colliding. bounce.x/y = 1 means full rebound, bounce.x/y = 0.5 means 50% rebound velocity. */ - this.bounce = new Phaser.Point; + this.bounce = new Phaser.Point(); /** * @property {Phaser.Point} maxVelocity - The maximum velocity in pixels per second sq. that the Body can reach. @@ -583,7 +623,7 @@

    Source: physics/arcade/Body.js

    */ this.quadTreeIndex = -1; - // Allow collision + // Allow collision /** * Set the allowCollision properties to control which directions collision is processed for this Body. @@ -701,20 +741,20 @@

    Source: physics/arcade/Body.js

    * @method Phaser.Physics.Arcade#updateBounds * @protected */ - updateBounds: function (centerX, centerY, scaleX, scaleY) { + updateBounds: function (centerX, centerY, scaleX, scaleY) { - if (scaleX != this._sx || scaleY != this._sy) - { - this.width = this.sourceWidth * scaleX; - this.height = this.sourceHeight * scaleY; - this.halfWidth = Math.floor(this.width / 2); - this.halfHeight = Math.floor(this.height / 2); - this._sx = scaleX; - this._sy = scaleY; + if (scaleX != this._sx || scaleY != this._sy) + { + this.width = this.sourceWidth * scaleX; + this.height = this.sourceHeight * scaleY; + this.halfWidth = Math.floor(this.width / 2); + this.halfHeight = Math.floor(this.height / 2); + this._sx = scaleX; + this._sy = scaleY; this.center.setTo(this.x + this.halfWidth, this.y + this.halfHeight); - } + } - }, + }, /** * Internal method. @@ -722,55 +762,55 @@

    Source: physics/arcade/Body.js

    * @method Phaser.Physics.Arcade#preUpdate * @protected */ - preUpdate: function () { + preUpdate: function () { - // Store and reset collision flags - this.wasTouching.none = this.touching.none; - this.wasTouching.up = this.touching.up; - this.wasTouching.down = this.touching.down; - this.wasTouching.left = this.touching.left; - this.wasTouching.right = this.touching.right; + // Store and reset collision flags + this.wasTouching.none = this.touching.none; + this.wasTouching.up = this.touching.up; + this.wasTouching.down = this.touching.down; + this.wasTouching.left = this.touching.left; + this.wasTouching.right = this.touching.right; - this.touching.none = true; - this.touching.up = false; - this.touching.down = false; - this.touching.left = false; - this.touching.right = false; + this.touching.none = true; + this.touching.up = false; + this.touching.down = false; + this.touching.left = false; + this.touching.right = false; - this.embedded = false; + this.embedded = false; - this.screenX = (this.sprite.worldTransform[2] - (this.sprite.anchor.x * this.width)) + this.offset.x; - this.screenY = (this.sprite.worldTransform[5] - (this.sprite.anchor.y * this.height)) + this.offset.y; + this.screenX = (this.sprite.worldTransform[2] - (this.sprite.anchor.x * this.width)) + this.offset.x; + this.screenY = (this.sprite.worldTransform[5] - (this.sprite.anchor.y * this.height)) + this.offset.y; this.preX = (this.sprite.world.x - (this.sprite.anchor.x * this.width)) + this.offset.x; this.preY = (this.sprite.world.y - (this.sprite.anchor.y * this.height)) + this.offset.y; - this.preRotation = this.sprite.angle; + this.preRotation = this.sprite.angle; - this.x = this.preX; - this.y = this.preY; - this.rotation = this.preRotation; + this.x = this.preX; + this.y = this.preY; + this.rotation = this.preRotation; - if (this.moves) - { - this.game.physics.updateMotion(this); + if (this.moves) + { + this.game.physics.updateMotion(this); - if (this.collideWorldBounds) - { - this.checkWorldBounds(); - } + if (this.collideWorldBounds) + { + this.checkWorldBounds(); + } - this.updateHulls(); + this.updateHulls(); } - if (this.skipQuadTree == false && this.allowCollision.none == false && this.sprite.visible && this.sprite.alive) - { - this.quadTreeIDs = []; - this.quadTreeIndex = -1; - this.game.physics.quadTree.insert(this); - } + if (this.skipQuadTree === false && this.allowCollision.none === false && this.sprite.visible && this.sprite.alive) + { + this.quadTreeIDs = []; + this.quadTreeIndex = -1; + this.game.physics.quadTree.insert(this); + } - }, + }, /** * Internal method. @@ -778,25 +818,25 @@

    Source: physics/arcade/Body.js

    * @method Phaser.Physics.Arcade#postUpdate * @protected */ - postUpdate: function () { - - if (this.deltaX() < 0) - { - this.facing = Phaser.LEFT; - } - else if (this.deltaX() > 0) - { - this.facing = Phaser.RIGHT; - } - - if (this.deltaY() < 0) - { - this.facing = Phaser.UP; - } - else if (this.deltaY() > 0) - { - this.facing = Phaser.DOWN; - } + postUpdate: function () { + + if (this.deltaX() < 0) + { + this.facing = Phaser.LEFT; + } + else if (this.deltaX() > 0) + { + this.facing = Phaser.RIGHT; + } + + if (this.deltaY() < 0) + { + this.facing = Phaser.UP; + } + else if (this.deltaY() > 0) + { + this.facing = Phaser.DOWN; + } if (this.deltaX() !== 0 || this.deltaY() !== 0) { @@ -805,12 +845,12 @@

    Source: physics/arcade/Body.js

    this.center.setTo(this.x + this.halfWidth, this.y + this.halfHeight); } - if (this.allowRotation) - { - this.sprite.angle += this.deltaZ(); - } + if (this.allowRotation) + { + this.sprite.angle += this.deltaZ(); + } - }, + }, /** * Internal method. @@ -818,12 +858,12 @@

    Source: physics/arcade/Body.js

    * @method Phaser.Physics.Arcade#updateHulls * @protected */ - updateHulls: function () { + updateHulls: function () { - this.hullX.setTo(this.x, this.preY, this.width, this.height); - this.hullY.setTo(this.preX, this.y, this.width, this.height); + this.hullX.setTo(this.x, this.preY, this.width, this.height); + this.hullY.setTo(this.preX, this.y, this.width, this.height); - }, + }, /** * Internal method. @@ -831,31 +871,31 @@

    Source: physics/arcade/Body.js

    * @method Phaser.Physics.Arcade#checkWorldBounds * @protected */ - checkWorldBounds: function () { - - if (this.x < this.game.world.bounds.x) - { - this.x = this.game.world.bounds.x; - this.velocity.x *= -this.bounce.x; - } - else if (this.right > this.game.world.bounds.right) - { - this.x = this.game.world.bounds.right - this.width; - this.velocity.x *= -this.bounce.x; - } - - if (this.y < this.game.world.bounds.y) - { - this.y = this.game.world.bounds.y; - this.velocity.y *= -this.bounce.y; - } - else if (this.bottom > this.game.world.bounds.bottom) - { - this.y = this.game.world.bounds.bottom - this.height; - this.velocity.y *= -this.bounce.y; - } - - }, + checkWorldBounds: function () { + + if (this.x < this.game.world.bounds.x) + { + this.x = this.game.world.bounds.x; + this.velocity.x *= -this.bounce.x; + } + else if (this.right > this.game.world.bounds.right) + { + this.x = this.game.world.bounds.right - this.width; + this.velocity.x *= -this.bounce.x; + } + + if (this.y < this.game.world.bounds.y) + { + this.y = this.game.world.bounds.y; + this.velocity.y *= -this.bounce.y; + } + else if (this.bottom > this.game.world.bounds.bottom) + { + this.y = this.game.world.bounds.bottom - this.height; + this.velocity.y *= -this.bounce.y; + } + + }, /** * You can modify the size of the physics Body to be any dimension you need. @@ -868,46 +908,46 @@

    Source: physics/arcade/Body.js

    * @param {number} offsetX - The X offset of the Body from the Sprite position. * @param {number} offsetY - The Y offset of the Body from the Sprite position. */ - setSize: function (width, height, offsetX, offsetY) { + setSize: function (width, height, offsetX, offsetY) { - offsetX = offsetX || this.offset.x; - offsetY = offsetY || this.offset.y; + offsetX = offsetX || this.offset.x; + offsetY = offsetY || this.offset.y; - this.sourceWidth = width; - this.sourceHeight = height; - this.width = this.sourceWidth * this._sx; - this.height = this.sourceHeight * this._sy; - this.halfWidth = Math.floor(this.width / 2); - this.halfHeight = Math.floor(this.height / 2); - this.offset.setTo(offsetX, offsetY); + this.sourceWidth = width; + this.sourceHeight = height; + this.width = this.sourceWidth * this._sx; + this.height = this.sourceHeight * this._sy; + this.halfWidth = Math.floor(this.width / 2); + this.halfHeight = Math.floor(this.height / 2); + this.offset.setTo(offsetX, offsetY); this.center.setTo(this.x + this.halfWidth, this.y + this.halfHeight); - }, + }, /** * Resets all Body values (velocity, acceleration, rotation, etc) * * @method Phaser.Physics.Arcade#reset */ - reset: function () { + reset: function () { - this.velocity.setTo(0, 0); - this.acceleration.setTo(0, 0); + this.velocity.setTo(0, 0); + this.acceleration.setTo(0, 0); - this.angularVelocity = 0; - this.angularAcceleration = 0; + this.angularVelocity = 0; + this.angularAcceleration = 0; this.preX = (this.sprite.world.x - (this.sprite.anchor.x * this.width)) + this.offset.x; this.preY = (this.sprite.world.y - (this.sprite.anchor.y * this.height)) + this.offset.y; - this.preRotation = this.sprite.angle; + this.preRotation = this.sprite.angle; - this.x = this.preX; - this.y = this.preY; - this.rotation = this.preRotation; + this.x = this.preX; + this.y = this.preY; + this.rotation = this.preRotation; this.center.setTo(this.x + this.halfWidth, this.y + this.halfHeight); - }, + }, /** * Returns the absolute delta x value. @@ -965,7 +1005,7 @@

    Source: physics/arcade/Body.js

    * The sum of the y and height properties. Changing the bottom property of a Rectangle object has no effect on the x, y and width properties, but does change the height property. * @method bottom * @return {number} - **/ + */ get: function () { return this.y + this.height; }, @@ -974,7 +1014,7 @@

    Source: physics/arcade/Body.js

    * The sum of the y and height properties. Changing the bottom property of a Rectangle object has no effect on the x, y and width properties, but does change the height property. * @method bottom * @param {number} value - **/ + */ set: function (value) { if (value <= this.y) @@ -1001,7 +1041,7 @@

    Source: physics/arcade/Body.js

    * However it does affect the width property. * @method right * @return {number} - **/ + */ get: function () { return this.x + this.width; }, @@ -1011,7 +1051,7 @@

    Source: physics/arcade/Body.js

    * However it does affect the width property. * @method right * @param {number} value - **/ + */ set: function (value) { if (value <= this.x) @@ -1047,7 +1087,7 @@

    Source: physics/arcade/Body.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Bullet.js.html b/docs/Bullet.js.html deleted file mode 100644 index fcae3569f0..0000000000 --- a/docs/Bullet.js.html +++ /dev/null @@ -1,1068 +0,0 @@ - - - - - - Phaser Source: gameobjects/Bullet.js - - - - - - - - - - -
    - - -
    - - -
    - -
    - - - -

    Source: gameobjects/Bullet.js

    - -
    -
    -
    /**
    -* @author       Richard Davey <rich@photonstorm.com>
    -* @copyright    2013 Photon Storm Ltd.
    -* @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
    -*/
    -
    -/**
    -* Warning: Bullet is an experimental object that we don't advise using for now.
    -*
    -* A Bullet is like a stripped-down Sprite, useful for when you just need to get something moving around the screen quickly with little of the extra
    -* features that a Sprite supports.
    -* Bullet is MISSING the following:
    -*
    -* animation, all input events, crop support, health/damage, loadTexture
    -*
    -* @class Phaser.Bullet
    -* @constructor
    -* @param {Phaser.Game} game - Current game instance.
    -* @param {number} x - X position of the new bullet.
    -* @param {number} y - Y position of the new bullet.
    -* @param {string|Phaser.RenderTexture|PIXI.Texture} key - This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture.
    -* @param {string|number} frame - If this Sprite is using part of a sprite sheet or texture atlas you can specify the exact frame to use by giving a string or numeric index.
    -*/
    -Phaser.Bullet = function (game, x, y, key, frame) {
    -
    -    x = x || 0;
    -    y = y || 0;
    -    key = key || null;
    -    frame = frame || null;
    -    
    -    /**
    -	* @property {Phaser.Game} game - A reference to the currently running Game.
    -	*/
    -	this.game = game;
    - 
    -	/**
    -	* @property {boolean} exists - If exists = false then the Sprite isn't updated by the core game loop or physics subsystem at all.
    -	* @default
    -	*/
    -    this.exists = true;
    -
    -	/**
    -    * @property {boolean} alive - This is a handy little var your game can use to determine if a sprite is alive or not, it doesn't effect rendering.
    -   	* @default
    -   	*/
    -    this.alive = true;
    -
    -	/**
    -    * @property {Description} group - Description.
    -   	* @default
    -   	*/
    -    this.group = null;
    -
    -    /**
    -     * @property {string} name - The user defined name given to this Sprite.
    -     * @default
    -     */
    -    this.name = '';
    -
    -    /**
    -	* @property {Description} type - Description.
    -	*/
    -    this.type = Phaser.BULLET;
    -
    -    /**
    -	* @property {number} renderOrderID - Description.
    -	* @default
    -	*/
    -    this.renderOrderID = -1;
    -
    -    /**
    -    * If you would like the Sprite to have a lifespan once 'born' you can set this to a positive value. Handy for particles, bullets, etc.
    -	* The lifespan is decremented by game.time.elapsed each update, once it reaches zero the kill() function is called.
    -	* @property {number} lifespan
    -	* @default
    -	*/    
    -    this.lifespan = 0;
    -
    -    /**
    -    * @property {Events} events - The Signals you can subscribe to that are dispatched when certain things happen on this Sprite or its components
    -    */
    -    this.events = new Phaser.Events(this);
    -
    -    /**
    -    *  @property {Description} key - Description.
    -    */
    -    this.key = key;
    -
    -    if (key instanceof Phaser.RenderTexture)
    -    {
    -        PIXI.Sprite.call(this, key);
    -
    -        this.currentFrame = this.game.cache.getTextureFrame(key.name);
    -    }
    -    else if (key instanceof PIXI.Texture)
    -    {
    -        PIXI.Sprite.call(this, key);
    -
    -        this.currentFrame = frame;
    -    }
    -    else
    -    {
    -        if (key == null || this.game.cache.checkImageKey(key) == false)
    -        {
    -            key = '__default';
    -        }
    -
    -        PIXI.Sprite.call(this, PIXI.TextureCache[key]);
    -
    -        if (this.game.cache.isSpriteSheet(key))
    -        {
    -        	/*
    -            this.animations.loadFrameData(this.game.cache.getFrameData(key));
    -
    -            if (frame !== null)
    -            {
    -                if (typeof frame === 'string')
    -                {
    -                    this.frameName = frame;
    -                }
    -                else
    -                {
    -                    this.frame = frame;
    -                }
    -            }
    -            */
    -        }
    -        else
    -        {
    -            this.currentFrame = this.game.cache.getFrame(key);
    -        }
    -    }
    -
    -    /**
    -    * The anchor sets the origin point of the texture.
    -    * The default is 0,0 this means the textures origin is the top left 
    -    * Setting than anchor to 0.5,0.5 means the textures origin is centered
    -    * Setting the anchor to 1,1 would mean the textures origin points will be the bottom right
    -    *
    -    * @property {Phaser.Point} anchor
    -    */
    -    this.anchor = new Phaser.Point();
    -
    -    /**
    -    * @property {number} x - Description.
    -    */
    -    this.x = x;
    -    
    -    /**
    -    * @property {number} y - Description.
    -    */
    -    this.y = y;
    -
    -    /**
    -    * @property {Description} position - Description.
    -    */
    -	this.position.x = x;
    -	this.position.y = y;
    -
    -    /**
    -    * Should this Sprite be automatically culled if out of range of the camera?
    -    * A culled sprite has its visible property set to 'false'.
    -    * Note that this check doesn't look at this Sprites children, which may still be in camera range.
    -    * So you should set autoCull to false if the Sprite will have children likely to still be in camera range.
    -    *
    -    * @property {boolean} autoCull
    -    * @default
    -    */
    -    this.autoCull = false;
    -
    -    /**
    -    * @property {Phaser.Point} scale - Replaces the PIXI.Point with a slightly more flexible one.
    -    */ 
    -    this.scale = new Phaser.Point(1, 1);
    -
    -    /**
    -    * @property {Phaser.Point} _cache - A mini cache for storing all of the calculated values.
    -    * @private
    -    */
    -    this._cache = { 
    -
    -        dirty: false,
    -
    -        //  Transform cache
    -        a00: -1, a01: -1, a02: -1, a10: -1, a11: -1, a12: -1, id: -1, 
    -
    -        //  Input specific transform cache
    -        i01: -1, i10: -1, idi: -1,
    -
    -        //  Bounds check
    -        left: null, right: null, top: null, bottom: null, 
    -
    -        //  The previous calculated position
    -        x: -1, y: -1,
    -
    -        //  The actual scale values based on the worldTransform
    -        scaleX: 1, scaleY: 1,
    -
    -        //  The width/height of the image, based on the un-modified frame size multiplied by the final calculated scale size
    -        width: this.currentFrame.sourceSizeW, height: this.currentFrame.sourceSizeH,
    -
    -        //  The actual width/height of the image if from a trimmed atlas, multiplied by the final calculated scale size
    -        halfWidth: Math.floor(this.currentFrame.sourceSizeW / 2), halfHeight: Math.floor(this.currentFrame.sourceSizeH / 2),
    -
    -        boundsX: 0, boundsY: 0,
    -
    -        //  If this sprite visible to the camera (regardless of being set to visible or not)
    -        cameraVisible: true
    -
    -    };
    -  
    -    /**
    -    * @property {Phaser.Point} offset - Corner point defaults.
    -    */    
    -    this.offset = new Phaser.Point;
    -    
    -    /**
    -    * @property {Phaser.Point} center - Description.
    -    */
    -    this.center = new Phaser.Point(x + Math.floor(this._cache.width / 2), y + Math.floor(this._cache.height / 2));
    -   
    -    /**
    -    * @property {Phaser.Point} topLeft - Description.
    -    */
    -    this.topLeft = new Phaser.Point(x, y);
    -    
    -    /**
    -    * @property {Phaser.Point} topRight - Description.
    -    */
    -    this.topRight = new Phaser.Point(x + this._cache.width, y);
    -    
    -    /**
    -    * @property {Phaser.Point} bottomRight - Description.
    -    */
    -    this.bottomRight = new Phaser.Point(x + this._cache.width, y + this._cache.height);
    -    
    -    /**
    -    * @property {Phaser.Point} bottomLeft - Description.
    -    */
    -    this.bottomLeft = new Phaser.Point(x, y + this._cache.height);
    -    
    -    /**
    -    * @property {Phaser.Rectangle} bounds - Description.
    -    */
    -    this.bounds = new Phaser.Rectangle(x, y, this._cache.width, this._cache.height);
    -
    -    /**
    -    * @property {Phaser.Physics.Arcade.Body} body - Set-up the physics body.
    -    */
    -    this.body = new Phaser.Physics.Arcade.Body(this);
    -
    -    /**
    -    * @property {Description} inWorld - World bounds check.
    -    */
    -    this.inWorld = Phaser.Rectangle.intersects(this.bounds, this.game.world.bounds);
    -    
    -    /**
    -    * @property {number} inWorldThreshold - World bounds check.
    -    * @default
    -    */
    -    this.inWorldThreshold = 0;
    -
    -    /**
    -    * @property {boolean} outOfBoundsKill - Kills this sprite as soon as it goes outside of the World bounds.
    -    * @default
    -    */
    -    this.outOfBoundsKill = false;
    -    
    -    /**
    -    * @property {boolean} _outOfBoundsFired - Description.
    -    * @private
    -    * @default
    -    */
    -    this._outOfBoundsFired = false;
    -
    -    /**
    -    * A Sprite that is fixed to the camera ignores the position of any ancestors in the display list and uses its x/y coordinates as offsets from the top left of the camera.
    -    * @property {boolean} fixedToCamera - Fixes this Sprite to the Camera.
    -    * @default
    -    */
    -    this.fixedToCamera = false;
    -
    -};
    -
    -Phaser.Bullet.prototype = Object.create(PIXI.Sprite.prototype);
    -Phaser.Bullet.prototype.constructor = Phaser.Bullet;
    -
    -/**
    -* Automatically called by World.preUpdate. You can create your own update in Objects that extend Phaser.Sprite.
    -* @method Phaser.Sprite.prototype.preUpdate
    -*/
    -Phaser.Bullet.prototype.preUpdate = function() {
    -
    -    if (!this.exists)
    -    {
    -        this.renderOrderID = -1;
    -        return;
    -    }
    -
    -    if (this.lifespan > 0)
    -    {
    -        this.lifespan -= this.game.time.elapsed;
    -
    -        if (this.lifespan <= 0)
    -        {
    -            this.kill();
    -            return;
    -        }
    -    }
    -
    -    this._cache.dirty = false;
    -
    -    if (this.visible)
    -    {
    -        this.renderOrderID = this.game.world.currentRenderOrderID++;
    -    }
    -
    -    this.prevX = this.x;
    -    this.prevY = this.y;
    -
    -    //  |a c tx|
    -    //  |b d ty|
    -    //  |0 0  1|
    -
    -    if (this.worldTransform[1] != this._cache.i01 || this.worldTransform[3] != this._cache.i10)
    -    {
    -        this._cache.a00 = this.worldTransform[0];  //  scaleX         a
    -        this._cache.a01 = this.worldTransform[1];  //  skewY          c
    -        this._cache.a10 = this.worldTransform[3];  //  skewX          b
    -        this._cache.a11 = this.worldTransform[4];  //  scaleY         d
    -
    -        this._cache.i01 = this.worldTransform[1];  //  skewY          c (remains non-modified for input checks)
    -        this._cache.i10 = this.worldTransform[3];  //  skewX          b (remains non-modified for input checks)
    -
    -        this._cache.scaleX = Math.sqrt((this._cache.a00 * this._cache.a00) + (this._cache.a01 * this._cache.a01)); // round this off a bit?
    -        this._cache.scaleY = Math.sqrt((this._cache.a10 * this._cache.a10) + (this._cache.a11 * this._cache.a11)); // round this off a bit?
    -
    -        this._cache.a01 *= -1;
    -        this._cache.a10 *= -1;
    -
    -        this._cache.dirty = true;
    -    }
    -
    -    if (this.worldTransform[2] != this._cache.a02 || this.worldTransform[5] != this._cache.a12)
    -    {
    -        this._cache.a02 = this.worldTransform[2];  //  translateX     tx
    -        this._cache.a12 = this.worldTransform[5];  //  translateY     ty
    -        this._cache.dirty = true;
    -    }
    -
    -    //  Re-run the camera visibility check
    -    if (this._cache.dirty)
    -    {
    -        this._cache.cameraVisible = Phaser.Rectangle.intersects(this.game.world.camera.screenView, this.bounds, 0);
    -
    -        if (this.autoCull == true)
    -        {
    -            //  Won't get rendered but will still get its transform updated
    -            this.renderable = this._cache.cameraVisible;
    -        }
    -
    -        //  Update our physics bounds
    -        if (this.body)
    -        {
    -            this.body.updateBounds(this.center.x, this.center.y, this._cache.scaleX, this._cache.scaleY);
    -        }
    -    }
    -
    -    if (this.body)
    -    {
    -        this.body.preUpdate();
    -    }
    -
    -}
    -
    -Phaser.Bullet.prototype.postUpdate = function() {
    -
    -    if (this.exists)
    -    {
    -        //  The sprite is positioned in this call, after taking into consideration motion updates and collision
    -        if (this.body)
    -        {
    -            this.body.postUpdate();
    -        }
    -
    -        if (this.fixedToCamera)
    -        {
    -            this._cache.x = this.game.camera.view.x + this.x;
    -            this._cache.y = this.game.camera.view.y + this.y;
    -        }
    -        else
    -        {
    -            this._cache.x = this.x;
    -            this._cache.y = this.y;
    -        }
    -
    -        if (this.position.x != this._cache.x || this.position.y != this._cache.y)
    -        {
    -            this.position.x = this._cache.x;
    -            this.position.y = this._cache.y;
    -        }
    -    }
    -
    -}
    -
    -Phaser.Bullet.prototype.deltaAbsX = function () {
    -    return (this.deltaX() > 0 ? this.deltaX() : -this.deltaX());
    -}
    -
    -Phaser.Bullet.prototype.deltaAbsY = function () {
    -    return (this.deltaY() > 0 ? this.deltaY() : -this.deltaY());
    -}
    -
    -Phaser.Bullet.prototype.deltaX = function () {
    -    return this.x - this.prevX;
    -}
    -
    -Phaser.Bullet.prototype.deltaY = function () {
    -    return this.y - this.prevY;
    -}
    -
    -/**
    -* Description.
    -* 
    -* @method Phaser.Bullet.prototype.revive
    -*/
    -Phaser.Bullet.prototype.revive = function(health) {
    -
    -    if (typeof health === 'undefined') { health = 1; }
    -
    -    this.alive = true;
    -    this.exists = true;
    -    this.visible = true;
    -    this.health = health;
    -
    -    this.events.onRevived.dispatch(this);
    -
    -}
    -
    -/**
    -* Description.
    -* 
    -* @method Phaser.Bullet.prototype.kill
    -*/
    -Phaser.Bullet.prototype.kill = function() {
    -
    -    this.alive = false;
    -    this.exists = false;
    -    this.visible = false;
    -    this.events.onKilled.dispatch(this);
    -
    -}
    -
    -/**
    -* Description.
    -* 
    -* @method Phaser.Bullet.prototype.destroy
    -*/
    -Phaser.Bullet.prototype.destroy = function() {
    -
    -    if (this.group)
    -    {
    -        this.group.remove(this);
    -    }
    -
    -    this.events.destroy();
    -
    -    this.alive = false;
    -    this.exists = false;
    -    this.visible = false;
    -
    -    this.game = null;
    -
    -}
    -
    -/**
    -* Description.
    -* 
    -* @method Phaser.Sprite.prototype.reset
    -*/
    -Phaser.Bullet.prototype.reset = function(x, y) {
    -
    -    this.x = x;
    -    this.y = y;
    -    this.position.x = this.x;
    -    this.position.y = this.y;
    -    this.alive = true;
    -    this.exists = true;
    -    this.visible = true;
    -    this.renderable = true;
    -    this._outOfBoundsFired = false;
    -
    -    if (this.body)
    -    {
    -        this.body.reset();
    -    }
    -    
    -}
    -
    -/**
    -* Description.
    -*   
    -* @method Phaser.Sprite.prototype.updateBounds
    -*/
    -Phaser.Bullet.prototype.updateBounds = function() {
    -
    -    //  Update the edge points
    -
    -    this.offset.setTo(this._cache.a02 - (this.anchor.x * this._cache.width), this._cache.a12 - (this.anchor.y * this._cache.height));
    -
    -    this.getLocalPosition(this.center, this.offset.x + this._cache.halfWidth, this.offset.y + this._cache.halfHeight);
    -    this.getLocalPosition(this.topLeft, this.offset.x, this.offset.y);
    -    this.getLocalPosition(this.topRight, this.offset.x + this._cache.width, this.offset.y);
    -    this.getLocalPosition(this.bottomLeft, this.offset.x, this.offset.y + this._cache.height);
    -    this.getLocalPosition(this.bottomRight, this.offset.x + this._cache.width, this.offset.y + this._cache.height);
    -
    -    this._cache.left = Phaser.Math.min(this.topLeft.x, this.topRight.x, this.bottomLeft.x, this.bottomRight.x);
    -    this._cache.right = Phaser.Math.max(this.topLeft.x, this.topRight.x, this.bottomLeft.x, this.bottomRight.x);
    -    this._cache.top = Phaser.Math.min(this.topLeft.y, this.topRight.y, this.bottomLeft.y, this.bottomRight.y);
    -    this._cache.bottom = Phaser.Math.max(this.topLeft.y, this.topRight.y, this.bottomLeft.y, this.bottomRight.y);
    -
    -    this.bounds.setTo(this._cache.left, this._cache.top, this._cache.right - this._cache.left, this._cache.bottom - this._cache.top);
    -
    -    //  This is the coordinate the Bullet was at when the last bounds was created
    -    this._cache.boundsX = this._cache.x;
    -    this._cache.boundsY = this._cache.y;
    -
    -    if (this.inWorld == false)
    -    {
    -        //  Bullet WAS out of the screen, is it still?
    -        this.inWorld = Phaser.Rectangle.intersects(this.bounds, this.game.world.bounds, this.inWorldThreshold);
    -
    -        if (this.inWorld)
    -        {
    -            //  It's back again, reset the OOB check
    -            this._outOfBoundsFired = false;
    -        }
    -    }
    -    else
    -    {
    -        //   Bullet WAS in the screen, has it now left?
    -        this.inWorld = Phaser.Rectangle.intersects(this.bounds, this.game.world.bounds, this.inWorldThreshold);
    -
    -        if (this.inWorld == false)
    -        {
    -            this.events.onOutOfBounds.dispatch(this);
    -            this._outOfBoundsFired = true;
    -
    -            if (this.outOfBoundsKill)
    -            {
    -                this.kill();
    -            }
    -        }
    -    }
    -
    -}
    -
    -/**
    -* Description.
    -* 
    -* @method Phaser.Bullet.prototype.getLocalPosition
    -* @param {Description} p - Description.
    -* @param {number} x - Description.
    -* @param {number} y - Description.
    -* @return {Description} Description.
    -*/
    -Phaser.Bullet.prototype.getLocalPosition = function(p, x, y) {
    -
    -    p.x = ((this._cache.a11 * this._cache.id * x + -this._cache.a01 * this._cache.id * y + (this._cache.a12 * this._cache.a01 - this._cache.a02 * this._cache.a11) * this._cache.id) * this._cache.scaleX) + this._cache.a02;
    -    p.y = ((this._cache.a00 * this._cache.id * y + -this._cache.a10 * this._cache.id * x + (-this._cache.a12 * this._cache.a00 + this._cache.a02 * this._cache.a10) * this._cache.id) * this._cache.scaleY) + this._cache.a12;
    -
    -    return p;
    -
    -}
    -
    -/**
    -* Description.
    -* 
    -* @method Phaser.Bullet.prototype.bringToTop
    -*/
    -Phaser.Bullet.prototype.bringToTop = function() {
    -
    -    if (this.group)
    -    {
    -        this.group.bringToTop(this);
    -    }
    -    else
    -    {
    -        this.game.world.bringToTop(this);
    -    }
    -
    -}
    -
    -/**
    -* Indicates the rotation of the Bullet, in degrees, from its original orientation. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation.
    -* Values outside this range are added to or subtracted from 360 to obtain a value within the range. For example, the statement player.angle = 450 is the same as player.angle = 90.
    -* If you wish to work in radians instead of degrees use the property Bullet.rotation instead.
    -* @name Phaser.Bullet#angle
    -* @property {number} angle - Gets or sets the Bullets angle of rotation in degrees.
    -*/
    -Object.defineProperty(Phaser.Bullet.prototype, 'angle', {
    -
    -    get: function() {
    -        return Phaser.Math.wrapAngle(Phaser.Math.radToDeg(this.rotation));
    -    },
    -
    -    set: function(value) {
    -        this.rotation = Phaser.Math.degToRad(Phaser.Math.wrapAngle(value));
    -    }
    -
    -});
    -
    -/**
    -* Is this sprite visible to the camera or not?
    -* @returns {boolean}
    -*/
    -Object.defineProperty(Phaser.Bullet.prototype, "inCamera", {
    -    
    -    get: function () {
    -        return this._cache.cameraVisible;
    -    }
    -
    -});
    -
    -
    -
    - - - - - -
    - -
    -
    - - - - Phaser Copyright © 2012-2013 Photon Storm Ltd. - -
    - - - Documentation generated by JSDoc 3.3.0-dev - on Fri Oct 25 2013 17:05:24 GMT+0100 (BST) using the DocStrap template. - -
    -
    - - -
    -
    - -
    - - - - - - - - - - - - - - - - - - - - diff --git a/docs/Button.js.html b/docs/Button.js.html index 87c5050be0..fcdbc0b0ff 100644 --- a/docs/Button.js.html +++ b/docs/Button.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -388,14 +428,17 @@

    Source: gameobjects/Button.js

    */ /** -* Create a new `Button` object. A Button is a special type of Sprite that is set-up to handle Pointer events automatically. The four states a Button responds to are: -* 'Over' - when the Pointer moves over the Button. This is also commonly known as 'hover'. -* 'Out' - when the Pointer that was previously over the Button moves out of it. -* 'Down' - when the Pointer is pressed down on the Button. I.e. touched on a touch enabled device or clicked with the mouse. -* 'Up' - when the Pointer that was pressed down on the Button is released again. +* @class Phaser.Button +* +* @classdesc Create a new `Button` object. A Button is a special type of Sprite that is set-up to handle Pointer events automatically. The four states a Button responds to are: +* +* * 'Over' - when the Pointer moves over the Button. This is also commonly known as 'hover'. +* * 'Out' - when the Pointer that was previously over the Button moves out of it. +* * 'Down' - when the Pointer is pressed down on the Button. I.e. touched on a touch enabled device or clicked with the mouse. +* * 'Up' - when the Pointer that was pressed down on the Button is released again. +* * You can set a unique texture frame and Sound for any of these states. * -* @class Phaser.Button * @constructor * * @param {Phaser.Game} game Current game instance. @@ -416,67 +459,67 @@

    Source: gameobjects/Button.js

    callback = callback || null; callbackContext = callbackContext || this; - Phaser.Sprite.call(this, game, x, y, key, outFrame); + Phaser.Sprite.call(this, game, x, y, key, outFrame); - /** - * @property {number} type - The Phaser Object Type. - */ + /** + * @property {number} type - The Phaser Object Type. + */ this.type = Phaser.BUTTON; - /** - * @property {string} _onOverFrameName - Internal variable. - * @private - * @default - */ + /** + * @property {string} _onOverFrameName - Internal variable. + * @private + * @default + */ this._onOverFrameName = null; - /** - * @property {string} _onOutFrameName - Internal variable. - * @private - * @default - */ + /** + * @property {string} _onOutFrameName - Internal variable. + * @private + * @default + */ this._onOutFrameName = null; - /** - * @property {string} _onDownFrameName - Internal variable. - * @private - * @default - */ + /** + * @property {string} _onDownFrameName - Internal variable. + * @private + * @default + */ this._onDownFrameName = null; - /** - * @property {string} _onUpFrameName - Internal variable. - * @private - * @default - */ + /** + * @property {string} _onUpFrameName - Internal variable. + * @private + * @default + */ this._onUpFrameName = null; - /** - * @property {number} _onOverFrameID - Internal variable. - * @private - * @default - */ + /** + * @property {number} _onOverFrameID - Internal variable. + * @private + * @default + */ this._onOverFrameID = null; - /** - * @property {number} _onOutFrameID - Internal variable. - * @private - * @default - */ + /** + * @property {number} _onOutFrameID - Internal variable. + * @private + * @default + */ this._onOutFrameID = null; - /** - * @property {number} _onDownFrameID - Internal variable. - * @private - * @default - */ + /** + * @property {number} _onDownFrameID - Internal variable. + * @private + * @default + */ this._onDownFrameID = null; - /** - * @property {number} _onUpFrameID - Internal variable. - * @private - * @default - */ + /** + * @property {number} _onUpFrameID - Internal variable. + * @private + * @default + */ this._onUpFrameID = null; /** @@ -527,25 +570,25 @@

    Source: gameobjects/Button.js

    */ this.onUpSoundMarker = ''; - /** - * @property {Phaser.Signal} onInputOver - The Signal (or event) dispatched when this Button is in an Over state. - */ - this.onInputOver = new Phaser.Signal; + /** + * @property {Phaser.Signal} onInputOver - The Signal (or event) dispatched when this Button is in an Over state. + */ + this.onInputOver = new Phaser.Signal(); - /** - * @property {Phaser.Signal} onInputOut - The Signal (or event) dispatched when this Button is in an Out state. - */ - this.onInputOut = new Phaser.Signal; + /** + * @property {Phaser.Signal} onInputOut - The Signal (or event) dispatched when this Button is in an Out state. + */ + this.onInputOut = new Phaser.Signal(); - /** - * @property {Phaser.Signal} onInputDown - The Signal (or event) dispatched when this Button is in an Down state. - */ - this.onInputDown = new Phaser.Signal; + /** + * @property {Phaser.Signal} onInputDown - The Signal (or event) dispatched when this Button is in an Down state. + */ + this.onInputDown = new Phaser.Signal(); - /** - * @property {Phaser.Signal} onInputUp - The Signal (or event) dispatched when this Button is in an Up state. - */ - this.onInputUp = new Phaser.Signal; + /** + * @property {Phaser.Signal} onInputUp - The Signal (or event) dispatched when this Button is in an Up state. + */ + this.onInputUp = new Phaser.Signal(); /** * @property {boolean} freezeFrames - When true the Button will cease to change texture frame on all events (over, out, up, down). @@ -620,7 +663,7 @@

    Source: gameobjects/Button.js

    this._onOutFrameName = outFrame; this._onUpFrameName = outFrame; - if (this.input.pointerOver() == false) + if (this.input.pointerOver() === false) { this.frameName = outFrame; } @@ -630,7 +673,7 @@

    Source: gameobjects/Button.js

    this._onOutFrameID = outFrame; this._onUpFrameID = outFrame; - if (this.input.pointerOver() == false) + if (this.input.pointerOver() === false) { this.frame = outFrame; } @@ -790,7 +833,7 @@

    Source: gameobjects/Button.js

    */ Phaser.Button.prototype.onInputOverHandler = function (pointer) { - if (this.freezeFrames == false) + if (this.freezeFrames === false) { if (this._onOverFrameName != null) { @@ -822,7 +865,7 @@

    Source: gameobjects/Button.js

    */ Phaser.Button.prototype.onInputOutHandler = function (pointer) { - if (this.freezeFrames == false) + if (this.freezeFrames === false) { if (this._onOutFrameName != null) { @@ -854,7 +897,7 @@

    Source: gameobjects/Button.js

    */ Phaser.Button.prototype.onInputDownHandler = function (pointer) { - if (this.freezeFrames == false) + if (this.freezeFrames === false) { if (this._onDownFrameName != null) { @@ -886,7 +929,7 @@

    Source: gameobjects/Button.js

    */ Phaser.Button.prototype.onInputUpHandler = function (pointer) { - if (this.freezeFrames == false) + if (this.freezeFrames === false) { if (this._onUpFrameName != null) { @@ -903,7 +946,7 @@

    Source: gameobjects/Button.js

    this.onUpSound.play(this.onUpSoundMarker); } - if (this.forceOut && this.freezeFrames == false) + if (this.forceOut && this.freezeFrames === false) { if (this._onOutFrameName != null) { @@ -942,7 +985,7 @@

    Source: gameobjects/Button.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Cache.js.html b/docs/Cache.js.html index 5ae177836e..b6f9b4f44f 100644 --- a/docs/Cache.js.html +++ b/docs/Cache.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -399,44 +439,44 @@

    Source: loader/Cache.js

    Phaser.Cache = function (game) { /** - * @property {Phaser.Game} game - Local reference to game. - */ - this.game = game; - - /** - * @property {object} game - Canvas key-value container. - * @private - */ + * @property {Phaser.Game} game - Local reference to game. + */ + this.game = game; + + /** + * @property {object} game - Canvas key-value container. + * @private + */ this._canvases = {}; /** - * @property {object} _images - Image key-value container. - * @private - */ + * @property {object} _images - Image key-value container. + * @private + */ this._images = {}; /** - * @property {object} _textures - RenderTexture key-value container. - * @private - */ + * @property {object} _textures - RenderTexture key-value container. + * @private + */ this._textures = {}; /** - * @property {object} _sounds - Sound key-value container. - * @private - */ + * @property {object} _sounds - Sound key-value container. + * @private + */ this._sounds = {}; /** - * @property {object} _text - Text key-value container. - * @private - */ + * @property {object} _text - Text key-value container. + * @private + */ this._text = {}; /** - * @property {object} _tilemaps - Tilemap key-value container. - * @private - */ + * @property {object} _tilemaps - Tilemap key-value container. + * @private + */ this._tilemaps = {}; /** @@ -445,12 +485,19 @@

    Source: loader/Cache.js

    */ this._tilesets = {}; + /** + * @property {object} _bitmapDatas - BitmapData key-value container. + * @private + */ + this._bitmapDatas = {}; + this.addDefaultImage(); + this.addMissingImage(); /** - * @property {Phaser.Signal} onSoundUnlock - Description. - */ - this.onSoundUnlock = new Phaser.Signal; + * @property {Phaser.Signal} onSoundUnlock - This event is dispatched when the sound system is unlocked via a touch event on cellular devices. + */ + this.onSoundUnlock = new Phaser.Signal(); }; @@ -469,12 +516,27 @@

    Source: loader/Cache.js

    }, + /** + * Add a BitmapData object in to the cache. + * @method Phaser.Cache#addBitmapData + * @param {string} key - Asset key for this BitmapData. + * @param {Phaser.BitmapData} bitmapData - The BitmapData object to be addded to the cache. + * @return {Phaser.BitmapData} The BitmapData object to be addded to the cache. + */ + addBitmapData: function (key, bitmapData) { + + this._bitmapDatas[key] = bitmapData; + + return bitmapData; + + }, + /** * Add a new Phaser.RenderTexture in to the cache. * * @method Phaser.Cache#addRenderTexture * @param {string} key - The unique key by which you will reference this object. - * @param {Phaser.Texture} textue - The texture to use as the base of the RenderTexture. + * @param {Phaser.Texture} texture - The texture to use as the base of the RenderTexture. */ addRenderTexture: function (key, texture) { @@ -601,14 +663,14 @@

    Source: loader/Cache.js

    }, /** - * Adds a default image to be used when a key is wrong / missing. Is mapped to the key __default. + * Adds a default image to be used in special cases such as WebGL Filters. Is mapped to the key __default. * * @method Phaser.Cache#addDefaultImage */ addDefaultImage: function () { var img = new Image(); - img.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ9JREFUeNq01ssOwyAMRFG46v//Mt1ESmgh+DFmE2GPOBARKb2NVjo+17PXLD8a1+pl5+A+wSgFygymWYHBb0FtsKhJDdZlncG2IzJ4ayoMDv20wTmSMzClEgbWYNTAkQ0Z+OJ+A/eWnAaR9+oxCF4Os0H8htsMUp+pwcgBBiMNnAwF8GqIgL2hAzaGFFgZauDPKABmowZ4GL369/0rwACp2yA/ttmvsQAAAABJRU5ErkJggg=="; + img.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgAQMAAABJtOi3AAAAA1BMVEX///+nxBvIAAAAAXRSTlMAQObYZgAAABVJREFUeF7NwIEAAAAAgKD9qdeocAMAoAABm3DkcAAAAABJRU5ErkJggg=="; this._images['__default'] = { url: null, data: img, spriteSheet: false }; this._images['__default'].frame = new Phaser.Frame(0, 0, 0, 32, 32, '', ''); @@ -618,6 +680,24 @@

    Source: loader/Cache.js

    }, + /** + * Adds an image to be used when a key is wrong / missing. Is mapped to the key __missing. + * + * @method Phaser.Cache#addMissingImage + */ + addMissingImage: function () { + + var img = new Image(); + img.src = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAJ9JREFUeNq01ssOwyAMRFG46v//Mt1ESmgh+DFmE2GPOBARKb2NVjo+17PXLD8a1+pl5+A+wSgFygymWYHBb0FtsKhJDdZlncG2IzJ4ayoMDv20wTmSMzClEgbWYNTAkQ0Z+OJ+A/eWnAaR9+oxCF4Os0H8htsMUp+pwcgBBiMNnAwF8GqIgL2hAzaGFFgZauDPKABmowZ4GL369/0rwACp2yA/ttmvsQAAAABJRU5ErkJggg=="; + + this._images['__missing'] = { url: null, data: img, spriteSheet: false }; + this._images['__missing'].frame = new Phaser.Frame(0, 0, 0, 32, 32, '', ''); + + PIXI.BaseTextureCache['__missing'] = new PIXI.BaseTexture(img); + PIXI.TextureCache['__missing'] = new PIXI.Texture(PIXI.BaseTextureCache['__missing']); + + }, + /** * Add a new text data. * @@ -625,7 +705,7 @@

    Source: loader/Cache.js

    * @param {string} key - Asset key for the text data. * @param {string} url - URL of this text data file. * @param {object} data - Extra text data. - */ + */ addText: function (key, url, data) { this._text[key] = { @@ -669,7 +749,6 @@

    Source: loader/Cache.js

    webAudio = webAudio || true; audioTag = audioTag || false; - var locked = this.game.sound.touchLocked; var decoded = false; if (audioTag) @@ -731,13 +810,13 @@

    Source: loader/Cache.js

    }, - /** - * Add a new decoded sound. + /** + * Add a new decoded sound. * * @method Phaser.Cache#decodedSound - * @param {string} key - Asset key for the sound. - * @param {object} data - Extra sound data. - */ + * @param {string} key - Asset key for the sound. + * @param {object} data - Extra sound data. + */ decodedSound: function (key, data) { this._sounds[key].data = data; @@ -746,13 +825,13 @@

    Source: loader/Cache.js

    }, - /** - * Get acanvas object from the cache by its key. + /** + * Get a canvas object from the cache by its key. * * @method Phaser.Cache#getCanvas - * @param {string} key - Asset key of the canvas you want. - * @return {object} The canvas you want. - */ + * @param {string} key - Asset key of the canvas you want. + * @return {object} The canvas you want. + */ getCanvas: function (key) { if (this._canvases[key]) @@ -761,6 +840,25 @@

    Source: loader/Cache.js

    } return null; + + }, + + /** + * Get a BitmapData object from the cache by its key. + * + * @method Phaser.Cache#getBitmapData + * @param {string} key - Asset key of the BitmapData object you want. + * @return {Phaser.BitmapData} The requested BitmapData object if found, or null if not. + */ + getBitmapData: function (key) { + + if (this._bitmapDatas[key]) + { + return this._bitmapDatas[key]; + } + + return null; + }, /** @@ -769,7 +867,7 @@

    Source: loader/Cache.js

    * @method Phaser.Cache#checkImageKey * @param {string} key - Asset key of the image you want. * @return {boolean} True if the key exists, otherwise false. - */ + */ checkImageKey: function (key) { if (this._images[key]) @@ -781,13 +879,13 @@

    Source: loader/Cache.js

    }, - /** - * Get image data by key. + /** + * Get image data by key. * * @method Phaser.Cache#getImage - * @param {string} key - Asset key of the image you want. - * @return {object} The image data you want. - */ + * @param {string} key - Asset key of the image you want. + * @return {object} The image data you want. + */ getImage: function (key) { if (this._images[key]) @@ -796,6 +894,7 @@

    Source: loader/Cache.js

    } return null; + }, /** @@ -804,7 +903,7 @@

    Source: loader/Cache.js

    * @method Phaser.Cache#getTileSetImage * @param {string} key - Asset key of the image you want. * @return {object} The image data you want. - */ + */ getTilesetImage: function (key) { if (this._tilesets[key]) @@ -822,7 +921,7 @@

    Source: loader/Cache.js

    * @method Phaser.Cache#getTileset * @param {string} key - Asset key of the image you want. * @return {Phaser.Tileset} The tileset data. The tileset image is in the data property, the tile data in tileData. - */ + */ getTileset: function (key) { if (this._tilesets[key]) @@ -851,13 +950,13 @@

    Source: loader/Cache.js

    return null; }, - /** - * Get frame data by key. + /** + * Get frame data by key. * * @method Phaser.Cache#getFrameData - * @param {string} key - Asset key of the frame data you want. - * @return {Phaser.FrameData} The frame data you want. - */ + * @param {string} key - Asset key of the frame data you want. + * @return {Phaser.FrameData} The frame data you want. + */ getFrameData: function (key) { if (this._images[key] && this._images[key].frameData) @@ -911,7 +1010,7 @@

    Source: loader/Cache.js

    */ getFrame: function (key) { - if (this._images[key] && this._images[key].spriteSheet == false) + if (this._images[key] && this._images[key].spriteSheet === false) { return this._images[key].frame; } @@ -954,13 +1053,13 @@

    Source: loader/Cache.js

    }, - /** - * Get sound by key. + /** + * Get sound by key. * * @method Phaser.Cache#getSound - * @param {string} key - Asset key of the sound you want. - * @return {Phaser.Sound} The sound you want. - */ + * @param {string} key - Asset key of the sound you want. + * @return {Phaser.Sound} The sound you want. + */ getSound: function (key) { if (this._sounds[key]) @@ -972,13 +1071,13 @@

    Source: loader/Cache.js

    }, - /** - * Get sound data by key. + /** + * Get sound data by key. * * @method Phaser.Cache#getSoundData - * @param {string} key - Asset key of the sound you want. - * @return {object} The sound data you want. - */ + * @param {string} key - Asset key of the sound you want. + * @return {object} The sound data you want. + */ getSoundData: function (key) { if (this._sounds[key]) @@ -990,13 +1089,13 @@

    Source: loader/Cache.js

    }, - /** - * Check if the given sound has finished decoding. + /** + * Check if the given sound has finished decoding. * * @method Phaser.Cache#isSoundDecoded - * @param {string} key - Asset key of the sound you want. - * @return {boolean} The decoded state of the Sound object. - */ + * @param {string} key - Asset key of the sound you want. + * @return {boolean} The decoded state of the Sound object. + */ isSoundDecoded: function (key) { if (this._sounds[key]) @@ -1006,26 +1105,26 @@

    Source: loader/Cache.js

    }, - /** - * Check if the given sound is ready for playback. A sound is considered ready when it has finished decoding and the device is no longer touch locked. + /** + * Check if the given sound is ready for playback. A sound is considered ready when it has finished decoding and the device is no longer touch locked. * * @method Phaser.Cache#isSoundReady - * @param {string} key - Asset key of the sound you want. - * @return {boolean} True if the sound is decoded and the device is not touch locked. - */ + * @param {string} key - Asset key of the sound you want. + * @return {boolean} True if the sound is decoded and the device is not touch locked. + */ isSoundReady: function (key) { - return (this._sounds[key] && this._sounds[key].decoded && this.game.sound.touchLocked == false); + return (this._sounds[key] && this._sounds[key].decoded && this.game.sound.touchLocked === false); }, - /** - * Check whether an image asset is sprite sheet or not. + /** + * Check whether an image asset is sprite sheet or not. * * @method Phaser.Cache#isSpriteSheet - * @param {string} key - Asset key of the sprite sheet you want. - * @return {boolean} True if the image is a sprite sheet. - */ + * @param {string} key - Asset key of the sprite sheet you want. + * @return {boolean} True if the image is a sprite sheet. + */ isSpriteSheet: function (key) { if (this._images[key]) @@ -1037,13 +1136,13 @@

    Source: loader/Cache.js

    }, - /** - * Get text data by key. + /** + * Get text data by key. * * @method Phaser.Cache#getText - * @param {string} key - Asset key of the text data you want. - * @return {object} The text data you want. - */ + * @param {string} key - Asset key of the text data you want. + * @return {object} The text data you want. + */ getText: function (key) { if (this._text[key]) @@ -1079,42 +1178,42 @@

    Source: loader/Cache.js

    }, - /** - * Returns an array containing all of the keys of Images in the Cache. + /** + * Returns an array containing all of the keys of Images in the Cache. * * @method Phaser.Cache#getImageKeys - * @return {Array} The string based keys in the Cache. - */ + * @return {Array} The string based keys in the Cache. + */ getImageKeys: function () { - return this.getKeys(this._images); + return this.getKeys(this._images); }, - /** - * Returns an array containing all of the keys of Sounds in the Cache. + /** + * Returns an array containing all of the keys of Sounds in the Cache. * * @method Phaser.Cache#getSoundKeys - * @return {Array} The string based keys in the Cache. - */ + * @return {Array} The string based keys in the Cache. + */ getSoundKeys: function () { - return this.getKeys(this._sounds); + return this.getKeys(this._sounds); }, - /** - * Returns an array containing all of the keys of Text Files in the Cache. + /** + * Returns an array containing all of the keys of Text Files in the Cache. * * @method Phaser.Cache#getTextKeys - * @return {Array} The string based keys in the Cache. - */ + * @return {Array} The string based keys in the Cache. + */ getTextKeys: function () { - return this.getKeys(this._text); + return this.getKeys(this._text); }, - /** - * Removes a canvas from the cache. + /** + * Removes a canvas from the cache. * - * @method Phaser.Cache#removeCanvas + * @method Phaser.Cache#removeCanvas * @param {string} key - Key of the asset you want to remove. - */ + */ removeCanvas: function (key) { delete this._canvases[key]; }, @@ -1149,11 +1248,11 @@

    Source: loader/Cache.js

    delete this._text[key]; }, - /** - * Clears the cache. Removes every local cache object reference. + /** + * Clears the cache. Removes every local cache object reference. * - * @method Phaser.Cache#destroy - */ + * @method Phaser.Cache#destroy + */ destroy: function () { for (var item in this._canvases) @@ -1199,7 +1298,7 @@

    Source: loader/Cache.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Camera.js.html b/docs/Camera.js.html index 042ab50ede..ee194b887e 100644 --- a/docs/Camera.js.html +++ b/docs/Camera.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -402,35 +442,35 @@

    Source: core/Camera.js

    */ Phaser.Camera = function (game, id, x, y, width, height) { - /** - * @property {Phaser.Game} game - A reference to the currently running Game. - */ - this.game = game; - - /** - * @property {Phaser.World} world - A reference to the game world. - */ - this.world = game.world; - - /** - * @property {number} id - Reserved for future multiple camera set-ups. - * @default - */ - this.id = 0; - - /** - * Camera view. - * The view into the world we wish to render (by default the game dimensions). + /** + * @property {Phaser.Game} game - A reference to the currently running Game. + */ + this.game = game; + + /** + * @property {Phaser.World} world - A reference to the game world. + */ + this.world = game.world; + + /** + * @property {number} id - Reserved for future multiple camera set-ups. + * @default + */ + this.id = 0; + + /** + * Camera view. + * The view into the world we wish to render (by default the game dimensions). * The x/y values are in world coordinates, not screen coordinates, the width/height is how many pixels to render. * Objects outside of this view are not rendered (unless set to ignore the Camera, i.e. UI?). - * @property {Phaser.Rectangle} view - */ + * @property {Phaser.Rectangle} view + */ this.view = new Phaser.Rectangle(x, y, width, height); /** - * @property {Phaser.Rectangle} screenView - Used by Sprites to work out Camera culling. - */ - this.screenView = new Phaser.Rectangle(x, y, width, height); + * @property {Phaser.Rectangle} screenView - Used by Sprites to work out Camera culling. + */ + this.screenView = new Phaser.Rectangle(x, y, width, height); /** * The Camera is bound to this Rectangle and cannot move outside of it. By default it is enabled and set to the size of the World. @@ -441,36 +481,36 @@

    Source: core/Camera.js

    this.bounds = new Phaser.Rectangle(x, y, width, height); /** - * @property {Phaser.Rectangle} deadzone - Moving inside this Rectangle will not cause camera moving. - */ + * @property {Phaser.Rectangle} deadzone - Moving inside this Rectangle will not cause camera moving. + */ this.deadzone = null; - /** - * @property {boolean} visible - Whether this camera is visible or not. - * @default - */ + /** + * @property {boolean} visible - Whether this camera is visible or not. + * @default + */ this.visible = true; - /** - * @property {boolean} atLimit - Whether this camera is flush with the World Bounds or not. + /** + * @property {boolean} atLimit - Whether this camera is flush with the World Bounds or not. */ this.atLimit = { x: false, y: false }; - /** - * @property {Phaser.Sprite} target - If the camera is tracking a Sprite, this is a reference to it, otherwise null. + /** + * @property {Phaser.Sprite} target - If the camera is tracking a Sprite, this is a reference to it, otherwise null. * @default */ this.target = null; - /** - * @property {number} edge - Edge property. + /** + * @property {number} edge - Edge property. * @private * @default */ this._edge = 0; this.displayObject = null; - + }; /** @@ -499,7 +539,7 @@

    Source: core/Camera.js

    Phaser.Camera.prototype = { - /** + /** * Tells this camera which sprite to follow. * @method Phaser.Camera#follow * @param {Phaser.Sprite} target - The object you want the camera to track. Set to null to not follow anything. @@ -532,6 +572,9 @@

    Source: core/Camera.js

    break; case Phaser.Camera.FOLLOW_LOCKON: + this.deadzone = null; + break; + default: this.deadzone = null; break; @@ -550,7 +593,7 @@

    Source: core/Camera.js

    }, - /** + /** * Move the camera focus on a location instantly. * @method Phaser.Camera#focusOnXY * @param {number} x - X position. @@ -562,7 +605,7 @@

    Source: core/Camera.js

    }, - /** + /** * Update focusing and scrolling. * @method Phaser.Camera#update */ @@ -731,7 +774,7 @@

    Source: core/Camera.js

    * @property {number} y - Gets or sets the cameras y position. */ Object.defineProperty(Phaser.Camera.prototype, "y", { - + get: function () { return this.view.y; }, @@ -802,7 +845,7 @@

    Source: core/Camera.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Canvas.js.html b/docs/Canvas.js.html index b197843e1d..a10e0bbecb 100644 --- a/docs/Canvas.js.html +++ b/docs/Canvas.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -423,10 +463,10 @@

    Source: system/Canvas.js

    * @param {HTMLElement} element - The targeted element that we want to retrieve the offset. * @param {Phaser.Point} [point] - The point we want to take the x/y values of the offset. * @return {Phaser.Point} - A point objet with the offsetX and Y as its properties. - */ + */ getOffset: function (element, point) { - point = point || new Phaser.Point; + point = point || new Phaser.Point(); var box = element.getBoundingClientRect(); var clientTop = element.clientTop || document.body.clientTop || 0; @@ -447,7 +487,7 @@

    Source: system/Canvas.js

    * @method Phaser.Canvas.getAspectRatio * @param {HTMLCanvasElement} canvas - The canvas to get the aspect ratio from. * @return {number} The ratio between canvas' width and height. - */ + */ getAspectRatio: function (canvas) { return canvas.width / canvas.height; }, @@ -520,37 +560,43 @@

    Source: system/Canvas.js

    * * @method Phaser.Canvas.addToDOM * @param {HTMLCanvasElement} canvas - The canvas to set the touch action on. - * @param {string} parent - The DOM element to add the canvas to. Defaults to ''. + * @param {string|HTMLElement} parent - The DOM element to add the canvas to. Defaults to ''. * @param {boolean} overflowHidden - If set to true it will add the overflow='hidden' style to the parent DOM element. * @return {HTMLCanvasElement} Returns the source canvas. */ addToDOM: function (canvas, parent, overflowHidden) { - parent = parent || ''; + var target; if (typeof overflowHidden === 'undefined') { overflowHidden = true; } - if (parent !== '') + if (parent) { - if (document.getElementById(parent)) + // hopefully an element ID + if (typeof parent === 'string') { - document.getElementById(parent).appendChild(canvas); - - if (overflowHidden) - { - document.getElementById(parent).style.overflow = 'hidden'; - } + target = document.getElementById(parent); } - else + // quick test for a HTMLelement + else if (typeof parent === 'object' && parent.nodeType === 1) { - document.body.appendChild(canvas); + target = parent; + } + + if (overflowHidden) + { + target.style.overflow = 'hidden'; } } - else + + // fallback, covers an invalid ID and a none HTMLelement object + if(!target) { - document.body.appendChild(canvas); + target = document.body; } + target.appendChild(canvas); + return canvas; }, @@ -658,7 +704,7 @@

    Source: system/Canvas.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Circle.js.html b/docs/Circle.js.html index 87783e6e8d..41f1a8a51f 100644 --- a/docs/Circle.js.html +++ b/docs/Circle.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -396,7 +436,7 @@

    Source: geom/Circle.js

    * @param {number} [y] The y coordinate of the center of the circle. * @param {number} [diameter] The diameter of the circle. * @return {Phaser.Circle} This circle object -**/ +*/ Phaser.Circle = function (x, y, diameter) { x = x || 0; @@ -405,26 +445,26 @@

    Source: geom/Circle.js

    /** * @property {number} x - The x coordinate of the center of the circle. - **/ + */ this.x = x; /** * @property {number} y - The y coordinate of the center of the circle. - **/ + */ this.y = y; /** * @property {number} _diameter - The diameter of the circle. * @private - **/ + */ this._diameter = diameter; if (diameter > 0) { - /** - * @property {number} _radius - The radius of the circle. - * @private - **/ + /** + * @property {number} _radius - The radius of the circle. + * @private + */ this._radius = diameter * 0.5; } else @@ -440,7 +480,7 @@

    Source: geom/Circle.js

    * The circumference of the circle. * @method Phaser.Circle#circumference * @return {number} - **/ + */ circumference: function () { return 2 * (Math.PI * this._radius); }, @@ -452,7 +492,7 @@

    Source: geom/Circle.js

    * @param {number} y - The y coordinate of the center of the circle. * @param {number} diameter - The diameter of the circle in pixels. * @return {Circle} This circle object. - **/ + */ setTo: function (x, y, diameter) { this.x = x; this.y = y; @@ -466,7 +506,7 @@

    Source: geom/Circle.js

    * @method Phaser.Circle#copyFrom * @param {any} source - The object to copy from. * @return {Circle} This Circle object. - **/ + */ copyFrom: function (source) { return this.setTo(source.x, source.y, source.diameter); }, @@ -476,11 +516,11 @@

    Source: geom/Circle.js

    * @method Phaser.Circle#copyTo * @param {any} dest - The object to copy to. * @return {Object} This dest object. - **/ + */ copyTo: function(dest) { - dest[x] = this.x; - dest[y] = this.y; - dest[diameter] = this._diameter; + dest.x = this.x; + dest.y = this.y; + dest.diameter = this._diameter; return dest; }, @@ -517,7 +557,7 @@

    Source: geom/Circle.js

    if (typeof out === "undefined") { out = new Phaser.Circle(); } - return out.setTo(a.x, a.y, a.diameter); + return out.setTo(this.x, this.y, this.diameter); }, @@ -550,7 +590,7 @@

    Source: geom/Circle.js

    * @param {number} dx - Moves the x value of the Circle object by this amount. * @param {number} dy - Moves the y value of the Circle object by this amount. * @return {Circle} This Circle object. - **/ + */ offset: function (dx, dy) { this.x += dx; this.y += dy; @@ -562,7 +602,7 @@

    Source: geom/Circle.js

    * @method Phaser.Circle#offsetPoint * @param {Point} point A Point object to use to offset this Circle object (or any valid object with exposed x and y properties). * @return {Circle} This Circle object. - **/ + */ offsetPoint: function (point) { return this.offset(point.x, point.y); }, @@ -571,7 +611,7 @@

    Source: geom/Circle.js

    * Returns a string representation of this object. * @method Phaser.Circle#toString * @return {string} a string representation of the instance. - **/ + */ toString: function () { return "[{Phaser.Circle (x=" + this.x + " y=" + this.y + " diameter=" + this.diameter + " radius=" + this.radius + ")}]"; } @@ -734,11 +774,16 @@

    Source: geom/Circle.js

    Object.defineProperty(Phaser.Circle.prototype, "empty", { get: function () { - return (this._diameter == 0); + return (this._diameter === 0); }, set: function (value) { - this.setTo(0, 0, 0); + + if (value === true) + { + this.setTo(0, 0, 0); + } + } }); @@ -872,7 +917,7 @@

    Source: geom/Circle.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Color.js.html b/docs/Color.js.html index ae9f9a8ed1..904f01d04d 100644 --- a/docs/Color.js.html +++ b/docs/Color.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -398,6 +438,7 @@

    Source: utils/Color.js

    * Given an alpha and 3 color values this will return an integer representation of it. * * @method Phaser.Color.getColor32 + * @static * @param {number} alpha - The Alpha value (between 0 and 255). * @param {number} red - The Red channel value (between 0 and 255). * @param {number} green - The Green channel value (between 0 and 255). @@ -412,6 +453,7 @@

    Source: utils/Color.js

    * Given 3 color values this will return an integer representation of it. * * @method Phaser.Color.getColor + * @static * @param {number} red - The Red channel value (between 0 and 255). * @param {number} green - The Green channel value (between 0 and 255). * @param {number} blue - The Blue channel value (between 0 and 255). @@ -422,17 +464,19 @@

    Source: utils/Color.js

    }, /** - * Converts the given hex string into an object containing the RGB values. + * Converts the given hex string into an integer color value. * * @method Phaser.Color.hexToRGB + * @static * @param {string} h - The string hex color to convert. - * @returns {object} An object with 3 properties: r,g and b. + * @returns {number} The rgb color value. */ hexToRGB: function (h) { var hex16 = (h.charAt(0) == "#") ? h.substring(1, 7) : h; - if (hex16.length==3) { + if (hex16.length==3) + { hex16 = hex16.charAt(0) + hex16.charAt(0) + hex16.charAt(1) + hex16.charAt(1) + hex16.charAt(2) + hex16.charAt(2); } @@ -449,6 +493,7 @@

    Source: utils/Color.js

    * RGB format information and HSL information. Each section starts on a newline, 3 lines in total. * * @method Phaser.Color.getColorInfo + * @static * @param {number} color - A color value in the format 0xAARRGGBB. * @returns {string} String containing the 3 lines of information. */ @@ -457,13 +502,13 @@

    Source: utils/Color.js

    var argb = Phaser.Color.getRGB(color); var hsl = Phaser.Color.RGBtoHSV(color); - // Hex format + // Hex format var result = Phaser.Color.RGBtoHexstring(color) + "\n"; - // RGB format + // RGB format result = result.concat("Alpha: " + argb.alpha + " Red: " + argb.red + " Green: " + argb.green + " Blue: " + argb.blue) + "\n"; - // HSL info + // HSL info result = result.concat("Hue: " + hsl.hue + " Saturation: " + hsl.saturation + " Lightnes: " + hsl.lightness); return result; @@ -474,6 +519,7 @@

    Source: utils/Color.js

    * Return a string representation of the color in the format 0xAARRGGBB. * * @method Phaser.Color.RGBtoHexstring + * @static * @param {number} color - The color to get the string representation for * @returns {string} A string of length 10 characters in the format 0xAARRGGBB */ @@ -489,6 +535,7 @@

    Source: utils/Color.js

    * Return a string representation of the color in the format #RRGGBB. * * @method Phaser.Color.RGBtoWebstring + * @static * @param {number} color - The color to get the string representation for. * @returns {string} A string of length 10 characters in the format 0xAARRGGBB. */ @@ -504,6 +551,7 @@

    Source: utils/Color.js

    * Return a string containing a hex representation of the given color. * * @method Phaser.Color.colorToHexstring + * @static * @param {number} color - The color channel to get the hex value for, must be a value between 0 and 255). * @returns {string} A string of length 2 characters, i.e. 255 = FF, 0 = 00. */ @@ -520,11 +568,12 @@

    Source: utils/Color.js

    /** * Interpolates the two given colours based on the supplied step and currentStep properties. * @method Phaser.Color.interpolateColor - * @param {number} color1 - Description. - * @param {number} color2 - Description. - * @param {number} steps - Description. - * @param {number} currentStep - Description. - * @param {number} alpha - Description. + * @static + * @param {number} color1 - The first color value. + * @param {number} color2 - The second color value. + * @param {number} steps - The number of steps to run the interpolation over. + * @param {number} currentStep - The currentStep value. If the interpolation will take 100 steps, a currentStep value of 50 would be half-way between the two. + * @param {number} alpha - The alpha of the returned color. * @returns {number} The interpolated color value. */ interpolateColor: function (color1, color2, steps, currentStep, alpha) { @@ -544,12 +593,13 @@

    Source: utils/Color.js

    /** * Interpolates the two given colours based on the supplied step and currentStep properties. * @method Phaser.Color.interpolateColorWithRGB - * @param {number} color - Description. - * @param {number} r - Description. - * @param {number} g - Description. - * @param {number} b - Description. - * @param {number} steps - Description. - * @param {number} currentStep - Description. + * @static + * @param {number} color - The first color value. + * @param {number} r - The red color value, between 0 and 0xFF (255). + * @param {number} g - The green color value, between 0 and 0xFF (255). + * @param {number} b - The blue color value, between 0 and 0xFF (255). + * @param {number} steps - The number of steps to run the interpolation over. + * @param {number} currentStep - The currentStep value. If the interpolation will take 100 steps, a currentStep value of 50 would be half-way between the two. * @returns {number} The interpolated color value. */ interpolateColorWithRGB: function (color, r, g, b, steps, currentStep) { @@ -566,14 +616,15 @@

    Source: utils/Color.js

    /** * Interpolates the two given colours based on the supplied step and currentStep properties. * @method Phaser.Color.interpolateRGB - * @param {number} r1 - Description. - * @param {number} g1 - Description. - * @param {number} b1 - Description. - * @param {number} r2 - Description. - * @param {number} g2 - Description. - * @param {number} b2 - Description. - * @param {number} steps - Description. - * @param {number} currentStep - Description. + * @static + * @param {number} r1 - The red color value, between 0 and 0xFF (255). + * @param {number} g1 - The green color value, between 0 and 0xFF (255). + * @param {number} b1 - The blue color value, between 0 and 0xFF (255). + * @param {number} r2 - The red color value, between 0 and 0xFF (255). + * @param {number} g2 - The green color value, between 0 and 0xFF (255). + * @param {number} b2 - The blue color value, between 0 and 0xFF (255). + * @param {number} steps - The number of steps to run the interpolation over. + * @param {number} currentStep - The currentStep value. If the interpolation will take 100 steps, a currentStep value of 50 would be half-way between the two. * @returns {number} The interpolated color value. */ interpolateRGB: function (r1, g1, b1, r2, g2, b2, steps, currentStep) { @@ -588,10 +639,11 @@

    Source: utils/Color.js

    /** * Returns a random color value between black and white - * <p>Set the min value to start each channel from the given offset.</p> - * <p>Set the max value to restrict the maximum color used per channel</p> + * Set the min value to start each channel from the given offset. + * Set the max value to restrict the maximum color used per channel. * * @method Phaser.Color.getRandomColor + * @static * @param {number} min - The lowest value to use for the color. * @param {number} max - The highest value to use for the color. * @param {number} alpha - The alpha value of the returning color (default 255 = fully opaque). @@ -603,7 +655,7 @@

    Source: utils/Color.js

    if (typeof max === "undefined") { max = 255; } if (typeof alpha === "undefined") { alpha = 255; } - // Sanity checks + // Sanity checks if (max > 255) { return Phaser.Color.getColor(255, 255, 255); } @@ -623,9 +675,10 @@

    Source: utils/Color.js

    /** * Return the component parts of a color as an Object with the properties alpha, red, green, blue * - * <p>Alpha will only be set if it exist in the given color (0xAARRGGBB)</p> + * Alpha will only be set if it exist in the given color (0xAARRGGBB) * * @method Phaser.Color.getRGB + * @static * @param {number} color - Color in RGB (0xRRGGBB) or ARGB format (0xAARRGGBB). * @returns {object} An Object with properties: alpha, red, green, blue. */ @@ -643,6 +696,7 @@

    Source: utils/Color.js

    /** * Returns a CSS friendly string value from the given color. * @method Phaser.Color.getWebRGB + * @static * @param {number} color * @returns {string}A string in the format: 'rgba(r,g,b,a)' */ @@ -661,6 +715,7 @@

    Source: utils/Color.js

    * Given a native color value (in the format 0xAARRGGBB) this will return the Alpha component, as a value between 0 and 255. * * @method Phaser.Color.getAlpha + * @static * @param {number} color - In the format 0xAARRGGBB. * @returns {number} The Alpha component of the color, will be between 0 and 1 (0 being no Alpha (opaque), 1 full Alpha (transparent)). */ @@ -672,6 +727,7 @@

    Source: utils/Color.js

    * Given a native color value (in the format 0xAARRGGBB) this will return the Alpha component as a value between 0 and 1. * * @method Phaser.Color.getAlphaFloat + * @static * @param {number} color - In the format 0xAARRGGBB. * @returns {number} The Alpha component of the color, will be between 0 and 1 (0 being no Alpha (opaque), 1 full Alpha (transparent)). */ @@ -683,6 +739,7 @@

    Source: utils/Color.js

    * Given a native color value (in the format 0xAARRGGBB) this will return the Red component, as a value between 0 and 255. * * @method Phaser.Color.getRed + * @static * @param {number} color In the format 0xAARRGGBB. * @returns {number} The Red component of the color, will be between 0 and 255 (0 being no color, 255 full Red). */ @@ -694,6 +751,7 @@

    Source: utils/Color.js

    * Given a native color value (in the format 0xAARRGGBB) this will return the Green component, as a value between 0 and 255. * * @method Phaser.Color.getGreen + * @static * @param {number} color - In the format 0xAARRGGBB. * @returns {number} The Green component of the color, will be between 0 and 255 (0 being no color, 255 full Green). */ @@ -705,13 +763,14 @@

    Source: utils/Color.js

    * Given a native color value (in the format 0xAARRGGBB) this will return the Blue component, as a value between 0 and 255. * * @method Phaser.Color.getBlue + * @static * @param {number} color - In the format 0xAARRGGBB. * @returns {number} The Blue component of the color, will be between 0 and 255 (0 being no color, 255 full Blue). */ getBlue: function (color) { return color & 0xFF; } - + }; @@ -734,7 +793,7 @@

    Source: utils/Color.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Debug.js.html b/docs/Debug.js.html index fa17cedde6..05fb092908 100644 --- a/docs/Debug.js.html +++ b/docs/Debug.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -398,47 +438,47 @@

    Source: utils/Debug.js

    Phaser.Utils.Debug = function (game) { /** - * @property {Phaser.Game} game - A reference to the currently running Game. - */ + * @property {Phaser.Game} game - A reference to the currently running Game. + */ this.game = game; - /** - * @property {Context} context - The canvas context on which to render the debug information. - */ + /** + * @property {Context} context - The canvas context on which to render the debug information. + */ this.context = game.context; - /** - * @property {string} font - The font that the debug information is rendered in. - * @default '14px Courier' - */ + /** + * @property {string} font - The font that the debug information is rendered in. + * @default '14px Courier' + */ this.font = '14px Courier'; - /** - * @property {number} lineHeight - The line height between the debug text. - */ + /** + * @property {number} lineHeight - The line height between the debug text. + */ this.lineHeight = 16; - /** - * @property {boolean} renderShadow - Should the text be rendered with a slight shadow? Makes it easier to read on different types of background. - */ + /** + * @property {boolean} renderShadow - Should the text be rendered with a slight shadow? Makes it easier to read on different types of background. + */ this.renderShadow = true; - /** - * @property {Context} currentX - The current X position the debug information will be rendered at. - * @default - */ + /** + * @property {Context} currentX - The current X position the debug information will be rendered at. + * @default + */ this.currentX = 0; - /** - * @property {number} currentY - The current Y position the debug information will be rendered at. - * @default - */ + /** + * @property {number} currentY - The current Y position the debug information will be rendered at. + * @default + */ this.currentY = 0; - /** - * @property {number} currentAlpha - The current alpha the debug information will be rendered at. - * @default - */ + /** + * @property {number} currentAlpha - The current alpha the debug information will be rendered at. + * @default + */ this.currentAlpha = 1; }; @@ -567,13 +607,13 @@

    Source: utils/Debug.js

    }, /** - * Renders the corners and point information of the given Sprite. - * @method Phaser.Utils.Debug#renderSpriteCorners - * @param {Phaser.Sprite} sprite - The sprite to be rendered. - * @param {boolean} [showText=false] - If true the x/y coordinates of each point will be rendered. - * @param {boolean} [showBounds=false] - If true the bounds will be rendered over the top of the sprite. - * @param {string} [color='rgb(255,0,255)'] - The color the text is rendered in. - */ + * Renders the corners and point information of the given Sprite. + * @method Phaser.Utils.Debug#renderSpriteCorners + * @param {Phaser.Sprite} sprite - The sprite to be rendered. + * @param {boolean} [showText=false] - If true the x/y coordinates of each point will be rendered. + * @param {boolean} [showBounds=false] - If true the bounds will be rendered over the top of the sprite. + * @param {string} [color='rgb(255,0,255)'] - The color the text is rendered in. + */ renderSpriteCorners: function (sprite, showText, showBounds, color) { if (this.context == null) @@ -690,7 +730,7 @@

    Source: utils/Debug.js

    /** * Renders the Pointer.circle object onto the stage in green if down or red if up along with debug text. - * @method Phaser.Utils.Debug#renderDebug + * @method Phaser.Utils.Debug#renderPointer * @param {Phaser.Pointer} pointer - Description. * @param {boolean} [hideIfUp=false] - Doesn't render the circle if the pointer is up. * @param {string} [downColor='rgba(0,255,0,0.5)'] - The color the circle is rendered in if down. @@ -709,7 +749,7 @@

    Source: utils/Debug.js

    upColor = upColor || 'rgba(255,0,0,0.5)'; color = color || 'rgb(255,255,255)'; - if (hideIfUp == true && pointer.isUp == true) + if (hideIfUp === true && pointer.isUp === true) { return; } @@ -755,7 +795,7 @@

    Source: utils/Debug.js

    * @param {number} x - X position of the debug info to be rendered. * @param {number} y - Y position of the debug info to be rendered. * @param {string} [color='rgb(255,255,255)'] - color of the debug info to be rendered. (format is css color string). - */ + */ renderSpriteInputInfo: function (sprite, x, y, color) { color = color || 'rgb(255,255,255)'; @@ -771,13 +811,13 @@

    Source: utils/Debug.js

    }, /** - * Render Sprite collision. - * @method Phaser.Utils.Debug#renderSpriteCollision - * @param {Phaser.Sprite} sprite - The sprite to be rendered. - * @param {number} x - X position of the debug info to be rendered. - * @param {number} y - Y position of the debug info to be rendered. + * Render Sprite collision. + * @method Phaser.Utils.Debug#renderSpriteCollision + * @param {Phaser.Sprite} sprite - The sprite to be rendered. + * @param {number} x - X position of the debug info to be rendered. + * @param {number} y - Y position of the debug info to be rendered. * @param {string} [color='rgb(255,255,255)'] - color of the debug info to be rendered. (format is css color string). - */ + */ renderSpriteCollision: function (sprite, x, y, color) { color = color || 'rgb(255,255,255)'; @@ -1162,7 +1202,7 @@

    Source: utils/Debug.js

    * @param {number} y - Y position of the debug info to be rendered. * @param {string} [color] - Color of the debug info to be rendered (format is css color string). * @param {string} font - The font of text to draw. - */ + */ renderText: function (text, x, y, color, font) { if (this.context == null) @@ -1202,7 +1242,7 @@

    Source: utils/Debug.js

    var testObject = entity.last.next; entity = entity.first; - do + do { var name = entity.sprite.name || '*'; var nameNext = '-'; @@ -1283,7 +1323,7 @@

    Source: utils/Debug.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Device.js.html b/docs/Device.js.html index 26494d6367..d2be1bb75c 100644 --- a/docs/Device.js.html +++ b/docs/Device.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -417,6 +457,12 @@

    Source: system/Device.js

    */ this.iOS = false; + /** + * @property {boolean} cocoonJS - Is the game running under CocoonJS? + * @default + */ + this.cocoonJS = false; + /** * @property {boolean} android - Is running on android? * @default @@ -509,67 +555,78 @@

    Source: system/Device.js

    */ this.pointerLock = false; + /** + * @property {boolean} typedArray - Does the browser support TypedArrays? + * @default + */ + this.typedArray = false; + // Browser /** - * @property {boolean} arora - Is running in arora? + * @property {boolean} arora - Set to true if running in Arora. * @default */ this.arora = false; /** - * @property {boolean} chrome - Is running in chrome? + * @property {boolean} chrome - Set to true if running in Chrome. * @default */ this.chrome = false; /** - * @property {boolean} epiphany - Is running in epiphany? + * @property {boolean} epiphany - Set to true if running in Epiphany. * @default */ this.epiphany = false; /** - * @property {boolean} firefox - Is running in firefox? + * @property {boolean} firefox - Set to true if running in Firefox. * @default */ this.firefox = false; /** - * @property {boolean} ie - Is running in ie? + * @property {boolean} ie - Set to true if running in Internet Explorer. * @default */ this.ie = false; /** - * @property {number} ieVersion - Version of ie? + * @property {number} ieVersion - If running in Internet Explorer this will contain the major version number. * @default */ this.ieVersion = 0; /** - * @property {boolean} mobileSafari - Is running in mobileSafari? + * @property {boolean} mobileSafari - Set to true if running in Mobile Safari. * @default */ this.mobileSafari = false; /** - * @property {boolean} midori - Is running in midori? + * @property {boolean} midori - Set to true if running in Midori. * @default */ this.midori = false; /** - * @property {boolean} opera - Is running in opera? + * @property {boolean} opera - Set to true if running in Opera. * @default */ this.opera = false; /** - * @property {boolean} safari - Is running in safari? + * @property {boolean} safari - Set to true if running in Safari. * @default */ this.safari = false; + + /** + * @property {boolean} webApp - Set to true if running as a WebApp, i.e. within a WebView + * @default + */ this.webApp = false; // Audio @@ -609,6 +666,7 @@

    Source: system/Device.js

    * @default */ this.wav = false; + /** * Can this device play m4a files? * @property {boolean} m4a - True if this device can play m4a files. @@ -648,6 +706,12 @@

    Source: system/Device.js

    */ this.pixelRatio = 0; + /** + * @property {boolean} littleEndian - Is the device big or little endian? (only detected if the browser supports TypedArrays) + * @default + */ + this.littleEndian = false; + // Run the checks this._checkAudio(); this._checkBrowser(); @@ -719,11 +783,11 @@

    Source: system/Device.js

    this.worker = !!window['Worker']; - if ('ontouchstart' in document.documentElement || window.navigator.msPointerEnabled) { + if ('ontouchstart' in document.documentElement || (window.navigator.maxTouchPoints && window.navigator.maxTouchPoints > 1)) { this.touch = true; } - if (window.navigator.msPointerEnabled) { + if (window.navigator.msPointerEnabled || window.navigator.pointerEnabled) { this.mspointer = true; } @@ -752,7 +816,7 @@

    Source: system/Device.js

    this.mobileSafari = true; } else if (/MSIE (\d+\.\d+);/.test(ua)) { this.ie = true; - this.ieVersion = parseInt(RegExp.$1); + this.ieVersion = parseInt(RegExp.$1, 10); } else if (/Midori/.test(ua)) { this.midori = true; } else if (/Opera/.test(ua)) { @@ -766,6 +830,10 @@

    Source: system/Device.js

    this.webApp = true; } + if (navigator['isCocoonJS']) { + this.cocoonJS = true; + } + }, /** @@ -827,6 +895,17 @@

    Source: system/Device.js

    this.iPhone4 = (this.pixelRatio == 2 && this.iPhone); this.iPad = navigator.userAgent.toLowerCase().indexOf('ipad') != -1; + if (typeof Int8Array !== 'undefined') + { + this.littleEndian = new Int8Array(new Int16Array([1]).buffer)[0] > 0; + this.typedArray = true; + } + else + { + this.littleEndian = false; + this.typedArray = false; + } + }, /** @@ -945,7 +1024,7 @@

    Source: system/Device.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Easing.js.html b/docs/Easing.js.html index dc251ecd1e..f7b7fe225c 100644 --- a/docs/Easing.js.html +++ b/docs/Easing.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -381,7 +421,9 @@

    Source: tween/Easing.js

    -
    /**
    +            
    /* jshint curly: false */
    +
    +/**
     * @author       Richard Davey <rich@photonstorm.com>
     * @copyright    2013 Photon Storm Ltd.
     * @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
    @@ -399,547 +441,547 @@ 

    Source: tween/Easing.js

    * * @class Phaser.Easing.Linear */ - Linear: { + Linear: { - /** - * Ease-in. - * - * @method Phaser.Easing.Linear#In - * @param {number} k - The value to be tweened. - * @returns {number} k^2. - */ - None: function ( k ) { + /** + * Ease-in. + * + * @method Phaser.Easing.Linear#In + * @param {number} k - The value to be tweened. + * @returns {number} k^2. + */ + None: function ( k ) { - return k; + return k; - } + } - }, + }, /** * Quadratic easing. * * @class Phaser.Easing.Quadratic */ - Quadratic: { + Quadratic: { - /** - * Ease-in. - * - * @method Phaser.Easing.Quadratic#In - * @param {number} k - The value to be tweened. - * @returns {number} k^2. - */ - In: function ( k ) { + /** + * Ease-in. + * + * @method Phaser.Easing.Quadratic#In + * @param {number} k - The value to be tweened. + * @returns {number} k^2. + */ + In: function ( k ) { - return k * k; + return k * k; - }, + }, - /** - * Ease-out. - * - * @method Phaser.Easing.Quadratic#Out - * @param {number} k - The value to be tweened. - * @returns {number} k* (2-k). - */ - Out: function ( k ) { + /** + * Ease-out. + * + * @method Phaser.Easing.Quadratic#Out + * @param {number} k - The value to be tweened. + * @returns {number} k* (2-k). + */ + Out: function ( k ) { - return k * ( 2 - k ); + return k * ( 2 - k ); - }, + }, - /** - * Ease-in/out. - * - * @method Phaser.Easing.Quadratic#InOut - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - InOut: function ( k ) { + /** + * Ease-in/out. + * + * @method Phaser.Easing.Quadratic#InOut + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + InOut: function ( k ) { - if ( ( k *= 2 ) < 1 ) return 0.5 * k * k; - return - 0.5 * ( --k * ( k - 2 ) - 1 ); + if ( ( k *= 2 ) < 1 ) return 0.5 * k * k; + return - 0.5 * ( --k * ( k - 2 ) - 1 ); - } + } - }, + }, /** * Cubic easing. * * @class Phaser.Easing.Cubic */ - Cubic: { + Cubic: { - /** - * Cubic ease-in. - * - * @method Phaser.Easing.Cubic#In - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - In: function ( k ) { + /** + * Cubic ease-in. + * + * @method Phaser.Easing.Cubic#In + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + In: function ( k ) { - return k * k * k; + return k * k * k; - }, + }, - /** - * Cubic ease-out. - * - * @method Phaser.Easing.Cubic#Out - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - Out: function ( k ) { + /** + * Cubic ease-out. + * + * @method Phaser.Easing.Cubic#Out + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + Out: function ( k ) { - return --k * k * k + 1; + return --k * k * k + 1; - }, + }, - /** - * Cubic ease-in/out. - * - * @method Phaser.Easing.Cubic#InOut - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - InOut: function ( k ) { + /** + * Cubic ease-in/out. + * + * @method Phaser.Easing.Cubic#InOut + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + InOut: function ( k ) { - if ( ( k *= 2 ) < 1 ) return 0.5 * k * k * k; - return 0.5 * ( ( k -= 2 ) * k * k + 2 ); + if ( ( k *= 2 ) < 1 ) return 0.5 * k * k * k; + return 0.5 * ( ( k -= 2 ) * k * k + 2 ); - } + } - }, + }, /** * Quartic easing. * * @class Phaser.Easing.Quartic */ - Quartic: { + Quartic: { - /** - * Quartic ease-in. - * - * @method Phaser.Easing.Quartic#In - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - In: function ( k ) { + /** + * Quartic ease-in. + * + * @method Phaser.Easing.Quartic#In + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + In: function ( k ) { - return k * k * k * k; + return k * k * k * k; - }, + }, - /** - * Quartic ease-out. - * - * @method Phaser.Easing.Quartic#Out - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - Out: function ( k ) { + /** + * Quartic ease-out. + * + * @method Phaser.Easing.Quartic#Out + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + Out: function ( k ) { - return 1 - ( --k * k * k * k ); + return 1 - ( --k * k * k * k ); - }, + }, - /** - * Quartic ease-in/out. - * - * @method Phaser.Easing.Quartic#InOut - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - InOut: function ( k ) { + /** + * Quartic ease-in/out. + * + * @method Phaser.Easing.Quartic#InOut + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + InOut: function ( k ) { - if ( ( k *= 2 ) < 1) return 0.5 * k * k * k * k; - return - 0.5 * ( ( k -= 2 ) * k * k * k - 2 ); + if ( ( k *= 2 ) < 1) return 0.5 * k * k * k * k; + return - 0.5 * ( ( k -= 2 ) * k * k * k - 2 ); - } + } - }, + }, /** * Quintic easing. * * @class Phaser.Easing.Quintic */ - Quintic: { + Quintic: { - /** - * Quintic ease-in. - * - * @method Phaser.Easing.Quintic#In - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - In: function ( k ) { + /** + * Quintic ease-in. + * + * @method Phaser.Easing.Quintic#In + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + In: function ( k ) { - return k * k * k * k * k; + return k * k * k * k * k; - }, + }, - /** - * Quintic ease-out. - * - * @method Phaser.Easing.Quintic#Out - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - Out: function ( k ) { + /** + * Quintic ease-out. + * + * @method Phaser.Easing.Quintic#Out + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + Out: function ( k ) { - return --k * k * k * k * k + 1; + return --k * k * k * k * k + 1; - }, + }, - /** - * Quintic ease-in/out. - * - * @method Phaser.Easing.Quintic#InOut - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - InOut: function ( k ) { + /** + * Quintic ease-in/out. + * + * @method Phaser.Easing.Quintic#InOut + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + InOut: function ( k ) { - if ( ( k *= 2 ) < 1 ) return 0.5 * k * k * k * k * k; - return 0.5 * ( ( k -= 2 ) * k * k * k * k + 2 ); + if ( ( k *= 2 ) < 1 ) return 0.5 * k * k * k * k * k; + return 0.5 * ( ( k -= 2 ) * k * k * k * k + 2 ); - } + } - }, + }, /** * Sinusoidal easing. * * @class Phaser.Easing.Sinusoidal */ - Sinusoidal: { + Sinusoidal: { - /** - * Sinusoidal ease-in. - * - * @method Phaser.Easing.Sinusoidal#In - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - In: function ( k ) { + /** + * Sinusoidal ease-in. + * + * @method Phaser.Easing.Sinusoidal#In + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + In: function ( k ) { - return 1 - Math.cos( k * Math.PI / 2 ); + return 1 - Math.cos( k * Math.PI / 2 ); - }, + }, - /** - * Sinusoidal ease-out. - * - * @method Phaser.Easing.Sinusoidal#Out - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - Out: function ( k ) { + /** + * Sinusoidal ease-out. + * + * @method Phaser.Easing.Sinusoidal#Out + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + Out: function ( k ) { - return Math.sin( k * Math.PI / 2 ); + return Math.sin( k * Math.PI / 2 ); - }, + }, - /** - * Sinusoidal ease-in/out. - * - * @method Phaser.Easing.Sinusoidal#InOut - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - InOut: function ( k ) { + /** + * Sinusoidal ease-in/out. + * + * @method Phaser.Easing.Sinusoidal#InOut + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + InOut: function ( k ) { - return 0.5 * ( 1 - Math.cos( Math.PI * k ) ); + return 0.5 * ( 1 - Math.cos( Math.PI * k ) ); - } + } - }, + }, /** * Exponential easing. * * @class Phaser.Easing.Exponential */ - Exponential: { + Exponential: { - /** - * Exponential ease-in. - * - * @method Phaser.Easing.Exponential#In - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - In: function ( k ) { + /** + * Exponential ease-in. + * + * @method Phaser.Easing.Exponential#In + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + In: function ( k ) { - return k === 0 ? 0 : Math.pow( 1024, k - 1 ); + return k === 0 ? 0 : Math.pow( 1024, k - 1 ); - }, + }, - /** - * Exponential ease-out. - * - * @method Phaser.Easing.Exponential#Out - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - Out: function ( k ) { + /** + * Exponential ease-out. + * + * @method Phaser.Easing.Exponential#Out + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + Out: function ( k ) { - return k === 1 ? 1 : 1 - Math.pow( 2, - 10 * k ); + return k === 1 ? 1 : 1 - Math.pow( 2, - 10 * k ); - }, + }, - /** - * Exponential ease-in/out. - * - * @method Phaser.Easing.Exponential#InOut - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - InOut: function ( k ) { + /** + * Exponential ease-in/out. + * + * @method Phaser.Easing.Exponential#InOut + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + InOut: function ( k ) { - if ( k === 0 ) return 0; - if ( k === 1 ) return 1; - if ( ( k *= 2 ) < 1 ) return 0.5 * Math.pow( 1024, k - 1 ); - return 0.5 * ( - Math.pow( 2, - 10 * ( k - 1 ) ) + 2 ); + if ( k === 0 ) return 0; + if ( k === 1 ) return 1; + if ( ( k *= 2 ) < 1 ) return 0.5 * Math.pow( 1024, k - 1 ); + return 0.5 * ( - Math.pow( 2, - 10 * ( k - 1 ) ) + 2 ); - } + } - }, + }, /** * Circular easing. * * @class Phaser.Easing.Circular */ - Circular: { + Circular: { - /** - * Circular ease-in. - * - * @method Phaser.Easing.Circular#In - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - In: function ( k ) { + /** + * Circular ease-in. + * + * @method Phaser.Easing.Circular#In + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + In: function ( k ) { - return 1 - Math.sqrt( 1 - k * k ); + return 1 - Math.sqrt( 1 - k * k ); - }, + }, - /** - * Circular ease-out. - * - * @method Phaser.Easing.Circular#Out - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - Out: function ( k ) { + /** + * Circular ease-out. + * + * @method Phaser.Easing.Circular#Out + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + Out: function ( k ) { - return Math.sqrt( 1 - ( --k * k ) ); + return Math.sqrt( 1 - ( --k * k ) ); - }, + }, - /** - * Circular ease-in/out. - * - * @method Phaser.Easing.Circular#InOut - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - InOut: function ( k ) { + /** + * Circular ease-in/out. + * + * @method Phaser.Easing.Circular#InOut + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + InOut: function ( k ) { - if ( ( k *= 2 ) < 1) return - 0.5 * ( Math.sqrt( 1 - k * k) - 1); - return 0.5 * ( Math.sqrt( 1 - ( k -= 2) * k) + 1); + if ( ( k *= 2 ) < 1) return - 0.5 * ( Math.sqrt( 1 - k * k) - 1); + return 0.5 * ( Math.sqrt( 1 - ( k -= 2) * k) + 1); - } + } - }, + }, /** * Elastic easing. * * @class Phaser.Easing.Elastic */ - Elastic: { - - /** - * Elastic ease-in. - * - * @method Phaser.Easing.Elastic#In - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - In: function ( k ) { - - var s, a = 0.1, p = 0.4; - if ( k === 0 ) return 0; - if ( k === 1 ) return 1; - if ( !a || a < 1 ) { a = 1; s = p / 4; } - else s = p * Math.asin( 1 / a ) / ( 2 * Math.PI ); - return - ( a * Math.pow( 2, 10 * ( k -= 1 ) ) * Math.sin( ( k - s ) * ( 2 * Math.PI ) / p ) ); - - }, - - /** - * Elastic ease-out. - * - * @method Phaser.Easing.Elastic#Out - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - Out: function ( k ) { - - var s, a = 0.1, p = 0.4; - if ( k === 0 ) return 0; - if ( k === 1 ) return 1; - if ( !a || a < 1 ) { a = 1; s = p / 4; } - else s = p * Math.asin( 1 / a ) / ( 2 * Math.PI ); - return ( a * Math.pow( 2, - 10 * k) * Math.sin( ( k - s ) * ( 2 * Math.PI ) / p ) + 1 ); - - }, - - /** - * Elastic ease-in/out. - * - * @method Phaser.Easing.Elastic#InOut - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - InOut: function ( k ) { - - var s, a = 0.1, p = 0.4; - if ( k === 0 ) return 0; - if ( k === 1 ) return 1; - if ( !a || a < 1 ) { a = 1; s = p / 4; } - else s = p * Math.asin( 1 / a ) / ( 2 * Math.PI ); - if ( ( k *= 2 ) < 1 ) return - 0.5 * ( a * Math.pow( 2, 10 * ( k -= 1 ) ) * Math.sin( ( k - s ) * ( 2 * Math.PI ) / p ) ); - return a * Math.pow( 2, -10 * ( k -= 1 ) ) * Math.sin( ( k - s ) * ( 2 * Math.PI ) / p ) * 0.5 + 1; - - } - - }, + Elastic: { + + /** + * Elastic ease-in. + * + * @method Phaser.Easing.Elastic#In + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + In: function ( k ) { + + var s, a = 0.1, p = 0.4; + if ( k === 0 ) return 0; + if ( k === 1 ) return 1; + if ( !a || a < 1 ) { a = 1; s = p / 4; } + else s = p * Math.asin( 1 / a ) / ( 2 * Math.PI ); + return - ( a * Math.pow( 2, 10 * ( k -= 1 ) ) * Math.sin( ( k - s ) * ( 2 * Math.PI ) / p ) ); + + }, + + /** + * Elastic ease-out. + * + * @method Phaser.Easing.Elastic#Out + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + Out: function ( k ) { + + var s, a = 0.1, p = 0.4; + if ( k === 0 ) return 0; + if ( k === 1 ) return 1; + if ( !a || a < 1 ) { a = 1; s = p / 4; } + else s = p * Math.asin( 1 / a ) / ( 2 * Math.PI ); + return ( a * Math.pow( 2, - 10 * k) * Math.sin( ( k - s ) * ( 2 * Math.PI ) / p ) + 1 ); + + }, + + /** + * Elastic ease-in/out. + * + * @method Phaser.Easing.Elastic#InOut + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + InOut: function ( k ) { + + var s, a = 0.1, p = 0.4; + if ( k === 0 ) return 0; + if ( k === 1 ) return 1; + if ( !a || a < 1 ) { a = 1; s = p / 4; } + else s = p * Math.asin( 1 / a ) / ( 2 * Math.PI ); + if ( ( k *= 2 ) < 1 ) return - 0.5 * ( a * Math.pow( 2, 10 * ( k -= 1 ) ) * Math.sin( ( k - s ) * ( 2 * Math.PI ) / p ) ); + return a * Math.pow( 2, -10 * ( k -= 1 ) ) * Math.sin( ( k - s ) * ( 2 * Math.PI ) / p ) * 0.5 + 1; + + } + + }, /** * Back easing. * * @class Phaser.Easing.Back */ - Back: { + Back: { - /** - * Back ease-in. - * - * @method Phaser.Easing.Back#In - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - In: function ( k ) { + /** + * Back ease-in. + * + * @method Phaser.Easing.Back#In + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + In: function ( k ) { - var s = 1.70158; - return k * k * ( ( s + 1 ) * k - s ); + var s = 1.70158; + return k * k * ( ( s + 1 ) * k - s ); - }, + }, - /** - * Back ease-out. - * - * @method Phaser.Easing.Back#Out - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - Out: function ( k ) { + /** + * Back ease-out. + * + * @method Phaser.Easing.Back#Out + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + Out: function ( k ) { - var s = 1.70158; - return --k * k * ( ( s + 1 ) * k + s ) + 1; + var s = 1.70158; + return --k * k * ( ( s + 1 ) * k + s ) + 1; - }, + }, - /** - * Back ease-in/out. - * - * @method Phaser.Easing.Back#InOut - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - InOut: function ( k ) { + /** + * Back ease-in/out. + * + * @method Phaser.Easing.Back#InOut + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + InOut: function ( k ) { - var s = 1.70158 * 1.525; - if ( ( k *= 2 ) < 1 ) return 0.5 * ( k * k * ( ( s + 1 ) * k - s ) ); - return 0.5 * ( ( k -= 2 ) * k * ( ( s + 1 ) * k + s ) + 2 ); + var s = 1.70158 * 1.525; + if ( ( k *= 2 ) < 1 ) return 0.5 * ( k * k * ( ( s + 1 ) * k - s ) ); + return 0.5 * ( ( k -= 2 ) * k * ( ( s + 1 ) * k + s ) + 2 ); - } + } - }, + }, /** * Bounce easing. * * @class Phaser.Easing.Bounce */ - Bounce: { + Bounce: { - /** - * Bounce ease-in. - * - * @method Phaser.Easing.Bounce#In - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - In: function ( k ) { + /** + * Bounce ease-in. + * + * @method Phaser.Easing.Bounce#In + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + In: function ( k ) { - return 1 - Phaser.Easing.Bounce.Out( 1 - k ); + return 1 - Phaser.Easing.Bounce.Out( 1 - k ); - }, + }, - /** - * Bounce ease-out. - * - * @method Phaser.Easing.Bounce#Out - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - Out: function ( k ) { + /** + * Bounce ease-out. + * + * @method Phaser.Easing.Bounce#Out + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + Out: function ( k ) { - if ( k < ( 1 / 2.75 ) ) { + if ( k < ( 1 / 2.75 ) ) { - return 7.5625 * k * k; + return 7.5625 * k * k; - } else if ( k < ( 2 / 2.75 ) ) { + } else if ( k < ( 2 / 2.75 ) ) { - return 7.5625 * ( k -= ( 1.5 / 2.75 ) ) * k + 0.75; + return 7.5625 * ( k -= ( 1.5 / 2.75 ) ) * k + 0.75; - } else if ( k < ( 2.5 / 2.75 ) ) { + } else if ( k < ( 2.5 / 2.75 ) ) { - return 7.5625 * ( k -= ( 2.25 / 2.75 ) ) * k + 0.9375; + return 7.5625 * ( k -= ( 2.25 / 2.75 ) ) * k + 0.9375; - } else { + } else { - return 7.5625 * ( k -= ( 2.625 / 2.75 ) ) * k + 0.984375; + return 7.5625 * ( k -= ( 2.625 / 2.75 ) ) * k + 0.984375; - } + } - }, + }, - /** - * Bounce ease-in/out. - * - * @method Phaser.Easing.Bounce#InOut - * @param {number} k - The value to be tweened. - * @returns {number} The tweened value. - */ - InOut: function ( k ) { + /** + * Bounce ease-in/out. + * + * @method Phaser.Easing.Bounce#InOut + * @param {number} k - The value to be tweened. + * @returns {number} The tweened value. + */ + InOut: function ( k ) { - if ( k < 0.5 ) return Phaser.Easing.Bounce.In( k * 2 ) * 0.5; - return Phaser.Easing.Bounce.Out( k * 2 - 1 ) * 0.5 + 0.5; + if ( k < 0.5 ) return Phaser.Easing.Bounce.In( k * 2 ) * 0.5; + return Phaser.Easing.Bounce.Out( k * 2 - 1 ) * 0.5 + 0.5; - } + } - } + } };
    @@ -963,7 +1005,7 @@

    Source: tween/Easing.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Emitter.js.html b/docs/Emitter.js.html index f73695749a..fdd2c0847a 100644 --- a/docs/Emitter.js.html +++ b/docs/Emitter.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -409,36 +449,36 @@

    Source: particles/arcade/Emitter.js

    * @property {number} maxParticles - The total number of particles in this emitter.. * @default */ - this.maxParticles = maxParticles || 50; + this.maxParticles = maxParticles || 50; - Phaser.Group.call(this, game); + Phaser.Group.call(this, game); /** - * @property {string} name - Description. - */ + * @property {string} name - Description. + */ this.name = 'emitter' + this.game.particles.ID++; /** - * @property {Description} type - Description. - */ + * @property {Description} type - Description. + */ this.type = Phaser.EMITTER; /** - * @property {number} x - The X position of the top left corner of the emitter in world space. - * @default - */ + * @property {number} x - The X position of the top left corner of the emitter in world space. + * @default + */ this.x = 0; /** - * @property {number} y - The Y position of the top left corner of emitter in world space. - * @default - */ + * @property {number} y - The Y position of the top left corner of emitter in world space. + * @default + */ this.y = 0; /** - * @property {number} width - The width of the emitter. Particles can be randomly generated from anywhere within this box. - * @default - */ + * @property {number} width - The width of the emitter. Particles can be randomly generated from anywhere within this box. + * @default + */ this.width = 1; /** @@ -470,138 +510,138 @@

    Source: particles/arcade/Emitter.js

    this.minParticleScale = 1; /** - * The maximum possible scale of a particle. - * The default value is 1. - * @property {number} maxParticleScale - * @default - */ + * The maximum possible scale of a particle. + * The default value is 1. + * @property {number} maxParticleScale + * @default + */ this.maxParticleScale = 1; /** - * The minimum possible angular velocity of a particle. The default value is -360. - * @property {number} minRotation - * @default - */ + * The minimum possible angular velocity of a particle. The default value is -360. + * @property {number} minRotation + * @default + */ this.minRotation = -360; /** - * The maximum possible angular velocity of a particle. The default value is 360. - * @property {number} maxRotation - * @default - */ + * The maximum possible angular velocity of a particle. The default value is 360. + * @property {number} maxRotation + * @default + */ this.maxRotation = 360; /** - * Sets the <code>gravity.y</code> of each particle to this value on launch. - * @property {number} gravity - * @default - */ + * Sets the <code>gravity.y</code> of each particle to this value on launch. + * @property {number} gravity + * @default + */ this.gravity = 2; /** - * Set your own particle class type here. - * @property {Description} particleClass - * @default - */ + * Set your own particle class type here. + * @property {Description} particleClass + * @default + */ this.particleClass = null; /** - * The X and Y drag component of particles launched from the emitter. - * @property {Phaser.Point} particleDrag - */ + * The X and Y drag component of particles launched from the emitter. + * @property {Phaser.Point} particleDrag + */ this.particleDrag = new Phaser.Point(); /** - * The angular drag component of particles launched from the emitter if they are rotating. - * @property {number} angularDrag - * @default - */ + * The angular drag component of particles launched from the emitter if they are rotating. + * @property {number} angularDrag + * @default + */ this.angularDrag = 0; /** - * How often a particle is emitted in ms (if emitter is started with Explode == false). - * @property {boolean} frequency - * @default - */ + * How often a particle is emitted in ms (if emitter is started with Explode === false). + * @property {boolean} frequency + * @default + */ this.frequency = 100; /** - * How long each particle lives once it is emitted in ms. Default is 2 seconds. - * Set lifespan to 'zero' for particles to live forever. - * @property {number} lifespan - * @default - */ + * How long each particle lives once it is emitted in ms. Default is 2 seconds. + * Set lifespan to 'zero' for particles to live forever. + * @property {number} lifespan + * @default + */ this.lifespan = 2000; /** - * How much each particle should bounce on each axis. 1 = full bounce, 0 = no bounce. - * @property {Phaser.Point} bounce - */ + * How much each particle should bounce on each axis. 1 = full bounce, 0 = no bounce. + * @property {Phaser.Point} bounce + */ this.bounce = new Phaser.Point(); /** - * Internal helper for deciding how many particles to launch. - * @property {number} _quantity - * @private - * @default - */ + * Internal helper for deciding how many particles to launch. + * @property {number} _quantity + * @private + * @default + */ this._quantity = 0; - /** - * Internal helper for deciding when to launch particles or kill them. - * @property {number} _timer - * @private - * @default - */ + /** + * Internal helper for deciding when to launch particles or kill them. + * @property {number} _timer + * @private + * @default + */ this._timer = 0; /** - * Internal counter for figuring out how many particles to launch. - * @property {number} _counter - * @private - * @default - */ + * Internal counter for figuring out how many particles to launch. + * @property {number} _counter + * @private + * @default + */ this._counter = 0; /** - * Internal helper for the style of particle emission (all at once, or one at a time). - * @property {boolean} _explode - * @private - * @default - */ + * Internal helper for the style of particle emission (all at once, or one at a time). + * @property {boolean} _explode + * @private + * @default + */ this._explode = true; /** - * Determines whether the emitter is currently emitting particles. - * It is totally safe to directly toggle this. - * @property {boolean} on - * @default - */ + * Determines whether the emitter is currently emitting particles. + * It is totally safe to directly toggle this. + * @property {boolean} on + * @default + */ this.on = false; /** - * Determines whether the emitter is being updated by the core game loop. - * @property {boolean} exists - * @default - */ + * Determines whether the emitter is being updated by the core game loop. + * @property {boolean} exists + * @default + */ this.exists = true; /** - * The point the particles are emitted from. - * Emitter.x and Emitter.y control the containers location, which updates all current particles - * Emitter.emitX and Emitter.emitY control the emission location relative to the x/y position. - * @property {boolean} emitX - */ + * The point the particles are emitted from. + * Emitter.x and Emitter.y control the containers location, which updates all current particles + * Emitter.emitX and Emitter.emitY control the emission location relative to the x/y position. + * @property {boolean} emitX + */ this.emitX = x; /** - * The point the particles are emitted from. - * Emitter.x and Emitter.y control the containers location, which updates all current particles - * Emitter.emitX and Emitter.emitY control the emission location relative to the x/y position. - * @property {boolean} emitY - */ + * The point the particles are emitted from. + * Emitter.x and Emitter.y control the containers location, which updates all current particles + * Emitter.emitX and Emitter.emitY control the emission location relative to the x/y position. + * @property {boolean} emitY + */ this.emitY = y; - + }; Phaser.Particles.Arcade.Emitter.prototype = Object.create(Phaser.Group.prototype); @@ -617,12 +657,12 @@

    Source: particles/arcade/Emitter.js

    { if (this._explode) { - this._counter = 0; + this._counter = 0; do { - this.emitParticle(); - this._counter++; + this.emitParticle(); + this._counter++; } while (this._counter < this._quantity); @@ -630,22 +670,22 @@

    Source: particles/arcade/Emitter.js

    } else { - if (this.game.time.now >= this._timer) - { + if (this.game.time.now >= this._timer) + { this.emitParticle(); - - this._counter++; + + this._counter++; if (this._quantity > 0) { - if (this._counter >= this._quantity) - { - this.on = false; - } + if (this._counter >= this._quantity) + { + this.on = false; + } } this._timer = this.game.time.now + this.frequency; - } + } } } @@ -669,7 +709,7 @@

    Source: particles/arcade/Emitter.js

    frames = 0; } - quantity = quantity || this.maxParticles; + quantity = quantity || this.maxParticles; collide = collide || 0; if (typeof collideWorldBounds == 'undefined') @@ -698,10 +738,10 @@

    Source: particles/arcade/Emitter.js

    particle = new Phaser.Sprite(this.game, 0, 0, rndKey, rndFrame); } - else - { + // else + // { // particle = new this.particleClass(this.game); - } + // } if (collide > 0) { @@ -763,18 +803,18 @@

    Source: particles/arcade/Emitter.js

    */ Phaser.Particles.Arcade.Emitter.prototype.start = function (explode, lifespan, frequency, quantity) { - if (typeof explode !== 'boolean') - { - explode = true; - } + if (typeof explode !== 'boolean') + { + explode = true; + } - lifespan = lifespan || 0; + lifespan = lifespan || 0; - // How many ms between emissions? - frequency = frequency || 250; + // How many ms between emissions? + frequency = frequency || 250; - // Total number of particles to emit - quantity = quantity || 0; + // Total number of particles to emit + quantity = quantity || 0; this.revive(); @@ -809,16 +849,16 @@

    Source: particles/arcade/Emitter.js

    if (particle == null) { - return; + return; } if (this.width > 1 || this.height > 1) { - particle.reset(this.game.rnd.integerInRange(this.left, this.right), this.game.rnd.integerInRange(this.top, this.bottom)); + particle.reset(this.game.rnd.integerInRange(this.left, this.right), this.game.rnd.integerInRange(this.top, this.bottom)); } else { - particle.reset(this.emitX, this.emitY); + particle.reset(this.emitX, this.emitY); } particle.lifespan = this.lifespan; @@ -887,8 +927,8 @@

    Source: particles/arcade/Emitter.js

    */ Phaser.Particles.Arcade.Emitter.prototype.setXSpeed = function (min, max) { - min = min || 0; - max = max || 0; + min = min || 0; + max = max || 0; this.minParticleSpeed.x = min; this.maxParticleSpeed.x = max; @@ -903,8 +943,8 @@

    Source: particles/arcade/Emitter.js

    */ Phaser.Particles.Arcade.Emitter.prototype.setYSpeed = function (min, max) { - min = min || 0; - max = max || 0; + min = min || 0; + max = max || 0; this.minParticleSpeed.y = min; this.maxParticleSpeed.y = max; @@ -919,8 +959,8 @@

    Source: particles/arcade/Emitter.js

    */ Phaser.Particles.Arcade.Emitter.prototype.setRotation = function (min, max) { - min = min || 0; - max = max || 0; + min = min || 0; + max = max || 0; this.minRotation = min; this.maxRotation = max; @@ -1077,7 +1117,7 @@

    Source: particles/arcade/Emitter.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Events.js.html b/docs/Events.js.html index 4a193e95cc..b49c7657f1 100644 --- a/docs/Events.js.html +++ b/docs/Events.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -387,23 +427,31 @@

    Source: gameobjects/Events.js

    * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} */ - /** -* The Events component is a collection of events fired by the parent game object and its components. -* * @class Phaser.Events +* +* @classdesc The Events component is a collection of events fired by the parent game object. +* +* For example to tell when a Sprite has been added to a new group: +* +* ```sprite.events.onAddedToGroup.add(yourFunction, this);``` +* +* Where `yourFunction` is the function you want called when this event occurs. +* +* Note that the Input related events only exist if the Sprite has had `inputEnabled` set to `true`. +* * @constructor * * @param {Phaser.Sprite} sprite - A reference to Description. */ Phaser.Events = function (sprite) { - - this.parent = sprite; - this.onAddedToGroup = new Phaser.Signal; - this.onRemovedFromGroup = new Phaser.Signal; - this.onKilled = new Phaser.Signal; - this.onRevived = new Phaser.Signal; - this.onOutOfBounds = new Phaser.Signal; + + this.parent = sprite; + this.onAddedToGroup = new Phaser.Signal(); + this.onRemovedFromGroup = new Phaser.Signal(); + this.onKilled = new Phaser.Signal(); + this.onRevived = new Phaser.Signal(); + this.onOutOfBounds = new Phaser.Signal(); this.onInputOver = null; this.onInputOut = null; @@ -412,41 +460,41 @@

    Source: gameobjects/Events.js

    this.onDragStart = null; this.onDragStop = null; - this.onAnimationStart = null; - this.onAnimationComplete = null; - this.onAnimationLoop = null; + this.onAnimationStart = null; + this.onAnimationComplete = null; + this.onAnimationLoop = null; }; Phaser.Events.prototype = { - destroy: function () { - - this.parent = null; - this.onAddedToGroup.dispose(); - this.onRemovedFromGroup.dispose(); - this.onKilled.dispose(); - this.onRevived.dispose(); - this.onOutOfBounds.dispose(); - - if (this.onInputOver) - { - this.onInputOver.dispose(); - this.onInputOut.dispose(); - this.onInputDown.dispose(); - this.onInputUp.dispose(); - this.onDragStart.dispose(); - this.onDragStop.dispose(); - } - - if (this.onAnimationStart) - { - this.onAnimationStart.dispose(); - this.onAnimationComplete.dispose(); - this.onAnimationLoop.dispose(); - } - - } + destroy: function () { + + this.parent = null; + this.onAddedToGroup.dispose(); + this.onRemovedFromGroup.dispose(); + this.onKilled.dispose(); + this.onRevived.dispose(); + this.onOutOfBounds.dispose(); + + if (this.onInputOver) + { + this.onInputOver.dispose(); + this.onInputOut.dispose(); + this.onInputDown.dispose(); + this.onInputUp.dispose(); + this.onDragStart.dispose(); + this.onDragStop.dispose(); + } + + if (this.onAnimationStart) + { + this.onAnimationStart.dispose(); + this.onAnimationComplete.dispose(); + this.onAnimationLoop.dispose(); + } + + } };
    @@ -469,7 +517,7 @@

    Source: gameobjects/Events.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Filter.js.html b/docs/Filter.js.html new file mode 100644 index 0000000000..32d52126de --- /dev/null +++ b/docs/Filter.js.html @@ -0,0 +1,635 @@ + + + + + + Phaser Source: core/Filter.js + + + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Source: core/Filter.js

    + +
    +
    +
    /**
    +* @author       Richard Davey <rich@photonstorm.com>
    +* @copyright    2013 Photon Storm Ltd.
    +* @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
    +*/
    +
    +/** 
    +* This is a base Filter template to use for any Phaser filter development.
    +* 
    +* @class Phaser.Filter
    +* @classdesc Phaser - Filter
    +* @constructor
    +* @param {Phaser.Game} game - A reference to the currently running game.
    +* @param {Object} uniforms - Uniform mappings object
    +* @param {Array} fragmentSrc - The fragment shader code.
    +*/
    +Phaser.Filter = function (game, uniforms, fragmentSrc) {
    +
    +    /**
    +    * @property {Phaser.Game} game - A reference to the currently running game.
    +    */
    +    this.game = game;
    +
    +    /**
    +    * @property {number} type - The const type of this object, either Phaser.WEBGL_FILTER or Phaser.CANVAS_FILTER.
    +    * @default
    +    */
    +    this.type =  Phaser.WEBGL_FILTER;
    +    
    +    /**
    +    * An array of passes - some filters contain a few steps this array simply stores the steps in a linear fashion.
    +    * For example the blur filter has two passes blurX and blurY.
    +    * @property {array} passes - An array of filter objects.
    +    * @private
    +    */
    +    this.passes = [this];
    +    
    +    /**
    +    * @property {boolean} dirty - Internal PIXI var.
    +    * @default
    +    */
    +    this.dirty = true;
    +
    +    /**
    +    * @property {number} padding - Internal PIXI var.
    +    * @default
    +    */
    +    this.padding = 0;
    +
    +    /**
    +    * @property {object} uniforms - Default uniform mappings.
    +    */
    +    this.uniforms = {
    +
    +        resolution: { type: '3f', value: { x: 256, y: 256, z: 0 }},
    +        time: { type: '1f', value: 0 },
    +        mouse: { type: '4f', value: { x: 0, y: 0, z: 0, w: 0 }}
    +
    +    };
    +    
    +    /**
    +    * @property {array} fragmentSrc - The fragment shader code.
    +    */
    +    this.fragmentSrc = fragmentSrc || [];
    +
    +};
    +
    +Phaser.Filter.prototype = {
    +
    +    /**
    +    * Should be over-ridden.
    +    * @method Phaser.Filter#init
    +    */
    +    init: function () {
    +        //  This should be over-ridden. Will receive a variable number of arguments.
    +    },
    +
    +    /**
    +    * Set the resolution uniforms on the filter.
    +    * @method Phaser.Filter#setResolution
    +    * @param {number} width - The width of the display.
    +    * @param {number} height - The height of the display.
    +    */
    +    setResolution: function (width, height) {
    +
    +        this.uniforms.resolution.value.x = width;
    +        this.uniforms.resolution.value.y = height;
    +
    +    },
    +
    +    /**
    +    * Updates the filter.
    +    * @method Phaser.Filter#update
    +    * @param {Phaser.Pointer} [pointer] - A Pointer object to use for the filter. The coordinates are mapped to the mouse uniform.
    +    */
    +    update: function (pointer) {
    +
    +        if (typeof pointer !== 'undefined')
    +        {
    +            this.uniforms.mouse.x = pointer.x;
    +            this.uniforms.mouse.y = pointer.y;
    +        }
    +
    +        this.uniforms.time.value = this.game.time.totalElapsedSeconds();
    +
    +    },
    +
    +    /**
    +    * Clear down this Filter and null out references
    +    * @method Phaser.Filter#destroy
    +    */
    +    destroy: function () {
    +
    +        this.game = null;
    +        
    +    }
    +
    +};
    +
    +/**
    +* @name Phaser.Filter#width
    +* @property {number} width - The width (resolution uniform)
    +*/
    +Object.defineProperty(Phaser.Filter.prototype, 'width', {
    +
    +    get: function() {
    +        return this.uniforms.resolution.value.x;
    +    },
    +
    +    set: function(value) {
    +        this.uniforms.resolution.value.x = value;
    +    }
    +
    +});
    +
    +/**
    +* @name Phaser.Filter#height
    +* @property {number} height - The height (resolution uniform)
    +*/
    +Object.defineProperty(Phaser.Filter.prototype, 'height', {
    +
    +    get: function() {
    +        return this.uniforms.resolution.value.y;
    +    },
    +
    +    set: function(value) {
    +        this.uniforms.resolution.value.y = value;
    +    }
    +
    +});
    +
    +
    +
    + + + + + +
    + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. + +
    +
    + + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + diff --git a/docs/Frame.js.html b/docs/Frame.js.html index 8d83b6c9d5..85be511e53 100644 --- a/docs/Frame.js.html +++ b/docs/Frame.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -402,124 +442,124 @@

    Source: animation/Frame.js

    */ Phaser.Frame = function (index, x, y, width, height, name, uuid) { - /** - * @property {number} index - The index of this Frame within the FrameData set it is being added to. - */ - this.index = index; - - /** - * @property {number} x - X position within the image to cut from. - */ - this.x = x; - - /** - * @property {number} y - Y position within the image to cut from. - */ - this.y = y; - - /** - * @property {number} width - Width of the frame. - */ - this.width = width; - - /** - * @property {number} height - Height of the frame. - */ - this.height = height; - - /** - * @property {string} name - Useful for Texture Atlas files (is set to the filename value). - */ - this.name = name; - - /** - * @property {string} uuid - A link to the PIXI.TextureCache entry. - */ - this.uuid = uuid; - - /** - * @property {number} centerX - Center X position within the image to cut from. - */ + /** + * @property {number} index - The index of this Frame within the FrameData set it is being added to. + */ + this.index = index; + + /** + * @property {number} x - X position within the image to cut from. + */ + this.x = x; + + /** + * @property {number} y - Y position within the image to cut from. + */ + this.y = y; + + /** + * @property {number} width - Width of the frame. + */ + this.width = width; + + /** + * @property {number} height - Height of the frame. + */ + this.height = height; + + /** + * @property {string} name - Useful for Texture Atlas files (is set to the filename value). + */ + this.name = name; + + /** + * @property {string} uuid - A link to the PIXI.TextureCache entry. + */ + this.uuid = uuid; + + /** + * @property {number} centerX - Center X position within the image to cut from. + */ this.centerX = Math.floor(width / 2); - /** - * @property {number} centerY - Center Y position within the image to cut from. - */ + /** + * @property {number} centerY - Center Y position within the image to cut from. + */ this.centerY = Math.floor(height / 2); - /** - * @property {number} distance - The distance from the top left to the bottom-right of this Frame. - */ - this.distance = Phaser.Math.distance(0, 0, width, height); - - /** - * @property {boolean} rotated - Rotated? (not yet implemented) - * @default - */ - this.rotated = false; - - /** - * @property {string} rotationDirection - Either 'cw' or 'ccw', rotation is always 90 degrees. - * @default 'cw' - */ - this.rotationDirection = 'cw'; - - /** - * @property {boolean} trimmed - Was it trimmed when packed? - * @default - */ - this.trimmed = false; - - /** - * @property {number} sourceSizeW - Width of the original sprite. - */ + /** + * @property {number} distance - The distance from the top left to the bottom-right of this Frame. + */ + this.distance = Phaser.Math.distance(0, 0, width, height); + + /** + * @property {boolean} rotated - Rotated? (not yet implemented) + * @default + */ + this.rotated = false; + + /** + * @property {string} rotationDirection - Either 'cw' or 'ccw', rotation is always 90 degrees. + * @default 'cw' + */ + this.rotationDirection = 'cw'; + + /** + * @property {boolean} trimmed - Was it trimmed when packed? + * @default + */ + this.trimmed = false; + + /** + * @property {number} sourceSizeW - Width of the original sprite. + */ this.sourceSizeW = width; - /** - * @property {number} sourceSizeH - Height of the original sprite. - */ + /** + * @property {number} sourceSizeH - Height of the original sprite. + */ this.sourceSizeH = height; - /** - * @property {number} spriteSourceSizeX - X position of the trimmed sprite inside original sprite. - * @default - */ - this.spriteSourceSizeX = 0; - - /** - * @property {number} spriteSourceSizeY - Y position of the trimmed sprite inside original sprite. - * @default - */ - this.spriteSourceSizeY = 0; - - /** - * @property {number} spriteSourceSizeW - Width of the trimmed sprite. - * @default - */ - this.spriteSourceSizeW = 0; - - /** - * @property {number} spriteSourceSizeH - Height of the trimmed sprite. - * @default - */ - this.spriteSourceSizeH = 0; + /** + * @property {number} spriteSourceSizeX - X position of the trimmed sprite inside original sprite. + * @default + */ + this.spriteSourceSizeX = 0; + + /** + * @property {number} spriteSourceSizeY - Y position of the trimmed sprite inside original sprite. + * @default + */ + this.spriteSourceSizeY = 0; + + /** + * @property {number} spriteSourceSizeW - Width of the trimmed sprite. + * @default + */ + this.spriteSourceSizeW = 0; + + /** + * @property {number} spriteSourceSizeH - Height of the trimmed sprite. + * @default + */ + this.spriteSourceSizeH = 0; }; Phaser.Frame.prototype = { - /** - * If the frame was trimmed when added to the Texture Atlas this records the trim and source data. - * - * @method Phaser.Frame#setTrim - * @param {boolean} trimmed - If this frame was trimmed or not. - * @param {number} actualWidth - The width of the frame before being trimmed. - * @param {number} actualHeight - The height of the frame before being trimmed. - * @param {number} destX - The destination X position of the trimmed frame for display. - * @param {number} destY - The destination Y position of the trimmed frame for display. - * @param {number} destWidth - The destination width of the trimmed frame for display. - * @param {number} destHeight - The destination height of the trimmed frame for display. - */ + /** + * If the frame was trimmed when added to the Texture Atlas this records the trim and source data. + * + * @method Phaser.Frame#setTrim + * @param {boolean} trimmed - If this frame was trimmed or not. + * @param {number} actualWidth - The width of the frame before being trimmed. + * @param {number} actualHeight - The height of the frame before being trimmed. + * @param {number} destX - The destination X position of the trimmed frame for display. + * @param {number} destY - The destination Y position of the trimmed frame for display. + * @param {number} destWidth - The destination width of the trimmed frame for display. + * @param {number} destHeight - The destination height of the trimmed frame for display. + */ setTrim: function (trimmed, actualWidth, actualHeight, destX, destY, destWidth, destHeight) { this.trimmed = trimmed; @@ -530,8 +570,8 @@

    Source: animation/Frame.js

    this.height = actualHeight; this.sourceSizeW = actualWidth; this.sourceSizeH = actualHeight; - this.centerX = Math.floor(actualWidth / 2); - this.centerY = Math.floor(actualHeight / 2); + this.centerX = Math.floor(actualWidth / 2); + this.centerY = Math.floor(actualHeight / 2); this.spriteSourceSizeX = destX; this.spriteSourceSizeY = destY; this.spriteSourceSizeW = destWidth; @@ -562,7 +602,7 @@

    Source: animation/Frame.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/FrameData.js.html b/docs/FrameData.js.html index 36d50d8eac..da67800014 100644 --- a/docs/FrameData.js.html +++ b/docs/FrameData.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -395,17 +435,17 @@

    Source: animation/FrameData.js

    */ Phaser.FrameData = function () { - /** - * @property {Array} _frames - Local array of frames. - * @private - */ + /** + * @property {Array} _frames - Local array of frames. + * @private + */ this._frames = []; - /** - * @property {Array} _frameNames - Local array of frame names for name to index conversions. - * @private - */ + /** + * @property {Array} _frameNames - Local array of frame names for name to index conversions. + * @private + */ this._frameNames = []; }; @@ -434,13 +474,13 @@

    Source: animation/FrameData.js

    }, - /** - * Get a Frame by its numerical index. + /** + * Get a Frame by its numerical index. * * @method Phaser.FrameData#getFrame - * @param {number} index - The index of the frame you want to get. - * @return {Phaser.Frame} The frame, if found. - */ + * @param {number} index - The index of the frame you want to get. + * @return {Phaser.Frame} The frame, if found. + */ getFrame: function (index) { if (this._frames.length > index) @@ -488,15 +528,15 @@

    Source: animation/FrameData.js

    }, - /** - * Returns a range of frames based on the given start and end frame indexes and returns them in an Array. + /** + * Returns a range of frames based on the given start and end frame indexes and returns them in an Array. * * @method Phaser.FrameData#getFrameRange * @param {number} start - The starting frame index. - * @param {number} end - The ending frame index. - * @param {Array} [output] - If given the results will be appended to the end of this array otherwise a new array will be created. - * @return {Array} An array of Frames between the start and end index values, or an empty array if none were found. - */ + * @param {number} end - The ending frame index. + * @param {Array} [output] - If given the results will be appended to the end of this array otherwise a new array will be created. + * @return {Array} An array of Frames between the start and end index values, or an empty array if none were found. + */ getFrameRange: function (start, end, output) { if (typeof output === "undefined") { output = []; } @@ -510,8 +550,8 @@

    Source: animation/FrameData.js

    }, - /** - * Returns all of the Frames in this FrameData set where the frame index is found in the input array. + /** + * Returns all of the Frames in this FrameData set where the frame index is found in the input array. * The frames are returned in the output array, or if none is provided in a new Array object. * * @method Phaser.FrameData#getFrames @@ -519,13 +559,13 @@

    Source: animation/FrameData.js

    * @param {boolean} [useNumericIndex=true] - Are the given frames using numeric indexes (default) or strings? (false) * @param {Array} [output] - If given the results will be appended to the end of this array otherwise a new array will be created. * @return {Array} An array of all Frames in this FrameData set matching the given names or IDs. - */ + */ getFrames: function (frames, useNumericIndex, output) { if (typeof useNumericIndex === "undefined") { useNumericIndex = true; } if (typeof output === "undefined") { output = []; } - if (typeof frames === "undefined" || frames.length == 0) + if (typeof frames === "undefined" || frames.length === 0) { // No input array, so we loop through all frames for (var i = 0; i < this._frames.length; i++) @@ -572,7 +612,7 @@

    Source: animation/FrameData.js

    if (typeof useNumericIndex === "undefined") { useNumericIndex = true; } if (typeof output === "undefined") { output = []; } - if (typeof frames === "undefined" || frames.length == 0) + if (typeof frames === "undefined" || frames.length === 0) { // No frames array, so we loop through all frames for (var i = 0, len = this._frames.length; i < len; i++) @@ -639,7 +679,7 @@

    Source: animation/FrameData.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Game.js.html b/docs/Game.js.html index 8ea2b812b2..1bb2ffdac8 100644 --- a/docs/Game.js.html +++ b/docs/Game.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -399,7 +439,7 @@

    Source: core/Game.js

    * @constructor * @param {number} [width=800] - The width of your game in game pixels. * @param {number} [height=600] - The height of your game in game pixels. -* @param {number} [renderer=Phaser.AUTO] - Which renderer to use (canvas or webgl) +* @param {number} [renderer=Phaser.AUTO] - Which renderer to use: Phaser.AUTO will auto-detect, Phaser.WEBGL, Phaser.CANVAS or Phaser.HEADLESS (no rendering at all). * @param {HTMLElement} [parent=''] - The Games DOM parent. * @param {any} [state=null] - Description. * @param {boolean} [transparent=false] - Use a transparent canvas background or not. @@ -407,380 +447,388 @@

    Source: core/Game.js

    */ Phaser.Game = function (width, height, renderer, parent, state, transparent, antialias) { - width = width || 800; - height = height || 600; - renderer = renderer || Phaser.AUTO; - parent = parent || ''; - state = state || null; - - if (typeof transparent == 'undefined') { transparent = false; } - if (typeof antialias == 'undefined') { antialias = true; } - - /** - * @property {number} id - Phaser Game ID (for when Pixi supports multiple instances). - */ - this.id = Phaser.GAMES.push(this) - 1; - - /** - * @property {HTMLElement} parent - The Games DOM parent. - */ - this.parent = parent; - - // Do some more intelligent size parsing here, so they can set "100%" for example, maybe pass the scale mode in here too? - - /** - * @property {number} width - The Game width (in pixels). - */ - this.width = width; - - /** - * @property {number} height - The Game height (in pixels). - */ - this.height = height; - - /** - * @property {boolean} transparent - Use a transparent canvas background or not. - */ - this.transparent = transparent; - - /** - * @property {boolean} antialias - Anti-alias graphics (in WebGL this helps with edges, in Canvas2D it retains pixel-art quality). - */ - this.antialias = antialias; - - /** - * @property {number} renderer - The Pixi Renderer - * @default - */ - this.renderer = null; - - /** - * @property {number} state - The StateManager. - */ - this.state = new Phaser.StateManager(this, state); - - /** - * @property {boolean} _paused - Is game paused? - * @private - * @default - */ - this._paused = false; - - /** - * @property {number} renderType - The Renderer this Phaser.Game will use. Either Phaser.RENDERER_AUTO, Phaser.RENDERER_CANVAS or Phaser.RENDERER_WEBGL. - */ - this.renderType = renderer; - - /** - * @property {boolean} _loadComplete - Whether load complete loading or not. - * @private - * @default - */ - this._loadComplete = false; - - /** - * @property {boolean} isBooted - Whether the game engine is booted, aka available. - * @default - */ - this.isBooted = false; - - /** - * @property {boolean} id -Is game running or paused? - * @default - */ - this.isRunning = false; - - /** - * @property {Phaser.RequestAnimationFrame} raf - Automatically handles the core game loop via requestAnimationFrame or setTimeout - * @default - */ - this.raf = null; - - /** - * @property {Phaser.GameObjectFactory} add - Reference to the GameObject Factory. - * @default - */ + width = width || 800; + height = height || 600; + renderer = renderer || Phaser.AUTO; + parent = parent || ''; + state = state || null; + + if (typeof transparent == 'undefined') { transparent = false; } + if (typeof antialias == 'undefined') { antialias = true; } + + /** + * @property {number} id - Phaser Game ID (for when Pixi supports multiple instances). + */ + this.id = Phaser.GAMES.push(this) - 1; + + /** + * @property {HTMLElement} parent - The Games DOM parent. + */ + this.parent = parent; + + // Do some more intelligent size parsing here, so they can set "100%" for example, maybe pass the scale mode in here too? + + /** + * @property {number} width - The Game width (in pixels). + */ + this.width = width; + + /** + * @property {number} height - The Game height (in pixels). + */ + this.height = height; + + /** + * @property {boolean} transparent - Use a transparent canvas background or not. + */ + this.transparent = transparent; + + /** + * @property {boolean} antialias - Anti-alias graphics (in WebGL this helps with edges, in Canvas2D it retains pixel-art quality). + */ + this.antialias = antialias; + + /** + * @property {number} renderer - The Pixi Renderer + * @default + */ + this.renderer = null; + + /** + * @property {number} state - The StateManager. + */ + this.state = new Phaser.StateManager(this, state); + + /** + * @property {boolean} _paused - Is game paused? + * @private + * @default + */ + this._paused = false; + + /** + * @property {number} renderType - The Renderer this Phaser.Game will use. Either Phaser.RENDERER_AUTO, Phaser.RENDERER_CANVAS or Phaser.RENDERER_WEBGL. + */ + this.renderType = renderer; + + /** + * @property {boolean} _loadComplete - Whether load complete loading or not. + * @private + * @default + */ + this._loadComplete = false; + + /** + * @property {boolean} isBooted - Whether the game engine is booted, aka available. + * @default + */ + this.isBooted = false; + + /** + * @property {boolean} id -Is game running or paused? + * @default + */ + this.isRunning = false; + + /** + * @property {Phaser.RequestAnimationFrame} raf - Automatically handles the core game loop via requestAnimationFrame or setTimeout + * @default + */ + this.raf = null; + + /** + * @property {Phaser.GameObjectFactory} add - Reference to the GameObject Factory. + * @default + */ this.add = null; /** - * @property {Phaser.Cache} cache - Reference to the assets cache. - * @default - */ + * @property {Phaser.Cache} cache - Reference to the assets cache. + * @default + */ this.cache = null; /** - * @property {Phaser.Input} input - Reference to the input manager - * @default - */ + * @property {Phaser.Input} input - Reference to the input manager + * @default + */ this.input = null; /** - * @property {Phaser.Loader} load - Reference to the assets loader. - * @default - */ + * @property {Phaser.Loader} load - Reference to the assets loader. + * @default + */ this.load = null; /** - * @property {Phaser.GameMath} math - Reference to the math helper. - * @default - */ + * @property {Phaser.Math} math - Reference to the math helper. + * @default + */ this.math = null; /** - * @property {Phaser.Net} net - Reference to the network class. - * @default - */ + * @property {Phaser.Net} net - Reference to the network class. + * @default + */ this.net = null; /** - * @property {Phaser.SoundManager} sound - Reference to the sound manager. - * @default - */ + * @property {Phaser.SoundManager} sound - Reference to the sound manager. + * @default + */ this.sound = null; /** - * @property {Phaser.Stage} stage - Reference to the stage. - * @default - */ + * @property {Phaser.Stage} stage - Reference to the stage. + * @default + */ this.stage = null; /** - * @property {Phaser.TimeManager} time - Reference to game clock. - * @default - */ + * @property {Phaser.TimeManager} time - Reference to game clock. + * @default + */ this.time = null; /** - * @property {Phaser.TweenManager} tweens - Reference to the tween manager. - * @default - */ + * @property {Phaser.TweenManager} tweens - Reference to the tween manager. + * @default + */ this.tweens = null; /** - * @property {Phaser.World} world - Reference to the world. - * @default - */ + * @property {Phaser.World} world - Reference to the world. + * @default + */ this.world = null; /** - * @property {Phaser.Physics.PhysicsManager} physics - Reference to the physics manager. - * @default - */ + * @property {Phaser.Physics.PhysicsManager} physics - Reference to the physics manager. + * @default + */ this.physics = null; /** - * @property {Phaser.RandomDataGenerator} rnd - Instance of repeatable random data generator helper. - * @default - */ + * @property {Phaser.RandomDataGenerator} rnd - Instance of repeatable random data generator helper. + * @default + */ this.rnd = null; /** - * @property {Phaser.Device} device - Contains device information and capabilities. - * @default - */ + * @property {Phaser.Device} device - Contains device information and capabilities. + * @default + */ this.device = null; /** - * @property {Phaser.Physics.PhysicsManager} camera - A handy reference to world.camera. - * @default - */ - this.camera = null; + * @property {Phaser.Physics.PhysicsManager} camera - A handy reference to world.camera. + * @default + */ + this.camera = null; - /** - * @property {HTMLCanvasElement} canvas - A handy reference to renderer.view. - * @default - */ - this.canvas = null; + /** + * @property {HTMLCanvasElement} canvas - A handy reference to renderer.view. + * @default + */ + this.canvas = null; - /** - * @property {Context} context - A handy reference to renderer.context (only set for CANVAS games) - * @default - */ - this.context = null; + /** + * @property {Context} context - A handy reference to renderer.context (only set for CANVAS games) + * @default + */ + this.context = null; /** - * @property {Phaser.Utils.Debug} debug - A set of useful debug utilitie. - * @default - */ - this.debug = null; + * @property {Phaser.Utils.Debug} debug - A set of useful debug utilitie. + * @default + */ + this.debug = null; - /** - * @property {Phaser.Particles} particles - The Particle Manager. - * @default - */ - this.particles = null; + /** + * @property {Phaser.Particles} particles - The Particle Manager. + * @default + */ + this.particles = null; - var _this = this; + var _this = this; this._onBoot = function () { return _this.boot(); } - if (document.readyState === 'complete' || document.readyState === 'interactive') - { - window.setTimeout(this._onBoot, 0); - } - else - { - document.addEventListener('DOMContentLoaded', this._onBoot, false); - window.addEventListener('load', this._onBoot, false); - } + if (document.readyState === 'complete' || document.readyState === 'interactive') + { + window.setTimeout(this._onBoot, 0); + } + else + { + document.addEventListener('DOMContentLoaded', this._onBoot, false); + window.addEventListener('load', this._onBoot, false); + } - return this; + return this; }; Phaser.Game.prototype = { - /** - * Initialize engine sub modules and start the game. - * - * @method Phaser.Game#boot - * @protected - */ - boot: function () { - - if (this.isBooted) - { - return; - } - - if (!document.body) - { - window.setTimeout(this._onBoot, 20); - } - else - { - document.removeEventListener('DOMContentLoaded', this._onBoot); - window.removeEventListener('load', this._onBoot); - - this.onPause = new Phaser.Signal; - this.onResume = new Phaser.Signal; - - this.isBooted = true; - - this.device = new Phaser.Device(); - this.math = Phaser.Math; - this.rnd = new Phaser.RandomDataGenerator([(Date.now() * Math.random()).toString()]); - - this.stage = new Phaser.Stage(this, this.width, this.height); - - this.setUpRenderer(); - - this.world = new Phaser.World(this); - this.add = new Phaser.GameObjectFactory(this); - this.cache = new Phaser.Cache(this); - this.load = new Phaser.Loader(this); - this.time = new Phaser.Time(this); - this.tweens = new Phaser.TweenManager(this); - this.input = new Phaser.Input(this); - this.sound = new Phaser.SoundManager(this); - this.physics = new Phaser.Physics.Arcade(this); - this.particles = new Phaser.Particles(this); - this.plugins = new Phaser.PluginManager(this, this); - this.net = new Phaser.Net(this); - this.debug = new Phaser.Utils.Debug(this); - - this.stage.boot(); - this.world.boot(); - this.input.boot(); - this.sound.boot(); - this.state.boot(); - - this.load.onLoadComplete.add(this.loadComplete, this); - - this.showDebugHeader(); - - this.isRunning = true; + /** + * Initialize engine sub modules and start the game. + * + * @method Phaser.Game#boot + * @protected + */ + boot: function () { + + if (this.isBooted) + { + return; + } + + if (!document.body) + { + window.setTimeout(this._onBoot, 20); + } + else + { + document.removeEventListener('DOMContentLoaded', this._onBoot); + window.removeEventListener('load', this._onBoot); + + this.onPause = new Phaser.Signal(); + this.onResume = new Phaser.Signal(); + + this.isBooted = true; + + this.device = new Phaser.Device(); + this.math = Phaser.Math; + this.rnd = new Phaser.RandomDataGenerator([(Date.now() * Math.random()).toString()]); + + this.stage = new Phaser.Stage(this, this.width, this.height); + + this.setUpRenderer(); + + this.world = new Phaser.World(this); + this.add = new Phaser.GameObjectFactory(this); + this.cache = new Phaser.Cache(this); + this.load = new Phaser.Loader(this); + this.time = new Phaser.Time(this); + this.tweens = new Phaser.TweenManager(this); + this.input = new Phaser.Input(this); + this.sound = new Phaser.SoundManager(this); + this.physics = new Phaser.Physics.Arcade(this); + this.particles = new Phaser.Particles(this); + this.plugins = new Phaser.PluginManager(this, this); + this.net = new Phaser.Net(this); + this.debug = new Phaser.Utils.Debug(this); + + this.stage.boot(); + this.world.boot(); + this.input.boot(); + this.sound.boot(); + this.state.boot(); + + this.load.onLoadComplete.add(this.loadComplete, this); + + this.showDebugHeader(); + + this.isRunning = true; this._loadComplete = false; - this.raf = new Phaser.RequestAnimationFrame(this); - this.raf.start(); + this.raf = new Phaser.RequestAnimationFrame(this); + this.raf.start(); - } + } - }, + }, - /** + /** * Displays a Phaser version debug header in the console. * * @method Phaser.Game#showDebugHeader * @protected */ - showDebugHeader: function () { - - var v = Phaser.DEV_VERSION; - var r = 'Canvas'; - var a = 'HTML Audio'; - - if (this.renderType == Phaser.WEBGL) - { - r = 'WebGL'; - } - - if (this.device.webAudio) - { - a = 'WebAudio'; - } - - if (this.device.chrome) - { - var args = [ - '%c %c %c Phaser v' + v + ' - Renderer: ' + r + ' - Audio: ' + a + ' %c %c ', - 'background: #00bff3', - 'background: #0072bc', - 'color: #ffffff; background: #003471', - 'background: #0072bc', - 'background: #00bff3' - ]; - - console.log.apply(console, args); - } - else - { - console.log('Phaser v' + v + ' - Renderer: ' + r + ' - Audio: ' + a); - } - - }, - - /** - * Checks if the device is capable of using the requested renderer and sets it up or an alternative if not. - * - * @method Phaser.Game#setUpRenderer - * @protected - */ - setUpRenderer: function () { - - if (this.renderType === Phaser.CANVAS || (this.renderType === Phaser.AUTO && this.device.webGL == false)) - { - if (this.device.canvas) - { - this.renderType = Phaser.CANVAS; - this.renderer = new PIXI.CanvasRenderer(this.width, this.height, this.stage.canvas, this.transparent); - Phaser.Canvas.setSmoothingEnabled(this.renderer.context, this.antialias); - this.canvas = this.renderer.view; - this.context = this.renderer.context; - } - else - { - throw new Error('Phaser.Game - cannot create Canvas or WebGL context, aborting.'); - } - } - else - { - // They requested WebGL, and their browser supports it - this.renderType = Phaser.WEBGL; - this.renderer = new PIXI.WebGLRenderer(this.width, this.height, this.stage.canvas, this.transparent, this.antialias); - this.canvas = this.renderer.view; - this.context = null; - } + showDebugHeader: function () { + + var v = Phaser.DEV_VERSION; + var r = 'Canvas'; + var a = 'HTML Audio'; + + if (this.renderType == Phaser.WEBGL) + { + r = 'WebGL'; + } + else if (this.renderType == Phaser.HEADLESS) + { + r = 'Headless'; + } + + if (this.device.webAudio) + { + a = 'WebAudio'; + } + + if (this.device.chrome) + { + var args = [ + '%c %c %c Phaser v' + v + ' - Renderer: ' + r + ' - Audio: ' + a + ' %c %c ', + 'background: #00bff3', + 'background: #0072bc', + 'color: #ffffff; background: #003471', + 'background: #0072bc', + 'background: #00bff3' + ]; + + console.log.apply(console, args); + } + else + { + console.log('Phaser v' + v + ' - Renderer: ' + r + ' - Audio: ' + a); + } + + }, + + /** + * Checks if the device is capable of using the requested renderer and sets it up or an alternative if not. + * + * @method Phaser.Game#setUpRenderer + * @protected + */ + setUpRenderer: function () { + + if (this.renderType === Phaser.HEADLESS || this.renderType === Phaser.CANVAS || (this.renderType === Phaser.AUTO && this.device.webGL === false)) + { + if (this.device.canvas) + { + if (this.renderType === Phaser.AUTO) + { + this.renderType = Phaser.CANVAS; + } + + this.renderer = new PIXI.CanvasRenderer(this.width, this.height, this.stage.canvas, this.transparent); + Phaser.Canvas.setSmoothingEnabled(this.renderer.context, this.antialias); + this.canvas = this.renderer.view; + this.context = this.renderer.context; + } + else + { + throw new Error('Phaser.Game - cannot create Canvas or WebGL context, aborting.'); + } + } + else + { + // They requested WebGL, and their browser supports it + this.renderType = Phaser.WEBGL; + this.renderer = new PIXI.WebGLRenderer(this.width, this.height, this.stage.canvas, this.transparent, this.antialias); + this.canvas = this.renderer.view; + this.context = null; + } Phaser.Canvas.addToDOM(this.renderer.view, this.parent, true); Phaser.Canvas.setTouchAction(this.renderer.view); - }, + }, - /** + /** * Called when the load has finished, after preload was run. * * @method Phaser.Game#loadComplete @@ -794,61 +842,65 @@

    Source: core/Game.js

    }, - /** + /** * The core game loop. * * @method Phaser.Game#update * @protected - * @param {number} time - The current time as provided by RequestAnimationFrame. - */ - update: function (time) { - - this.time.update(time); - - if (this._paused) - { - this.renderer.render(this.stage._stage); - this.plugins.render(); - this.state.render(); - } - else - { - this.plugins.preUpdate(); - this.physics.preUpdate(); - - this.stage.update(); - this.input.update(); - this.tweens.update(); - this.sound.update(); - this.world.update(); - this.particles.update(); - this.state.update(); - this.plugins.update(); - - this.world.postUpdate(); + * @param {number} time - The current time as provided by RequestAnimationFrame. + */ + update: function (time) { + + this.time.update(time); + + if (this._paused) + { + this.renderer.render(this.stage._stage); + this.plugins.render(); + this.state.render(); + } + else + { + this.plugins.preUpdate(); + this.physics.preUpdate(); + + this.stage.update(); + this.input.update(); + this.tweens.update(); + this.sound.update(); + this.world.update(); + this.particles.update(); + this.state.update(); + this.plugins.update(); + + this.world.postUpdate(); this.plugins.postUpdate(); - this.renderer.render(this.stage._stage); - this.plugins.render(); - this.state.render(); + if (this.renderType !== Phaser.HEADLESS) + { + this.renderer.render(this.stage._stage); + this.plugins.render(); + this.state.render(); - this.plugins.postRender(); - } + this.plugins.postRender(); + } - }, + } - /** + }, + + /** * Nuke the entire game from orbit * * @method Phaser.Game#destroy */ destroy: function () { - this.raf.stop(); + this.raf.stop(); - this.input.destroy(); + this.input.destroy(); - this.state.destroy(); + this.state.destroy(); this.state = null; this.cache = null; @@ -878,22 +930,22 @@

    Source: core/Game.js

    set: function (value) { - if (value === true) - { - if (this._paused == false) - { - this._paused = true; - this.onPause.dispatch(this); - } - } - else - { - if (this._paused) - { - this._paused = false; - this.onResume.dispatch(this); - } - } + if (value === true) + { + if (this._paused === false) + { + this._paused = true; + this.onPause.dispatch(this); + } + } + else + { + if (this._paused) + { + this._paused = false; + this.onResume.dispatch(this); + } + } } @@ -923,7 +975,7 @@

    Source: core/Game.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/GameObjectFactory.js.html b/docs/GameObjectFactory.js.html index 68b4096b92..d50832416d 100644 --- a/docs/GameObjectFactory.js.html +++ b/docs/GameObjectFactory.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -397,14 +437,14 @@

    Source: gameobjects/GameObjectFactory.js

    Phaser.GameObjectFactory = function (game) { /** - * @property {Phaser.Game} game - A reference to the currently running Game. - */ - this.game = game; - + * @property {Phaser.Game} game - A reference to the currently running Game. + */ + this.game = game; + /** - * @property {Phaser.World} world - A reference to the game world. - */ - this.world = this.game.world; + * @property {Phaser.World} world - A reference to the game world. + */ + this.world = this.game.world; }; @@ -422,7 +462,7 @@

    Source: gameobjects/GameObjectFactory.js

    }, - /** + /** * Create a new Sprite with specific position and sprite sheet key. * * @method Phaser.GameObjectFactory#sprite @@ -483,32 +523,33 @@

    Source: gameobjects/GameObjectFactory.js

    }, /** - * Creates a new instance of the Sound class. - * + * Creates a new instance of the Sound class. + * * @method Phaser.GameObjectFactory#audio - * @param {string} key - The Game.cache key of the sound that this object will use. - * @param {number} volume - The volume at which the sound will be played. - * @param {boolean} loop - Whether or not the sound will loop. - * @return {Phaser.Sound} The newly created text object. - */ - audio: function (key, volume, loop) { - - return this.game.sound.add(key, volume, loop); + * @param {string} key - The Game.cache key of the sound that this object will use. + * @param {number} [volume=1] - The volume at which the sound will be played. + * @param {boolean} [loop=false] - Whether or not the sound will loop. + * @param {boolean} [connect=true] - Controls if the created Sound object will connect to the master gainNode of the SoundManager when running under WebAudio. + * @return {Phaser.Sound} The newly created text object. + */ + audio: function (key, volume, loop, connect) { + + return this.game.sound.add(key, volume, loop, connect); }, /** - * Creates a new <code>TileSprite</code>. - * + * Creates a new <code>TileSprite</code>. + * * @method Phaser.GameObjectFactory#tileSprite - * @param {number} x - X position of the new tileSprite. - * @param {number} y - Y position of the new tileSprite. - * @param {number} width - the width of the tilesprite. - * @param {number} height - the height of the tilesprite. - * @param {string|Phaser.RenderTexture|PIXI.Texture} key - This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture. - * @param {string|number} frame - If this Sprite is using part of a sprite sheet or texture atlas you can specify the exact frame to use by giving a string or numeric index. - * @return {Phaser.TileSprite} The newly created tileSprite object. - */ + * @param {number} x - X position of the new tileSprite. + * @param {number} y - Y position of the new tileSprite. + * @param {number} width - the width of the tilesprite. + * @param {number} height - the height of the tilesprite. + * @param {string|Phaser.RenderTexture|PIXI.Texture} key - This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture. + * @param {string|number} frame - If this Sprite is using part of a sprite sheet or texture atlas you can specify the exact frame to use by giving a string or numeric index. + * @return {Phaser.TileSprite} The newly created tileSprite object. + */ tileSprite: function (x, y, width, height, key, frame) { return this.world.add(new Phaser.TileSprite(this.game, x, y, width, height, key, frame)); @@ -516,15 +557,15 @@

    Source: gameobjects/GameObjectFactory.js

    }, /** - * Creates a new <code>Text</code>. - * + * Creates a new <code>Text</code>. + * * @method Phaser.GameObjectFactory#text - * @param {number} x - X position of the new text object. - * @param {number} y - Y position of the new text object. - * @param {string} text - The actual text that will be written. - * @param {object} style - The style object containing style attributes like font, font size , etc. - * @return {Phaser.Text} The newly created text object. - */ + * @param {number} x - X position of the new text object. + * @param {number} y - Y position of the new text object. + * @param {string} text - The actual text that will be written. + * @param {object} style - The style object containing style attributes like font, font size , etc. + * @return {Phaser.Text} The newly created text object. + */ text: function (x, y, text, style) { return this.world.add(new Phaser.Text(this.game, x, y, text, style)); @@ -552,13 +593,13 @@

    Source: gameobjects/GameObjectFactory.js

    }, /** - * Creates a new <code>Graphics</code> object. - * + * Creates a new <code>Graphics</code> object. + * * @method Phaser.GameObjectFactory#graphics - * @param {number} x - X position of the new graphics object. - * @param {number} y - Y position of the new graphics object. - * @return {Phaser.Graphics} The newly created graphics object. - */ + * @param {number} x - X position of the new graphics object. + * @param {number} y - Y position of the new graphics object. + * @return {Phaser.Graphics} The newly created graphics object. + */ graphics: function (x, y) { return this.world.add(new Phaser.Graphics(this.game, x, y)); @@ -657,6 +698,40 @@

    Source: gameobjects/GameObjectFactory.js

    return texture; + }, + + /** + * A BitmapData object which can be manipulated and drawn to like a traditional Canvas object and used to texture Sprites. + * + * @method Phaser.GameObjectFactory#bitmapData + * @param {number} [width=256] - The width of the BitmapData in pixels. + * @param {number} [height=256] - The height of the BitmapData in pixels. + * @return {Phaser.BitmapData} The newly created BitmapData object. + */ + bitmapData: function (width, height) { + + return new Phaser.BitmapData(this.game, width, height); + + }, + + /** + * A WebGL shader/filter that can be applied to Sprites. + * + * @method Phaser.GameObjectFactory#filter + * @param {string} filter - The name of the filter you wish to create, for example HueRotate or SineWave. + * @param {any} - Whatever parameters are needed to be passed to the filter init function. + * @return {Phaser.Filter} The newly created Phaser.Filter object. + */ + filter: function (filter) { + + var args = Array.prototype.splice.call(arguments, 1); + + var filter = new Phaser.Filter[filter](this.game); + + filter.init.apply(filter, args); + + return filter; + } }; @@ -680,7 +755,7 @@

    Source: gameobjects/GameObjectFactory.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Graphics.js.html b/docs/Graphics.js.html index dd5cb4378b..abb78debc3 100644 --- a/docs/Graphics.js.html +++ b/docs/Graphics.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -388,7 +428,7 @@

    Source: gameobjects/Graphics.js

    */ /** -* Creates a new <code>Graphics</code> object. +* Creates a new `Graphics` object. * * @class Phaser.Graphics * @constructor @@ -404,19 +444,20 @@

    Source: gameobjects/Graphics.js

    PIXI.Graphics.call(this); /** - * @property {Description} type - Description. + * @property {number} type - The Phaser Object Type. */ this.type = Phaser.GRAPHICS; + this.position.x = x; + this.position.y = y; + }; Phaser.Graphics.prototype = Object.create(PIXI.Graphics.prototype); Phaser.Graphics.prototype.constructor = Phaser.Graphics; -// Add our own custom methods - /** -* Description. +* Destroy this Graphics instance. * * @method Phaser.Sprite.prototype.destroy */ @@ -438,11 +479,15 @@

    Source: gameobjects/Graphics.js

    */ Phaser.Graphics.prototype.drawPolygon = function (poly) { - graphics.moveTo(poly.points[0].x, poly.points[0].y); - for (var i = 1; i < poly.points.length; i += 1) { - graphics.lineTo(poly.points[i].x, poly.points[i].y); + this.moveTo(poly.points[0].x, poly.points[0].y); + + for (var i = 1; i < poly.points.length; i += 1) + { + this.lineTo(poly.points[i].x, poly.points[i].y); } - graphics.lineTo(poly.points[0].x, poly.points[0].y); + + this.lineTo(poly.points[0].x, poly.points[0].y); + } Object.defineProperty(Phaser.Graphics.prototype, 'angle', { @@ -501,7 +546,7 @@

    Source: gameobjects/Graphics.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Group.js.html b/docs/Group.js.html index da0f04adb3..cfb22006a3 100644 --- a/docs/Group.js.html +++ b/docs/Group.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -399,77 +439,77 @@

    Source: core/Group.js

    */ Phaser.Group = function (game, parent, name, useStage) { - if (typeof parent === 'undefined') - { - parent = game.world; - } + if (typeof parent === 'undefined' || typeof parent === null) + { + parent = game.world; + } + + if (typeof useStage === 'undefined') + { + useStage = false; + } + + /** + * @property {Phaser.Game} game - A reference to the currently running Game. + */ + this.game = game; + + /** + * @property {string} name - A name for this Group. Not used internally but useful for debugging. + */ + this.name = name || 'group'; - if (typeof useStage === 'undefined') - { - useStage = false; - } + if (useStage) + { + this._container = this.game.stage._stage; + } + else + { + this._container = new PIXI.DisplayObjectContainer(); + this._container.name = this.name; + + if (parent) + { + if (parent instanceof Phaser.Group) + { + parent._container.addChild(this._container); + parent._container.updateTransform(); + } + else + { + parent.addChild(this._container); + parent.updateTransform(); + } + } + else + { + this.game.stage._stage.addChild(this._container); + this.game.stage._stage.updateTransform(); + } + } /** - * @property {Phaser.Game} game - A reference to the currently running Game. - */ - this.game = game; - + * @property {number} type - Internal Phaser Type value. + * @protected + */ + this.type = Phaser.GROUP; + /** - * @property {string} name - A name for this Group. Not used internally but useful for debugging. - */ - this.name = name || 'group'; - - if (useStage) - { - this._container = this.game.stage._stage; - } - else - { - this._container = new PIXI.DisplayObjectContainer(); - this._container.name = this.name; - - if (parent) - { - if (parent instanceof Phaser.Group) - { - parent._container.addChild(this._container); - parent._container.updateTransform(); - } - else - { - parent.addChild(this._container); - parent.updateTransform(); - } - } - else - { - this.game.stage._stage.addChild(this._container); - this.game.stage._stage.updateTransform(); - } - } - - /** - * @property {number} type - Internal Phaser Type value. - * @protected - */ - this.type = Phaser.GROUP; - - /** - * @property {boolean} exists - If exists is true the the Group is updated, otherwise it is skipped. - * @default - */ - this.exists = true; + * @property {boolean} exists - If exists is true the the Group is updated, otherwise it is skipped. + * @default + */ + this.exists = true; /** * @property {Phaser.Point} scale - Replaces the PIXI.Point with a slightly more flexible one. - */ + */ this.scale = new Phaser.Point(1, 1); /** * The cursor is a simple way to iterate through the objects in a Group using the Group.next and Group.previous functions. * The cursor is set to the first child added to the Group and doesn't change unless you call next, previous or set it directly with Group.cursor. * @property {any} cursor - The current display object that the Group cursor is pointing to. - */ + */ this.cursor = null; }; @@ -514,612 +554,609 @@

    Source: core/Group.js

    * @see Phaser.Group#create * @see Phaser.Group#addAt * @method Phaser.Group#add - * @param {*} child - An instance of Phaser.Sprite, Phaser.Button or any other display object.. - * @return {*} The child that was added to the Group. + * @param {*} child - An instance of Phaser.Sprite, Phaser.Button or any other display object.. + * @return {*} The child that was added to the Group. */ - add: function (child) { + add: function (child) { - if (child.group !== this) - { - child.group = this; + if (child.group !== this) + { + child.group = this; - if (child.events) - { - child.events.onAddedToGroup.dispatch(child, this); - } + if (child.events) + { + child.events.onAddedToGroup.dispatch(child, this); + } - this._container.addChild(child); + this._container.addChild(child); - child.updateTransform(); + child.updateTransform(); - if (this.cursor === null) - { - this.cursor = child; - } - } + if (this.cursor === null) + { + this.cursor = child; + } + } - return child; + return child; - }, + }, /** * Adds an existing object to this Group. The object can be an instance of Phaser.Sprite, Phaser.Button or any other display object. * The child is added to the Group at the location specified by the index value, this allows you to control child ordering. - * + * * @method Phaser.Group#addAt - * @param {*} child - An instance of Phaser.Sprite, Phaser.Button or any other display object.. - * @param {number} index - The index within the Group to insert the child to. - * @return {*} The child that was added to the Group. - */ - addAt: function (child, index) { + * @param {*} child - An instance of Phaser.Sprite, Phaser.Button or any other display object.. + * @param {number} index - The index within the Group to insert the child to. + * @return {*} The child that was added to the Group. + */ + addAt: function (child, index) { - if (child.group !== this) - { - child.group = this; + if (child.group !== this) + { + child.group = this; - if (child.events) - { - child.events.onAddedToGroup.dispatch(child, this); - } + if (child.events) + { + child.events.onAddedToGroup.dispatch(child, this); + } - this._container.addChildAt(child, index); + this._container.addChildAt(child, index); - child.updateTransform(); + child.updateTransform(); - if (this.cursor === null) - { - this.cursor = child; - } - } + if (this.cursor === null) + { + this.cursor = child; + } + } - return child; + return child; - }, + }, /** - * Returns the child found at the given index within this Group. - * + * Returns the child found at the given index within this Group. + * * @method Phaser.Group#getAt - * @memberof Phaser.Group - * @param {number} index - The index to return the child from. - * @return {*} The child that was found at the given index. - */ - getAt: function (index) { + * @param {number} index - The index to return the child from. + * @return {*} The child that was found at the given index. + */ + getAt: function (index) { - return this._container.getChildAt(index); + return this._container.getChildAt(index); - }, + }, /** - * Automatically creates a new Phaser.Sprite object and adds it to the top of this Group. - * Useful if you don't need to create the Sprite instances before-hand. - * + * Automatically creates a new Phaser.Sprite object and adds it to the top of this Group. + * Useful if you don't need to create the Sprite instances before-hand. + * * @method Phaser.Group#create - * @param {number} x - The x coordinate to display the newly created Sprite at. The value is in relation to the Group.x point. - * @param {number} y - The y coordinate to display the newly created Sprite at. The value is in relation to the Group.y point. - * @param {string} key - The Game.cache key of the image that this Sprite will use. - * @param {number|string} [frame] - If the Sprite image contains multiple frames you can specify which one to use here. - * @param {boolean} [exists=true] - The default exists state of the Sprite. - * @return {Phaser.Sprite} The child that was created. - */ - create: function (x, y, key, frame, exists) { - - if (typeof exists == 'undefined') { exists = true; } - - var child = new Phaser.Sprite(this.game, x, y, key, frame); - - child.group = this; - child.exists = exists; - child.visible = exists; - child.alive = exists; - - if (child.events) - { - child.events.onAddedToGroup.dispatch(child, this); - } - - this._container.addChild(child); - - child.updateTransform(); + * @param {number} x - The x coordinate to display the newly created Sprite at. The value is in relation to the Group.x point. + * @param {number} y - The y coordinate to display the newly created Sprite at. The value is in relation to the Group.y point. + * @param {string} key - The Game.cache key of the image that this Sprite will use. + * @param {number|string} [frame] - If the Sprite image contains multiple frames you can specify which one to use here. + * @param {boolean} [exists=true] - The default exists state of the Sprite. + * @return {Phaser.Sprite} The child that was created. + */ + create: function (x, y, key, frame, exists) { + + if (typeof exists == 'undefined') { exists = true; } + + var child = new Phaser.Sprite(this.game, x, y, key, frame); - if (this.cursor === null) - { - this.cursor = child; - } + child.group = this; + child.exists = exists; + child.visible = exists; + child.alive = exists; - return child; + if (child.events) + { + child.events.onAddedToGroup.dispatch(child, this); + } - }, + this._container.addChild(child); + + child.updateTransform(); + + if (this.cursor === null) + { + this.cursor = child; + } + + return child; + + }, /** - * Automatically creates multiple Phaser.Sprite objects and adds them to the top of this Group. - * Useful if you need to quickly generate a pool of identical sprites, such as bullets. By default the sprites will be set to not exist - * and will be positioned at 0, 0 (relative to the Group.x/y) - * + * Automatically creates multiple Phaser.Sprite objects and adds them to the top of this Group. + * Useful if you need to quickly generate a pool of identical sprites, such as bullets. By default the sprites will be set to not exist + * and will be positioned at 0, 0 (relative to the Group.x/y) + * * @method Phaser.Group#createMultiple - * @param {number} quantity - The number of Sprites to create. - * @param {string} key - The Game.cache key of the image that this Sprite will use. - * @param {number|string} [frame] - If the Sprite image contains multiple frames you can specify which one to use here. - * @param {boolean} [exists=false] - The default exists state of the Sprite. - */ - createMultiple: function (quantity, key, frame, exists) { + * @param {number} quantity - The number of Sprites to create. + * @param {string} key - The Game.cache key of the image that this Sprite will use. + * @param {number|string} [frame] - If the Sprite image contains multiple frames you can specify which one to use here. + * @param {boolean} [exists=false] - The default exists state of the Sprite. + */ + createMultiple: function (quantity, key, frame, exists) { - if (typeof exists == 'undefined') { exists = false; } + if (typeof exists == 'undefined') { exists = false; } - for (var i = 0; i < quantity; i++) - { - var child = new Phaser.Sprite(this.game, 0, 0, key, frame); + for (var i = 0; i < quantity; i++) + { + var child = new Phaser.Sprite(this.game, 0, 0, key, frame); - child.group = this; - child.exists = exists; - child.visible = exists; - child.alive = exists; + child.group = this; + child.exists = exists; + child.visible = exists; + child.alive = exists; - if (child.events) - { - child.events.onAddedToGroup.dispatch(child, this); - } + if (child.events) + { + child.events.onAddedToGroup.dispatch(child, this); + } - this._container.addChild(child); - child.updateTransform(); + this._container.addChild(child); + child.updateTransform(); - if (this.cursor === null) - { - this.cursor = child; - } + if (this.cursor === null) + { + this.cursor = child; + } - } + } - }, + }, /** - * Advances the Group cursor to the next object in the Group. If it's at the end of the Group it wraps around to the first object. - * + * Advances the Group cursor to the next object in the Group. If it's at the end of the Group it wraps around to the first object. + * * @method Phaser.Group#next - */ - next: function () { - - if (this.cursor) - { - // Wrap the cursor? - if (this.cursor == this._container.last) - { - this.cursor = this._container._iNext; - } - else - { - this.cursor = this.cursor._iNext; - } - } - - }, + */ + next: function () { + + if (this.cursor) + { + // Wrap the cursor? + if (this.cursor == this._container.last) + { + this.cursor = this._container._iNext; + } + else + { + this.cursor = this.cursor._iNext; + } + } + + }, /** - * Moves the Group cursor to the previous object in the Group. If it's at the start of the Group it wraps around to the last object. - * + * Moves the Group cursor to the previous object in the Group. If it's at the start of the Group it wraps around to the last object. + * * @method Phaser.Group#previous - */ - previous: function () { - - if (this.cursor) - { - // Wrap the cursor? - if (this.cursor == this._container._iNext) - { - this.cursor = this._container.last; - } - else - { - this.cursor = this.cursor._iPrev; - } - } + */ + previous: function () { + + if (this.cursor) + { + // Wrap the cursor? + if (this.cursor == this._container._iNext) + { + this.cursor = this._container.last; + } + else + { + this.cursor = this.cursor._iPrev; + } + } - }, + }, - childTest: function (prefix, child) { + childTest: function (prefix, child) { - var s = prefix + ' next: '; + var s = prefix + ' next: '; - if (child._iNext) - { - s = s + child._iNext.name; - } - else - { - s = s + '-null-'; - } + if (child._iNext) + { + s = s + child._iNext.name; + } + else + { + s = s + '-null-'; + } - s = s + ' ' + prefix + ' prev: '; + s = s + ' ' + prefix + ' prev: '; - if (child._iPrev) - { - s = s + child._iPrev.name; - } - else - { - s = s + '-null-'; - } + if (child._iPrev) + { + s = s + child._iPrev.name; + } + else + { + s = s + '-null-'; + } - console.log(s); + console.log(s); - }, + }, - swapIndex: function (index1, index2) { + swapIndex: function (index1, index2) { - var child1 = this.getAt(index1); - var child2 = this.getAt(index2); + var child1 = this.getAt(index1); + var child2 = this.getAt(index2); - console.log('swapIndex ', index1, ' with ', index2); + console.log('swapIndex ', index1, ' with ', index2); - this.swap(child1, child2); + this.swap(child1, child2); - }, + }, - /** - * Swaps the position of two children in this Group. Both children must be in this Group. - * You cannot swap a child with itself, or swap un-parented children, doing so will return false. - * + /** + * Swaps the position of two children in this Group. Both children must be in this Group. + * You cannot swap a child with itself, or swap un-parented children, doing so will return false. + * * @method Phaser.Group#swap - * @param {*} child1 - The first child to swap. - * @param {*} child2 - The second child to swap. + * @param {*} child1 - The first child to swap. + * @param {*} child2 - The second child to swap. * @return {boolean} True if the swap was successful, otherwise false. - */ - swap: function (child1, child2) { - - if (child1 === child2 || !child1.parent || !child2.parent || child1.group !== this || child2.group !== this) - { - return false; - } - - // Cache the values - var child1Prev = child1._iPrev; - var child1Next = child1._iNext; - var child2Prev = child2._iPrev; - var child2Next = child2._iNext; - - var endNode = this._container.last._iNext; - var currentNode = this.game.stage._stage; - - do - { - if (currentNode !== child1 && currentNode !== child2) - { - if (currentNode.first === child1) - { - currentNode.first = child2; - } - else if (currentNode.first === child2) - { - currentNode.first = child1; - } - - if (currentNode.last === child1) - { - currentNode.last = child2; - } - else if (currentNode.last === child2) - { - currentNode.last = child1; - } - } - - currentNode = currentNode._iNext; - } - while (currentNode != endNode) - - if (child1._iNext == child2) - { - // This is a downward (A to B) neighbour swap - child1._iNext = child2Next; - child1._iPrev = child2; - child2._iNext = child1; - child2._iPrev = child1Prev; - - if (child1Prev) { child1Prev._iNext = child2; } - if (child2Next) { child2Next._iPrev = child1; } - - if (child1.__renderGroup) - { - child1.__renderGroup.updateTexture(child1); - } - - if (child2.__renderGroup) - { - child2.__renderGroup.updateTexture(child2); - } - - return true; - } - else if (child2._iNext == child1) - { - // This is an upward (B to A) neighbour swap - child1._iNext = child2; - child1._iPrev = child2Prev; - child2._iNext = child1Next; - child2._iPrev = child1; - - if (child2Prev) { child2Prev._iNext = child1; } - if (child1Next) { child1Next._iPrev = child2; } - - if (child1.__renderGroup) - { - child1.__renderGroup.updateTexture(child1); - } - - if (child2.__renderGroup) - { - child2.__renderGroup.updateTexture(child2); - } - - return true; - } - else - { - // Children are far apart - child1._iNext = child2Next; - child1._iPrev = child2Prev; - child2._iNext = child1Next; - child2._iPrev = child1Prev; - - if (child1Prev) { child1Prev._iNext = child2; } - if (child1Next) { child1Next._iPrev = child2; } - if (child2Prev) { child2Prev._iNext = child1; } - if (child2Next) { child2Next._iPrev = child1; } - - if (child1.__renderGroup) - { - child1.__renderGroup.updateTexture(child1); - } - - if (child2.__renderGroup) - { - child2.__renderGroup.updateTexture(child2); - } - - return true; - } - - return false; - - }, + */ + swap: function (child1, child2) { + + if (child1 === child2 || !child1.parent || !child2.parent || child1.group !== this || child2.group !== this) + { + return false; + } + + // Cache the values + var child1Prev = child1._iPrev; + var child1Next = child1._iNext; + var child2Prev = child2._iPrev; + var child2Next = child2._iNext; + + var endNode = this._container.last._iNext; + var currentNode = this.game.stage._stage; + + do + { + if (currentNode !== child1 && currentNode !== child2) + { + if (currentNode.first === child1) + { + currentNode.first = child2; + } + else if (currentNode.first === child2) + { + currentNode.first = child1; + } + + if (currentNode.last === child1) + { + currentNode.last = child2; + } + else if (currentNode.last === child2) + { + currentNode.last = child1; + } + } + + currentNode = currentNode._iNext; + } + while (currentNode != endNode) + + if (child1._iNext == child2) + { + // This is a downward (A to B) neighbour swap + child1._iNext = child2Next; + child1._iPrev = child2; + child2._iNext = child1; + child2._iPrev = child1Prev; + + if (child1Prev) { child1Prev._iNext = child2; } + if (child2Next) { child2Next._iPrev = child1; } + + if (child1.__renderGroup) + { + child1.__renderGroup.updateTexture(child1); + } + + if (child2.__renderGroup) + { + child2.__renderGroup.updateTexture(child2); + } + + return true; + } + else if (child2._iNext == child1) + { + // This is an upward (B to A) neighbour swap + child1._iNext = child2; + child1._iPrev = child2Prev; + child2._iNext = child1Next; + child2._iPrev = child1; + + if (child2Prev) { child2Prev._iNext = child1; } + if (child1Next) { child1Next._iPrev = child2; } + + if (child1.__renderGroup) + { + child1.__renderGroup.updateTexture(child1); + } + + if (child2.__renderGroup) + { + child2.__renderGroup.updateTexture(child2); + } + + return true; + } + else + { + // Children are far apart + child1._iNext = child2Next; + child1._iPrev = child2Prev; + child2._iNext = child1Next; + child2._iPrev = child1Prev; + + if (child1Prev) { child1Prev._iNext = child2; } + if (child1Next) { child1Next._iPrev = child2; } + if (child2Prev) { child2Prev._iNext = child1; } + if (child2Next) { child2Next._iPrev = child1; } + + if (child1.__renderGroup) + { + child1.__renderGroup.updateTexture(child1); + } + + if (child2.__renderGroup) + { + child2.__renderGroup.updateTexture(child2); + } + + return true; + } + + return false; + + }, - /** - * Brings the given child to the top of this Group so it renders above all other children. - * + /** + * Brings the given child to the top of this Group so it renders above all other children. + * * @method Phaser.Group#bringToTop - * @param {*} child - The child to bring to the top of this Group. + * @param {*} child - The child to bring to the top of this Group. * @return {*} The child that was moved. - */ - bringToTop: function (child) { + */ + bringToTop: function (child) { - if (child.group === this) - { - this.remove(child); - this.add(child); - } + if (child.group === this) + { + this.remove(child); + this.add(child); + } - return child; + return child; - }, + }, - /** - * Get the index position of the given child in this Group. - * + /** + * Get the index position of the given child in this Group. + * * @method Phaser.Group#getIndex - * @param {*} child - The child to get the index for. + * @param {*} child - The child to get the index for. * @return {number} The index of the child or -1 if it's not a member of this Group. - */ - getIndex: function (child) { + */ + getIndex: function (child) { - return this._container.children.indexOf(child); + return this._container.children.indexOf(child); - }, + }, - /** - * Replaces a child of this Group with the given newChild. The newChild cannot be a member of this Group. - * + /** + * Replaces a child of this Group with the given newChild. The newChild cannot be a member of this Group. + * * @method Phaser.Group#replace - * @param {*} oldChild - The child in this Group that will be replaced. - * @param {*} newChild - The child to be inserted into this group. - */ - replace: function (oldChild, newChild) { + * @param {*} oldChild - The child in this Group that will be replaced. + * @param {*} newChild - The child to be inserted into this group. + */ + replace: function (oldChild, newChild) { + + if (!this._container.first._iNext) + { + return; + } + + var index = this.getIndex(oldChild); + + if (index != -1) + { + if (newChild.parent !== undefined) + { + newChild.events.onRemovedFromGroup.dispatch(newChild, this); + newChild.parent.removeChild(newChild); + } + + this._container.removeChild(oldChild); + this._container.addChildAt(newChild, index); + + newChild.events.onAddedToGroup.dispatch(newChild, this); + newChild.updateTransform(); + + if (this.cursor == oldChild) + { + this.cursor = this._container._iNext; + } + } - if (!this._container.first._iNext) - { - return; - } + }, - var index = this.getIndex(oldChild); - - if (index != -1) - { - if (newChild.parent != undefined) - { - newChild.events.onRemovedFromGroup.dispatch(newChild, this); - newChild.parent.removeChild(newChild); - } - - this._container.removeChild(oldChild); - this._container.addChildAt(newChild, index); - - newChild.events.onAddedToGroup.dispatch(newChild, this); - newChild.updateTransform(); - - if (this.cursor == oldChild) - { - this.cursor = this._container._iNext; - } - } - - }, - - /** - * Sets the given property to the given value on the child. The operation controls the assignment of the value. - * - * @method Phaser.Group#setProperty - * @param {*} child - The child to set the property value on. - * @param {array} key - An array of strings that make up the property that will be set. - * @param {*} value - The value that will be set. - * @param {number} [operation=0] - Controls how the value is assigned. A value of 0 replaces the value with the new one. A value of 1 adds it, 2 subtracts it, 3 multiplies it and 4 divides it. - */ - setProperty: function (child, key, value, operation) { - - operation = operation || 0; - - // As ugly as this approach looks, and although it's limited to a depth of only 4, it's extremely fast. - // Much faster than a for loop or object iteration. There are no checks, so if the key isn't valid then it'll fail - // but as you are likely to call this from inner loops that have to perform well, I'll take that trade off. - - // 0 = Equals - // 1 = Add - // 2 = Subtract - // 3 = Multiply - // 4 = Divide - - var len = key.length; - - if (len == 1) - { - if (operation == 0) { child[key[0]] = value; } - else if (operation == 1) { child[key[0]] += value; } - else if (operation == 2) { child[key[0]] -= value; } - else if (operation == 3) { child[key[0]] *= value; } - else if (operation == 4) { child[key[0]] /= value; } - } - else if (len == 2) - { - if (operation == 0) { child[key[0]][key[1]] = value; } - else if (operation == 1) { child[key[0]][key[1]] += value; } - else if (operation == 2) { child[key[0]][key[1]] -= value; } - else if (operation == 3) { child[key[0]][key[1]] *= value; } - else if (operation == 4) { child[key[0]][key[1]] /= value; } - } - else if (len == 3) - { - if (operation == 0) { child[key[0]][key[1]][key[2]] = value; } - else if (operation == 1) { child[key[0]][key[1]][key[2]] += value; } - else if (operation == 2) { child[key[0]][key[1]][key[2]] -= value; } - else if (operation == 3) { child[key[0]][key[1]][key[2]] *= value; } - else if (operation == 4) { child[key[0]][key[1]][key[2]] /= value; } - } - else if (len == 4) - { - if (operation == 0) { child[key[0]][key[1]][key[2]][key[3]] = value; } - else if (operation == 1) { child[key[0]][key[1]][key[2]][key[3]] += value; } - else if (operation == 2) { child[key[0]][key[1]][key[2]][key[3]] -= value; } - else if (operation == 3) { child[key[0]][key[1]][key[2]][key[3]] *= value; } - else if (operation == 4) { child[key[0]][key[1]][key[2]][key[3]] /= value; } - } - else - { - // TODO - Deep property scane - } - - }, - - /** - * This function allows you to quickly set the same property across all children of this Group to a new value. - * The operation parameter controls how the new value is assigned to the property, from simple replacement to addition and multiplication. - * - * @method Phaser.Group#setAll - * @param {string} key - The property, as a string, to be set. For example: 'body.velocity.x' - * @param {*} value - The value that will be set. - * @param {boolean} [checkAlive=false] - If set then only children with alive=true will be updated. - * @param {boolean} [checkVisible=false] - If set then only children with visible=true will be updated. - * @param {number} [operation=0] - Controls how the value is assigned. A value of 0 replaces the value with the new one. A value of 1 adds it, 2 subtracts it, 3 multiplies it and 4 divides it. - */ - setAll: function (key, value, checkAlive, checkVisible, operation) { - - key = key.split('.'); - - if (typeof checkAlive === 'undefined') { checkAlive = false; } - if (typeof checkVisible === 'undefined') { checkVisible = false; } - - operation = operation || 0; - - if (this._container.children.length > 0 && this._container.first._iNext) - { - var currentNode = this._container.first._iNext; - - do - { - if ((checkAlive == false || (checkAlive && currentNode.alive)) && (checkVisible == false || (checkVisible && currentNode.visible))) - { - this.setProperty(currentNode, key, value, operation); - } - - currentNode = currentNode._iNext; - } - while (currentNode != this._container.last._iNext) - } - - }, - - /** - * Adds the amount to the given property on all children in this Group. - * Group.addAll('x', 10) will add 10 to the child.x value. - * - * @method Phaser.Group#addAll - * @param {string} property - The property to increment, for example 'body.velocity.x' or 'angle'. - * @param {number} amount - The amount to increment the property by. If child.x = 10 then addAll('x', 40) would make child.x = 50. - * @param {boolean} checkAlive - If true the property will only be changed if the child is alive. - * @param {boolean} checkVisible - If true the property will only be changed if the child is visible. - */ - addAll: function (property, amount, checkAlive, checkVisible) { - - this.setAll(property, amount, checkAlive, checkVisible, 1); - - }, - - /** - * Subtracts the amount from the given property on all children in this Group. - * Group.subAll('x', 10) will minus 10 from the child.x value. - * - * @method Phaser.Group#subAll - * @param {string} property - The property to decrement, for example 'body.velocity.x' or 'angle'. - * @param {number} amount - The amount to subtract from the property. If child.x = 50 then subAll('x', 40) would make child.x = 10. - * @param {boolean} checkAlive - If true the property will only be changed if the child is alive. - * @param {boolean} checkVisible - If true the property will only be changed if the child is visible. - */ - subAll: function (property, amount, checkAlive, checkVisible) { - - this.setAll(property, amount, checkAlive, checkVisible, 2); - - }, - - /** - * Multiplies the given property by the amount on all children in this Group. - * Group.multiplyAll('x', 2) will x2 the child.x value. - * - * @method Phaser.Group#multiplyAll - * @param {string} property - The property to multiply, for example 'body.velocity.x' or 'angle'. - * @param {number} amount - The amount to multiply the property by. If child.x = 10 then multiplyAll('x', 2) would make child.x = 20. - * @param {boolean} checkAlive - If true the property will only be changed if the child is alive. - * @param {boolean} checkVisible - If true the property will only be changed if the child is visible. - */ - multiplyAll: function (property, amount, checkAlive, checkVisible) { - - this.setAll(property, amount, checkAlive, checkVisible, 3); - - }, - - /** - * Divides the given property by the amount on all children in this Group. - * Group.divideAll('x', 2) will half the child.x value. - * - * @method Phaser.Group#divideAll - * @param {string} property - The property to divide, for example 'body.velocity.x' or 'angle'. - * @param {number} amount - The amount to divide the property by. If child.x = 100 then divideAll('x', 2) would make child.x = 50. - * @param {boolean} checkAlive - If true the property will only be changed if the child is alive. - * @param {boolean} checkVisible - If true the property will only be changed if the child is visible. - */ - divideAll: function (property, amount, checkAlive, checkVisible) { - - this.setAll(property, amount, checkAlive, checkVisible, 4); - - }, - - /** + /** + * Sets the given property to the given value on the child. The operation controls the assignment of the value. + * + * @method Phaser.Group#setProperty + * @param {*} child - The child to set the property value on. + * @param {array} key - An array of strings that make up the property that will be set. + * @param {*} value - The value that will be set. + * @param {number} [operation=0] - Controls how the value is assigned. A value of 0 replaces the value with the new one. A value of 1 adds it, 2 subtracts it, 3 multiplies it and 4 divides it. + */ + setProperty: function (child, key, value, operation) { + + operation = operation || 0; + + // As ugly as this approach looks, and although it's limited to a depth of only 4, it's extremely fast. + // Much faster than a for loop or object iteration. There are no checks, so if the key isn't valid then it'll fail + // but as you are likely to call this from inner loops that have to perform well, I'll take that trade off. + + // 0 = Equals + // 1 = Add + // 2 = Subtract + // 3 = Multiply + // 4 = Divide + + var len = key.length; + + if (len == 1) + { + if (operation === 0) { child[key[0]] = value; } + else if (operation == 1) { child[key[0]] += value; } + else if (operation == 2) { child[key[0]] -= value; } + else if (operation == 3) { child[key[0]] *= value; } + else if (operation == 4) { child[key[0]] /= value; } + } + else if (len == 2) + { + if (operation === 0) { child[key[0]][key[1]] = value; } + else if (operation == 1) { child[key[0]][key[1]] += value; } + else if (operation == 2) { child[key[0]][key[1]] -= value; } + else if (operation == 3) { child[key[0]][key[1]] *= value; } + else if (operation == 4) { child[key[0]][key[1]] /= value; } + } + else if (len == 3) + { + if (operation === 0) { child[key[0]][key[1]][key[2]] = value; } + else if (operation == 1) { child[key[0]][key[1]][key[2]] += value; } + else if (operation == 2) { child[key[0]][key[1]][key[2]] -= value; } + else if (operation == 3) { child[key[0]][key[1]][key[2]] *= value; } + else if (operation == 4) { child[key[0]][key[1]][key[2]] /= value; } + } + else if (len == 4) + { + if (operation === 0) { child[key[0]][key[1]][key[2]][key[3]] = value; } + else if (operation == 1) { child[key[0]][key[1]][key[2]][key[3]] += value; } + else if (operation == 2) { child[key[0]][key[1]][key[2]][key[3]] -= value; } + else if (operation == 3) { child[key[0]][key[1]][key[2]][key[3]] *= value; } + else if (operation == 4) { child[key[0]][key[1]][key[2]][key[3]] /= value; } + } + + // TODO - Deep property scane + + }, + + /** + * This function allows you to quickly set the same property across all children of this Group to a new value. + * The operation parameter controls how the new value is assigned to the property, from simple replacement to addition and multiplication. + * + * @method Phaser.Group#setAll + * @param {string} key - The property, as a string, to be set. For example: 'body.velocity.x' + * @param {*} value - The value that will be set. + * @param {boolean} [checkAlive=false] - If set then only children with alive=true will be updated. + * @param {boolean} [checkVisible=false] - If set then only children with visible=true will be updated. + * @param {number} [operation=0] - Controls how the value is assigned. A value of 0 replaces the value with the new one. A value of 1 adds it, 2 subtracts it, 3 multiplies it and 4 divides it. + */ + setAll: function (key, value, checkAlive, checkVisible, operation) { + + key = key.split('.'); + + if (typeof checkAlive === 'undefined') { checkAlive = false; } + if (typeof checkVisible === 'undefined') { checkVisible = false; } + + operation = operation || 0; + + if (this._container.children.length > 0 && this._container.first._iNext) + { + var currentNode = this._container.first._iNext; + + do + { + if ((checkAlive === false || (checkAlive && currentNode.alive)) && (checkVisible === false || (checkVisible && currentNode.visible))) + { + this.setProperty(currentNode, key, value, operation); + } + + currentNode = currentNode._iNext; + } + while (currentNode != this._container.last._iNext) + } + + }, + + /** + * Adds the amount to the given property on all children in this Group. + * Group.addAll('x', 10) will add 10 to the child.x value. + * + * @method Phaser.Group#addAll + * @param {string} property - The property to increment, for example 'body.velocity.x' or 'angle'. + * @param {number} amount - The amount to increment the property by. If child.x = 10 then addAll('x', 40) would make child.x = 50. + * @param {boolean} checkAlive - If true the property will only be changed if the child is alive. + * @param {boolean} checkVisible - If true the property will only be changed if the child is visible. + */ + addAll: function (property, amount, checkAlive, checkVisible) { + + this.setAll(property, amount, checkAlive, checkVisible, 1); + + }, + + /** + * Subtracts the amount from the given property on all children in this Group. + * Group.subAll('x', 10) will minus 10 from the child.x value. + * + * @method Phaser.Group#subAll + * @param {string} property - The property to decrement, for example 'body.velocity.x' or 'angle'. + * @param {number} amount - The amount to subtract from the property. If child.x = 50 then subAll('x', 40) would make child.x = 10. + * @param {boolean} checkAlive - If true the property will only be changed if the child is alive. + * @param {boolean} checkVisible - If true the property will only be changed if the child is visible. + */ + subAll: function (property, amount, checkAlive, checkVisible) { + + this.setAll(property, amount, checkAlive, checkVisible, 2); + + }, + + /** + * Multiplies the given property by the amount on all children in this Group. + * Group.multiplyAll('x', 2) will x2 the child.x value. + * + * @method Phaser.Group#multiplyAll + * @param {string} property - The property to multiply, for example 'body.velocity.x' or 'angle'. + * @param {number} amount - The amount to multiply the property by. If child.x = 10 then multiplyAll('x', 2) would make child.x = 20. + * @param {boolean} checkAlive - If true the property will only be changed if the child is alive. + * @param {boolean} checkVisible - If true the property will only be changed if the child is visible. + */ + multiplyAll: function (property, amount, checkAlive, checkVisible) { + + this.setAll(property, amount, checkAlive, checkVisible, 3); + + }, + + /** + * Divides the given property by the amount on all children in this Group. + * Group.divideAll('x', 2) will half the child.x value. + * + * @method Phaser.Group#divideAll + * @param {string} property - The property to divide, for example 'body.velocity.x' or 'angle'. + * @param {number} amount - The amount to divide the property by. If child.x = 100 then divideAll('x', 2) would make child.x = 50. + * @param {boolean} checkAlive - If true the property will only be changed if the child is alive. + * @param {boolean} checkVisible - If true the property will only be changed if the child is visible. + */ + divideAll: function (property, amount, checkAlive, checkVisible) { + + this.setAll(property, amount, checkAlive, checkVisible, 4); + + }, + + /** * Calls a function on all of the children that have exists=true in this Group. * After the existsValue parameter you can add as many parameters as you like, which will all be passed to the child callback. * @@ -1128,30 +1165,30 @@

    Source: core/Group.js

    * @param {boolean} existsValue - Only children with exists=existsValue will be called. * @param {...*} parameter - Additional parameters that will be passed to the callback. */ - callAllExists: function (callback, existsValue) { + callAllExists: function (callback, existsValue) { - var args = Array.prototype.splice.call(arguments, 2); + var args = Array.prototype.splice.call(arguments, 2); - if (this._container.children.length > 0 && this._container.first._iNext) - { - var currentNode = this._container.first._iNext; - - do - { - if (currentNode.exists == existsValue && currentNode[callback]) - { - currentNode[callback].apply(currentNode, args); - } + if (this._container.children.length > 0 && this._container.first._iNext) + { + var currentNode = this._container.first._iNext; + + do + { + if (currentNode.exists == existsValue && currentNode[callback]) + { + currentNode[callback].apply(currentNode, args); + } - currentNode = currentNode._iNext; - } - while (currentNode != this._container.last._iNext) + currentNode = currentNode._iNext; + } + while (currentNode != this._container.last._iNext) - } + } - }, + }, - /** + /** * Calls a function on all of the children that have exists=true in this Group. * * @method Phaser.Group#callbackFromArray @@ -1160,51 +1197,51 @@

    Source: core/Group.js

    * @param {number} length - The size of the array (pre-calculated in callAll). * @protected */ - callbackFromArray: function (child, callback, length) { - - // Kinda looks like a Christmas tree - - if (length == 1) - { - if (child[callback[0]]) - { - return child[callback[0]]; - } - } - else if (length == 2) - { - if (child[callback[0]][callback[1]]) - { - return child[callback[0]][callback[1]]; - } - } - else if (length == 3) - { - if (child[callback[0]][callback[1]][callback[2]]) - { - return child[callback[0]][callback[1]][callback[2]]; - } - } - else if (length == 4) - { - if (child[callback[0]][callback[1]][callback[2]][callback[3]]) - { - return child[callback[0]][callback[1]][callback[2]][callback[3]]; - } - } - else - { - if (child[callback]) - { - return child[callback]; - } - } - - return false; - - }, - - /** + callbackFromArray: function (child, callback, length) { + + // Kinda looks like a Christmas tree + + if (length == 1) + { + if (child[callback[0]]) + { + return child[callback[0]]; + } + } + else if (length == 2) + { + if (child[callback[0]][callback[1]]) + { + return child[callback[0]][callback[1]]; + } + } + else if (length == 3) + { + if (child[callback[0]][callback[1]][callback[2]]) + { + return child[callback[0]][callback[1]][callback[2]]; + } + } + else if (length == 4) + { + if (child[callback[0]][callback[1]][callback[2]][callback[3]]) + { + return child[callback[0]][callback[1]][callback[2]][callback[3]]; + } + } + else + { + if (child[callback]) + { + return child[callback]; + } + } + + return false; + + }, + + /** * Calls a function on all of the children regardless if they are dead or alive (see callAllExists if you need control over that) * After the method parameter and context you can add as many extra parameters as you like, which will all be passed to the child. * @@ -1213,341 +1250,342 @@

    Source: core/Group.js

    * @param {string} [context=''] - A string containing the context under which the method will be executed. Leave to '' to default to the child. * @param {...*} parameter - Additional parameters that will be passed to the method. */ - callAll: function (method, context) { - - if (typeof method === 'undefined') - { - return; - } - - // Extract the method into an array - method = method.split('.'); - - var methodLength = method.length; - - if (typeof context === 'undefined') - { - context = null; - } - else - { - // Extract the context into an array - if (typeof context === 'string') - { - context = context.split('.'); - var contextLength = context.length; - } - } - - var args = Array.prototype.splice.call(arguments, 2); - var callback = null; - - if (this._container.children.length > 0 && this._container.first._iNext) - { - var child = this._container.first._iNext; - - do - { - callback = this.callbackFromArray(child, method, methodLength); + callAll: function (method, context) { + + if (typeof method === 'undefined') + { + return; + } + + // Extract the method into an array + method = method.split('.'); + + var methodLength = method.length; + + if (typeof context === 'undefined') + { + context = null; + } + else + { + // Extract the context into an array + if (typeof context === 'string') + { + context = context.split('.'); + var contextLength = context.length; + } + } + + var args = Array.prototype.splice.call(arguments, 2); + var callback = null; + var callbackContext = null; + + if (this._container.children.length > 0 && this._container.first._iNext) + { + var child = this._container.first._iNext; + + do + { + callback = this.callbackFromArray(child, method, methodLength); + + if (context && callback) + { + callbackContext = this.callbackFromArray(child, context, contextLength); + + if (callback) + { + callback.apply(callbackContext, args); + } + } + else if (callback) + { + callback.apply(child, args); + } + + child = child._iNext; + } + while (child != this._container.last._iNext) + + } - if (context && callback) - { - callbackContext = this.callbackFromArray(child, context, contextLength); - - if (callback) - { - callback.apply(callbackContext, args); - } - } - else if (callback) - { - callback.apply(child, args); - } - - child = child._iNext; - } - while (child != this._container.last._iNext) - - } - - }, - - /** - * Allows you to call your own function on each member of this Group. You must pass the callback and context in which it will run. - * After the checkExists parameter you can add as many parameters as you like, which will all be passed to the callback along with the child. - * For example: Group.forEach(awardBonusGold, this, true, 100, 500) - * - * @method Phaser.Group#forEach - * @param {function} callback - The function that will be called. Each child of the Group will be passed to it as its first parameter. + }, + + /** + * Allows you to call your own function on each member of this Group. You must pass the callback and context in which it will run. + * After the checkExists parameter you can add as many parameters as you like, which will all be passed to the callback along with the child. + * For example: Group.forEach(awardBonusGold, this, true, 100, 500) + * + * @method Phaser.Group#forEach + * @param {function} callback - The function that will be called. Each child of the Group will be passed to it as its first parameter. * @param {Object} callbackContext - The context in which the function should be called (usually 'this'). * @param {boolean} checkExists - If set only children with exists=true will be passed to the callback, otherwise all children will be passed. - */ - forEach: function (callback, callbackContext, checkExists) { - - if (typeof checkExists === 'undefined') - { - checkExists = false; - } + */ + forEach: function (callback, callbackContext, checkExists) { + + if (typeof checkExists === 'undefined') + { + checkExists = false; + } + + var args = Array.prototype.splice.call(arguments, 3); + args.unshift(null); + + if (this._container.children.length > 0 && this._container.first._iNext) + { + var currentNode = this._container.first._iNext; + + do + { + if (checkExists === false || (checkExists && currentNode.exists)) + { + args[0] = currentNode; + callback.apply(callbackContext, args); + } + + currentNode = currentNode._iNext; + } + while (currentNode != this._container.last._iNext); + + } - var args = Array.prototype.splice.call(arguments, 3); - args.unshift(null); + }, - if (this._container.children.length > 0 && this._container.first._iNext) - { - var currentNode = this._container.first._iNext; - - do - { - if (checkExists == false || (checkExists && currentNode.exists)) - { - args[0] = currentNode; - callback.apply(callbackContext, args); - } - - currentNode = currentNode._iNext; - } - while (currentNode != this._container.last._iNext); - - } - - }, - - /** - * Allows you to call your own function on each alive member of this Group (where child.alive=true). You must pass the callback and context in which it will run. - * You can add as many parameters as you like, which will all be passed to the callback along with the child. - * For example: Group.forEachAlive(causeDamage, this, 500) - * - * @method Phaser.Group#forEachAlive - * @param {function} callback - The function that will be called. Each child of the Group will be passed to it as its first parameter. + /** + * Allows you to call your own function on each alive member of this Group (where child.alive=true). You must pass the callback and context in which it will run. + * You can add as many parameters as you like, which will all be passed to the callback along with the child. + * For example: Group.forEachAlive(causeDamage, this, 500) + * + * @method Phaser.Group#forEachAlive + * @param {function} callback - The function that will be called. Each child of the Group will be passed to it as its first parameter. * @param {Object} callbackContext - The context in which the function should be called (usually 'this'). - */ - forEachExists: function (callback, callbackContext) { + */ + forEachExists: function (callback, callbackContext) { - var args = Array.prototype.splice.call(arguments, 2); - args.unshift(null); + var args = Array.prototype.splice.call(arguments, 2); + args.unshift(null); - this.iterate('exists', true, Phaser.Group.RETURN_TOTAL, callback, callbackContext, args); + this.iterate('exists', true, Phaser.Group.RETURN_TOTAL, callback, callbackContext, args); - }, + }, - /** - * Allows you to call your own function on each alive member of this Group (where child.alive=true). You must pass the callback and context in which it will run. - * You can add as many parameters as you like, which will all be passed to the callback along with the child. - * For example: Group.forEachAlive(causeDamage, this, 500) - * - * @method Phaser.Group#forEachAlive - * @param {function} callback - The function that will be called. Each child of the Group will be passed to it as its first parameter. + /** + * Allows you to call your own function on each alive member of this Group (where child.alive=true). You must pass the callback and context in which it will run. + * You can add as many parameters as you like, which will all be passed to the callback along with the child. + * For example: Group.forEachAlive(causeDamage, this, 500) + * + * @method Phaser.Group#forEachAlive + * @param {function} callback - The function that will be called. Each child of the Group will be passed to it as its first parameter. * @param {Object} callbackContext - The context in which the function should be called (usually 'this'). - */ - forEachAlive: function (callback, callbackContext) { + */ + forEachAlive: function (callback, callbackContext) { - var args = Array.prototype.splice.call(arguments, 2); - args.unshift(null); + var args = Array.prototype.splice.call(arguments, 2); + args.unshift(null); - this.iterate('alive', true, Phaser.Group.RETURN_TOTAL, callback, callbackContext, args); + this.iterate('alive', true, Phaser.Group.RETURN_TOTAL, callback, callbackContext, args); - }, + }, - /** - * Allows you to call your own function on each dead member of this Group (where alive=false). You must pass the callback and context in which it will run. - * You can add as many parameters as you like, which will all be passed to the callback along with the child. - * For example: Group.forEachDead(bringToLife, this) - * - * @method Phaser.Group#forEachDead - * @param {function} callback - The function that will be called. Each child of the Group will be passed to it as its first parameter. + /** + * Allows you to call your own function on each dead member of this Group (where alive=false). You must pass the callback and context in which it will run. + * You can add as many parameters as you like, which will all be passed to the callback along with the child. + * For example: Group.forEachDead(bringToLife, this) + * + * @method Phaser.Group#forEachDead + * @param {function} callback - The function that will be called. Each child of the Group will be passed to it as its first parameter. * @param {Object} callbackContext - The context in which the function should be called (usually 'this'). - */ - forEachDead: function (callback, callbackContext) { - - var args = Array.prototype.splice.call(arguments, 2); - args.unshift(null); - - this.iterate('alive', false, Phaser.Group.RETURN_TOTAL, callback, callbackContext, args); - - }, - - /** - * Call this function to sort the group according to a particular value and order. - * For example to depth sort Sprites for Zelda-style game you might call `group.sort('y', Phaser.Group.SORT_ASCENDING)` at the bottom of your `State.update()`. - * - * @method Phaser.Group#sort - * @param {string} [index='y'] - The `string` name of the property you want to sort on. - * @param {number} [order=Phaser.Group.SORT_ASCENDING] - The `Group` constant that defines the sort order. Possible values are Phaser.Group.SORT_ASCENDING and Phaser.Group.SORT_DESCENDING. - */ - sort: function (index, order) { - - if (typeof index === 'undefined') { index = 'y'; } - if (typeof order === 'undefined') { order = Phaser.Group.SORT_ASCENDING; } - - var swapped; - var temp; - - do { - - swapped = false; - - for (var i = 0, len = this._container.children.length - 1; i < len; i++) - { - if (order == Phaser.Group.SORT_ASCENDING) - { - if (this._container.children[i][index] > this._container.children[i + 1][index]) - { - this.swap(this.getAt(i), this.getAt(i + 1)); - temp = this._container.children[i]; - this._container.children[i] = this._container.children[i + 1]; - this._container.children[i + 1] = temp; - swapped = true; - } - } - else - { - if (this._container.children[i][index] < this._container.children[i + 1][index]) - { - this.swap(this.getAt(i), this.getAt(i + 1)); - temp = this._container.children[i]; - this._container.children[i] = this._container.children[i + 1]; - this._container.children[i + 1] = temp; - swapped = true; - } - } - } - } while (swapped); - - }, - - /** - * Iterates over the children of the Group. When a child has a property matching key that equals the given value, it is considered as a match. - * Matched children can be sent to the optional callback, or simply returned or counted. - * You can add as many callback parameters as you like, which will all be passed to the callback along with the child, after the callbackContext parameter. - * - * @method Phaser.Group#iterate - * @param {string} key - The child property to check, i.e. 'exists', 'alive', 'health' - * @param {any} value - If child.key === this value it will be considered a match. Note that a strict comparison is used. - * @param {number} returnType - How to return the data from this method. Either Phaser.Group.RETURN_NONE, Phaser.Group.RETURN_TOTAL or Phaser.Group.RETURN_CHILD. - * @param {function} [callback=null] - Optional function that will be called on each matching child. Each child of the Group will be passed to it as its first parameter. - * @param {Object} [callbackContext] - The context in which the function should be called (usually 'this'). - */ - iterate: function (key, value, returnType, callback, callbackContext, args) { + */ + forEachDead: function (callback, callbackContext) { - if (returnType == Phaser.Group.RETURN_TOTAL && this._container.children.length == 0) - { - return -1; - } + var args = Array.prototype.splice.call(arguments, 2); + args.unshift(null); - if (typeof callback === 'undefined') - { - callback = false; - } + this.iterate('alive', false, Phaser.Group.RETURN_TOTAL, callback, callbackContext, args); - var total = 0; + }, - if (this._container.children.length > 0 && this._container.first._iNext) - { - var currentNode = this._container.first._iNext; - - do - { - if (currentNode[key] === value) - { - total++; - - if (callback) - { - args[0] = currentNode; - callback.apply(callbackContext, args); - } - - if (returnType == Phaser.Group.RETURN_CHILD) - { - return currentNode; - } - } - - currentNode = currentNode._iNext; - } - while (currentNode != this._container.last._iNext); - } - - if (returnType == Phaser.Group.RETURN_TOTAL) - { - return total; - } - else if (returnType == Phaser.Group.RETURN_CHILD) - { - return null; - } - - }, - - /** + /** + * Call this function to sort the group according to a particular value and order. + * For example to depth sort Sprites for Zelda-style game you might call `group.sort('y', Phaser.Group.SORT_ASCENDING)` at the bottom of your `State.update()`. + * + * @method Phaser.Group#sort + * @param {string} [index='y'] - The `string` name of the property you want to sort on. + * @param {number} [order=Phaser.Group.SORT_ASCENDING] - The `Group` constant that defines the sort order. Possible values are Phaser.Group.SORT_ASCENDING and Phaser.Group.SORT_DESCENDING. + */ + sort: function (index, order) { + + if (typeof index === 'undefined') { index = 'y'; } + if (typeof order === 'undefined') { order = Phaser.Group.SORT_ASCENDING; } + + var swapped; + var temp; + + do { + + swapped = false; + + for (var i = 0, len = this._container.children.length - 1; i < len; i++) + { + if (order == Phaser.Group.SORT_ASCENDING) + { + if (this._container.children[i][index] > this._container.children[i + 1][index]) + { + this.swap(this.getAt(i), this.getAt(i + 1)); + temp = this._container.children[i]; + this._container.children[i] = this._container.children[i + 1]; + this._container.children[i + 1] = temp; + swapped = true; + } + } + else + { + if (this._container.children[i][index] < this._container.children[i + 1][index]) + { + this.swap(this.getAt(i), this.getAt(i + 1)); + temp = this._container.children[i]; + this._container.children[i] = this._container.children[i + 1]; + this._container.children[i + 1] = temp; + swapped = true; + } + } + } + } while (swapped); + + }, + + /** + * Iterates over the children of the Group. When a child has a property matching key that equals the given value, it is considered as a match. + * Matched children can be sent to the optional callback, or simply returned or counted. + * You can add as many callback parameters as you like, which will all be passed to the callback along with the child, after the callbackContext parameter. + * + * @method Phaser.Group#iterate + * @param {string} key - The child property to check, i.e. 'exists', 'alive', 'health' + * @param {any} value - If child.key === this value it will be considered a match. Note that a strict comparison is used. + * @param {number} returnType - How to return the data from this method. Either Phaser.Group.RETURN_NONE, Phaser.Group.RETURN_TOTAL or Phaser.Group.RETURN_CHILD. + * @param {function} [callback=null] - Optional function that will be called on each matching child. Each child of the Group will be passed to it as its first parameter. + * @param {Object} [callbackContext] - The context in which the function should be called (usually 'this'). + */ + iterate: function (key, value, returnType, callback, callbackContext, args) { + + if (returnType == Phaser.Group.RETURN_TOTAL && this._container.children.length === 0) + { + return -1; + } + + if (typeof callback === 'undefined') + { + callback = false; + } + + var total = 0; + + if (this._container.children.length > 0 && this._container.first._iNext) + { + var currentNode = this._container.first._iNext; + + do + { + if (currentNode[key] === value) + { + total++; + + if (callback) + { + args[0] = currentNode; + callback.apply(callbackContext, args); + } + + if (returnType == Phaser.Group.RETURN_CHILD) + { + return currentNode; + } + } + + currentNode = currentNode._iNext; + } + while (currentNode != this._container.last._iNext); + } + + if (returnType == Phaser.Group.RETURN_TOTAL) + { + return total; + } + else if (returnType == Phaser.Group.RETURN_CHILD) + { + return null; + } + + }, + + /** * Call this function to retrieve the first object with exists == (the given state) in the Group. * * @method Phaser.Group#getFirstExists * @param {boolean} state - True or false. * @return {Any} The first child, or null if none found. */ - getFirstExists: function (state) { + getFirstExists: function (state) { - if (typeof state !== 'boolean') - { - state = true; - } + if (typeof state !== 'boolean') + { + state = true; + } - return this.iterate('exists', state, Phaser.Group.RETURN_CHILD); + return this.iterate('exists', state, Phaser.Group.RETURN_CHILD); - }, + }, - /** - * Call this function to retrieve the first object with alive == true in the group. + /** + * Call this function to retrieve the first object with alive === true in the group. * This is handy for checking if everything has been wiped out, or choosing a squad leader, etc. * * @method Phaser.Group#getFirstAlive * @return {Any} The first alive child, or null if none found. */ - getFirstAlive: function () { + getFirstAlive: function () { - return this.iterate('alive', true, Phaser.Group.RETURN_CHILD); + return this.iterate('alive', true, Phaser.Group.RETURN_CHILD); - }, + }, - /** - * Call this function to retrieve the first object with alive == false in the group. + /** + * Call this function to retrieve the first object with alive === false in the group. * This is handy for checking if everything has been wiped out, or choosing a squad leader, etc. * * @method Phaser.Group#getFirstDead * @return {Any} The first dead child, or null if none found. */ - getFirstDead: function () { + getFirstDead: function () { - return this.iterate('alive', false, Phaser.Group.RETURN_CHILD); + return this.iterate('alive', false, Phaser.Group.RETURN_CHILD); - }, + }, - /** + /** * Call this function to find out how many members of the group are alive. * * @method Phaser.Group#countLiving * @return {number} The number of children flagged as alive. Returns -1 if Group is empty. */ - countLiving: function () { + countLiving: function () { - return this.iterate('alive', true, Phaser.Group.RETURN_TOTAL); + return this.iterate('alive', true, Phaser.Group.RETURN_TOTAL); - }, + }, - /** + /** * Call this function to find out how many members of the group are dead. * * @method Phaser.Group#countDead * @return {number} The number of children flagged as dead. Returns -1 if Group is empty. */ - countDead: function () { + countDead: function () { - return this.iterate('alive', false, Phaser.Group.RETURN_TOTAL); + return this.iterate('alive', false, Phaser.Group.RETURN_TOTAL); - }, + }, - /** + /** * Returns a member at random from the group. * * @method Phaser.Group#getRandom @@ -1555,276 +1593,288 @@

    Source: core/Group.js

    * @param {number} length - Optional restriction on the number of values you want to randomly select from. * @return {Any} A random child of this Group. */ - getRandom: function (startIndex, length) { + getRandom: function (startIndex, length) { - if (this._container.children.length == 0) - { - return null; - } + if (this._container.children.length === 0) + { + return null; + } - startIndex = startIndex || 0; - length = length || this._container.children.length; + startIndex = startIndex || 0; + length = length || this._container.children.length; return this.game.math.getRandom(this._container.children, startIndex, length); - }, - - /** - * Removes the given child from this Group and sets its group property to null. - * - * @method Phaser.Group#remove - * @param {Any} child - The child to remove. - */ - remove: function (child) { - - if (child.events) - { - child.events.onRemovedFromGroup.dispatch(child, this); - } - - this._container.removeChild(child); - - if (this.cursor == child) - { - if (this._container._iNext) - { - this.cursor = this._container._iNext; - } - else - { - this.cursor = null; - } - } - - child.group = null; - - }, - - /** - * Removes all children from this Group, setting all group properties to null. - * The Group container remains on the display list. - * - * @method Phaser.Group#removeAll - */ - removeAll: function () { - - if (this._container.children.length == 0) - { - return; - } - - do - { - if (this._container.children[0].events) - { - this._container.children[0].events.onRemovedFromGroup.dispatch(this._container.children[0], this); - } - this._container.removeChild(this._container.children[0]); - } - while (this._container.children.length > 0); - - this.cursor = null; - - }, - - /** - * Removes all children from this Group whos index falls beteen the given startIndex and endIndex values. - * - * @method Phaser.Group#removeBetween - * @param {number} startIndex - The index to start removing children from. - * @param {number} endIndex - The index to stop removing children from. Must be higher than startIndex and less than the length of the Group. - */ - removeBetween: function (startIndex, endIndex) { - - if (this._container.children.length == 0) - { - return; - } - - if (startIndex > endIndex || startIndex < 0 || endIndex > this._container.children.length) - { - return false; - } - - for (var i = startIndex; i < endIndex; i++) - { - var child = this._container.children[i]; - child.events.onRemovedFromGroup.dispatch(child, this); - this._container.removeChild(child); - - if (this.cursor == child) - { - if (this._container._iNext) - { - this.cursor = this._container._iNext; - } - else - { - this.cursor = null; - } - } - } - - }, - - /** - * Destroys this Group. Removes all children, then removes the container from the display list and nulls references. - * - * @method Phaser.Group#destroy - */ - destroy: function () { - - this.removeAll(); - - this._container.parent.removeChild(this._container); - - this._container = null; - - this.game = null; - - this.exists = false; - - this.cursor = null; - - }, - - validate: function () { - - var testObject = this.game.stage._stage.last._iNext; - var displayObject = this.game.stage._stage; - var nextObject = null; - var prevObject = null; - var count = 0; - - do - { - if (count > 0) - { - // check next - if (displayObject !== nextObject) - { - console.log('check next fail'); - return false; - } - - // check previous - if (displayObject._iPrev !== prevObject) - { - console.log('check previous fail'); - return false; - } - } - - // Set the next object - nextObject = displayObject._iNext; - prevObject = displayObject; - - displayObject = displayObject._iNext; - - count++; - - } - while(displayObject != testObject) - - return true; - - }, - - /** - * Dumps out a list of Group children and their index positions to the browser console. Useful for group debugging. - * - * @method Phaser.Group#dump - * @param {boolean} [full=false] - If full the dump will include the entire display list, start from the Stage. Otherwise it will only include this container. - */ - dump: function (full) { - - if (typeof full == 'undefined') - { - full = false; - } - - var spacing = 20; - var output = "\n" + Phaser.Utils.pad('Node', spacing) + "|" + Phaser.Utils.pad('Next', spacing) + "|" + Phaser.Utils.pad('Previous', spacing) + "|" + Phaser.Utils.pad('First', spacing) + "|" + Phaser.Utils.pad('Last', spacing); - - console.log(output); - - var output = Phaser.Utils.pad('----------', spacing) + "|" + Phaser.Utils.pad('----------', spacing) + "|" + Phaser.Utils.pad('----------', spacing) + "|" + Phaser.Utils.pad('----------', spacing) + "|" + Phaser.Utils.pad('----------', spacing); - console.log(output); - - if (full) - { - var testObject = this.game.stage._stage.last._iNext; - var displayObject = this.game.stage._stage; - } - else - { - var testObject = this._container.last._iNext; - var displayObject = this._container; - } - - do - { - var name = displayObject.name || '*'; - - if (this.cursor == displayObject) - { - var name = '> ' + name; - } - - var nameNext = '-'; - var namePrev = '-'; - var nameFirst = '-'; - var nameLast = '-'; - - if (displayObject._iNext) - { - nameNext = displayObject._iNext.name; - } - - if (displayObject._iPrev) - { - namePrev = displayObject._iPrev.name; - } - - if (displayObject.first) - { - nameFirst = displayObject.first.name; - } - - if (displayObject.last) - { - nameLast = displayObject.last.name; - } - - if (typeof nameNext === 'undefined') - { - nameNext = '-'; - } - - if (typeof namePrev === 'undefined') - { - namePrev = '-'; - } - - if (typeof nameFirst === 'undefined') - { - nameFirst = '-'; - } - - if (typeof nameLast === 'undefined') - { - nameLast = '-'; - } - - var output = Phaser.Utils.pad(name, spacing) + "|" + Phaser.Utils.pad(nameNext, spacing) + "|" + Phaser.Utils.pad(namePrev, spacing) + "|" + Phaser.Utils.pad(nameFirst, spacing) + "|" + Phaser.Utils.pad(nameLast, spacing); - console.log(output); - - displayObject = displayObject._iNext; - - } - while(displayObject != testObject) - - } + }, + + /** + * Removes the given child from this Group and sets its group property to null. + * + * @method Phaser.Group#remove + * @param {Any} child - The child to remove. + * @return {boolean} true if the child was removed from this Group, otherwise false. + */ + remove: function (child) { + + if (child.group !== this) + { + return false; + } + + if (child.events) + { + child.events.onRemovedFromGroup.dispatch(child, this); + } + + // Check it's actually in the container + if (child.parent === this._container) + { + this._container.removeChild(child); + } + + if (this.cursor == child) + { + if (this._container._iNext) + { + this.cursor = this._container._iNext; + } + else + { + this.cursor = null; + } + } + + child.group = null; + + return true; + + }, + + /** + * Removes all children from this Group, setting all group properties to null. + * The Group container remains on the display list. + * + * @method Phaser.Group#removeAll + */ + removeAll: function () { + + if (this._container.children.length === 0) + { + return; + } + + do + { + if (this._container.children[0].events) + { + this._container.children[0].events.onRemovedFromGroup.dispatch(this._container.children[0], this); + } + this._container.removeChild(this._container.children[0]); + } + while (this._container.children.length > 0); + + this.cursor = null; + + }, + + /** + * Removes all children from this Group whos index falls beteen the given startIndex and endIndex values. + * + * @method Phaser.Group#removeBetween + * @param {number} startIndex - The index to start removing children from. + * @param {number} endIndex - The index to stop removing children from. Must be higher than startIndex and less than the length of the Group. + */ + removeBetween: function (startIndex, endIndex) { + + if (this._container.children.length === 0) + { + return; + } + + if (startIndex > endIndex || startIndex < 0 || endIndex > this._container.children.length) + { + return false; + } + + for (var i = startIndex; i < endIndex; i++) + { + var child = this._container.children[i]; + child.events.onRemovedFromGroup.dispatch(child, this); + this._container.removeChild(child); + + if (this.cursor == child) + { + if (this._container._iNext) + { + this.cursor = this._container._iNext; + } + else + { + this.cursor = null; + } + } + } + + }, + + /** + * Destroys this Group. Removes all children, then removes the container from the display list and nulls references. + * + * @method Phaser.Group#destroy + */ + destroy: function () { + + this.removeAll(); + + this._container.parent.removeChild(this._container); + + this._container = null; + + this.game = null; + + this.exists = false; + + this.cursor = null; + + }, + + validate: function () { + + var testObject = this.game.stage._stage.last._iNext; + var displayObject = this.game.stage._stage; + var nextObject = null; + var prevObject = null; + var count = 0; + + do + { + if (count > 0) + { + // check next + if (displayObject !== nextObject) + { + console.log('check next fail'); + return false; + } + + // check previous + if (displayObject._iPrev !== prevObject) + { + console.log('check previous fail'); + return false; + } + } + + // Set the next object + nextObject = displayObject._iNext; + prevObject = displayObject; + + displayObject = displayObject._iNext; + + count++; + + } + while(displayObject != testObject) + + return true; + + }, + + /** + * Dumps out a list of Group children and their index positions to the browser console. Useful for group debugging. + * + * @method Phaser.Group#dump + * @param {boolean} [full=false] - If full the dump will include the entire display list, start from the Stage. Otherwise it will only include this container. + */ + dump: function (full) { + + if (typeof full == 'undefined') + { + full = false; + } + + var spacing = 20; + var output = "\n" + Phaser.Utils.pad('Node', spacing) + "|" + Phaser.Utils.pad('Next', spacing) + "|" + Phaser.Utils.pad('Previous', spacing) + "|" + Phaser.Utils.pad('First', spacing) + "|" + Phaser.Utils.pad('Last', spacing); + + console.log(output); + + var output = Phaser.Utils.pad('----------', spacing) + "|" + Phaser.Utils.pad('----------', spacing) + "|" + Phaser.Utils.pad('----------', spacing) + "|" + Phaser.Utils.pad('----------', spacing) + "|" + Phaser.Utils.pad('----------', spacing); + console.log(output); + + if (full) + { + var testObject = this.game.stage._stage.last._iNext; + var displayObject = this.game.stage._stage; + } + else + { + var testObject = this._container.last._iNext; + var displayObject = this._container; + } + + do + { + var name = displayObject.name || '*'; + + if (this.cursor == displayObject) + { + var name = '> ' + name; + } + + var nameNext = '-'; + var namePrev = '-'; + var nameFirst = '-'; + var nameLast = '-'; + + if (displayObject._iNext) + { + nameNext = displayObject._iNext.name; + } + + if (displayObject._iPrev) + { + namePrev = displayObject._iPrev.name; + } + + if (displayObject.first) + { + nameFirst = displayObject.first.name; + } + + if (displayObject.last) + { + nameLast = displayObject.last.name; + } + + if (typeof nameNext === 'undefined') + { + nameNext = '-'; + } + + if (typeof namePrev === 'undefined') + { + namePrev = '-'; + } + + if (typeof nameFirst === 'undefined') + { + nameFirst = '-'; + } + + if (typeof nameLast === 'undefined') + { + nameLast = '-'; + } + + var output = Phaser.Utils.pad(name, spacing) + "|" + Phaser.Utils.pad(nameNext, spacing) + "|" + Phaser.Utils.pad(namePrev, spacing) + "|" + Phaser.Utils.pad(nameFirst, spacing) + "|" + Phaser.Utils.pad(nameLast, spacing); + console.log(output); + + displayObject = displayObject._iNext; + + } + while(displayObject != testObject) + + } }; @@ -1836,7 +1886,7 @@

    Source: core/Group.js

    Object.defineProperty(Phaser.Group.prototype, "total", { get: function () { - return this.iterate('exists', true, Phaser.Group.RETURN_TOTAL); + return this.iterate('exists', true, Phaser.Group.RETURN_TOTAL); // return this._container.children.length; } @@ -1850,7 +1900,7 @@

    Source: core/Group.js

    Object.defineProperty(Phaser.Group.prototype, "length", { get: function () { - return this.iterate('exists', true, Phaser.Group.RETURN_TOTAL); + return this.iterate('exists', true, Phaser.Group.RETURN_TOTAL); // return this._container.children.length; } @@ -1980,7 +2030,7 @@

    Source: core/Group.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Input.js.html b/docs/Input.js.html index aa9b7b2ad6..8b01fbbb88 100644 --- a/docs/Input.js.html +++ b/docs/Input.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -388,32 +428,32 @@

    Source: input/Input.js

    */ /** -* Constructor for Phaser Input. +* Phaser.Input is the Input Manager for all types of Input across Phaser, including mouse, keyboard, touch and MSPointer. +* The Input manager is updated automatically by the core game loop. +* * @class Phaser.Input -* @classdesc A game specific Input manager that looks after the mouse, keyboard and touch objects. -* This is updated by the core game loop. * @constructor * @param {Phaser.Game} game - Current game instance. */ Phaser.Input = function (game) { - /** - * @property {Phaser.Game} game - A reference to the currently running game. - */ - this.game = game; + /** + * @property {Phaser.Game} game - A reference to the currently running game. + */ + this.game = game; - /** - * @property {Description} hitCanvas - Description. + /** + * @property {HTMLCanvasElement} hitCanvas - The canvas to which single pixels are drawn in order to perform pixel-perfect hit detection. * @default - */ + */ this.hitCanvas = null; - /** - * @property {Description} hitContext - Description. - * @default - */ + /** + * @property {CanvasRenderingContext2D} hitContext - The context of the pixel perfect hit canvas. + * @default + */ this.hitContext = null; - + }; /** @@ -436,11 +476,6 @@

    Source: input/Input.js

    Phaser.Input.prototype = { - /** - * @property {Phaser.Game} game - */ - game: null, - /** * How often should the input pointers be checked for updates? * A value of 0 means every single frame (60fps), a value of 1 means every other frame (30fps) and so on. @@ -450,31 +485,28 @@

    Source: input/Input.js

    pollRate: 0, /** - * @property {number} _pollCounter - Description. - * @private - * @default - */ + * @property {number} _pollCounter - Internal var holding the current poll counter. + * @private + * @default + */ _pollCounter: 0, /** - * A vector object representing the previous position of the Pointer. - * @property {Vec2} vector + * @property {Phaser.Point} _oldPosition - A point object representing the previous position of the Pointer. * @private * @default */ _oldPosition: null, /** - * X coordinate of the most recent Pointer event - * @property {number} _x + * @property {number} _x - x coordinate of the most recent Pointer event * @private * @default */ _x: 0, /** - * Y coordinate of the most recent Pointer event - * @property {number} _y + * @property {number} _y - Y coordinate of the most recent Pointer event * @private * @default */ @@ -495,17 +527,14 @@

    Source: input/Input.js

    multiInputOverride: Phaser.Input.MOUSE_TOUCH_COMBINE, /** - * A vector object representing the current position of the Pointer. - * @property {Phaser.Point} position + * @property {Phaser.Point} position - A point object representing the current position of the Pointer. * @default */ position: null, /** - * A vector object representing the speed of the Pointer. Only really useful in single Pointer games, - * otherwise see the Pointer objects directly. + * A point object representing the speed of the Pointer. Only really useful in single Pointer games, otherwise see the Pointer objects directly. * @property {Phaser.Point} speed - * @default */ speed: null, @@ -513,7 +542,6 @@

    Source: input/Input.js

    * A Circle object centered on the x/y screen coordinates of the Input. * Default size of 44px (Apples recommended "finger tip" size) but can be changed to anything. * @property {Phaser.Circle} circle - * @default */ circle: null, @@ -521,7 +549,6 @@

    Source: input/Input.js

    * The scale by which all input coordinates are multiplied, calculated by the StageScaleMode. * In an un-scaled game the values will be x: 1 and y: 1. * @property {Phaser.Point} scale - * @default */ scale: null, @@ -650,7 +677,7 @@

    Source: input/Input.js

    /** * A Pointer object * @property {Phaser.Pointer} pointer9 - */ + */ pointer9: null, /** @@ -736,40 +763,40 @@

    Source: input/Input.js

    */ interactiveItems: new Phaser.LinkedList(), - /** + /** * Starts the Input Manager running. * @method Phaser.Input#boot * @protected */ boot: function () { - this.mousePointer = new Phaser.Pointer(this.game, 0); - this.pointer1 = new Phaser.Pointer(this.game, 1); - this.pointer2 = new Phaser.Pointer(this.game, 2); + this.mousePointer = new Phaser.Pointer(this.game, 0); + this.pointer1 = new Phaser.Pointer(this.game, 1); + this.pointer2 = new Phaser.Pointer(this.game, 2); - this.mouse = new Phaser.Mouse(this.game); - this.keyboard = new Phaser.Keyboard(this.game); - this.touch = new Phaser.Touch(this.game); - this.mspointer = new Phaser.MSPointer(this.game); + this.mouse = new Phaser.Mouse(this.game); + this.keyboard = new Phaser.Keyboard(this.game); + this.touch = new Phaser.Touch(this.game); + this.mspointer = new Phaser.MSPointer(this.game); - this.onDown = new Phaser.Signal(); - this.onUp = new Phaser.Signal(); - this.onTap = new Phaser.Signal(); - this.onHold = new Phaser.Signal(); + this.onDown = new Phaser.Signal(); + this.onUp = new Phaser.Signal(); + this.onTap = new Phaser.Signal(); + this.onHold = new Phaser.Signal(); - this.scale = new Phaser.Point(1, 1); - this.speed = new Phaser.Point(); - this.position = new Phaser.Point(); - this._oldPosition = new Phaser.Point(); + this.scale = new Phaser.Point(1, 1); + this.speed = new Phaser.Point(); + this.position = new Phaser.Point(); + this._oldPosition = new Phaser.Point(); - this.circle = new Phaser.Circle(0, 0, 44); + this.circle = new Phaser.Circle(0, 0, 44); - this.activePointer = this.mousePointer; - this.currentPointers = 0; + this.activePointer = this.mousePointer; + this.currentPointers = 0; - this.hitCanvas = document.createElement('canvas'); - this.hitCanvas.width = 1; - this.hitCanvas.height = 1; + this.hitCanvas = document.createElement('canvas'); + this.hitCanvas.width = 1; + this.hitCanvas.height = 1; this.hitContext = this.hitCanvas.getContext('2d'); this.mouse.start(); @@ -793,7 +820,7 @@

    Source: input/Input.js

    }, - /** + /** * Add a new Pointer object to the Input Manager. By default Input creates 3 pointer objects: mousePointer, pointer1 and pointer2. * If you need more then use this to create a new one, up to a maximum of 10. * @method Phaser.Input#addPointer @@ -811,7 +838,7 @@

    Source: input/Input.js

    } } - if (next == 0) + if (next === 0) { console.warn("You can only have 10 Pointer objects"); return null; @@ -824,7 +851,7 @@

    Source: input/Input.js

    }, - /** + /** * Updates the Input Manager. Called by the core Game loop. * @method Phaser.Input#update * @protected @@ -858,14 +885,14 @@

    Source: input/Input.js

    this._pollCounter = 0; }, - /** + /** * Reset all of the Pointers and Input states * @method Phaser.Input#reset * @param {boolean} hard - A soft reset (hard = false) won't reset any Signals that might be bound. A hard reset will. */ reset: function (hard) { - if (this.game.isBooted == false) + if (this.game.isBooted === false) { return; } @@ -886,7 +913,7 @@

    Source: input/Input.js

    this.currentPointers = 0; this.game.stage.canvas.style.cursor = "default"; - if (hard == true) + if (hard === true) { this.onDown.dispose(); this.onUp.dispose(); @@ -917,7 +944,7 @@

    Source: input/Input.js

    }, - /** + /** * Find the first free Pointer object and start it, passing in the event data. This is called automatically by Phaser.Touch and Phaser.MSPointer. * @method Phaser.Input#startPointer * @param {Any} event - The event data from the Touch event. @@ -930,11 +957,11 @@

    Source: input/Input.js

    return null; } - if (this.pointer1.active == false) + if (this.pointer1.active === false) { return this.pointer1.start(event); } - else if (this.pointer2.active == false) + else if (this.pointer2.active === false) { return this.pointer2.start(event); } @@ -942,7 +969,7 @@

    Source: input/Input.js

    { for (var i = 3; i <= 10; i++) { - if (this['pointer' + i] && this['pointer' + i].active == false) + if (this['pointer' + i] && this['pointer' + i].active === false) { return this['pointer' + i].start(event); } @@ -953,7 +980,7 @@

    Source: input/Input.js

    }, - /** + /** * Updates the matching Pointer object, passing in the event data. This is called automatically and should not normally need to be invoked. * @method Phaser.Input#updatePointer * @param {Any} event - The event data from the Touch event. @@ -984,7 +1011,7 @@

    Source: input/Input.js

    }, - /** + /** * Stops the matching Pointer object, passing in the event data. * @method Phaser.Input#stopPointer * @param {Any} event - The event data from the Touch event. @@ -1015,7 +1042,7 @@

    Source: input/Input.js

    }, - /** + /** * Get the next Pointer object whos active property matches the given state * @method Phaser.Input#getPointer * @param {boolean} state - The state the Pointer should be in (false for inactive, true for active). @@ -1048,7 +1075,7 @@

    Source: input/Input.js

    }, - /** + /** * Get the Pointer object whos identified property matches the given identifier value. * @method Phaser.Input#getPointerFromIdentifier * @param {number} identifier - The Pointer.identifier value to search for. @@ -1176,7 +1203,7 @@

    Source: input/Input.js

    Object.defineProperty(Phaser.Input.prototype, "worldX", { get: function () { - return this.game.camera.view.x + this.x; + return this.game.camera.view.x + this.x; } }); @@ -1189,7 +1216,7 @@

    Source: input/Input.js

    Object.defineProperty(Phaser.Input.prototype, "worldY", { get: function () { - return this.game.camera.view.y + this.y; + return this.game.camera.view.y + this.y; } }); @@ -1214,7 +1241,7 @@

    Source: input/Input.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/InputHandler.js.html b/docs/InputHandler.js.html index 483dfbe7ac..519c751556 100644 --- a/docs/InputHandler.js.html +++ b/docs/InputHandler.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -388,131 +428,129 @@

    Source: input/InputHandler.js

    */ /** -* Constructor for Phaser InputHandler. +* The Input Handler is bound to a specific Sprite and is responsible for managing all Input events on that Sprite. * @class Phaser.InputHandler -* @classdesc Description. * @constructor -* @param {Phaser.Sprite} game - Description. +* @param {Phaser.Sprite} sprite - The Sprite object to which this Input Handler belongs. */ Phaser.InputHandler = function (sprite) { - /** - * @property {Phaser.Sprite} sprite - Description. - */ - this.sprite = sprite; + /** + * @property {Phaser.Sprite} sprite - The Sprite object to which this Input Handler belongs. + */ + this.sprite = sprite; /** * @property {Phaser.Game} game - A reference to the currently running game. */ this.game = sprite.game; - /** - * @property {boolean} enabled - Description. - * @default - */ + /** + * @property {boolean} enabled - If enabled the Input Handler will process input requests and monitor pointer activity. + * @default + */ this.enabled = false; - // Linked list references - /** - * @property {Description} parent - Description. - * @default - */ - this.parent = null; + /** + * @property {Description} parent - Description. + * @default + */ + // this.parent = null; - /** - * @property {Description} next - Description. - * @default - */ - this.next = null; + /** + * @property {Description} next - Linked List + * @default + */ + // this.next = null; - /** - * @property {Description} prev - Description. - * @default - */ - this.prev = null; + /** + * @property {Description} prev - Description. + * @default + */ + // this.prev = null; - /** - * @property {Description} last - Description. - * @default - */ - this.last = this; - - /** - * @property {Description} first - Description. - * @default - */ - this.first = this; - - /** - * @property {number} priorityID - The PriorityID controls which Sprite receives an Input event first if they should overlap. - * @default - */ + /** + * @property {Description} last - Description. + * @default + */ + // this.last = this; + + /** + * @property {Description} first - Description. + * @default + */ + // this.first = this; + + /** + * @property {number} priorityID - The PriorityID controls which Sprite receives an Input event first if they should overlap. + * @default + */ this.priorityID = 0; - /** - * @property {boolean} useHandCursor - Description. - * @default - */ + /** + * @property {boolean} useHandCursor - On a desktop browser you can set the 'hand' cursor to appear when moving over the Sprite. + * @default + */ this.useHandCursor = false; - - /** - * @property {boolean} isDragged - Description. - * @default - */ + + /** + * @property {boolean} isDragged - true if the Sprite is being currently dragged. + * @default + */ this.isDragged = false; - /** - * @property {boolean} allowHorizontalDrag - Description. - * @default - */ + /** + * @property {boolean} allowHorizontalDrag - Controls if the Sprite is allowed to be dragged horizontally. + * @default + */ this.allowHorizontalDrag = true; - /** - * @property {boolean} allowVerticalDrag - Description. - * @default - */ + /** + * @property {boolean} allowVerticalDrag - Controls if the Sprite is allowed to be dragged vertically. + * @default + */ this.allowVerticalDrag = true; - /** - * @property {boolean} bringToTop - Description. - * @default - */ + /** + * @property {boolean} bringToTop - If true when this Sprite is clicked or dragged it will automatically be bought to the top of the Group it is within. + * @default + */ this.bringToTop = false; - /** - * @property {Description} snapOffset - Description. - * @default - */ + /** + * @property {Phaser.Point} snapOffset - A Point object that contains by how far the Sprite snap is offset. + * @default + */ this.snapOffset = null; - /** - * @property {boolean} snapOnDrag - Description. - * @default - */ + /** + * @property {boolean} snapOnDrag - When the Sprite is dragged this controls if the center of the Sprite will snap to the pointer on drag or not. + * @default + */ this.snapOnDrag = false; - /** - * @property {boolean} snapOnRelease - Description. - * @default - */ + /** + * @property {boolean} snapOnRelease - When the Sprite is dragged this controls if the Sprite will be snapped on release. + * @default + */ this.snapOnRelease = false; - /** - * @property {number} snapX - Description. - * @default - */ + /** + * @property {number} snapX - When a Sprite has snapping enabled this holds the width of the snap grid. + * @default + */ this.snapX = 0; - /** - * @property {number} snapY - Description. - * @default - */ + /** + * @property {number} snapY - When a Sprite has snapping enabled this holds the height of the snap grid. + * @default + */ this.snapY = 0; - /** - * @property {number} pixelPerfect - Should we use pixel perfect hit detection? Warning: expensive. Only enable if you really need it! - * @default - */ + /** + * @property {number} pixelPerfect - Should we use pixel perfect hit detection? Warning: expensive. Only enable if you really need it! + * @default + */ this.pixelPerfect = false; /** @@ -528,13 +566,13 @@

    Source: input/InputHandler.js

    this.draggable = false; /** - * @property {Description} boundsRect - A region of the game world within which the sprite is restricted during drag. + * @property {Phaser.Rectangle} boundsRect - A region of the game world within which the sprite is restricted during drag. * @default */ this.boundsRect = null; /** - * @property {Description} boundsSprite - A Sprite the bounds of which this sprite is restricted during drag. + * @property {Phaser.Sprite} boundsSprite - A Sprite the bounds of which this sprite is restricted during drag. * @default */ this.boundsSprite = null; @@ -551,7 +589,7 @@

    Source: input/InputHandler.js

    * @property {Phaser.Point} _tempPoint - Description. * @private */ - this._tempPoint = new Phaser.Point; + this._tempPoint = new Phaser.Point(); this._pointerData = []; @@ -575,23 +613,25 @@

    Source: input/InputHandler.js

    Phaser.InputHandler.prototype = { - /** - * Description. - * @method Phaser.InputHandler#start - * @param {number} priority - Description. - * @param {boolean} useHandCursor - Description. - * @return {Phaser.Sprite} Description. - */ - start: function (priority, useHandCursor) { + /** + * Starts the Input Handler running. This is called automatically when you enable input on a Sprite, or can be called directly if you need to set a specific priority. + * @method Phaser.InputHandler#start + * @param {number} priority - Higher priority sprites take click priority over low-priority sprites when they are stacked on-top of each other. + * @param {boolean} useHandCursor - If true the Sprite will show the hand cursor on mouse-over (doesn't apply to mobile browsers) + * @return {Phaser.Sprite} The Sprite object to which the Input Handler is bound. + */ + start: function (priority, useHandCursor) { + + console.log('InputHandler start'); - priority = priority || 0; - if (typeof useHandCursor == 'undefined') { useHandCursor = false; } + priority = priority || 0; + if (typeof useHandCursor == 'undefined') { useHandCursor = false; } // Turning on - if (this.enabled == false) + if (this.enabled === false) { // Register, etc - this.game.input.interactiveItems.add(this); + this.game.input.interactiveItems.add(this); this.useHandCursor = useHandCursor; this.priorityID = priority; @@ -614,29 +654,29 @@

    Source: input/InputHandler.js

    }; } - this.snapOffset = new Phaser.Point; + this.snapOffset = new Phaser.Point(); this.enabled = true; // Create the signals the Input component will emit if (this.sprite.events && this.sprite.events.onInputOver == null) { - this.sprite.events.onInputOver = new Phaser.Signal; - this.sprite.events.onInputOut = new Phaser.Signal; - this.sprite.events.onInputDown = new Phaser.Signal; - this.sprite.events.onInputUp = new Phaser.Signal; - this.sprite.events.onDragStart = new Phaser.Signal; - this.sprite.events.onDragStop = new Phaser.Signal; + this.sprite.events.onInputOver = new Phaser.Signal(); + this.sprite.events.onInputOut = new Phaser.Signal(); + this.sprite.events.onInputDown = new Phaser.Signal(); + this.sprite.events.onInputUp = new Phaser.Signal(); + this.sprite.events.onDragStart = new Phaser.Signal(); + this.sprite.events.onDragStop = new Phaser.Signal(); } } return this.sprite; - }, + }, - /** - * Description. - * @method Phaser.InputHandler#reset - */ + /** + * Resets the Input Handler and disables it. + * @method Phaser.InputHandler#reset + */ reset: function () { this.enabled = false; @@ -661,14 +701,14 @@

    Source: input/InputHandler.js

    } }, - /** - * Description. - * @method Phaser.InputHandler#stop - */ - stop: function () { + /** + * Stops the Input Handler from running. + * @method Phaser.InputHandler#stop + */ + stop: function () { // Turning off - if (this.enabled == false) + if (this.enabled === false) { return; } @@ -676,15 +716,15 @@

    Source: input/InputHandler.js

    { // De-register, etc this.enabled = false; - this.game.input.interactiveItems.remove(this); + this.game.input.interactiveItems.remove(this); } - }, + }, - /** - * Clean up memory. - * @method Phaser.InputHandler#destroy - */ + /** + * Clean up memory. + * @method Phaser.InputHandler#destroy + */ destroy: function () { if (this.enabled) @@ -693,99 +733,99 @@

    Source: input/InputHandler.js

    this.game.input.interactiveItems.remove(this); - this.stop(); + this.stop(); - this.sprite = null; + this.sprite = null; } }, - /** + /** * The x coordinate of the Input pointer, relative to the top-left of the parent Sprite. * This value is only set when the pointer is over this Sprite. * @method Phaser.InputHandler#pointerX - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @return {number} The x coordinate of the Input pointer. - */ + */ pointerX: function (pointer) { - pointer = pointer || 0; + pointer = pointer || 0; return this._pointerData[pointer].x; }, - /** + /** * The y coordinate of the Input pointer, relative to the top-left of the parent Sprite * This value is only set when the pointer is over this Sprite. * @method Phaser.InputHandler#pointerY - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @return {number} The y coordinate of the Input pointer. */ pointerY: function (pointer) { - pointer = pointer || 0; + pointer = pointer || 0; return this._pointerData[pointer].y; }, - /** + /** * If the Pointer is touching the touchscreen, or the mouse button is held down, isDown is set to true. * @method Phaser.InputHandler#pointerDown - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @return {boolean} */ pointerDown: function (pointer) { - pointer = pointer || 0; + pointer = pointer || 0; return this._pointerData[pointer].isDown; }, - /** + /** * If the Pointer is not touching the touchscreen, or the mouse button is up, isUp is set to true * @method Phaser.InputHandler#pointerUp - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @return {boolean} */ pointerUp: function (pointer) { - pointer = pointer || 0; + pointer = pointer || 0; return this._pointerData[pointer].isUp; }, - /** + /** * A timestamp representing when the Pointer first touched the touchscreen. * @method Phaser.InputHandler#pointerTimeDown - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @return {number} */ pointerTimeDown: function (pointer) { - pointer = pointer || 0; + pointer = pointer || 0; return this._pointerData[pointer].timeDown; }, - /** + /** * A timestamp representing when the Pointer left the touchscreen. * @method Phaser.InputHandler#pointerTimeUp - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @return {number} */ pointerTimeUp: function (pointer) { - pointer = pointer || 0; + pointer = pointer || 0; return this._pointerData[pointer].timeUp; }, - /** + /** * Is the Pointer over this Sprite? * @method Phaser.InputHandler#pointerOver * @param {number} [index] - The ID number of a Pointer to check. If you don't provide a number it will check all Pointers. @@ -815,13 +855,13 @@

    Source: input/InputHandler.js

    }, - /** + /** * Is the Pointer outside of this Sprite? * @method Phaser.InputHandler#pointerOut * @param {number} [index] - The ID number of a Pointer to check. If you don't provide a number it will check all Pointers. * @return {boolean} True if the given pointer (if a index was given, or any pointer if not) is out of this object. */ - pointerOut: function (pointer) { + pointerOut: function (index) { if (this.enabled) { @@ -845,78 +885,78 @@

    Source: input/InputHandler.js

    }, - /** + /** * A timestamp representing when the Pointer first touched the touchscreen. * @method Phaser.InputHandler#pointerTimeOver - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @return {number} */ pointerTimeOver: function (pointer) { - pointer = pointer || 0; + pointer = pointer || 0; return this._pointerData[pointer].timeOver; }, - /** + /** * A timestamp representing when the Pointer left the touchscreen. * @method Phaser.InputHandler#pointerTimeOut - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @return {number} */ pointerTimeOut: function (pointer) { - pointer = pointer || 0; + pointer = pointer || 0; return this._pointerData[pointer].timeOut; }, - /** + /** * Is this sprite being dragged by the mouse or not? * @method Phaser.InputHandler#pointerTimeOut - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @return {number} */ pointerDragged: function (pointer) { - pointer = pointer || 0; + pointer = pointer || 0; return this._pointerData[pointer].isDragged; }, - /** + /** * Checks if the given pointer is over this Sprite. * @method Phaser.InputHandler#checkPointerOver - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @return {boolean} */ checkPointerOver: function (pointer) { - if (this.enabled && this.sprite.visible) + if (this.enabled === false || this.sprite.visible === false || (this.sprite.group && this.sprite.group.visible === false)) { - this.sprite.getLocalUnmodifiedPosition(this._tempPoint, pointer.x, pointer.y); + return false; + } + + this.sprite.getLocalUnmodifiedPosition(this._tempPoint, pointer.x, pointer.y); - if (this._tempPoint.x >= 0 && this._tempPoint.x <= this.sprite.currentFrame.width && this._tempPoint.y >= 0 && this._tempPoint.y <= this.sprite.currentFrame.height) + if (this._tempPoint.x >= 0 && this._tempPoint.x <= this.sprite.currentFrame.width && this._tempPoint.y >= 0 && this._tempPoint.y <= this.sprite.currentFrame.height) + { + if (this.pixelPerfect) { - if (this.pixelPerfect) - { - return this.checkPixel(this._tempPoint.x, this._tempPoint.y); - } - else - { - return true; - } + return this.checkPixel(this._tempPoint.x, this._tempPoint.y); + } + else + { + return true; } } - return false; - }, - /** + /** * Runs a pixel perfect check against the given x/y coordinates of the Sprite this InputHandler is bound to. * It compares the alpha value of the pixel and if >= InputHandler.pixelPerfectAlpha it returns true. * @method Phaser.InputHandler#checkPixel @@ -948,14 +988,14 @@

    Source: input/InputHandler.js

    }, - /** + /** * Update. * @method Phaser.InputHandler#update - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer */ update: function (pointer) { - if (this.enabled == false || this.sprite.visible == false || (this.sprite.group && this.sprite.group.visible == false)) + if (this.enabled === false || this.sprite.visible === false || (this.sprite.group && this.sprite.group.visible === false)) { this._pointerOutHandler(pointer); return false; @@ -965,7 +1005,7 @@

    Source: input/InputHandler.js

    { return this.updateDrag(pointer); } - else if (this._pointerData[pointer.id].isOver == true) + else if (this._pointerData[pointer.id].isOver === true) { if (this.checkPointerOver(pointer)) { @@ -981,15 +1021,15 @@

    Source: input/InputHandler.js

    } }, - /** - * Description. - * @method Phaser.InputHandler#_pointerOverHandler - * @private - * @param {Pointer} pointer - */ + /** + * Internal method handling the pointer over event. + * @method Phaser.InputHandler#_pointerOverHandler + * @private + * @param {Phaser.Pointer} pointer + */ _pointerOverHandler: function (pointer) { - if (this._pointerData[pointer.id].isOver == false) + if (this._pointerData[pointer.id].isOver === false) { this._pointerData[pointer.id].isOver = true; this._pointerData[pointer.id].isOut = false; @@ -997,7 +1037,7 @@

    Source: input/InputHandler.js

    this._pointerData[pointer.id].x = pointer.x - this.sprite.x; this._pointerData[pointer.id].y = pointer.y - this.sprite.y; - if (this.useHandCursor && this._pointerData[pointer.id].isDragged == false) + if (this.useHandCursor && this._pointerData[pointer.id].isDragged === false) { this.game.stage.canvas.style.cursor = "pointer"; } @@ -1006,19 +1046,19 @@

    Source: input/InputHandler.js

    } }, - /** - * Description. - * @method Phaser.InputHandler#_pointerOutHandler - * @private - * @param {Pointer} pointer - */ + /** + * Internal method handling the pointer out event. + * @method Phaser.InputHandler#_pointerOutHandler + * @private + * @param {Phaser.Pointer} pointer + */ _pointerOutHandler: function (pointer) { this._pointerData[pointer.id].isOver = false; this._pointerData[pointer.id].isOut = true; this._pointerData[pointer.id].timeOut = this.game.time.now; - if (this.useHandCursor && this._pointerData[pointer.id].isDragged == false) + if (this.useHandCursor && this._pointerData[pointer.id].isDragged === false) { this.game.stage.canvas.style.cursor = "default"; } @@ -1030,15 +1070,15 @@

    Source: input/InputHandler.js

    }, - /** - * Description. - * @method Phaser.InputHandler#_touchedHandler - * @private - * @param {Pointer} pointer - */ + /** + * Internal method handling the touched event. + * @method Phaser.InputHandler#_touchedHandler + * @private + * @param {Phaser.Pointer} pointer + */ _touchedHandler: function (pointer) { - if (this._pointerData[pointer.id].isDown == false && this._pointerData[pointer.id].isOver == true) + if (this._pointerData[pointer.id].isDown === false && this._pointerData[pointer.id].isOver === true) { this._pointerData[pointer.id].isDown = true; this._pointerData[pointer.id].isUp = false; @@ -1046,7 +1086,7 @@

    Source: input/InputHandler.js

    this.sprite.events.onInputDown.dispatch(this.sprite, pointer); // Start drag - if (this.draggable && this.isDragged == false) + if (this.draggable && this.isDragged === false) { this.startDrag(pointer); } @@ -1054,7 +1094,7 @@

    Source: input/InputHandler.js

    if (this.bringToTop) { this.sprite.bringToTop(); - } + } } // Consume the event? @@ -1062,12 +1102,12 @@

    Source: input/InputHandler.js

    }, - /** - * Description. - * @method Phaser.InputHandler#_releasedHandler - * @private - * @param {Pointer} pointer - */ + /** + * Internal method handling the pointer released event. + * @method Phaser.InputHandler#_releasedHandler + * @private + * @param {Phaser.Pointer} pointer + */ _releasedHandler: function (pointer) { // If was previously touched by this Pointer, check if still is AND still over this item @@ -1102,10 +1142,10 @@

    Source: input/InputHandler.js

    }, - /** + /** * Updates the Pointer drag on this Sprite. * @method Phaser.InputHandler#updateDrag - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @return {boolean} */ updateDrag: function (pointer) { @@ -1146,79 +1186,79 @@

    Source: input/InputHandler.js

    }, - /** + /** * Returns true if the pointer has entered the Sprite within the specified delay time (defaults to 500ms, half a second) * @method Phaser.InputHandler#justOver - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @param {number} delay - The time below which the pointer is considered as just over. * @return {boolean} */ justOver: function (pointer, delay) { - pointer = pointer || 0; - delay = delay || 500; + pointer = pointer || 0; + delay = delay || 500; return (this._pointerData[pointer].isOver && this.overDuration(pointer) < delay); }, - /** + /** * Returns true if the pointer has left the Sprite within the specified delay time (defaults to 500ms, half a second) * @method Phaser.InputHandler#justOut - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @param {number} delay - The time below which the pointer is considered as just out. * @return {boolean} */ justOut: function (pointer, delay) { - pointer = pointer || 0; - delay = delay || 500; + pointer = pointer || 0; + delay = delay || 500; return (this._pointerData[pointer].isOut && (this.game.time.now - this._pointerData[pointer].timeOut < delay)); }, - /** + /** * Returns true if the pointer has entered the Sprite within the specified delay time (defaults to 500ms, half a second) * @method Phaser.InputHandler#justPressed - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @param {number} delay - The time below which the pointer is considered as just over. * @return {boolean} */ justPressed: function (pointer, delay) { - pointer = pointer || 0; - delay = delay || 500; + pointer = pointer || 0; + delay = delay || 500; return (this._pointerData[pointer].isDown && this.downDuration(pointer) < delay); }, - /** + /** * Returns true if the pointer has left the Sprite within the specified delay time (defaults to 500ms, half a second) * @method Phaser.InputHandler#justReleased - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @param {number} delay - The time below which the pointer is considered as just out. * @return {boolean} */ justReleased: function (pointer, delay) { - pointer = pointer || 0; - delay = delay || 500; + pointer = pointer || 0; + delay = delay || 500; return (this._pointerData[pointer].isUp && (this.game.time.now - this._pointerData[pointer].timeUp < delay)); }, - /** + /** * If the pointer is currently over this Sprite this returns how long it has been there for in milliseconds. * @method Phaser.InputHandler#overDuration - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @return {number} The number of milliseconds the pointer has been over the Sprite, or -1 if not over. */ overDuration: function (pointer) { - pointer = pointer || 0; + pointer = pointer || 0; if (this._pointerData[pointer].isOver) { @@ -1229,15 +1269,15 @@

    Source: input/InputHandler.js

    }, - /** + /** * If the pointer is currently over this Sprite this returns how long it has been there for in milliseconds. * @method Phaser.InputHandler#downDuration - * @param {Pointer} pointer + * @param {Phaser.Pointer} pointer * @return {number} The number of milliseconds the pointer has been pressed down on the Sprite, or -1 if not over. */ downDuration: function (pointer) { - pointer = pointer || 0; + pointer = pointer || 0; if (this._pointerData[pointer].isDown) { @@ -1248,25 +1288,24 @@

    Source: input/InputHandler.js

    }, - /** + /** * Make this Sprite draggable by the mouse. You can also optionally set mouseStartDragCallback and mouseStopDragCallback * @method Phaser.InputHandler#enableDrag - * @param lockCenter If false the Sprite will drag from where you click it minus the dragOffset. If true it will center itself to the tip of the mouse pointer. - * @param bringToTop If true the Sprite will be bought to the top of the rendering list in its current Group. - * @param pixelPerfect If true it will use a pixel perfect test to see if you clicked the Sprite. False uses the bounding box. - * @param alphaThreshold If using pixel perfect collision this specifies the alpha level from 0 to 255 above which a collision is processed (default 255) - * @param boundsRect If you want to restrict the drag of this sprite to a specific FlxRect, pass the FlxRect here, otherwise it's free to drag anywhere - * @param boundsSprite If you want to restrict the drag of this sprite to within the bounding box of another sprite, pass it here + * @param {boolean} [lockCenter=false] - If false the Sprite will drag from where you click it minus the dragOffset. If true it will center itself to the tip of the mouse pointer. + * @param {boolean} [bringToTop=false] - If true the Sprite will be bought to the top of the rendering list in its current Group. + * @param {boolean} [pixelPerfect=false] - If true it will use a pixel perfect test to see if you clicked the Sprite. False uses the bounding box. + * @param {boolean} [alphaThreshold=255] - If using pixel perfect collision this specifies the alpha level from 0 to 255 above which a collision is processed. + * @param {Phaser.Rectangle} [boundsRect=null] - If you want to restrict the drag of this sprite to a specific Rectangle, pass the Phaser.Rectangle here, otherwise it's free to drag anywhere. + * @param {Phaser.Sprite} [boundsSprite=null] - If you want to restrict the drag of this sprite to within the bounding box of another sprite, pass it here. */ enableDrag: function (lockCenter, bringToTop, pixelPerfect, alphaThreshold, boundsRect, boundsSprite) { if (typeof lockCenter == 'undefined') { lockCenter = false; } if (typeof bringToTop == 'undefined') { bringToTop = false; } if (typeof pixelPerfect == 'undefined') { pixelPerfect = false; } - - alphaThreshold = alphaThreshold || 255; - boundsRect = boundsRect || null; - boundsSprite = boundsSprite || null; + if (typeof alphaThreshold == 'undefined') { alphaThreshold = 255; } + if (typeof boundsRect == 'undefined') { boundsRect = null; } + if (typeof boundsSprite == 'undefined') { boundsSprite = null; } this._dragPoint = new Phaser.Point(); this.draggable = true; @@ -1289,7 +1328,7 @@

    Source: input/InputHandler.js

    }, - /** + /** * Stops this sprite from being able to be dragged. If it is currently the target of an active drag it will be stopped immediately. Also disables any set callbacks. * @method Phaser.InputHandler#disableDrag */ @@ -1309,9 +1348,10 @@

    Source: input/InputHandler.js

    }, - /** + /** * Called by Pointer when drag starts on this Sprite. Should not usually be called directly. * @method Phaser.InputHandler#startDrag + * @param {Phaser.Pointer} pointer */ startDrag: function (pointer) { @@ -1340,9 +1380,10 @@

    Source: input/InputHandler.js

    }, - /** + /** * Called by Pointer when drag is stopped on this Sprite. Should not usually be called directly. * @method Phaser.InputHandler#stopDrag + * @param {Phaser.Pointer} pointer */ stopDrag: function (pointer) { @@ -1359,37 +1400,37 @@

    Source: input/InputHandler.js

    this.sprite.events.onDragStop.dispatch(this.sprite, pointer); this.sprite.events.onInputUp.dispatch(this.sprite, pointer); - if (this.checkPointerOver(pointer) == false) + if (this.checkPointerOver(pointer) === false) { this._pointerOutHandler(pointer); } }, - /** + /** * Restricts this sprite to drag movement only on the given axis. Note: If both are set to false the sprite will never move! * @method Phaser.InputHandler#setDragLock - * @param allowHorizontal To enable the sprite to be dragged horizontally set to true, otherwise false - * @param allowVertical To enable the sprite to be dragged vertically set to true, otherwise false + * @param {boolean} [allowHorizontal=true] - To enable the sprite to be dragged horizontally set to true, otherwise false. + * @param {boolean} [allowVertical=true] - To enable the sprite to be dragged vertically set to true, otherwise false. */ setDragLock: function (allowHorizontal, allowVertical) { if (typeof allowHorizontal == 'undefined') { allowHorizontal = true; } - if (typeof allowVertical == 'undefined') { allowVertical = true; } + if (typeof allowVertical == 'undefined') { allowVertical = true; } this.allowHorizontalDrag = allowHorizontal; this.allowVerticalDrag = allowVertical; }, - /** + /** * Make this Sprite snap to the given grid either during drag or when it's released. * For example 16x16 as the snapX and snapY would make the sprite snap to every 16 pixels. * @method Phaser.InputHandler#enableSnap - * @param snapX The width of the grid cell in pixels - * @param snapY The height of the grid cell in pixels - * @param onDrag If true the sprite will snap to the grid while being dragged - * @param onRelease If true the sprite will snap to the grid when released + * @param {number} snapX - The width of the grid cell to snap to. + * @param {number} snapY - The height of the grid cell to snap to. + * @param {boolean} [onDrag=true] - If true the sprite will snap to the grid while being dragged. + * @param {boolean} [onRelease=false] - If true the sprite will snap to the grid when released. */ enableSnap: function (snapX, snapY, onDrag, onRelease) { @@ -1403,7 +1444,7 @@

    Source: input/InputHandler.js

    }, - /** + /** * Stops the sprite from snapping to a grid during drag or release. * @method Phaser.InputHandler#disableSnap */ @@ -1414,7 +1455,7 @@

    Source: input/InputHandler.js

    }, - /** + /** * Bounds Rect check for the sprite drag * @method Phaser.InputHandler#checkBoundsRect */ @@ -1440,7 +1481,7 @@

    Source: input/InputHandler.js

    }, - /** + /** * Parent Sprite Bounds check for the sprite drag. * @method Phaser.InputHandler#checkBoundsSprite */ @@ -1487,7 +1528,7 @@

    Source: input/InputHandler.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/IntroDocs.js.html b/docs/IntroDocs.js.html index 4cd57b7d73..9efbd205bf 100644 --- a/docs/IntroDocs.js.html +++ b/docs/IntroDocs.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -392,7 +432,7 @@

    Source: IntroDocs.js

    * * Phaser - http://www.phaser.io * -* v1.1.2 - Released November 1st 2013. +* v1.1.3 - Released November 28th 2013. * * By Richard Davey http://www.photonstorm.com @photonstorm * @@ -431,7 +471,7 @@

    Source: IntroDocs.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Key.js.html b/docs/Key.js.html index 75e4fc2807..373897f5ee 100644 --- a/docs/Key.js.html +++ b/docs/Key.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -396,87 +436,87 @@

    Source: input/Key.js

    */ Phaser.Key = function (game, keycode) { - /** - * @property {Phaser.Game} game - A reference to the currently running game. - */ - this.game = game; - - /** - * @property {boolean} isDown - The "down" state of the key. - * @default - */ - this.isDown = false; - - /** - * @property {boolean} isUp - The "up" state of the key. - * @default - */ - this.isUp = false; - - /** - * @property {boolean} altKey - The down state of the ALT key, if pressed at the same time as this key. - * @default - */ - this.altKey = false; - - /** - * @property {boolean} ctrlKey - The down state of the CTRL key, if pressed at the same time as this key. - * @default - */ - this.ctrlKey = false; - - /** - * @property {boolean} shiftKey - The down state of the SHIFT key, if pressed at the same time as this key. - * @default - */ - this.shiftKey = false; - - /** - * @property {number} timeDown - The timestamp when the key was last pressed down. - * @default - */ - this.timeDown = 0; - - /** - * If the key is down this value holds the duration of that key press and is constantly updated. - * If the key is up it holds the duration of the previous down session. - * @property {number} duration - The number of milliseconds this key has been held down for. - * @default - */ - this.duration = 0; - - /** - * @property {number} timeUp - The timestamp when the key was last released. - * @default - */ - this.timeUp = 0; - - /** - * @property {number} repeats - If a key is held down this holds down the number of times the key has 'repeated'. - * @default - */ - this.repeats = 0; - - /** - * @property {number} keyCode - The keycode of this key. - */ - this.keyCode = keycode; - - /** - * @property {Phaser.Signal} onDown - This Signal is dispatched every time this Key is pressed down. It is only dispatched once (until the key is released again). - */ + /** + * @property {Phaser.Game} game - A reference to the currently running game. + */ + this.game = game; + + /** + * @property {boolean} isDown - The "down" state of the key. + * @default + */ + this.isDown = false; + + /** + * @property {boolean} isUp - The "up" state of the key. + * @default + */ + this.isUp = false; + + /** + * @property {boolean} altKey - The down state of the ALT key, if pressed at the same time as this key. + * @default + */ + this.altKey = false; + + /** + * @property {boolean} ctrlKey - The down state of the CTRL key, if pressed at the same time as this key. + * @default + */ + this.ctrlKey = false; + + /** + * @property {boolean} shiftKey - The down state of the SHIFT key, if pressed at the same time as this key. + * @default + */ + this.shiftKey = false; + + /** + * @property {number} timeDown - The timestamp when the key was last pressed down. + * @default + */ + this.timeDown = 0; + + /** + * If the key is down this value holds the duration of that key press and is constantly updated. + * If the key is up it holds the duration of the previous down session. + * @property {number} duration - The number of milliseconds this key has been held down for. + * @default + */ + this.duration = 0; + + /** + * @property {number} timeUp - The timestamp when the key was last released. + * @default + */ + this.timeUp = 0; + + /** + * @property {number} repeats - If a key is held down this holds down the number of times the key has 'repeated'. + * @default + */ + this.repeats = 0; + + /** + * @property {number} keyCode - The keycode of this key. + */ + this.keyCode = keycode; + + /** + * @property {Phaser.Signal} onDown - This Signal is dispatched every time this Key is pressed down. It is only dispatched once (until the key is released again). + */ this.onDown = new Phaser.Signal(); - /** - * @property {Phaser.Signal} onUp - This Signal is dispatched every time this Key is pressed down. It is only dispatched once (until the key is released again). - */ + /** + * @property {Phaser.Signal} onUp - This Signal is dispatched every time this Key is pressed down. It is only dispatched once (until the key is released again). + */ this.onUp = new Phaser.Signal(); - + }; Phaser.Key.prototype = { - /** + /** * Called automatically by Phaser.Keyboard. * @method Phaser.Key#processKeyDown * @param {KeyboardEvent} event. @@ -507,7 +547,7 @@

    Source: input/Key.js

    }, - /** + /** * Called automatically by Phaser.Keyboard. * @method Phaser.Key#processKeyUp * @param {KeyboardEvent} event. @@ -523,8 +563,8 @@

    Source: input/Key.js

    }, - /** - * Returns the "just pressed" state of the Key. Just pressed is considered true if the key was pressed down within the duration given (default 250ms) + /** + * Returns the "just pressed" state of the Key. Just pressed is considered true if the key was pressed down within the duration given (default 250ms) * @method Phaser.Key#justPressed * @param {number} [duration=250] - The duration below which the key is considered as being just pressed. * @return {boolean} True if the key is just pressed otherwise false. @@ -537,8 +577,8 @@

    Source: input/Key.js

    }, - /** - * Returns the "just released" state of the Key. Just released is considered as being true if the key was released within the duration given (default 250ms) + /** + * Returns the "just released" state of the Key. Just released is considered as being true if the key was released within the duration given (default 250ms) * @method Phaser.Key#justPressed * @param {number} [duration=250] - The duration below which the key is considered as being just released. * @return {boolean} True if the key is just released otherwise false. @@ -547,7 +587,7 @@

    Source: input/Key.js

    if (typeof duration === "undefined") { duration = 250; } - return (this.isDown == false && (this.game.time.now - this.timeUp < duration)); + return (this.isDown === false && (this.game.time.now - this.timeUp < duration)); } @@ -573,7 +613,7 @@

    Source: input/Key.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Keyboard.js.html b/docs/Keyboard.js.html index a929d9b21d..d7d6010a01 100644 --- a/docs/Keyboard.js.html +++ b/docs/Keyboard.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -388,36 +428,35 @@

    Source: input/Keyboard.js

    */ /** -* Phaser - Keyboard constructor. +* The Keyboard class handles looking after keyboard input for your game. It will recognise and respond to key presses and dispatch the required events. * * @class Phaser.Keyboard -* @classdesc A Keyboard object Description. * @constructor * @param {Phaser.Game} game - A reference to the currently running game. */ Phaser.Keyboard = function (game) { - /** - * @property {Phaser.Game} game - Local reference to game. - */ - this.game = game; - - /** - * @property {Description} _keys - Description. - * @private - */ + /** + * @property {Phaser.Game} game - Local reference to game. + */ + this.game = game; + + /** + * @property {object} _keys - The object the key values are stored in. + * @private + */ this._keys = {}; /** - * @property {Description} _hotkeys - Description. + * @property {object} _hotkeys - The object the hot keys are stored in. * @private */ this._hotkeys = {}; - /** - * @property {Description} _capture - Description. - * @private - */ + /** + * @property {object} _capture - The object the key capture values are stored in. + * @private + */ this._capture = {}; /** @@ -455,7 +494,7 @@

    Source: input/Keyboard.js

    * @property {function} onUpCallback - This callback is invoked every time a key is released. */ this.onUpCallback = null; - + }; Phaser.Keyboard.prototype = { @@ -517,10 +556,10 @@

    Source: input/Keyboard.js

    */ createCursorKeys: function () { - return { - up: this.addKey(Phaser.Keyboard.UP), - down: this.addKey(Phaser.Keyboard.DOWN), - left: this.addKey(Phaser.Keyboard.LEFT), + return { + up: this.addKey(Phaser.Keyboard.UP), + down: this.addKey(Phaser.Keyboard.DOWN), + left: this.addKey(Phaser.Keyboard.LEFT), right: this.addKey(Phaser.Keyboard.RIGHT) } @@ -544,8 +583,8 @@

    Source: input/Keyboard.js

    return _this.processKeyUp(event); }; - document.body.addEventListener('keydown', this._onKeyDown, false); - document.body.addEventListener('keyup', this._onKeyUp, false); + window.addEventListener('keydown', this._onKeyDown, false); + window.addEventListener('keyup', this._onKeyUp, false); }, @@ -556,12 +595,12 @@

    Source: input/Keyboard.js

    */ stop: function () { - document.body.removeEventListener('keydown', this._onKeyDown); - document.body.removeEventListener('keyup', this._onKeyUp); + window.removeEventListener('keydown', this._onKeyDown); + window.removeEventListener('keyup', this._onKeyUp); }, - /** + /** * By default when a key is pressed Phaser will not stop the event from propagating up to the browser. * There are some keys this can be annoying for, like the arrow keys or space bar, which make the browser window scroll. * You can use addKeyCapture to consume the keyboard event for specific keys so it doesn't bubble up to the the browser. @@ -584,9 +623,9 @@

    Source: input/Keyboard.js

    } }, - /** - * Removes an existing key capture. - * @method Phaser.Keyboard#removeKeyCapture + /** + * Removes an existing key capture. + * @method Phaser.Keyboard#removeKeyCapture * @param {number} keycode */ removeKeyCapture: function (keycode) { @@ -595,9 +634,9 @@

    Source: input/Keyboard.js

    }, - /** - * Clear all set key captures. - * @method Phaser.Keyboard#clearCaptures + /** + * Clear all set key captures. + * @method Phaser.Keyboard#clearCaptures */ clearCaptures: function () { @@ -605,12 +644,12 @@

    Source: input/Keyboard.js

    }, - /** - * Process the keydown event. - * @method Phaser.Keyboard#processKeyDown + /** + * Process the keydown event. + * @method Phaser.Keyboard#processKeyDown * @param {KeyboardEvent} event * @protected - */ + */ processKeyDown: function (event) { if (this.game.input.disabled || this.disabled) @@ -661,9 +700,9 @@

    Source: input/Keyboard.js

    }, - /** - * Process the keyup event. - * @method Phaser.Keyboard#processKeyUp + /** + * Process the keyup event. + * @method Phaser.Keyboard#processKeyUp * @param {KeyboardEvent} event * @protected */ @@ -707,9 +746,9 @@

    Source: input/Keyboard.js

    }, - /** - * Reset the "isDown" state of all keys. - * @method Phaser.Keyboard#reset + /** + * Reset the "isDown" state of all keys. + * @method Phaser.Keyboard#reset */ reset: function () { @@ -773,7 +812,7 @@

    Source: input/Keyboard.js

    return this._keys[keycode].isDown; } - return false; + return false; } @@ -898,7 +937,7 @@

    Source: input/Keyboard.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/LinkedList.js.html b/docs/LinkedList.js.html index 606b293911..8235417201 100644 --- a/docs/LinkedList.js.html +++ b/docs/LinkedList.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -396,141 +436,141 @@

    Source: core/LinkedList.js

    Phaser.LinkedList = function () { /** - * @property {object} next - Next element in the list. - * @default - */ + * @property {object} next - Next element in the list. + * @default + */ this.next = null; /** - * @property {object} prev - Previous element in the list. - * @default - */ + * @property {object} prev - Previous element in the list. + * @default + */ this.prev = null; /** - * @property {object} first - First element in the list. - * @default - */ + * @property {object} first - First element in the list. + * @default + */ this.first = null; /** - * @property {object} last - Last element in the list. - * @default - */ + * @property {object} last - Last element in the list. + * @default + */ this.last = null; /** - * @property {object} game - Number of elements in the list. - * @default - */ + * @property {object} game - Number of elements in the list. + * @default + */ this.total = 0; }; Phaser.LinkedList.prototype = { - /** + /** * Adds a new element to this linked list. - * - * @method Phaser.LinkedList#add - * @param {object} child - The element to add to this list. Can be a Phaser.Sprite or any other object you need to quickly iterate through. - * @return {object} The child that was added. + * + * @method Phaser.LinkedList#add + * @param {object} child - The element to add to this list. Can be a Phaser.Sprite or any other object you need to quickly iterate through. + * @return {object} The child that was added. */ add: function (child) { - // If the list is empty - if (this.total == 0 && this.first == null && this.last == null) - { - this.first = child; - this.last = child; - this.next = child; - child.prev = this; - this.total++; - return child; - } + // If the list is empty + if (this.total === 0 && this.first == null && this.last == null) + { + this.first = child; + this.last = child; + this.next = child; + child.prev = this; + this.total++; + return child; + } - // Get gets appended to the end of the list, regardless of anything, and it won't have any children of its own (non-nested list) - this.last.next = child; + // Get gets appended to the end of the list, regardless of anything, and it won't have any children of its own (non-nested list) + this.last.next = child; - child.prev = this.last; + child.prev = this.last; - this.last = child; + this.last = child; - this.total++; + this.total++; - return child; + return child; }, - /** + /** * Removes the given element from this linked list if it exists. - * - * @method Phaser.LinkedList#remove - * @param {object} child - The child to be removed from the list. + * + * @method Phaser.LinkedList#remove + * @param {object} child - The child to be removed from the list. */ remove: function (child) { - if (child == this.first) - { - // It was 'first', make 'first' point to first.next - this.first = this.first.next; - } - else if (child == this.last) - { - // It was 'last', make 'last' point to last.prev - this.last = this.last.prev; - } - - if (child.prev) - { - // make child.prev.next point to childs.next instead of child - child.prev.next = child.next; - } - - if (child.next) - { - // make child.next.prev point to child.prev instead of child - child.next.prev = child.prev; - } - - child.next = child.prev = null; - - if (this.first == null ) - { - this.last = null; - } - - this.total--; + if (child == this.first) + { + // It was 'first', make 'first' point to first.next + this.first = this.first.next; + } + else if (child == this.last) + { + // It was 'last', make 'last' point to last.prev + this.last = this.last.prev; + } + + if (child.prev) + { + // make child.prev.next point to childs.next instead of child + child.prev.next = child.next; + } + + if (child.next) + { + // make child.next.prev point to child.prev instead of child + child.next.prev = child.prev; + } + + child.next = child.prev = null; + + if (this.first == null ) + { + this.last = null; + } + + this.total--; }, - /** + /** * Calls a function on all members of this list, using the member as the context for the callback. * The function must exist on the member. - * - * @method Phaser.LinkedList#callAll - * @param {function} callback - The function to call. + * + * @method Phaser.LinkedList#callAll + * @param {function} callback - The function to call. */ callAll: function (callback) { - if (!this.first || !this.last) - { - return; - } + if (!this.first || !this.last) + { + return; + } - var entity = this.first; - - do - { - if (entity && entity[callback]) - { - entity[callback].call(entity); - } + var entity = this.first; + + do + { + if (entity && entity[callback]) + { + entity[callback].call(entity); + } - entity = entity.next; + entity = entity.next; - } - while(entity != this.last.next) + } + while(entity != this.last.next) } @@ -555,7 +595,7 @@

    Source: core/LinkedList.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Loader.js.html b/docs/Loader.js.html index 95c93cd0bc..bd0e0d3310 100644 --- a/docs/Loader.js.html +++ b/docs/Loader.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -399,101 +439,95 @@

    Source: loader/Loader.js

    */ Phaser.Loader = function (game) { - /** + /** * @property {Phaser.Game} game - Local reference to game. - */ - this.game = game; + */ + this.game = game; - /** - * @property {array} _keys - Array stores assets keys. So you can get that asset by its unique key. - * @private + /** + * @property {array} _fileList - Contains all the assets file infos. + * @private */ - this._keys = []; + this._fileList = []; - /** - * @property {Description} _fileList - Contains all the assets file infos. - * @private + /** + * @property {number} _fileIndex - The index of the current file being loaded. + * @private */ - this._fileList = {}; - - /** - * @property {number} _progressChunk - Indicates assets loading progress. (from 0 to 100) - * @private - * @default - */ - this._progressChunk = 0; - - /** - * @property {XMLHttpRequest} - An XMLHttpRequest object used for loading text and audio data. - * @private - */ - this._xhr = new XMLHttpRequest(); - - /** - * @property {number} - Length of assets queue. - * @default - */ - this.queueSize = 0; - - /** - * @property {boolean} isLoading - True if the Loader is in the process of loading the queue. - * @default - */ - this.isLoading = false; - - /** - * @property {boolean} hasLoaded - True if all assets in the queue have finished loading. - * @default - */ - this.hasLoaded = false; - - /** - * @property {number} progress - The Load progress percentage value (from 0 to 100) - * @default - */ - this.progress = 0; - - /** - * You can optionally link a sprite to the preloader. - * If you do so the Sprite's width or height will be cropped based on the percentage loaded. - * @property {Description} preloadSprite - * @default - */ - this.preloadSprite = null; - - /** - * @property {string} crossOrigin - The crossOrigin value applied to loaded images - */ - this.crossOrigin = ''; - - /** - * If you want to append a URL before the path of any asset you can set this here. - * Useful if you need to allow an asset url to be configured outside of the game code. - * MUST have / on the end of it! - * @property {string} baseURL - * @default - */ - this.baseURL = ''; - - /** - * @property {Phaser.Signal} onFileComplete - Event signal. - */ - this.onFileComplete = new Phaser.Signal; - - /** - * @property {Phaser.Signal} onFileError - Event signal. - */ - this.onFileError = new Phaser.Signal; - - /** - * @property {Phaser.Signal} onLoadStart - Event signal. - */ - this.onLoadStart = new Phaser.Signal; - - /** - * @property {Phaser.Signal} onLoadComplete - Event signal. - */ - this.onLoadComplete = new Phaser.Signal; + this._fileIndex = 0; + + /** + * @property {number} _progressChunk - Indicates assets loading progress. (from 0 to 100) + * @private + * @default + */ + this._progressChunk = 0; + + /** + * @property {XMLHttpRequest} - An XMLHttpRequest object used for loading text and audio data. + * @private + */ + this._xhr = new XMLHttpRequest(); + + /** + * @property {boolean} isLoading - True if the Loader is in the process of loading the queue. + * @default + */ + this.isLoading = false; + + /** + * @property {boolean} hasLoaded - True if all assets in the queue have finished loading. + * @default + */ + this.hasLoaded = false; + + /** + * @property {number} progress - The Load progress percentage value (from 0 to 100) + * @default + */ + this.progress = 0; + + /** + * You can optionally link a sprite to the preloader. + * If you do so the Sprite's width or height will be cropped based on the percentage loaded. + * @property {Description} preloadSprite + * @default + */ + this.preloadSprite = null; + + /** + * @property {string} crossOrigin - The crossOrigin value applied to loaded images + */ + this.crossOrigin = ''; + + /** + * If you want to append a URL before the path of any asset you can set this here. + * Useful if you need to allow an asset url to be configured outside of the game code. + * MUST have / on the end of it! + * @property {string} baseURL + * @default + */ + this.baseURL = ''; + + /** + * @property {Phaser.Signal} onFileComplete - Event signal. + */ + this.onFileComplete = new Phaser.Signal(); + + /** + * @property {Phaser.Signal} onFileError - Event signal. + */ + this.onFileError = new Phaser.Signal(); + + /** + * @property {Phaser.Signal} onLoadStart - Event signal. + */ + this.onLoadStart = new Phaser.Signal(); + + /** + * @property {Phaser.Signal} onLoadComplete - Event signal. + */ + this.onLoadComplete = new Phaser.Signal(); }; @@ -517,978 +551,1169 @@

    Source: loader/Loader.js

    Phaser.Loader.prototype = { - /** - * You can set a Sprite to be a "preload" sprite by passing it to this method. - * A "preload" sprite will have its width or height crop adjusted based on the percentage of the loader in real-time. - * This allows you to easily make loading bars for games. - * - * @method Phaser.Loader#setPreloadSprite + /** + * You can set a Sprite to be a "preload" sprite by passing it to this method. + * A "preload" sprite will have its width or height crop adjusted based on the percentage of the loader in real-time. + * This allows you to easily make loading bars for games. + * + * @method Phaser.Loader#setPreloadSprite * @param {Phaser.Sprite} sprite - The sprite that will be cropped during the load. * @param {number} [direction=0] - A value of zero means the sprite width will be cropped, a value of 1 means its height will be cropped. */ - setPreloadSprite: function (sprite, direction) { - - direction = direction || 0; - - this.preloadSprite = { sprite: sprite, direction: direction, width: sprite.width, height: sprite.height, crop: null }; - - if (direction == 0) - { - // Horizontal crop - this.preloadSprite.crop = new Phaser.Rectangle(0, 0, 1, sprite.height); - } - else - { - // Vertical crop - this.preloadSprite.crop = new Phaser.Rectangle(0, 0, sprite.width, 1); - } - - sprite.crop = this.preloadSprite.crop; - sprite.cropEnabled = true; - - }, - - /** - * Check whether asset exists with a specific key. - * - * @method Phaser.Loader#checkKeyExists - * @param {string} key - Key of the asset you want to check. - * @return {boolean} Return true if exists, otherwise return false. - */ - checkKeyExists: function (key) { - - if (this._fileList[key]) - { - return true; - } - else - { - return false; - } - - }, - - /** - * Reset loader, this will remove all loaded assets. - * - * @method Phaser.Loader#reset - */ - reset: function () { - - this.preloadSprite = null; - this.queueSize = 0; - this.isLoading = false; - - }, - - /** - * Internal function that adds a new entry to the file list. Do not call directly. - * - * @method Phaser.Loader#addToFileList - * @param {Description} type - Description. - * @param {string} key - Description. - * @param {string} url - URL of Description. - * @param {Description} properties - Description. - * @protected - */ - addToFileList: function (type, key, url, properties) { - - var entry = { - type: type, - key: key, - url: url, - data: null, - error: false, - loaded: false - }; - - if (typeof properties !== "undefined") - { - for (var prop in properties) - { - entry[prop] = properties[prop]; - } - } - - this._fileList[key] = entry; - - this._keys.push(key); - - this.queueSize++; - - }, - - /** - * Add an image to the Loader. - * - * @method Phaser.Loader#image - * @param {string} key - Unique asset key of this image file. - * @param {string} url - URL of image file. - * @param {boolean} overwrite - If an entry with a matching key already exists this will over-write it - */ - image: function (key, url, overwrite) { - - if (typeof overwrite === "undefined") { overwrite = false; } - - if (overwrite || this.checkKeyExists(key) == false) - { - this.addToFileList('image', key, url); - } - - return this; - - }, - - /** - * Add a text file to the Loader. - * - * @method Phaser.Loader#text - * @param {string} key - Unique asset key of the text file. - * @param {string} url - URL of the text file. - * @param {boolean} overwrite - True if Description. - */ - text: function (key, url, overwrite) { - - if (typeof overwrite === "undefined") { overwrite = false; } - - if (overwrite || this.checkKeyExists(key) == false) - { - this.addToFileList('text', key, url); - } - - return this; - - }, - - /** - * Add a new sprite sheet to the loader. - * - * @method Phaser.Loader#spritesheet - * @param {string} key - Unique asset key of the sheet file. - * @param {string} url - URL of the sheet file. - * @param {number} frameWidth - Width of each single frame. - * @param {number} frameHeight - Height of each single frame. - * @param {number} [frameMax=-1] - How many frames in this sprite sheet. If not specified it will divide the whole image into frames. - */ - spritesheet: function (key, url, frameWidth, frameHeight, frameMax) { - - if (typeof frameMax === "undefined") { frameMax = -1; } - - if (this.checkKeyExists(key) === false) - { - this.addToFileList('spritesheet', key, url, { frameWidth: frameWidth, frameHeight: frameHeight, frameMax: frameMax }); - } - - return this; - - }, - - /** - * Add a new tile set to the loader. These are used in the rendering of tile maps. - * - * @method Phaser.Loader#tileset - * @param {string} key - Unique asset key of the tileset file. - * @param {string} url - URL of the tileset. - * @param {number} tileWidth - Width of each single tile in pixels. - * @param {number} tileHeight - Height of each single tile in pixels. - * @param {number} [tileMax=-1] - How many tiles in this tileset. If not specified it will divide the whole image into tiles. - * @param {number} [tileMargin=0] - If the tiles have been drawn with a margin, specify the amount here. - * @param {number} [tileSpacing=0] - If the tiles have been drawn with spacing between them, specify the amount here. - */ - tileset: function (key, url, tileWidth, tileHeight, tileMax, tileMargin, tileSpacing) { - - if (typeof tileMax === "undefined") { tileMax = -1; } - if (typeof tileMargin === "undefined") { tileMargin = 0; } - if (typeof tileSpacing === "undefined") { tileSpacing = 0; } - - if (this.checkKeyExists(key) === false) - { - this.addToFileList('tileset', key, url, { tileWidth: tileWidth, tileHeight: tileHeight, tileMax: tileMax, tileMargin: tileMargin, tileSpacing: tileSpacing }); - } - - return this; - - }, - - /** - * Add a new audio file to the loader. - * - * @method Phaser.Loader#audio - * @param {string} key - Unique asset key of the audio file. - * @param {Array} urls - An array containing the URLs of the audio files, i.e.: [ 'jump.mp3', 'jump.ogg', 'jump.m4a' ]. - * @param {boolean} autoDecode - When using Web Audio the audio files can either be decoded at load time or run-time. They can't be played until they are decoded, but this let's you control when that happens. Decoding is a non-blocking async process. - */ - audio: function (key, urls, autoDecode) { - - if (typeof autoDecode === "undefined") { autoDecode = true; } - - if (this.checkKeyExists(key) === false) - { - this.addToFileList('audio', key, urls, { buffer: null, autoDecode: autoDecode }); - } - - return this; - - }, - - /** - * Add a new tilemap loading request. - * - * @method Phaser.Loader#tilemap - * @param {string} key - Unique asset key of the tilemap data. - * @param {string} tilesetURL - The url of the tile set image file. - * @param {string} [mapDataURL] - The url of the map data file (csv/json) - * @param {object} [mapData] - An optional JSON data object (can be given in place of a URL). - * @param {string} [format] - The format of the map data. - */ - tilemap: function (key, mapDataURL, mapData, format) { - - if (typeof mapDataURL === "undefined") { mapDataURL = null; } - if (typeof mapData === "undefined") { mapData = null; } - if (typeof format === "undefined") { format = Phaser.Tilemap.CSV; } - - if (mapDataURL == null && mapData == null) - { - console.warn('Phaser.Loader.tilemap - Both mapDataURL and mapData are null. One must be set.'); - - return this; - } - - if (this.checkKeyExists(key) === false) - { - // A URL to a json/csv file has been given - if (mapDataURL) - { - this.addToFileList('tilemap', key, mapDataURL, { format: format }); - } - else - { - switch (format) - { - // A csv string or object has been given - case Phaser.Tilemap.CSV: - break; - - // An xml string or object has been given - case Phaser.Tilemap.TILED_JSON: - - if (typeof mapData === 'string') - { - mapData = JSON.parse(mapData); - } - break; - } - - this.game.cache.addTilemap(key, null, mapData, format); - - } - } - - return this; - - }, - - /** - * Add a new bitmap font loading request. - * - * @method Phaser.Loader#bitmapFont - * @param {string} key - Unique asset key of the bitmap font. - * @param {string} textureURL - The url of the font image file. - * @param {string} [xmlURL] - The url of the font data file (xml/fnt) - * @param {object} [xmlData] - An optional XML data object. - */ - bitmapFont: function (key, textureURL, xmlURL, xmlData) { - - if (typeof xmlURL === "undefined") { xmlURL = null; } - if (typeof xmlData === "undefined") { xmlData = null; } - - if (this.checkKeyExists(key) === false) - { - // A URL to a json/xml file has been given - if (xmlURL) - { - this.addToFileList('bitmapfont', key, textureURL, { xmlURL: xmlURL }); - } - else - { - // An xml string or object has been given - if (typeof xmlData === 'string') - { - var xml; - - try { - if (window['DOMParser']) - { - var domparser = new DOMParser(); - xml = domparser.parseFromString(xmlData, "text/xml"); - } - else - { - xml = new ActiveXObject("Microsoft.XMLDOM"); - xml.async = 'false'; - xml.loadXML(xmlData); - } - } - catch (e) - { - xml = undefined; - } - - if (!xml || !xml.documentElement || xml.getElementsByTagName("parsererror").length) - { - throw new Error("Phaser.Loader. Invalid Bitmap Font XML given"); - } - else - { - this.addToFileList('bitmapfont', key, textureURL, { xmlURL: null, xmlData: xml }); - } - } - } - } - - return this; - - }, - - /** - * Add a new texture atlas to the loader. This atlas uses the JSON Array data format. - * - * @method Phaser.Loader#atlasJSONArray - * @param {string} key - Unique asset key of the bitmap font. - * @param {Description} atlasURL - The url of the Description. - * @param {Description} atlasData - Description. - */ - atlasJSONArray: function (key, textureURL, atlasURL, atlasData) { - - return this.atlas(key, textureURL, atlasURL, atlasData, Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY); - - }, - - /** - * Add a new texture atlas to the loader. This atlas uses the JSON Hash data format. - * - * @method Phaser.Loader#atlasJSONHash - * @param {string} key - Unique asset key of the bitmap font. - * @param {Description} atlasURL - The url of the Description. - * @param {Description} atlasData - Description. - */ - atlasJSONHash: function (key, textureURL, atlasURL, atlasData) { - - return this.atlas(key, textureURL, atlasURL, atlasData, Phaser.Loader.TEXTURE_ATLAS_JSON_HASH); - - }, - - /** - * Add a new texture atlas to the loader. This atlas uses the Starling XML data format. - * - * @method Phaser.Loader#atlasXML - * @param {string} key - Unique asset key of the bitmap font. - * @param {Description} atlasURL - The url of the Description. - * @param {Description} atlasData - Description. - */ - atlasXML: function (key, textureURL, atlasURL, atlasData) { - - return this.atlas(key, textureURL, atlasURL, atlasData, Phaser.Loader.TEXTURE_ATLAS_XML_STARLING); - - }, - - /** - * Add a new texture atlas to the loader. - * - * @method Phaser.Loader#atlas - * @param {string} key - Unique asset key of the texture atlas file. - * @param {string} textureURL - The url of the texture atlas image file. - * @param {string} [atlasURL] - The url of the texture atlas data file (json/xml). You don't need this if you are passing an atlasData object instead. - * @param {object} [atlasData] - A JSON or XML data object. You don't need this if the data is being loaded from a URL. - * @param {number} [format] - A value describing the format of the data, the default is Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY. - */ - atlas: function (key, textureURL, atlasURL, atlasData, format) { - - if (typeof atlasURL === "undefined") { atlasURL = null; } - if (typeof atlasData === "undefined") { atlasData = null; } - if (typeof format === "undefined") { format = Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY; } - - if (this.checkKeyExists(key) === false) - { - // A URL to a json/xml file has been given - if (atlasURL) - { - this.addToFileList('textureatlas', key, textureURL, { atlasURL: atlasURL, format: format }); - } - else - { - switch (format) - { - // A json string or object has been given - case Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY: - - if (typeof atlasData === 'string') - { - atlasData = JSON.parse(atlasData); - } - break; - - // An xml string or object has been given - case Phaser.Loader.TEXTURE_ATLAS_XML_STARLING: - - if (typeof atlasData === 'string') - { - var xml; - - try { - if (window['DOMParser']) - { - var domparser = new DOMParser(); - xml = domparser.parseFromString(atlasData, "text/xml"); - } - else - { - xml = new ActiveXObject("Microsoft.XMLDOM"); - xml.async = 'false'; - xml.loadXML(atlasData); - } - } - catch (e) - { - xml = undefined; - } - - if (!xml || !xml.documentElement || xml.getElementsByTagName("parsererror").length) - { - throw new Error("Phaser.Loader. Invalid Texture Atlas XML given"); - } - else - { - atlasData = xml; - } - } - break; - } - - this.addToFileList('textureatlas', key, textureURL, { atlasURL: null, atlasData: atlasData, format: format }); - - } - - } - - return this; - - }, - - /** - * Remove loading request of a file. - * - * @method Phaser.Loader#removeFile - * @param key {string} Key of the file you want to remove. - */ - removeFile: function (key) { - - delete this._fileList[key]; - - }, - - /** - * Remove all file loading requests. - * - * @method Phaser.Loader#removeAll - */ - removeAll: function () { - - this._fileList = {}; - - }, - - /** - * Start loading the assets. Normally you don't need to call this yourself as the StateManager will do so. - * - * @method Phaser.Loader#start - */ - start: function () { - - if (this.isLoading) - { - return; - } - - this.progress = 0; - this.hasLoaded = false; - this.isLoading = true; - - this.onLoadStart.dispatch(this.queueSize); - - if (this._keys.length > 0) - { - this._progressChunk = 100 / this._keys.length; - this.loadFile(); - } - else - { - this.progress = 100; - this.hasLoaded = true; - this.onLoadComplete.dispatch(); - } - - }, - - /** - * Load files. Private method ONLY used by loader. - * - * @method Phaser.Loader#loadFile - * @private - */ - loadFile: function () { - - var file = this._fileList[this._keys.shift()]; - var _this = this; - - // Image or Data? - switch (file.type) - { - case 'image': - case 'spritesheet': - case 'textureatlas': - case 'bitmapfont': - case 'tileset': - file.data = new Image(); - file.data.name = file.key; - file.data.onload = function () { - return _this.fileComplete(file.key); - }; - file.data.onerror = function () { - return _this.fileError(file.key); - }; - file.data.crossOrigin = this.crossOrigin; - file.data.src = this.baseURL + file.url; - break; - - case 'audio': - file.url = this.getAudioURL(file.url); - - if (file.url !== null) - { - // WebAudio or Audio Tag? - if (this.game.sound.usingWebAudio) - { - this._xhr.open("GET", this.baseURL + file.url, true); - this._xhr.responseType = "arraybuffer"; - this._xhr.onload = function () { - return _this.fileComplete(file.key); - }; - this._xhr.onerror = function () { - return _this.fileError(file.key); - }; - this._xhr.send(); - } - else if (this.game.sound.usingAudioTag) - { - if (this.game.sound.touchLocked) - { - // If audio is locked we can't do this yet, so need to queue this load request. Bum. - file.data = new Audio(); - file.data.name = file.key; - file.data.preload = 'auto'; - file.data.src = this.baseURL + file.url; - this.fileComplete(file.key); - } - else - { - file.data = new Audio(); - file.data.name = file.key; - file.data.onerror = function () { - return _this.fileError(file.key); - }; - file.data.preload = 'auto'; - file.data.src = this.baseURL + file.url; - file.data.addEventListener('canplaythrough', Phaser.GAMES[this.game.id].load.fileComplete(file.key), false); - file.data.load(); - } - } - } - else - { - this.fileError(file.key); - } - - break; - - case 'tilemap': - this._xhr.open("GET", this.baseURL + file.url, true); - this._xhr.responseType = "text"; - - if (file.format == Phaser.Tilemap.TILED_JSON) - { - this._xhr.onload = function () { - return _this.jsonLoadComplete(file.key); - }; - } - else if (file.format == Phaser.Tilemap.CSV) - { - this._xhr.onload = function () { - return _this.csvLoadComplete(file.key); - }; - } - - this._xhr.onerror = function () { - return _this.dataLoadError(file.key); - }; - this._xhr.send(); - break; - - case 'text': - this._xhr.open("GET", this.baseURL + file.url, true); - this._xhr.responseType = "text"; - this._xhr.onload = function () { - return _this.fileComplete(file.key); - }; - this._xhr.onerror = function () { - return _this.fileError(file.key); - }; - this._xhr.send(); - break; - } - - }, - - /** - * Private method ONLY used by loader. - * @method Phaser.Loader#getAudioURL - * @param {Description} urls - Description. - * @private - */ - getAudioURL: function (urls) { - - var extension; - - for (var i = 0; i < urls.length; i++) - { - extension = urls[i].toLowerCase(); - extension = extension.substr((Math.max(0, extension.lastIndexOf(".")) || Infinity) + 1); - - if (this.game.device.canPlayAudio(extension)) - { - return urls[i]; - } - - } - - return null; - - }, - - /** - * Error occured when load a file. - * - * @method Phaser.Loader#fileError - * @param {string} key - Key of the error loading file. - */ - fileError: function (key) { - - this._fileList[key].loaded = true; - this._fileList[key].error = true; - - this.onFileError.dispatch(key); - - console.warn("Phaser.Loader error loading file: " + key + ' from URL ' + this._fileList[key].url); - - this.nextFile(key, false); - - }, - - /** - * Called when a file is successfully loaded. - * - * @method Phaser.Loader#fileComplete - * @param {string} key - Key of the successfully loaded file. - */ - fileComplete: function (key) { - - if (!this._fileList[key]) - { - console.warn('Phaser.Loader fileComplete invalid key ' + key); - return; - } - - this._fileList[key].loaded = true; - - var file = this._fileList[key]; - var loadNext = true; - var _this = this; - - switch (file.type) - { - case 'image': - - this.game.cache.addImage(file.key, file.url, file.data); - break; - - case 'spritesheet': - - this.game.cache.addSpriteSheet(file.key, file.url, file.data, file.frameWidth, file.frameHeight, file.frameMax); - break; - - case 'tileset': - - this.game.cache.addTileset(file.key, file.url, file.data, file.tileWidth, file.tileHeight, file.tileMax, file.tileMargin, file.tileSpacing); - break; - - case 'textureatlas': - - if (file.atlasURL == null) - { - this.game.cache.addTextureAtlas(file.key, file.url, file.data, file.atlasData, file.format); - } - else - { - // Load the JSON or XML before carrying on with the next file - loadNext = false; - this._xhr.open("GET", this.baseURL + file.atlasURL, true); - this._xhr.responseType = "text"; - - if (file.format == Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY || file.format == Phaser.Loader.TEXTURE_ATLAS_JSON_HASH) - { - this._xhr.onload = function () { - return _this.jsonLoadComplete(file.key); - }; - } - else if (file.format == Phaser.Loader.TEXTURE_ATLAS_XML_STARLING) - { - this._xhr.onload = function () { - return _this.xmlLoadComplete(file.key); - }; - } - - this._xhr.onerror = function () { - return _this.dataLoadError(file.key); - }; - this._xhr.send(); - } - break; - - case 'bitmapfont': - - if (file.xmlURL == null) - { - this.game.cache.addBitmapFont(file.key, file.url, file.data, file.xmlData); - } - else - { - // Load the XML before carrying on with the next file - loadNext = false; - this._xhr.open("GET", this.baseURL + file.xmlURL, true); - this._xhr.responseType = "text"; - - this._xhr.onload = function () { - return _this.xmlLoadComplete(file.key); - }; - - this._xhr.onerror = function () { - return _this.dataLoadError(file.key); - }; - this._xhr.send(); - } - break; - - case 'audio': - - if (this.game.sound.usingWebAudio) - { - file.data = this._xhr.response; - - this.game.cache.addSound(file.key, file.url, file.data, true, false); - - if (file.autoDecode) - { - this.game.cache.updateSound(key, 'isDecoding', true); - - var that = this; - var key = file.key; - - this.game.sound.context.decodeAudioData(file.data, function (buffer) { - if (buffer) - { - that.game.cache.decodedSound(key, buffer); - } - }); - } - } - else - { - file.data.removeEventListener('canplaythrough', Phaser.GAMES[this.game.id].load.fileComplete); - this.game.cache.addSound(file.key, file.url, file.data, false, true); - } - break; - - case 'text': - file.data = this._xhr.responseText; - this.game.cache.addText(file.key, file.url, file.data); - break; - } - - if (loadNext) - { - this.nextFile(key, true); - } - - }, - - /** - * Successfully loaded a JSON file. - * - * @method Phaser.Loader#jsonLoadComplete - * @param {string} key - Key of the loaded JSON file. - */ - jsonLoadComplete: function (key) { - - var data = JSON.parse(this._xhr.responseText); - var file = this._fileList[key]; - - if (file.type == 'tilemap') - { - this.game.cache.addTilemap(file.key, file.url, data, file.format); - } - else - { - this.game.cache.addTextureAtlas(file.key, file.url, file.data, data, file.format); - } - - this.nextFile(key, true); - - }, - - /** - * Successfully loaded a CSV file. - * - * @method Phaser.Loader#csvLoadComplete - * @param {string} key - Key of the loaded CSV file. - */ - csvLoadComplete: function (key) { - - var data = this._xhr.responseText; - var file = this._fileList[key]; - - this.game.cache.addTilemap(file.key, file.url, data, file.format); - - this.nextFile(key, true); - - }, - - /** - * Error occured when load a JSON. - * - * @method Phaser.Loader#dataLoadError - * @param {string} key - Key of the error loading JSON file. - */ - dataLoadError: function (key) { - - var file = this._fileList[key]; - - file.error = true; - - console.warn("Phaser.Loader dataLoadError: " + key); - - this.nextFile(key, true); - - }, - - /** - * Successfully loaded an XML file. - * - * @method Phaser.Loader#xmlLoadComplete - * @param {string} key - Key of the loaded XML file. - */ - xmlLoadComplete: function (key) { - - var data = this._xhr.responseText; - var xml; - - try - { - if (window['DOMParser']) - { - var domparser = new DOMParser(); - xml = domparser.parseFromString(data, "text/xml"); - } - else - { - xml = new ActiveXObject("Microsoft.XMLDOM"); - xml.async = 'false'; - xml.loadXML(data); - } - } - catch (e) - { - xml = undefined; - } - - if (!xml || !xml.documentElement || xml.getElementsByTagName("parsererror").length) - { - throw new Error("Phaser.Loader. Invalid XML given"); - } - - var file = this._fileList[key]; - - if (file.type == 'bitmapfont') - { - this.game.cache.addBitmapFont(file.key, file.url, file.data, xml); - } - else if (file.type == 'textureatlas') - { - this.game.cache.addTextureAtlas(file.key, file.url, file.data, xml, file.format); - } - - this.nextFile(key, true); - - }, - - /** - * Handle loading next file. - * - * @param previousKey {string} Key of previous loaded asset. - * @param success {boolean} Whether the previous asset loaded successfully or not. - * @private - */ - nextFile: function (previousKey, success) { - - this.progress = Math.round(this.progress + this._progressChunk); - - if (this.progress > 100) - { - this.progress = 100; - } - - if (this.preloadSprite !== null) - { - if (this.preloadSprite.direction == 0) - { - this.preloadSprite.crop.width = Math.floor((this.preloadSprite.width / 100) * this.progress); - } - else - { - this.preloadSprite.crop.height = Math.floor((this.preloadSprite.height / 100) * this.progress); - } - - this.preloadSprite.sprite.crop = this.preloadSprite.crop; - } - - this.onFileComplete.dispatch(this.progress, previousKey, success, this.queueSize - this._keys.length, this.queueSize); - - if (this._keys.length > 0) - { - this.loadFile(); - } - else - { - this.hasLoaded = true; - this.isLoading = false; - - this.removeAll(); + setPreloadSprite: function (sprite, direction) { + + direction = direction || 0; + + this.preloadSprite = { sprite: sprite, direction: direction, width: sprite.width, height: sprite.height, crop: null }; + + if (direction === 0) + { + // Horizontal crop + this.preloadSprite.crop = new Phaser.Rectangle(0, 0, 1, sprite.height); + } + else + { + // Vertical crop + this.preloadSprite.crop = new Phaser.Rectangle(0, 0, sprite.width, 1); + } + + sprite.crop = this.preloadSprite.crop; + sprite.cropEnabled = true; + + }, + + /** + * Check whether asset exists with a specific key. + * + * @method Phaser.Loader#checkKeyExists + * @param {string} type - The type asset you want to check. + * @param {string} key - Key of the asset you want to check. + * @return {boolean} Return true if exists, otherwise return false. + */ + checkKeyExists: function (type, key) { + + if (this._fileList.length > 0) + { + for (var i = 0; i < this._fileList.length; i++) + { + if (this._fileList[i].type === type && this._fileList[i].key === key) + { + return true; + } + } + } + + return false; + + }, + + /** + * Gets the asset that is queued for load. + * + * @method Phaser.Loader#getAsset + * @param {string} type - The type asset you want to check. + * @param {string} key - Key of the asset you want to check. + * @return {any} Returns an object if found that has 2 properties: index and file. Otherwise false. + */ + getAsset: function (type, key) { + + if (this._fileList.length > 0) + { + for (var i = 0; i < this._fileList.length; i++) + { + if (this._fileList[i].type === type && this._fileList[i].key === key) + { + return { index: i, file: this._fileList[i] }; + } + } + } + + return false; + + }, + + /** + * Reset loader, this will remove the load queue. + * + * @method Phaser.Loader#reset + */ + reset: function () { + + this.preloadSprite = null; + this.isLoading = false; + this._fileList.length = 0; + this._fileIndex = 0; + + }, + + /** + * Internal function that adds a new entry to the file list. Do not call directly. + * + * @method Phaser.Loader#addToFileList + * @param {string} type - The type of resource to add to the list (image, audio, xml, etc). + * @param {string} key - The unique Cache ID key of this resource. + * @param {string} url - The URL the asset will be loaded from. + * @param {object} properties - Any additional properties needed to load the file. + * @protected + */ + addToFileList: function (type, key, url, properties) { + + var entry = { + type: type, + key: key, + url: url, + data: null, + error: false, + loaded: false + }; + + if (typeof properties !== "undefined") + { + for (var prop in properties) + { + entry[prop] = properties[prop]; + } + } + + if (this.checkKeyExists(type, key) === false) + { + this._fileList.push(entry); + } + + }, + + /** + * Internal function that replaces an existing entry in the file list with a new one. Do not call directly. + * + * @method Phaser.Loader#replaceInFileList + * @param {string} type - The type of resource to add to the list (image, audio, xml, etc). + * @param {string} key - The unique Cache ID key of this resource. + * @param {string} url - The URL the asset will be loaded from. + * @param {object} properties - Any additional properties needed to load the file. + * @protected + */ + replaceInFileList: function (type, key, url, properties) { + + var entry = { + type: type, + key: key, + url: url, + data: null, + error: false, + loaded: false + }; + + if (typeof properties !== "undefined") + { + for (var prop in properties) + { + entry[prop] = properties[prop]; + } + } + + if (this.checkKeyExists(type, key) === false) + { + this._fileList.push(entry); + } + + }, + + /** + * Add an image to the Loader. + * + * @method Phaser.Loader#image + * @param {string} key - Unique asset key of this image file. + * @param {string} url - URL of image file. + * @param {boolean} [overwrite=false] - If an unloaded file with a matching key already exists in the queue, this entry will overwrite it. + * @return {Phaser.Loader} This Loader instance. + */ + image: function (key, url, overwrite) { + + if (typeof overwrite === "undefined") { overwrite = false; } + + if (overwrite) + { + this.replaceInFileList('image', key, url); + } + else + { + this.addToFileList('image', key, url); + } + + return this; + + }, + + /** + * Add a text file to the Loader. + * + * @method Phaser.Loader#text + * @param {string} key - Unique asset key of the text file. + * @param {string} url - URL of the text file. + * @param {boolean} [overwrite=false] - If an unloaded file with a matching key already exists in the queue, this entry will overwrite it. + * @return {Phaser.Loader} This Loader instance. + */ + text: function (key, url, overwrite) { + + if (typeof overwrite === "undefined") { overwrite = false; } + + if (overwrite) + { + this.replaceInFileList('text', key, url); + } + else + { + this.addToFileList('text', key, url); + } + + return this; + + }, + + /** + * Add a JavaScript file to the Loader. Once loaded the JavaScript file will be automatically turned into a script tag (and executed), so be careful what you load! + * + * @method Phaser.Loader#script + * @param {string} key - Unique asset key of the script file. + * @param {string} url - URL of the JavaScript file. + * @return {Phaser.Loader} This Loader instance. + */ + script: function (key, url) { + + this.addToFileList('script', key, url); + + return this; + + }, + + /** + * Add a new sprite sheet to the loader. + * + * @method Phaser.Loader#spritesheet + * @param {string} key - Unique asset key of the sheet file. + * @param {string} url - URL of the sheet file. + * @param {number} frameWidth - Width of each single frame. + * @param {number} frameHeight - Height of each single frame. + * @param {number} [frameMax=-1] - How many frames in this sprite sheet. If not specified it will divide the whole image into frames. + * @return {Phaser.Loader} This Loader instance. + */ + spritesheet: function (key, url, frameWidth, frameHeight, frameMax) { - this.onLoadComplete.dispatch(); - } + if (typeof frameMax === "undefined") { frameMax = -1; } - } + this.addToFileList('spritesheet', key, url, { frameWidth: frameWidth, frameHeight: frameHeight, frameMax: frameMax }); + + return this; + + }, + + /** + * Add a new tile set to the loader. These are used in the rendering of tile maps. + * + * @method Phaser.Loader#tileset + * @param {string} key - Unique asset key of the tileset file. + * @param {string} url - URL of the tileset. + * @param {number} tileWidth - Width of each single tile in pixels. + * @param {number} tileHeight - Height of each single tile in pixels. + * @param {number} [tileMax=-1] - How many tiles in this tileset. If not specified it will divide the whole image into tiles. + * @param {number} [tileMargin=0] - If the tiles have been drawn with a margin, specify the amount here. + * @param {number} [tileSpacing=0] - If the tiles have been drawn with spacing between them, specify the amount here. + * @return {Phaser.Loader} This Loader instance. + */ + tileset: function (key, url, tileWidth, tileHeight, tileMax, tileMargin, tileSpacing) { + + if (typeof tileMax === "undefined") { tileMax = -1; } + if (typeof tileMargin === "undefined") { tileMargin = 0; } + if (typeof tileSpacing === "undefined") { tileSpacing = 0; } + + this.addToFileList('tileset', key, url, { tileWidth: tileWidth, tileHeight: tileHeight, tileMax: tileMax, tileMargin: tileMargin, tileSpacing: tileSpacing }); + + return this; + + }, + + /** + * Add a new audio file to the loader. + * + * @method Phaser.Loader#audio + * @param {string} key - Unique asset key of the audio file. + * @param {Array|string} urls - An array containing the URLs of the audio files, i.e.: [ 'jump.mp3', 'jump.ogg', 'jump.m4a' ] or a single string containing just one URL. + * @param {boolean} autoDecode - When using Web Audio the audio files can either be decoded at load time or run-time. They can't be played until they are decoded, but this let's you control when that happens. Decoding is a non-blocking async process. + * @return {Phaser.Loader} This Loader instance. + */ + audio: function (key, urls, autoDecode) { -}; + if (typeof autoDecode === "undefined") { autoDecode = true; } + + this.addToFileList('audio', key, urls, { buffer: null, autoDecode: autoDecode }); + + return this; + + }, + + /** + * Add a new tilemap loading request. + * + * @method Phaser.Loader#tilemap + * @param {string} key - Unique asset key of the tilemap data. + * @param {string} [mapDataURL] - The url of the map data file (csv/json) + * @param {object} [mapData] - An optional JSON data object. If given then the mapDataURL is ignored and this JSON object is used for map data instead. + * @param {string} [format=Phaser.Tilemap.CSV] - The format of the map data. Either Phaser.Tilemap.CSV or Phaser.Tilemap.TILED_JSON. + * @return {Phaser.Loader} This Loader instance. + */ + tilemap: function (key, mapDataURL, mapData, format) { + + if (typeof mapDataURL === "undefined") { mapDataURL = null; } + if (typeof mapData === "undefined") { mapData = null; } + if (typeof format === "undefined") { format = Phaser.Tilemap.CSV; } + + if (mapDataURL == null && mapData == null) + { + console.warn('Phaser.Loader.tilemap - Both mapDataURL and mapData are null. One must be set.'); + + return this; + } + + // A map data object has been given + if (mapData) + { + switch (format) + { + // A csv string or object has been given + case Phaser.Tilemap.CSV: + break; + + // An xml string or object has been given + case Phaser.Tilemap.TILED_JSON: + + if (typeof mapData === 'string') + { + mapData = JSON.parse(mapData); + } + break; + } + + this.game.cache.addTilemap(key, null, mapData, format); + } + else + { + this.addToFileList('tilemap', key, mapDataURL, { format: format }); + } + + return this; + + }, + + /** + * Add a new bitmap font loading request. + * + * @method Phaser.Loader#bitmapFont + * @param {string} key - Unique asset key of the bitmap font. + * @param {string} textureURL - The url of the font image file. + * @param {string} [xmlURL] - The url of the font data file (xml/fnt) + * @param {object} [xmlData] - An optional XML data object. + * @return {Phaser.Loader} This Loader instance. + */ + bitmapFont: function (key, textureURL, xmlURL, xmlData) { + + if (typeof xmlURL === "undefined") { xmlURL = null; } + if (typeof xmlData === "undefined") { xmlData = null; } + + // A URL to a json/xml file has been given + if (xmlURL) + { + this.addToFileList('bitmapfont', key, textureURL, { xmlURL: xmlURL }); + } + else + { + // An xml string or object has been given + if (typeof xmlData === 'string') + { + var xml; + + try { + if (window['DOMParser']) + { + var domparser = new DOMParser(); + xml = domparser.parseFromString(xmlData, "text/xml"); + } + else + { + xml = new ActiveXObject("Microsoft.XMLDOM"); + xml.async = 'false'; + xml.loadXML(xmlData); + } + } + catch (e) + { + xml = undefined; + } + + if (!xml || !xml.documentElement || xml.getElementsByTagName("parsererror").length) + { + throw new Error("Phaser.Loader. Invalid Bitmap Font XML given"); + } + else + { + this.addToFileList('bitmapfont', key, textureURL, { xmlURL: null, xmlData: xml }); + } + } + } + + return this; + + }, + + /** + * Add a new texture atlas to the loader. This atlas uses the JSON Array data format. + * + * @method Phaser.Loader#atlasJSONArray + * @param {string} key - Unique asset key of the texture atlas file. + * @param {string} textureURL - The url of the texture atlas image file. + * @param {string} [atlasURL] - The url of the texture atlas data file (json/xml). You don't need this if you are passing an atlasData object instead. + * @param {object} [atlasData] - A JSON or XML data object. You don't need this if the data is being loaded from a URL. + * @return {Phaser.Loader} This Loader instance. + */ + atlasJSONArray: function (key, textureURL, atlasURL, atlasData) { + + return this.atlas(key, textureURL, atlasURL, atlasData, Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY); + + }, + + /** + * Add a new texture atlas to the loader. This atlas uses the JSON Hash data format. + * + * @method Phaser.Loader#atlasJSONHash + * @param {string} key - Unique asset key of the texture atlas file. + * @param {string} textureURL - The url of the texture atlas image file. + * @param {string} [atlasURL] - The url of the texture atlas data file (json/xml). You don't need this if you are passing an atlasData object instead. + * @param {object} [atlasData] - A JSON or XML data object. You don't need this if the data is being loaded from a URL. + * @return {Phaser.Loader} This Loader instance. + */ + atlasJSONHash: function (key, textureURL, atlasURL, atlasData) { + + return this.atlas(key, textureURL, atlasURL, atlasData, Phaser.Loader.TEXTURE_ATLAS_JSON_HASH); + + }, + + /** + * Add a new texture atlas to the loader. This atlas uses the Starling XML data format. + * + * @method Phaser.Loader#atlasXML + * @param {string} key - Unique asset key of the texture atlas file. + * @param {string} textureURL - The url of the texture atlas image file. + * @param {string} [atlasURL] - The url of the texture atlas data file (json/xml). You don't need this if you are passing an atlasData object instead. + * @param {object} [atlasData] - A JSON or XML data object. You don't need this if the data is being loaded from a URL. + * @return {Phaser.Loader} This Loader instance. + */ + atlasXML: function (key, textureURL, atlasURL, atlasData) { + + return this.atlas(key, textureURL, atlasURL, atlasData, Phaser.Loader.TEXTURE_ATLAS_XML_STARLING); + + }, + + /** + * Add a new texture atlas to the loader. + * + * @method Phaser.Loader#atlas + * @param {string} key - Unique asset key of the texture atlas file. + * @param {string} textureURL - The url of the texture atlas image file. + * @param {string} [atlasURL] - The url of the texture atlas data file (json/xml). You don't need this if you are passing an atlasData object instead. + * @param {object} [atlasData] - A JSON or XML data object. You don't need this if the data is being loaded from a URL. + * @param {number} [format] - A value describing the format of the data, the default is Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY. + * @return {Phaser.Loader} This Loader instance. + */ + atlas: function (key, textureURL, atlasURL, atlasData, format) { + + if (typeof atlasURL === "undefined") { atlasURL = null; } + if (typeof atlasData === "undefined") { atlasData = null; } + if (typeof format === "undefined") { format = Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY; } + + // A URL to a json/xml file has been given + if (atlasURL) + { + this.addToFileList('textureatlas', key, textureURL, { atlasURL: atlasURL, format: format }); + } + else + { + switch (format) + { + // A json string or object has been given + case Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY: + + if (typeof atlasData === 'string') + { + atlasData = JSON.parse(atlasData); + } + break; + + // An xml string or object has been given + case Phaser.Loader.TEXTURE_ATLAS_XML_STARLING: + + if (typeof atlasData === 'string') + { + var xml; + + try { + if (window['DOMParser']) + { + var domparser = new DOMParser(); + xml = domparser.parseFromString(atlasData, "text/xml"); + } + else + { + xml = new ActiveXObject("Microsoft.XMLDOM"); + xml.async = 'false'; + xml.loadXML(atlasData); + } + } + catch (e) + { + xml = undefined; + } + + if (!xml || !xml.documentElement || xml.getElementsByTagName("parsererror").length) + { + throw new Error("Phaser.Loader. Invalid Texture Atlas XML given"); + } + else + { + atlasData = xml; + } + } + break; + } + + this.addToFileList('textureatlas', key, textureURL, { atlasURL: null, atlasData: atlasData, format: format }); + + } + + return this; + + }, + + /** + * Remove loading request of a file. + * + * @method Phaser.Loader#removeFile + * @param {string} type - The type of resource to add to the list (image, audio, xml, etc). + * @param {string} key - Key of the file you want to remove. + */ + removeFile: function (type, key) { + + var file = this.getAsset(type, key); + + if (file !== false) + { + this._fileList.splice(file.index, 1); + } + + }, + + /** + * Remove all file loading requests. + * + * @method Phaser.Loader#removeAll + */ + removeAll: function () { + + this._fileList.length = 0; + + }, + + /** + * Start loading the assets. Normally you don't need to call this yourself as the StateManager will do so. + * + * @method Phaser.Loader#start + */ + start: function () { + + if (this.isLoading) + { + return; + } + + this.progress = 0; + this.hasLoaded = false; + this.isLoading = true; + + this.onLoadStart.dispatch(this._fileList.length); + + if (this._fileList.length > 0) + { + this._fileIndex = 0; + this._progressChunk = 100 / this._fileList.length; + this.loadFile(); + } + else + { + this.progress = 100; + this.hasLoaded = true; + this.onLoadComplete.dispatch(); + } + + }, + + /** + * Load files. Private method ONLY used by loader. + * + * @method Phaser.Loader#loadFile + * @private + */ + loadFile: function () { + + if (!this._fileList[this._fileIndex]) + { + console.warn('Phaser.Loader loadFile invalid index ' + this._fileIndex); + return; + } + + var file = this._fileList[this._fileIndex]; + var _this = this; + + // Image or Data? + switch (file.type) + { + case 'image': + case 'spritesheet': + case 'textureatlas': + case 'bitmapfont': + case 'tileset': + file.data = new Image(); + file.data.name = file.key; + file.data.onload = function () { + return _this.fileComplete(_this._fileIndex); + }; + file.data.onerror = function () { + return _this.fileError(_this._fileIndex); + }; + file.data.crossOrigin = this.crossOrigin; + file.data.src = this.baseURL + file.url; + break; + + case 'audio': + file.url = this.getAudioURL(file.url); + + if (file.url !== null) + { + // WebAudio or Audio Tag? + if (this.game.sound.usingWebAudio) + { + this._xhr.open("GET", this.baseURL + file.url, true); + this._xhr.responseType = "arraybuffer"; + this._xhr.onload = function () { + return _this.fileComplete(_this._fileIndex); + }; + this._xhr.onerror = function () { + return _this.fileError(_this._fileIndex); + }; + this._xhr.send(); + } + else if (this.game.sound.usingAudioTag) + { + if (this.game.sound.touchLocked) + { + // If audio is locked we can't do this yet, so need to queue this load request. Bum. + file.data = new Audio(); + file.data.name = file.key; + file.data.preload = 'auto'; + file.data.src = this.baseURL + file.url; + this.fileComplete(this._fileIndex); + } + else + { + file.data = new Audio(); + file.data.name = file.key; + file.data.onerror = function () { + return _this.fileError(_this._fileIndex); + }; + file.data.preload = 'auto'; + file.data.src = this.baseURL + file.url; + file.data.addEventListener('canplaythrough', Phaser.GAMES[this.game.id].load.fileComplete(this._fileIndex), false); + file.data.load(); + } + } + } + else + { + this.fileError(this._fileIndex); + } + + break; + + case 'tilemap': + this._xhr.open("GET", this.baseURL + file.url, true); + this._xhr.responseType = "text"; + + if (file.format === Phaser.Tilemap.TILED_JSON) + { + this._xhr.onload = function () { + return _this.jsonLoadComplete(_this._fileIndex); + }; + } + else if (file.format === Phaser.Tilemap.CSV) + { + this._xhr.onload = function () { + return _this.csvLoadComplete(_this._fileIndex); + }; + } + else + { + throw new Error("Phaser.Loader. Invalid Tilemap format: " + file.format); + } + + this._xhr.onerror = function () { + return _this.dataLoadError(_this._fileIndex); + }; + this._xhr.send(); + break; + + case 'text': + this._xhr.open("GET", this.baseURL + file.url, true); + this._xhr.responseType = "text"; + this._xhr.onload = function () { + return _this.fileComplete(_this._fileIndex); + }; + this._xhr.onerror = function () { + return _this.fileError(_this._fileIndex); + }; + this._xhr.send(); + break; + + case 'script': + + this._xhr.open("GET", this.baseURL + file.url, true); + this._xhr.responseType = "text"; + this._xhr.onload = function () { + return _this.fileComplete(_this._fileIndex); + }; + this._xhr.onerror = function () { + return _this.fileError(_this._fileIndex); + }; + this._xhr.send(); + break; + } + + }, + + /** + * Private method ONLY used by loader. + * @method Phaser.Loader#getAudioURL + * @param {array|string} urls - Either an array of audio file URLs or a string containing a single URL path. + * @private + */ + getAudioURL: function (urls) { + + var extension; + + if (typeof urls === 'string') { urls = [urls]; } + + for (var i = 0; i < urls.length; i++) + { + extension = urls[i].toLowerCase(); + extension = extension.substr((Math.max(0, extension.lastIndexOf(".")) || Infinity) + 1); + + if (this.game.device.canPlayAudio(extension)) + { + return urls[i]; + } + + } + + return null; + + }, + + /** + * Error occured when loading a file. + * + * @method Phaser.Loader#fileError + * @param {number} index - The index of the file in the file queue that errored. + */ + fileError: function (index) { + + this._fileList[index].loaded = true; + this._fileList[index].error = true; + + this.onFileError.dispatch(this._fileList[index].key, this._fileList[index]); + + console.warn("Phaser.Loader error loading file: " + this._fileList[index].key + ' from URL ' + this._fileList[index].url); + + this.nextFile(index, false); + + }, + + /** + * Called when a file is successfully loaded. + * + * @method Phaser.Loader#fileComplete + * @param {number} index - The index of the file in the file queue that loaded. + */ + fileComplete: function (index) { + + if (!this._fileList[index]) + { + console.warn('Phaser.Loader fileComplete invalid index ' + index); + return; + } + + + var file = this._fileList[index]; + file.loaded = true; + + var loadNext = true; + var _this = this; + + switch (file.type) + { + case 'image': + + this.game.cache.addImage(file.key, file.url, file.data); + break; + + case 'spritesheet': + + this.game.cache.addSpriteSheet(file.key, file.url, file.data, file.frameWidth, file.frameHeight, file.frameMax); + break; + + case 'tileset': + + this.game.cache.addTileset(file.key, file.url, file.data, file.tileWidth, file.tileHeight, file.tileMax, file.tileMargin, file.tileSpacing); + break; + + case 'textureatlas': + + if (file.atlasURL == null) + { + this.game.cache.addTextureAtlas(file.key, file.url, file.data, file.atlasData, file.format); + } + else + { + // Load the JSON or XML before carrying on with the next file + loadNext = false; + this._xhr.open("GET", this.baseURL + file.atlasURL, true); + this._xhr.responseType = "text"; + + if (file.format == Phaser.Loader.TEXTURE_ATLAS_JSON_ARRAY || file.format == Phaser.Loader.TEXTURE_ATLAS_JSON_HASH) + { + this._xhr.onload = function () { + return _this.jsonLoadComplete(index); + }; + } + else if (file.format == Phaser.Loader.TEXTURE_ATLAS_XML_STARLING) + { + this._xhr.onload = function () { + return _this.xmlLoadComplete(index); + }; + } + else + { + throw new Error("Phaser.Loader. Invalid Texture Atlas format: " + file.format); + } + + this._xhr.onerror = function () { + return _this.dataLoadError(index); + }; + this._xhr.send(); + } + break; + + case 'bitmapfont': + + if (file.xmlURL == null) + { + this.game.cache.addBitmapFont(file.key, file.url, file.data, file.xmlData); + } + else + { + // Load the XML before carrying on with the next file + loadNext = false; + this._xhr.open("GET", this.baseURL + file.xmlURL, true); + this._xhr.responseType = "text"; + + this._xhr.onload = function () { + return _this.xmlLoadComplete(index); + }; + + this._xhr.onerror = function () { + return _this.dataLoadError(index); + }; + this._xhr.send(); + } + break; + + case 'audio': + + if (this.game.sound.usingWebAudio) + { + file.data = this._xhr.response; + + this.game.cache.addSound(file.key, file.url, file.data, true, false); + + if (file.autoDecode) + { + this.game.cache.updateSound(key, 'isDecoding', true); + + var that = this; + var key = file.key; + + this.game.sound.context.decodeAudioData(file.data, function (buffer) { + if (buffer) + { + that.game.cache.decodedSound(key, buffer); + } + }); + } + } + else + { + file.data.removeEventListener('canplaythrough', Phaser.GAMES[this.game.id].load.fileComplete); + this.game.cache.addSound(file.key, file.url, file.data, false, true); + } + break; + + case 'text': + file.data = this._xhr.responseText; + this.game.cache.addText(file.key, file.url, file.data); + break; + + case 'script': + file.data = document.createElement('script'); + file.data.language = 'javascript'; + file.data.type = 'text/javascript'; + file.data.defer = true; + file.data.text = this._xhr.responseText; + document.head.appendChild(file.data); + break; + } + + if (loadNext) + { + this.nextFile(index, true); + } + + }, + + /** + * Successfully loaded a JSON file. + * + * @method Phaser.Loader#jsonLoadComplete + * @param {number} index - The index of the file in the file queue that loaded. + */ + jsonLoadComplete: function (index) { + + if (!this._fileList[index]) + { + console.warn('Phaser.Loader jsonLoadComplete invalid index ' + index); + return; + } + + var file = this._fileList[index]; + var data = JSON.parse(this._xhr.responseText); + + file.loaded = true; + + if (file.type === 'tilemap') + { + this.game.cache.addTilemap(file.key, file.url, data, file.format); + } + else + { + this.game.cache.addTextureAtlas(file.key, file.url, file.data, data, file.format); + } + + this.nextFile(index, true); + + }, + + /** + * Successfully loaded a CSV file. + * + * @method Phaser.Loader#csvLoadComplete + * @param {number} index - The index of the file in the file queue that loaded. + */ + csvLoadComplete: function (index) { + + if (!this._fileList[index]) + { + console.warn('Phaser.Loader csvLoadComplete invalid index ' + index); + return; + } + + var file = this._fileList[index]; + var data = this._xhr.responseText; + + file.loaded = true; + + this.game.cache.addTilemap(file.key, file.url, data, file.format); + + this.nextFile(index, true); + + }, + + /** + * Error occured when load a JSON. + * + * @method Phaser.Loader#dataLoadError + * @param {number} index - The index of the file in the file queue that errored. + */ + dataLoadError: function (index) { + + var file = this._fileList[index]; + + file.loaded = true; + file.error = true; + + console.warn("Phaser.Loader dataLoadError: " + file.key); + + this.nextFile(index, true); + + }, + + /** + * Successfully loaded an XML file. + * + * @method Phaser.Loader#xmlLoadComplete + * @param {number} index - The index of the file in the file queue that loaded. + */ + xmlLoadComplete: function (index) { + + var data = this._xhr.responseText; + var xml; + + try + { + if (window['DOMParser']) + { + var domparser = new DOMParser(); + xml = domparser.parseFromString(data, "text/xml"); + } + else + { + xml = new ActiveXObject("Microsoft.XMLDOM"); + xml.async = 'false'; + xml.loadXML(data); + } + } + catch (e) + { + xml = undefined; + } + + if (!xml || !xml.documentElement || xml.getElementsByTagName("parsererror").length) + { + throw new Error("Phaser.Loader. Invalid XML given"); + } + + var file = this._fileList[index]; + file.loaded = true; + + if (file.type == 'bitmapfont') + { + this.game.cache.addBitmapFont(file.key, file.url, file.data, xml); + } + else if (file.type == 'textureatlas') + { + this.game.cache.addTextureAtlas(file.key, file.url, file.data, xml, file.format); + } + + this.nextFile(index, true); + + }, + + /** + * Handle loading next file. + * + * @param {number} previousIndex - Index of the previously loaded asset. + * @param {boolean} success - Whether the previous asset loaded successfully or not. + * @private + */ + nextFile: function (previousIndex, success) { + + this.progress = Math.round(this.progress + this._progressChunk); + + if (this.progress > 100) + { + this.progress = 100; + } + + if (this.preloadSprite !== null) + { + if (this.preloadSprite.direction === 0) + { + this.preloadSprite.crop.width = Math.floor((this.preloadSprite.width / 100) * this.progress); + } + else + { + this.preloadSprite.crop.height = Math.floor((this.preloadSprite.height / 100) * this.progress); + } + + this.preloadSprite.sprite.crop = this.preloadSprite.crop; + } + + this.onFileComplete.dispatch(this.progress, this._fileList[previousIndex].key, success, this.totalLoadedFiles(), this._fileList.length); + + if (this.totalQueuedFiles() > 0) + { + this._fileIndex++; + this.loadFile(); + } + else + { + this.hasLoaded = true; + this.isLoading = false; + + this.removeAll(); + + this.onLoadComplete.dispatch(); + } + + }, + + /** + * Returns the number of files that have already been loaded, even if they errored. + * + * @return {number} The number of files that have already been loaded (even if they errored) + */ + totalLoadedFiles: function () { + + var total = 0; + + for (var i = 0; i < this._fileList.length; i++) + { + if (this._fileList[i].loaded) + { + total++; + } + } + + return total; + + }, + + /** + * Returns the number of files still waiting to be processed in the load queue. This value decreases as each file is in the queue is loaded. + * + * @return {number} The number of files that still remain in the load queue. + */ + totalQueuedFiles: function () { + + var total = 0; + + for (var i = 0; i < this._fileList.length; i++) + { + if (this._fileList[i].loaded === false) + { + total++; + } + } + + return total; + + } + +}; +
    @@ -1509,7 +1734,7 @@

    Source: loader/Loader.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/LoaderParser.js.html b/docs/LoaderParser.js.html index 0da848cfb7..eefdaba6ad 100644 --- a/docs/LoaderParser.js.html +++ b/docs/LoaderParser.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -393,14 +433,14 @@

    Source: loader/LoaderParser.js

    * @class Phaser.LoaderParser */ Phaser.LoaderParser = { - + /** * Parse frame data from an XML file. * @method Phaser.LoaderParser.bitmapFont * @param {object} xml - XML data you want to parse. * @return {FrameData} Generated FrameData object. */ - bitmapFont: function (game, xml, cacheKey) { + bitmapFont: function (game, xml, cacheKey) { // Malformed? if (!xml.getElementsByTagName('font')) @@ -433,8 +473,8 @@

    Source: loader/LoaderParser.js

    height: parseInt(letters[i].attributes.getNamedItem("height").nodeValue, 10) }; - // Note: This means you can only have 1 BitmapFont loaded at once! - // Need to replace this with our own handler soon. + // Note: This means you can only have 1 BitmapFont loaded at once! + // Need to replace this with our own handler soon. PIXI.TextureCache[charCode] = new PIXI.Texture(texture, textureRect); data.chars[charCode] = { @@ -452,9 +492,9 @@

    Source: loader/LoaderParser.js

    for (i = 0; i < kernings.length; i++) { - var first = parseInt(kernings[i].attributes.getNamedItem("first").nodeValue, 10); - var second = parseInt(kernings[i].attributes.getNamedItem("second").nodeValue, 10); - var amount = parseInt(kernings[i].attributes.getNamedItem("amount").nodeValue, 10); + var first = parseInt(kernings[i].attributes.getNamedItem("first").nodeValue, 10); + var second = parseInt(kernings[i].attributes.getNamedItem("second").nodeValue, 10); + var amount = parseInt(kernings[i].attributes.getNamedItem("amount").nodeValue, 10); data.chars[second].kerning[first] = amount; } @@ -484,7 +524,7 @@

    Source: loader/LoaderParser.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/MSPointer.js.html b/docs/MSPointer.js.html index 2f78850e59..88f18043f1 100644 --- a/docs/MSPointer.js.html +++ b/docs/MSPointer.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -399,33 +439,15 @@

    Source: input/MSPointer.js

    */ Phaser.MSPointer = function (game) { - /** - * @property {Phaser.Game} game - Local reference to game. - */ - this.game = game; - - /** - * @property {Phaser.Game} callbackContext - Description. - */ - this.callbackContext = this.game; - - /** - * @property {Description} mouseDownCallback - Description. - * @default - */ - this.mouseDownCallback = null; - - /** - * @property {Description} mouseMoveCallback - Description. - * @default - */ - this.mouseMoveCallback = null; - - /** - * @property {Description} mouseUpCallback - Description. - * @default - */ - this.mouseUpCallback = null; + /** + * @property {Phaser.Game} game - A reference to the currently running game. + */ + this.game = game; + + /** + * @property {Object} callbackContext - The context under which callbacks are called (defaults to game). + */ + this.callbackContext = this.game; /** * You can disable all Input by setting disabled = true. While set all new input related events will be ignored. @@ -434,26 +456,20 @@

    Source: input/MSPointer.js

    this.disabled = false; /** - * Description. - * @property {Description} _onMSPointerDown + * @property {function} _onMSPointerDown - Internal function to handle MSPointer events. * @private - * @default */ this._onMSPointerDown = null; /** - * Description. - * @property {Description} _onMSPointerMove + * @property {function} _onMSPointerMove - Internal function to handle MSPointer events. * @private - * @default */ this._onMSPointerMove = null; /** - * Description. - * @property {Description} _onMSPointerUp + * @property {function} _onMSPointerUp - Internal function to handle MSPointer events. * @private - * @default */ this._onMSPointerUp = null; @@ -461,7 +477,7 @@

    Source: input/MSPointer.js

    Phaser.MSPointer.prototype = { - /** + /** * Starts the event listeners running. * @method Phaser.MSPointer#start */ @@ -469,7 +485,7 @@

    Source: input/MSPointer.js

    var _this = this; - if (this.game.device.mspointer == true) + if (this.game.device.mspointer === true) { this._onMSPointerDown = function (event) { return _this.onPointerDown(event); @@ -487,6 +503,11 @@

    Source: input/MSPointer.js

    this.game.renderer.view.addEventListener('MSPointerMove', this._onMSPointerMove, false); this.game.renderer.view.addEventListener('MSPointerUp', this._onMSPointerUp, false); + // IE11+ uses non-prefix events + this.game.renderer.view.addEventListener('pointerDown', this._onMSPointerDown, false); + this.game.renderer.view.addEventListener('pointerMove', this._onMSPointerMove, false); + this.game.renderer.view.addEventListener('pointerUp', this._onMSPointerUp, false); + this.game.renderer.view.style['-ms-content-zooming'] = 'none'; this.game.renderer.view.style['-ms-touch-action'] = 'none'; @@ -495,10 +516,10 @@

    Source: input/MSPointer.js

    }, /** - * Description. + * The function that handles the PointerDown event. * @method Phaser.MSPointer#onPointerDown - * @param {Any} event - **/ + * @param {PointerEvent} event + */ onPointerDown: function (event) { if (this.game.input.disabled || this.disabled) @@ -514,10 +535,10 @@

    Source: input/MSPointer.js

    }, /** - * Description. + * The function that handles the PointerMove event. * @method Phaser.MSPointer#onPointerMove - * @param {Any} event - **/ + * @param {PointerEvent } event + */ onPointerMove: function (event) { if (this.game.input.disabled || this.disabled) @@ -533,10 +554,10 @@

    Source: input/MSPointer.js

    }, /** - * Description. + * The function that handles the PointerUp event. * @method Phaser.MSPointer#onPointerUp - * @param {Any} event - **/ + * @param {PointerEvent} event + */ onPointerUp: function (event) { if (this.game.input.disabled || this.disabled) @@ -551,7 +572,7 @@

    Source: input/MSPointer.js

    }, - /** + /** * Stop the event listeners. * @method Phaser.MSPointer#stop */ @@ -561,6 +582,10 @@

    Source: input/MSPointer.js

    this.game.stage.canvas.removeEventListener('MSPointerMove', this._onMSPointerMove); this.game.stage.canvas.removeEventListener('MSPointerUp', this._onMSPointerUp); + this.game.stage.canvas.removeEventListener('pointerDown', this._onMSPointerDown); + this.game.stage.canvas.removeEventListener('pointerMove', this._onMSPointerMove); + this.game.stage.canvas.removeEventListener('pointerUp', this._onMSPointerUp); + } }; @@ -584,7 +609,7 @@

    Source: input/MSPointer.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Math.js.html b/docs/Math.js.html index 6dba8a8ff1..087509fe0f 100644 --- a/docs/Math.js.html +++ b/docs/Math.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -394,78 +434,78 @@

    Source: math/Math.js

    */ Phaser.Math = { - /** - * = 2 π - * @method Phaser.Math#PI2 - */ - PI2: Math.PI * 2, - - /** - * Two number are fuzzyEqual if their difference is less than ε. - * @method Phaser.Math#fuzzyEqual - * @param {number} a - * @param {number} b - * @param {number} epsilon - * @return {boolean} True if |a-b|<ε - */ + /** + * = 2 π + * @method Phaser.Math#PI2 + */ + PI2: Math.PI * 2, + + /** + * Two number are fuzzyEqual if their difference is less than ε. + * @method Phaser.Math#fuzzyEqual + * @param {number} a + * @param {number} b + * @param {number} epsilon + * @return {boolean} True if |a-b|<ε + */ fuzzyEqual: function (a, b, epsilon) { if (typeof epsilon === "undefined") { epsilon = 0.0001; } return Math.abs(a - b) < epsilon; }, - /** - * a is fuzzyLessThan b if it is less than b + ε. - * @method Phaser.Math#fuzzyEqual - * @param {number} a - * @param {number} b - * @param {number} epsilon - * @return {boolean} True if a<b+ε - */ + /** + * a is fuzzyLessThan b if it is less than b + ε. + * @method Phaser.Math#fuzzyEqual + * @param {number} a + * @param {number} b + * @param {number} epsilon + * @return {boolean} True if a<b+ε + */ fuzzyLessThan: function (a, b, epsilon) { if (typeof epsilon === "undefined") { epsilon = 0.0001; } return a < b + epsilon; }, - /** - * a is fuzzyGreaterThan b if it is more than b - ε. - * @method Phaser.Math#fuzzyGreaterThan - * @param {number} a - * @param {number} b - * @param {number} epsilon - * @return {boolean} True if a>b+ε - */ + /** + * a is fuzzyGreaterThan b if it is more than b - ε. + * @method Phaser.Math#fuzzyGreaterThan + * @param {number} a + * @param {number} b + * @param {number} epsilon + * @return {boolean} True if a>b+ε + */ fuzzyGreaterThan: function (a, b, epsilon) { if (typeof epsilon === "undefined") { epsilon = 0.0001; } return a > b - epsilon; }, - /** - * @method Phaser.Math#fuzzyCeil - * @param {number} val - * @param {number} epsilon - * @return {boolean} ceiling(val-ε) - */ + /** + * @method Phaser.Math#fuzzyCeil + * @param {number} val + * @param {number} epsilon + * @return {boolean} ceiling(val-ε) + */ fuzzyCeil: function (val, epsilon) { if (typeof epsilon === "undefined") { epsilon = 0.0001; } return Math.ceil(val - epsilon); }, - /** - * @method Phaser.Math#fuzzyFloor - * @param {number} val - * @param {number} epsilon - * @return {boolean} floor(val-ε) - */ + /** + * @method Phaser.Math#fuzzyFloor + * @param {number} val + * @param {number} epsilon + * @return {boolean} floor(val-ε) + */ fuzzyFloor: function (val, epsilon) { if (typeof epsilon === "undefined") { epsilon = 0.0001; } return Math.floor(val + epsilon); }, - /** + /** * Averages all values passed to the function and returns the result. You can pass as many parameters as you like. - * @method Phaser.Math#average + * @method Phaser.Math#average * @return {number} The average of all given values. - */ + */ average: function () { var args = []; @@ -484,40 +524,40 @@

    Source: math/Math.js

    }, - /** - * @method Phaser.Math#truncate + /** + * @method Phaser.Math#truncate * @param {number} n * @return {number} - */ + */ truncate: function (n) { return (n > 0) ? Math.floor(n) : Math.ceil(n); }, - /** - * @method Phaser.Math#shear - * @param {number} n - * @return {number} n mod 1 - */ + /** + * @method Phaser.Math#shear + * @param {number} n + * @return {number} n mod 1 + */ shear: function (n) { return n % 1; }, - /** - * Snap a value to nearest grid slice, using rounding. - * - * Example: if you have an interval gap of 5 and a position of 12... you will snap to 10 whereas 14 will snap to 15. - * - * @method Phaser.Math#snapTo - * @param {number} input - The value to snap. - * @param {number} gap - The interval gap of the grid. - * @param {number} [start] - Optional starting offset for gap. + /** + * Snap a value to nearest grid slice, using rounding. + * + * Example: if you have an interval gap of 5 and a position of 12... you will snap to 10 whereas 14 will snap to 15. + * + * @method Phaser.Math#snapTo + * @param {number} input - The value to snap. + * @param {number} gap - The interval gap of the grid. + * @param {number} [start] - Optional starting offset for gap. * @return {number} - */ + */ snapTo: function (input, gap, start) { if (typeof start === "undefined") { start = 0; } - if (gap == 0) { + if (gap === 0) { return input; } @@ -528,7 +568,7 @@

    Source: math/Math.js

    }, - /** + /** * Snap a value to nearest grid slice, using floor. * * Example: if you have an interval gap of 5 and a position of 12... you will snap to 10. As will 14 snap to 10... but 16 will snap to 15 @@ -543,7 +583,7 @@

    Source: math/Math.js

    if (typeof start === "undefined") { start = 0; } - if (gap == 0) { + if (gap === 0) { return input; } @@ -554,22 +594,22 @@

    Source: math/Math.js

    }, - /** - * Snap a value to nearest grid slice, using ceil. - * - * Example: if you have an interval gap of 5 and a position of 12... you will snap to 15. As will 14 will snap to 15... but 16 will snap to 20. - * + /** + * Snap a value to nearest grid slice, using ceil. + * + * Example: if you have an interval gap of 5 and a position of 12... you will snap to 15. As will 14 will snap to 15... but 16 will snap to 20. + * * @method Phaser.Math#snapToCeil * @param {number} input - The value to snap. * @param {number} gap - The interval gap of the grid. * @param {number} [start] - Optional starting offset for gap. * @return {number} - */ + */ snapToCeil: function (input, gap, start) { if (typeof start === "undefined") { start = 0; } - if (gap == 0) { + if (gap === 0) { return input; } @@ -581,14 +621,14 @@

    Source: math/Math.js

    }, - /** - * Snaps a value to the nearest value in an array. - * @method Phaser.Math#snapToInArray - * @param {number} input - * @param {array} arr - * @param {boolean} sort - True if the array needs to be sorted. + /** + * Snaps a value to the nearest value in an array. + * @method Phaser.Math#snapToInArray + * @param {number} input + * @param {array} arr + * @param {boolean} sort - True if the array needs to be sorted. * @return {number} - */ + */ snapToInArray: function (input, arr, sort) { if (typeof sort === "undefined") { sort = true; } @@ -614,42 +654,42 @@

    Source: math/Math.js

    }, - /** - * Round to some place comparative to a 'base', default is 10 for decimal place. - * - * 'place' is represented by the power applied to 'base' to get that place - * e.g. - * 2000/7 ~= 285.714285714285714285714 ~= (bin)100011101.1011011011011011 - * - * roundTo(2000/7,3) == 0 - * roundTo(2000/7,2) == 300 - * roundTo(2000/7,1) == 290 - * roundTo(2000/7,0) == 286 - * roundTo(2000/7,-1) == 285.7 - * roundTo(2000/7,-2) == 285.71 - * roundTo(2000/7,-3) == 285.714 - * roundTo(2000/7,-4) == 285.7143 - * roundTo(2000/7,-5) == 285.71429 - * - * roundTo(2000/7,3,2) == 288 -- 100100000 - * roundTo(2000/7,2,2) == 284 -- 100011100 - * roundTo(2000/7,1,2) == 286 -- 100011110 - * roundTo(2000/7,0,2) == 286 -- 100011110 - * roundTo(2000/7,-1,2) == 285.5 -- 100011101.1 - * roundTo(2000/7,-2,2) == 285.75 -- 100011101.11 - * roundTo(2000/7,-3,2) == 285.75 -- 100011101.11 - * roundTo(2000/7,-4,2) == 285.6875 -- 100011101.1011 - * roundTo(2000/7,-5,2) == 285.71875 -- 100011101.10111 - * - * Note what occurs when we round to the 3rd space (8ths place), 100100000, this is to be assumed - * because we are rounding 100011.1011011011011011 which rounds up. - * - * @method Phaser.Math#roundTo - * @param {number} value - The value to round. - * @param {number} place - The place to round to. - * @param {number} base - The base to round in... default is 10 for decimal. + /** + * Round to some place comparative to a 'base', default is 10 for decimal place. + * + * 'place' is represented by the power applied to 'base' to get that place + * e.g. + * 2000/7 ~= 285.714285714285714285714 ~= (bin)100011101.1011011011011011 + * + * roundTo(2000/7,3) === 0 + * roundTo(2000/7,2) == 300 + * roundTo(2000/7,1) == 290 + * roundTo(2000/7,0) == 286 + * roundTo(2000/7,-1) == 285.7 + * roundTo(2000/7,-2) == 285.71 + * roundTo(2000/7,-3) == 285.714 + * roundTo(2000/7,-4) == 285.7143 + * roundTo(2000/7,-5) == 285.71429 + * + * roundTo(2000/7,3,2) == 288 -- 100100000 + * roundTo(2000/7,2,2) == 284 -- 100011100 + * roundTo(2000/7,1,2) == 286 -- 100011110 + * roundTo(2000/7,0,2) == 286 -- 100011110 + * roundTo(2000/7,-1,2) == 285.5 -- 100011101.1 + * roundTo(2000/7,-2,2) == 285.75 -- 100011101.11 + * roundTo(2000/7,-3,2) == 285.75 -- 100011101.11 + * roundTo(2000/7,-4,2) == 285.6875 -- 100011101.1011 + * roundTo(2000/7,-5,2) == 285.71875 -- 100011101.10111 + * + * Note what occurs when we round to the 3rd space (8ths place), 100100000, this is to be assumed + * because we are rounding 100011.1011011011011011 which rounds up. + * + * @method Phaser.Math#roundTo + * @param {number} value - The value to round. + * @param {number} place - The place to round to. + * @param {number} base - The base to round in... default is 10 for decimal. * @return {number} - */ + */ roundTo: function (value, place, base) { if (typeof place === "undefined") { place = 0; } @@ -662,12 +702,12 @@

    Source: math/Math.js

    }, /** - * @method Phaser.Math#floorTo - * @param {number} value - The value to round. - * @param {number} place - The place to round to. - * @param {number} base - The base to round in... default is 10 for decimal. + * @method Phaser.Math#floorTo + * @param {number} value - The value to round. + * @param {number} place - The place to round to. + * @param {number} base - The base to round in... default is 10 for decimal. * @return {number} - */ + */ floorTo: function (value, place, base) { if (typeof place === "undefined") { place = 0; } @@ -680,12 +720,12 @@

    Source: math/Math.js

    }, /** - * @method Phaser.Math#ceilTo - * @param {number} value - The value to round. - * @param {number} place - The place to round to. - * @param {number} base - The base to round in... default is 10 for decimal. + * @method Phaser.Math#ceilTo + * @param {number} value - The value to round. + * @param {number} place - The place to round to. + * @param {number} base - The base to round in... default is 10 for decimal. * @return {number} - */ + */ ceilTo: function (value, place, base) { if (typeof place === "undefined") { place = 0; } @@ -697,56 +737,56 @@

    Source: math/Math.js

    }, - /** - * A one dimensional linear interpolation of a value. - * @method Phaser.Math#interpolateFloat - * @param {number} a - * @param {number} b - * @param {number} weight + /** + * A one dimensional linear interpolation of a value. + * @method Phaser.Math#interpolateFloat + * @param {number} a + * @param {number} b + * @param {number} weight * @return {number} - */ + */ interpolateFloat: function (a, b, weight) { return (b - a) * weight + a; }, - /** - * Find the angle of a segment from (x1, y1) -> (x2, y2 ). - * @method Phaser.Math#angleBetween - * @param {number} x1 - * @param {number} y1 - * @param {number} x2 - * @param {number} y2 + /** + * Find the angle of a segment from (x1, y1) -> (x2, y2 ). + * @method Phaser.Math#angleBetween + * @param {number} x1 + * @param {number} y1 + * @param {number} x2 + * @param {number} y2 * @return {number} - */ + */ angleBetween: function (x1, y1, x2, y2) { return Math.atan2(y2 - y1, x2 - x1); }, - /** - * Set an angle within the bounds of -π toπ. - * @method Phaser.Math#normalizeAngle - * @param {number} angle - * @param {boolean} radians - True if angle size is expressed in radians. + /** + * Set an angle within the bounds of -π toπ. + * @method Phaser.Math#normalizeAngle + * @param {number} angle + * @param {boolean} radians - True if angle size is expressed in radians. * @return {number} - */ + */ normalizeAngle: function (angle, radians) { if (typeof radians === "undefined") { radians = true; } - var rd = (radians) ? GameMath.PI : 180; - return this.wrap(angle, rd, -rd); + var rd = (radians) ? Math.PI : 180; + return this.wrap(angle, -rd, rd); }, - /** - * Closest angle between two angles from a1 to a2 - * absolute value the return for exact angle - * @method Phaser.Math#nearestAngleBetween - * @param {number} a1 - * @param {number} a2 - * @param {boolean} radians - True if angle sizes are expressed in radians. + /** + * Closest angle between two angles from a1 to a2 + * absolute value the return for exact angle + * @method Phaser.Math#nearestAngleBetween + * @param {number} a1 + * @param {number} a2 + * @param {boolean} radians - True if angle sizes are expressed in radians. * @return {number} - */ + */ nearestAngleBetween: function (a1, a2, radians) { if (typeof radians === "undefined") { radians = true; } @@ -769,16 +809,16 @@

    Source: math/Math.js

    }, - /** - * Interpolate across the shortest arc between two angles. - * @method Phaser.Math#interpolateAngles - * @param {number} a1 - Description. - * @param {number} a2 - Description. - * @param {number} weight - Description. - * @param {boolean} radians - True if angle sizes are expressed in radians. - * @param {Description} ease - Description. + /** + * Interpolate across the shortest arc between two angles. + * @method Phaser.Math#interpolateAngles + * @param {number} a1 - Description. + * @param {number} a2 - Description. + * @param {number} weight - Description. + * @param {boolean} radians - True if angle sizes are expressed in radians. + * @param {Description} ease - Description. * @return {number} - */ + */ interpolateAngles: function (a1, a2, weight, radians, ease) { if (typeof radians === "undefined") { radians = true; } @@ -791,16 +831,16 @@

    Source: math/Math.js

    }, - /** - * Generate a random bool result based on the chance value. - * <p> - * Returns true or false based on the chance value (default 50%). For example if you wanted a player to have a 30% chance - * of getting a bonus, call chanceRoll(30) - true means the chance passed, false means it failed. - * </p> - * @method Phaser.Math#chanceRoll - * @param {number} chance - The chance of receiving the value. A number between 0 and 100 (effectively 0% to 100%). - * @return {boolean} True if the roll passed, or false otherwise. - */ + /** + * Generate a random bool result based on the chance value. + * <p> + * Returns true or false based on the chance value (default 50%). For example if you wanted a player to have a 30% chance + * of getting a bonus, call chanceRoll(30) - true means the chance passed, false means it failed. + * </p> + * @method Phaser.Math#chanceRoll + * @param {number} chance - The chance of receiving the value. A number between 0 and 100 (effectively 0% to 100%). + * @return {boolean} True if the roll passed, or false otherwise. + */ chanceRoll: function (chance) { if (typeof chance === "undefined") { chance = 50; } @@ -848,15 +888,15 @@

    Source: math/Math.js

    }, - /** - * Adds the given amount to the value, but never lets the value go over the specified maximum. - * - * @method Phaser.Math#maxAdd - * @param {number} value - The value to add the amount to. - * @param {number} amount - The amount to add to the value. - * @param {number} max- The maximum the value is allowed to be. + /** + * Adds the given amount to the value, but never lets the value go over the specified maximum. + * + * @method Phaser.Math#maxAdd + * @param {number} value - The value to add the amount to. + * @param {number} amount - The amount to add to the value. + * @param {number} max- The maximum the value is allowed to be. * @return {number} - */ + */ maxAdd: function (value, amount, max) { value += amount; @@ -870,15 +910,15 @@

    Source: math/Math.js

    }, - /** - * Subtracts the given amount from the value, but never lets the value go below the specified minimum. - * - * @method Phaser.Math#minSub - * @param {number} value - The base value. - * @param {number} amount - The amount to subtract from the base value. - * @param {number} min - The minimum the value is allowed to be. - * @return {number} The new value. - */ + /** + * Subtracts the given amount from the value, but never lets the value go below the specified minimum. + * + * @method Phaser.Math#minSub + * @param {number} value - The base value. + * @param {number} amount - The amount to subtract from the base value. + * @param {number} min - The minimum the value is allowed to be. + * @return {number} The new value. + */ minSub: function (value, amount, min) { value -= amount; @@ -926,11 +966,11 @@

    Source: math/Math.js

    * Adds value to amount and ensures that the result always stays between 0 and max, by wrapping the value around. * <p>Values must be positive integers, and are passed through Math.abs</p> * - * @method Phaser.Math#wrapValue - * @param {number} value - The value to add the amount to. - * @param {number} amount - The amount to add to the value. - * @param {number} max - The maximum the value is allowed to be. - * @return {number} The wrapped value. + * @method Phaser.Math#wrapValue + * @param {number} value - The value to add the amount to. + * @param {number} amount - The amount to add to the value. + * @param {number} max - The maximum the value is allowed to be. + * @return {number} The wrapped value. */ wrapValue: function (value, amount, max) { @@ -944,36 +984,36 @@

    Source: math/Math.js

    }, - /** - * Randomly returns either a 1 or -1. - * - * @method Phaser.Math#randomSign - * @return {number} 1 or -1 - */ + /** + * Randomly returns either a 1 or -1. + * + * @method Phaser.Math#randomSign + * @return {number} 1 or -1 + */ randomSign: function () { return (Math.random() > 0.5) ? 1 : -1; }, - /** - * Returns true if the number given is odd. - * - * @method Phaser.Math#isOdd - * @param {number} n - The number to check. - * @return {boolean} True if the given number is odd. False if the given number is even. - */ + /** + * Returns true if the number given is odd. + * + * @method Phaser.Math#isOdd + * @param {number} n - The number to check. + * @return {boolean} True if the given number is odd. False if the given number is even. + */ isOdd: function (n) { return (n & 1); }, - /** - * Returns true if the number given is even. - * - * @method Phaser.Math#isEven - * @param {number} n - The number to check. - * @return {boolean} True if the given number is even. False if the given number is odd. - */ + /** + * Returns true if the number given is even. + * + * @method Phaser.Math#isEven + * @param {number} n - The number to check. + * @return {boolean} True if the given number is even. False if the given number is odd. + */ isEven: function (n) { if (n & 1) @@ -1029,46 +1069,30 @@

    Source: math/Math.js

    }, - /** - * Keeps an angle value between -180 and +180<br> - * Should be called whenever the angle is updated on the Sprite to stop it from going insane. - * - * @method Phaser.Math#wrapAngle - * @param {number} angle - The angle value to check - * @return {number} The new angle value, returns the same as the input angle if it was within bounds. - */ + /** + * Keeps an angle value between -180 and +180<br> + * Should be called whenever the angle is updated on the Sprite to stop it from going insane. + * + * @method Phaser.Math#wrapAngle + * @param {number} angle - The angle value to check + * @return {number} The new angle value, returns the same as the input angle if it was within bounds. + */ wrapAngle: function (angle) { - var result = angle; - - // Nothing needs to change - if (angle >= -180 && angle <= 180) - { - return angle; - } - - // Else normalise it to -180, 180 - result = (angle + 180) % 360; - - if (result < 0) - { - result += 360; - } - - return result - 180; + return this.wrap(angle, -180, 180); }, - /** - * Keeps an angle value between the given min and max values. - * - * @method Phaser.Math#angleLimit - * @param {number} angle - The angle value to check. Must be between -180 and +180. - * @param {number} min - The minimum angle that is allowed (must be -180 or greater). - * @param {number} max - The maximum angle that is allowed (must be 180 or less). - * - * @return {number} The new angle value, returns the same as the input angle if it was within bounds - */ + /** + * Keeps an angle value between the given min and max values. + * + * @method Phaser.Math#angleLimit + * @param {number} angle - The angle value to check. Must be between -180 and +180. + * @param {number} min - The minimum angle that is allowed (must be -180 or greater). + * @param {number} max - The maximum angle that is allowed (must be 180 or less). + * + * @return {number} The new angle value, returns the same as the input angle if it was within bounds + */ angleLimit: function (angle, min, max) { var result = angle; @@ -1086,13 +1110,13 @@

    Source: math/Math.js

    }, - /** - * Description. - * @method Phaser.Math#linearInterpolation - * @param {number} v - * @param {number} k - * @return {number} - */ + /** + * Description. + * @method Phaser.Math#linearInterpolation + * @param {number} v + * @param {number} k + * @return {number} + */ linearInterpolation: function (v, k) { var m = v.length - 1; @@ -1113,13 +1137,13 @@

    Source: math/Math.js

    }, - /** - * Description. - * @method Phaser.Math#bezierInterpolation - * @param {number} v - * @param {number} k - * @return {number} - */ + /** + * Description. + * @method Phaser.Math#bezierInterpolation + * @param {number} v + * @param {number} k + * @return {number} + */ bezierInterpolation: function (v, k) { var b = 0; @@ -1134,13 +1158,13 @@

    Source: math/Math.js

    }, - /** - * Description. - * @method Phaser.Math#catmullRomInterpolation - * @param {number} v - * @param {number} k - * @return {number} - */ + /** + * Description. + * @method Phaser.Math#catmullRomInterpolation + * @param {number} v + * @param {number} k + * @return {number} + */ catmullRomInterpolation: function (v, k) { var m = v.length - 1; @@ -1174,38 +1198,38 @@

    Source: math/Math.js

    }, - /** - * Description. - * @method Phaser.Math#Linear - * @param {number} p0 - * @param {number} p1 - * @param {number} t - * @return {number} - */ + /** + * Description. + * @method Phaser.Math#Linear + * @param {number} p0 + * @param {number} p1 + * @param {number} t + * @return {number} + */ linear: function (p0, p1, t) { return (p1 - p0) * t + p0; }, - /** - * @method Phaser.Math#bernstein - * @param {number} n - * @param {number} i - * @return {number} - */ + /** + * @method Phaser.Math#bernstein + * @param {number} n + * @param {number} i + * @return {number} + */ bernstein: function (n, i) { return this.factorial(n) / this.factorial(i) / this.factorial(n - i); }, - /** - * Description. - * @method Phaser.Math#catmullRom - * @param {number} p0 - * @param {number} p1 - * @param {number} p2 - * @param {number} p3 - * @param {number} t - * @return {number} - */ + /** + * Description. + * @method Phaser.Math#catmullRom + * @param {number} p0 + * @param {number} p1 + * @param {number} p2 + * @param {number} p3 + * @param {number} t + * @return {number} + */ catmullRom: function (p0, p1, p2, p3, t) { var v0 = (p2 - p0) * 0.5, v1 = (p3 - p1) * 0.5, t2 = t * t, t3 = t * t2; @@ -1224,16 +1248,16 @@

    Source: math/Math.js

    return Math.abs(a - b); }, - /** - * Fetch a random entry from the given array. - * Will return null if random selection is missing, or array has no entries. - * - * @method Phaser.Math#getRandom - * @param {array} objects - An array of objects. - * @param {number} startIndex - Optional offset off the front of the array. Default value is 0, or the beginning of the array. - * @param {number} length - Optional restriction on the number of values you want to randomly select from. - * @return {object} The random object that was selected. - */ + /** + * Fetch a random entry from the given array. + * Will return null if random selection is missing, or array has no entries. + * + * @method Phaser.Math#getRandom + * @param {array} objects - An array of objects. + * @param {number} startIndex - Optional offset off the front of the array. Default value is 0, or the beginning of the array. + * @param {number} length - Optional restriction on the number of values you want to randomly select from. + * @return {object} The random object that was selected. + */ getRandom: function (objects, startIndex, length) { if (typeof startIndex === "undefined") { startIndex = 0; } @@ -1243,7 +1267,7 @@

    Source: math/Math.js

    var l = length; - if ((l == 0) || (l > objects.length - startIndex)) + if ((l === 0) || (l > objects.length - startIndex)) { l = objects.length - startIndex; } @@ -1258,13 +1282,13 @@

    Source: math/Math.js

    }, - /** - * Round down to the next whole number. E.g. floor(1.7) == 1, and floor(-2.7) == -2. - * - * @method Phaser.Math#floor - * @param {number} Value Any number. - * @return {number} The rounded value of that number. - */ + /** + * Round down to the next whole number. E.g. floor(1.7) == 1, and floor(-2.7) == -2. + * + * @method Phaser.Math#floor + * @param {number} Value Any number. + * @return {number} The rounded value of that number. + */ floor: function (value) { var n = value | 0; @@ -1273,19 +1297,19 @@

    Source: math/Math.js

    }, - /** - * Round up to the next whole number. E.g. ceil(1.3) == 2, and ceil(-2.3) == -3. - * + /** + * Round up to the next whole number. E.g. ceil(1.3) == 2, and ceil(-2.3) == -3. + * * @method Phaser.Math#ceil - * @param {number} value - Any number. - * @return {number} The rounded value of that number. - */ + * @param {number} value - Any number. + * @return {number} The rounded value of that number. + */ ceil: function (value) { var n = value | 0; return (value > 0) ? ((n != value) ? (n + 1) : (n)) : (n); }, - /** + /** * Generate a sine and cosine table simultaneously and extremely quickly. Based on research by Franky of scene.at * <p> * The parameters allow you to specify the length, amplitude and frequency of the wave. Once you have called this function @@ -1321,13 +1345,13 @@

    Source: math/Math.js

    } - return { sin: sinTable, cos: cosTable }; + return { sin: sinTable, cos: cosTable, length: length }; }, - /** - * Removes the top element from the stack and re-inserts it onto the bottom, then returns it. - * The original stack is modified in the process. This effectively moves the position of the data from the start to the end of the table. + /** + * Removes the top element from the stack and re-inserts it onto the bottom, then returns it. + * The original stack is modified in the process. This effectively moves the position of the data from the start to the end of the table. * * @method Phaser.Math#shift * @param {array} stack - The array to shift. @@ -1335,14 +1359,14 @@

    Source: math/Math.js

    */ shift: function (stack) { - var s = stack.shift(); - stack.push(s); + var s = stack.shift(); + stack.push(s); - return s; + return s; }, - /** + /** * Shuffles the data in the given array into a new order * @method Phaser.Math#shuffleArray * @param {array} array - The array to shuffle @@ -1362,7 +1386,7 @@

    Source: math/Math.js

    }, - /** + /** * Returns the distance between the two given set of coordinates. * * @method Phaser.Math#distance @@ -1371,7 +1395,7 @@

    Source: math/Math.js

    * @param {number} x2 * @param {number} y2 * @return {number} The distance between this Point object and the destination Point object. - **/ + */ distance: function (x1, y1, x2, y2) { var dx = x1 - x2; @@ -1390,42 +1414,42 @@

    Source: math/Math.js

    * @param {number} x2 * @param {number} y2 * @return {number} The distance between this Point object and the destination Point object. - **/ + */ distanceRounded: function (x1, y1, x2, y2) { - return Math.round(Phaser.Math.distance(x1, y1, x2, y2)); + return Math.round(Phaser.Math.distance(x1, y1, x2, y2)); }, - /** - * Force a value within the boundaries of two values. - * Clamp value to range <a, b> - * - * @method Phaser.Math#clamp - * @param {number} x - * @param {number} a - * @param {number} b + /** + * Force a value within the boundaries of two values. + * Clamp value to range <a, b> + * + * @method Phaser.Math#clamp + * @param {number} x + * @param {number} a + * @param {number} b * @return {number} - */ - clamp: function ( x, a, b ) { + */ + clamp: function ( x, a, b ) { - return ( x < a ) ? a : ( ( x > b ) ? b : x ); + return ( x < a ) ? a : ( ( x > b ) ? b : x ); - }, + }, - /** - * Clamp value to range <a, inf). - * - * @method Phaser.Math#clampBottom - * @param {number} x - * @param {number} a + /** + * Clamp value to range <a, inf). + * + * @method Phaser.Math#clampBottom + * @param {number} x + * @param {number} a * @return {number} - */ - clampBottom: function ( x, a ) { + */ + clampBottom: function ( x, a ) { - return x < a ? a : x; + return x < a ? a : x; - }, + }, /** * Checks if two values are within the given tolerance of each other. @@ -1442,113 +1466,127 @@

    Source: math/Math.js

    }, - /** - * Linear mapping from range <a1, a2> to range <b1, b2> - * - * @method Phaser.Math#mapLinear - * @param {number} x - * @param {number} a1 - * @param {number} a1 - * @param {number} a2 - * @param {number} b1 - * @param {number} b2 - * @return {number} - */ - mapLinear: function ( x, a1, a2, b1, b2 ) { - - return b1 + ( x - a1 ) * ( b2 - b1 ) / ( a2 - a1 ); - - }, - - /** - * Smoothstep function as detailed at http://en.wikipedia.org/wiki/Smoothstep - * - * @method Phaser.Math#smoothstep - * @param {number} x - * @param {number} min - * @param {number} max - * @return {number} - */ - smoothstep: function ( x, min, max ) { - - if ( x <= min ) return 0; - if ( x >= max ) return 1; - - x = ( x - min )/( max - min ); - - return x*x*(3 - 2*x); - - }, - - /** + /** + * Linear mapping from range <a1, a2> to range <b1, b2> + * + * @method Phaser.Math#mapLinear + * @param {number} x + * @param {number} a1 + * @param {number} a1 + * @param {number} a2 + * @param {number} b1 + * @param {number} b2 + * @return {number} + */ + mapLinear: function ( x, a1, a2, b1, b2 ) { + + return b1 + ( x - a1 ) * ( b2 - b1 ) / ( a2 - a1 ); + + }, + + /** + * Smoothstep function as detailed at http://en.wikipedia.org/wiki/Smoothstep + * + * @method Phaser.Math#smoothstep + * @param {number} x + * @param {number} min + * @param {number} max + * @return {number} + */ + smoothstep: function ( x, min, max ) { + + if (x <= min) + { + return 0; + } + + if (x >= max) + { + return 1; + } + + x = (x - min) / (max - min); + + return x * x * (3 - 2 * x); + + }, + + /** * Smootherstep function as detailed at http://en.wikipedia.org/wiki/Smoothstep - * - * @method Phaser.Math#smootherstep - * @param {number} x - * @param {number} min - * @param {number} max - * @return {number} - */ - smootherstep: function ( x, min, max ) { + * + * @method Phaser.Math#smootherstep + * @param {number} x + * @param {number} min + * @param {number} max + * @return {number} + */ + smootherstep: function ( x, min, max ) { - if ( x <= min ) return 0; - if ( x >= max ) return 1; + if (x <= min) + { + return 0; + } - x = ( x - min )/( max - min ); + if (x >= max) + { + return 1; + } - return x*x*x*(x*(x*6 - 15) + 10); + x = (x - min) / (max - min); - }, + return x * x * x * (x * (x * 6 - 15) + 10); - /** - * A value representing the sign of the value. - * -1 for negative, +1 for positive, 0 if value is 0 - * - * @method Phaser.Math#sign - * @param {number} x - * @return {number} - */ - sign: function ( x ) { + }, - return ( x < 0 ) ? -1 : ( ( x > 0 ) ? 1 : 0 ); + /** + * A value representing the sign of the value. + * -1 for negative, +1 for positive, 0 if value is 0 + * + * @method Phaser.Math#sign + * @param {number} x + * @return {number} + */ + sign: function ( x ) { - }, + return ( x < 0 ) ? -1 : ( ( x > 0 ) ? 1 : 0 ); - /** - * Convert degrees to radians. - * - * @method Phaser.Math#degToRad - * @return {function} - */ - degToRad: function() { + }, - var degreeToRadiansFactor = Math.PI / 180; + /** + * Convert degrees to radians. + * + * @method Phaser.Math#degToRad + * @return {function} + */ + degToRad: function() { + + var degreeToRadiansFactor = Math.PI / 180; - return function ( degrees ) { + return function ( degrees ) { - return degrees * degreeToRadiansFactor; + return degrees * degreeToRadiansFactor; - }; + }; - }(), + }(), - /** - * Convert degrees to radians. - * - * @method Phaser.Math#radToDeg - * @return {function} - */ - radToDeg: function() { + /** + * Convert degrees to radians. + * + * @method Phaser.Math#radToDeg + * @return {function} + */ + radToDeg: function() { - var radianToDegreesFactor = 180 / Math.PI; + var radianToDegreesFactor = 180 / Math.PI; - return function ( radians ) { + return function ( radians ) { - return radians * radianToDegreesFactor; + return radians * radianToDegreesFactor; - }; + }; - }() + }() }; @@ -1572,7 +1610,7 @@

    Source: math/Math.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Mouse.js.html b/docs/Mouse.js.html index 5db431afa2..4dbbdc0f18 100644 --- a/docs/Mouse.js.html +++ b/docs/Mouse.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -388,69 +428,90 @@

    Source: input/Mouse.js

    */ /** -* Phaser - Mouse constructor. +* Phaser.Mouse is responsible for handling all aspects of mouse interaction with the browser. It captures and processes mouse events. * * @class Phaser.Mouse -* @classdesc The Mouse class * @constructor * @param {Phaser.Game} game - A reference to the currently running game. */ Phaser.Mouse = function (game) { - /** - * @property {Phaser.Game} game - Local reference to game. - */ - this.game = game; - - /** - * @property {Object} callbackContext - Description. - */ - this.callbackContext = this.game; - - /** - * @property {function} mouseDownCallback - Description. - * @default - */ - this.mouseDownCallback = null; - - /** - * @property {function} mouseMoveCallback - Description. - * @default - */ - this.mouseMoveCallback = null; - - /** - * @property {function} mouseUpCallback - Description. - * @default - */ - this.mouseUpCallback = null; - - /** - * @property {number} button- The type of click, either: Phaser.Mouse.NO_BUTTON, Phaser.Mouse.LEFT_BUTTON, Phaser.Mouse.MIDDLE_BUTTON or Phaser.Mouse.RIGHT_BUTTON. - * @default - */ - this.button = -1; + /** + * @property {Phaser.Game} game - A reference to the currently running game. + */ + this.game = game; + + /** + * @property {Object} callbackContext - The context under which callbacks are called. + */ + this.callbackContext = this.game; /** - * You can disable all Input by setting disabled = true. While set all new input related events will be ignored. - * @property {boolean} disabled + * @property {function} mouseDownCallback - A callback that can be fired when the mouse is pressed down. + */ + this.mouseDownCallback = null; + + /** + * @property {function} mouseMoveCallback - A callback that can be fired when the mouse is moved while pressed down. + */ + this.mouseMoveCallback = null; + + /** + * @property {function} mouseUpCallback - A callback that can be fired when the mouse is released from a pressed down state. + */ + this.mouseUpCallback = null; + + /** + * @property {boolean} capture - If true the DOM mouse events will have event.preventDefault applied to them, if false they will propogate fully. + */ + this.capture = false; + + /** + * @property {number} button- The type of click, either: Phaser.Mouse.NO_BUTTON, Phaser.Mouse.LEFT_BUTTON, Phaser.Mouse.MIDDLE_BUTTON or Phaser.Mouse.RIGHT_BUTTON. + * @default + */ + this.button = -1; + + /** + * @property {boolean} disabled - You can disable all Input by setting disabled = true. While set all new input related events will be ignored. * @default */ this.disabled = false; /** - * If the mouse has been Pointer Locked successfully this will be set to true. - * @property {boolean} locked + * @property {boolean} locked - If the mouse has been Pointer Locked successfully this will be set to true. * @default */ this.locked = false; /** - * This event is dispatched when the browser enters or leaves pointer lock state. - * @property {Phaser.Signal} pointerLock + * @property {Phaser.Signal} pointerLock - This event is dispatched when the browser enters or leaves pointer lock state. * @default */ - this.pointerLock = new Phaser.Signal; + this.pointerLock = new Phaser.Signal(); + + /** + * @property {MouseEvent} event - The browser mouse event. + */ + this.event = null; + + /** + * @property {function} _onMouseDown - Internal event handler reference. + * @private + */ + this._onMouseDown = null; + + /** + * @property {function} _onMouseMove - Internal event handler reference. + * @private + */ + this._onMouseMove = null; + + /** + * @property {function} _onMouseUp - Internal event handler reference. + * @private + */ + this._onMouseUp = null; }; @@ -459,6 +520,7 @@

    Source: input/Mouse.js

    * @type {number} */ Phaser.Mouse.NO_BUTTON = -1; + /** * @constant * @type {number} @@ -479,7 +541,7 @@

    Source: input/Mouse.js

    Phaser.Mouse.prototype = { - /** + /** * Starts the event listeners running. * @method Phaser.Mouse#start */ @@ -487,7 +549,7 @@

    Source: input/Mouse.js

    var _this = this; - if (this.game.device.android && this.game.device.chrome == false) + if (this.game.device.android && this.game.device.chrome === false) { // Android stock browser fires mouse events even if you preventDefault on the touchStart, so ... return; @@ -505,34 +567,28 @@

    Source: input/Mouse.js

    return _this.onMouseUp(event); }; - this.game.renderer.view.addEventListener('mousedown', this._onMouseDown, true); - this.game.renderer.view.addEventListener('mousemove', this._onMouseMove, true); - this.game.renderer.view.addEventListener('mouseup', this._onMouseUp, true); + document.addEventListener('mousedown', this._onMouseDown, true); + document.addEventListener('mousemove', this._onMouseMove, true); + document.addEventListener('mouseup', this._onMouseUp, true); }, - /** - * The internal method that handles the mouse down event from the browser. - * @method Phaser.Mouse#onMouseDown - * @param {MouseEvent} event + /** + * The internal method that handles the mouse down event from the browser. + * @method Phaser.Mouse#onMouseDown + * @param {MouseEvent} event - The native event from the browser. This gets stored in Mouse.event. */ onMouseDown: function (event) { - event.preventDefault(); + this.event = event; - if (event.which === 1) - { - this.button = Phaser.Mouse.LEFT_BUTTON; - } - else if (event.which === 2) - { - this.button = Phaser.Mouse.MIDDLE_BUTTON; - } - else if (event.which === 3) + if (this.capture) { - this.button = Phaser.Mouse.RIGHT_BUTTON; + event.preventDefault(); } + this.button = event.which; + if (this.mouseDownCallback) { this.mouseDownCallback.call(this.callbackContext, event); @@ -549,14 +605,19 @@

    Source: input/Mouse.js

    }, - /** + /** * The internal method that handles the mouse move event from the browser. - * @method Phaser.Mouse#onMouseMove - * @param {MouseEvent} event + * @method Phaser.Mouse#onMouseMove + * @param {MouseEvent} event - The native event from the browser. This gets stored in Mouse.event. */ onMouseMove: function (event) { - event.preventDefault(); + this.event = event; + + if (this.capture) + { + event.preventDefault(); + } if (this.mouseMoveCallback) { @@ -574,16 +635,21 @@

    Source: input/Mouse.js

    }, - /** + /** * The internal method that handles the mouse up event from the browser. - * @method Phaser.Mouse#onMouseUp - * @param {MouseEvent} event + * @method Phaser.Mouse#onMouseUp + * @param {MouseEvent} event - The native event from the browser. This gets stored in Mouse.event. */ onMouseUp: function (event) { - event.preventDefault(); + this.event = event; + + if (this.capture) + { + event.preventDefault(); + } - this.button = Phaser.Mouse.NO_BUTTON; + this.button = Phaser.Mouse.NO_BUTTON; if (this.mouseUpCallback) { @@ -605,7 +671,7 @@

    Source: input/Mouse.js

    * If the browser supports it you can request that the pointer be locked to the browser window. * This is classically known as 'FPS controls', where the pointer can't leave the browser until the user presses an exit key. * If the browser successfully enters a locked state the event Phaser.Mouse.pointerLock will be dispatched and the first parameter will be 'true'. - * @method Phaser.Mouse#requestPointerLock + * @method Phaser.Mouse#requestPointerLock */ requestPointerLock: function () { @@ -630,10 +696,10 @@

    Source: input/Mouse.js

    }, - /** - * Internal pointerLockChange handler. - * @method Phaser.Mouse#pointerLockChange - * @param {MouseEvent} event + /** + * Internal pointerLockChange handler. + * @method Phaser.Mouse#pointerLockChange + * @param {pointerlockchange} event - The native event from the browser. This gets stored in Mouse.event. */ pointerLockChange: function (event) { @@ -643,20 +709,20 @@

    Source: input/Mouse.js

    { // Pointer was successfully locked this.locked = true; - this.pointerLock.dispatch(true); + this.pointerLock.dispatch(true, event); } else { // Pointer was unlocked this.locked = false; - this.pointerLock.dispatch(false); + this.pointerLock.dispatch(false, event); } }, - /** - * Internal release pointer lock handler. - * @method Phaser.Mouse#releasePointerLock + /** + * Internal release pointer lock handler. + * @method Phaser.Mouse#releasePointerLock */ releasePointerLock: function () { @@ -670,15 +736,15 @@

    Source: input/Mouse.js

    }, - /** + /** * Stop the event listeners. * @method Phaser.Mouse#stop */ stop: function () { - this.game.stage.canvas.removeEventListener('mousedown', this._onMouseDown, true); - this.game.stage.canvas.removeEventListener('mousemove', this._onMouseMove, true); - this.game.stage.canvas.removeEventListener('mouseup', this._onMouseUp, true); + document.removeEventListener('mousedown', this._onMouseDown, true); + document.removeEventListener('mousemove', this._onMouseMove, true); + document.removeEventListener('mouseup', this._onMouseUp, true); } @@ -704,7 +770,7 @@

    Source: input/Mouse.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Net.js.html b/docs/Net.js.html index 84afc8ca2d..8494000ab8 100644 --- a/docs/Net.js.html +++ b/docs/Net.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -388,165 +428,161 @@

    Source: net/Net.js

    */ /** -* Description of Phaser.Net +* Phaser.Net handles browser URL related tasks such as checking host names, domain names and query string manipulation. * * @class Phaser.Net * @constructor * @param {Phaser.Game} game - A reference to the currently running game. */ Phaser.Net = function (game) { - - this.game = game; + + this.game = game; }; Phaser.Net.prototype = { - /** - * Returns the hostname given by the browser. - * - * @method Phaser.Net#getHostName - * @return {string} - */ - getHostName: function () { - - if (window.location && window.location.hostname) { - return window.location.hostname; - } - - return null; - - }, - - /** - * Compares the given domain name against the hostname of the browser containing the game. - * If the domain name is found it returns true. - * You can specify a part of a domain, for example 'google' would match 'google.com', 'google.co.uk', etc. - * Do not include 'http://' at the start. - * - * @method Phaser.Net#checkDomainName - * @param {string} domain - * @return {boolean} - */ - checkDomainName: function (domain) { - return window.location.hostname.indexOf(domain) !== -1; - }, - - /** - * Updates a value on the Query String and returns it in full. - * If the value doesn't already exist it is set. - * If the value exists it is replaced with the new value given. If you don't provide a new value it is removed from the query string. - * Optionally you can redirect to the new url, or just return it as a string. - * - * @method Phaser.Net#updateQueryString - * @param {string} key - The querystring key to update. - * @param {string} value - The new value to be set. If it already exists it will be replaced. - * @param {boolean} redirect - If true the browser will issue a redirect to the url with the new querystring. - * @param {string} url - The URL to modify. If none is given it uses window.location.href. - * @return {string} If redirect is false then the modified url and query string is returned. - */ - updateQueryString: function (key, value, redirect, url) { - - if (typeof redirect === "undefined") { redirect = false; } - if (typeof url === "undefined") { url = ''; } - - if (url == '') { - url = window.location.href; - } - - var output = ''; - var re = new RegExp("([?|&])" + key + "=.*?(&|#|$)(.*)", "gi"); - - if (re.test(url)) - { - if (typeof value !== 'undefined' && value !== null) - { - output = url.replace(re, '$1' + key + "=" + value + '$2$3'); - } - else - { - output = url.replace(re, '$1$3').replace(/(&|\?)$/, ''); - } - } - else - { - if (typeof value !== 'undefined' && value !== null) - { - var separator = url.indexOf('?') !== -1 ? '&' : '?'; - var hash = url.split('#'); - url = hash[0] + separator + key + '=' + value; - - if (hash[1]) { - url += '#' + hash[1]; - } - - output = url; - - } - else - { - output = url; - } - } - - if (redirect) - { - window.location.href = output; - } - else - { - return output; - } - - }, - - /** - * Returns the Query String as an object. - * If you specify a parameter it will return just the value of that parameter, should it exist. - * - * @method Phaser.Net#getQueryString - * @param {string} [parameter=''] - If specified this will return just the value for that key. - * @return {string|object} An object containing the key value pairs found in the query string or just the value if a parameter was given. - */ - getQueryString: function (parameter) { - - if (typeof parameter === "undefined") { parameter = ''; } - - var output = {}; - var keyValues = location.search.substring(1).split('&'); - - for (var i in keyValues) { - - var key = keyValues[i].split('='); - - if (key.length > 1) - { - if (parameter && parameter == this.decodeURI(key[0])) - { - return this.decodeURI(key[1]); - } - else - { - output[this.decodeURI(key[0])] = this.decodeURI(key[1]); - } - } - } - - return output; - - }, - - /** - * Returns the Query String as an object. - * If you specify a parameter it will return just the value of that parameter, should it exist. - * - * @method Phaser.Net#decodeURI - * @param {string} value - The URI component to be decoded. - * @return {string} The decoded value. - */ - decodeURI: function (value) { - return decodeURIComponent(value.replace(/\+/g, " ")); - } + /** + * Returns the hostname given by the browser. + * + * @method Phaser.Net#getHostName + * @return {string} + */ + getHostName: function () { + + if (window.location && window.location.hostname) { + return window.location.hostname; + } + + return null; + + }, + + /** + * Compares the given domain name against the hostname of the browser containing the game. + * If the domain name is found it returns true. + * You can specify a part of a domain, for example 'google' would match 'google.com', 'google.co.uk', etc. + * Do not include 'http://' at the start. + * + * @method Phaser.Net#checkDomainName + * @param {string} domain + * @return {boolean} true if the given domain fragment can be found in the window.location.hostname + */ + checkDomainName: function (domain) { + return window.location.hostname.indexOf(domain) !== -1; + }, + + /** + * Updates a value on the Query String and returns it in full. + * If the value doesn't already exist it is set. + * If the value exists it is replaced with the new value given. If you don't provide a new value it is removed from the query string. + * Optionally you can redirect to the new url, or just return it as a string. + * + * @method Phaser.Net#updateQueryString + * @param {string} key - The querystring key to update. + * @param {string} value - The new value to be set. If it already exists it will be replaced. + * @param {boolean} redirect - If true the browser will issue a redirect to the url with the new querystring. + * @param {string} url - The URL to modify. If none is given it uses window.location.href. + * @return {string} If redirect is false then the modified url and query string is returned. + */ + updateQueryString: function (key, value, redirect, url) { + + if (typeof redirect === "undefined") { redirect = false; } + if (typeof url === "undefined" || url === '') { url = window.location.href; } + + var output = ''; + var re = new RegExp("([?|&])" + key + "=.*?(&|#|$)(.*)", "gi"); + + if (re.test(url)) + { + if (typeof value !== 'undefined' && value !== null) + { + output = url.replace(re, '$1' + key + "=" + value + '$2$3'); + } + else + { + output = url.replace(re, '$1$3').replace(/(&|\?)$/, ''); + } + } + else + { + if (typeof value !== 'undefined' && value !== null) + { + var separator = url.indexOf('?') !== -1 ? '&' : '?'; + var hash = url.split('#'); + url = hash[0] + separator + key + '=' + value; + + if (hash[1]) { + url += '#' + hash[1]; + } + + output = url; + + } + else + { + output = url; + } + } + + if (redirect) + { + window.location.href = output; + } + else + { + return output; + } + + }, + + /** + * Returns the Query String as an object. + * If you specify a parameter it will return just the value of that parameter, should it exist. + * + * @method Phaser.Net#getQueryString + * @param {string} [parameter=''] - If specified this will return just the value for that key. + * @return {string|object} An object containing the key value pairs found in the query string or just the value if a parameter was given. + */ + getQueryString: function (parameter) { + + if (typeof parameter === "undefined") { parameter = ''; } + + var output = {}; + var keyValues = location.search.substring(1).split('&'); + + for (var i in keyValues) { + + var key = keyValues[i].split('='); + + if (key.length > 1) + { + if (parameter && parameter == this.decodeURI(key[0])) + { + return this.decodeURI(key[1]); + } + else + { + output[this.decodeURI(key[0])] = this.decodeURI(key[1]); + } + } + } + + return output; + + }, + + /** + * Returns the Query String as an object. + * If you specify a parameter it will return just the value of that parameter, should it exist. + * + * @method Phaser.Net#decodeURI + * @param {string} value - The URI component to be decoded. + * @return {string} The decoded value. + */ + decodeURI: function (value) { + return decodeURIComponent(value.replace(/\+/g, " ")); + } }; @@ -570,7 +606,7 @@

    Source: net/Net.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Particles.js.html b/docs/Particles.js.html index 070871e970..501ff851db 100644 --- a/docs/Particles.js.html +++ b/docs/Particles.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -397,62 +437,67 @@

    Source: particles/Particles.js

    */ Phaser.Particles = function (game) { - /** - * @property {Description} emitters - Description. - */ - this.emitters = {}; + /** + * @property {Phaser.Game} game - A reference to the currently running Game. + */ + this.game = game; + + /** + * @property {object} emitters - Internal emitters store. + */ + this.emitters = {}; - /** - * @property {number} ID - Description. - * @default - */ - this.ID = 0; + /** + * @property {number} ID - + * @default + */ + this.ID = 0; }; Phaser.Particles.prototype = { - /** - * Adds a new Particle Emitter to the Particle Manager. - * @method Phaser.Particles#add - * @param {Phaser.Emitter} emitter - Description. - * @return {Phaser.Emitter} The emitter that was added. - */ - add: function (emitter) { + /** + * Adds a new Particle Emitter to the Particle Manager. + * @method Phaser.Particles#add + * @param {Phaser.Emitter} emitter - The emitter to be added to the particle manager. + * @return {Phaser.Emitter} The emitter that was added. + */ + add: function (emitter) { - this.emitters[emitter.name] = emitter; + this.emitters[emitter.name] = emitter; - return emitter; + return emitter; - }, + }, - /** - * Removes an existing Particle Emitter from the Particle Manager. - * @method Phaser.Particles#remove - * @param {Phaser.Emitter} emitter - The emitter to remove. - */ - remove: function (emitter) { + /** + * Removes an existing Particle Emitter from the Particle Manager. + * @method Phaser.Particles#remove + * @param {Phaser.Emitter} emitter - The emitter to remove. + */ + remove: function (emitter) { - delete this.emitters[emitter.name]; + delete this.emitters[emitter.name]; - }, + }, - /** - * Called by the core game loop. Updates all Emitters who have their exists value set to true. - * @method Phaser.Particles#update - * @protected - */ - update: function () { + /** + * Called by the core game loop. Updates all Emitters who have their exists value set to true. + * @method Phaser.Particles#update + * @protected + */ + update: function () { - for (var key in this.emitters) - { - if (this.emitters[key].exists) - { - this.emitters[key].update(); - } - } + for (var key in this.emitters) + { + if (this.emitters[key].exists) + { + this.emitters[key].update(); + } + } - } + } }; @@ -475,7 +520,7 @@

    Source: particles/Particles.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Animation.html b/docs/Phaser.Animation.html index e0bd1c507e..c2b3241727 100644 --- a/docs/Phaser.Animation.html +++ b/docs/Phaser.Animation.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -962,7 +1002,7 @@
    Properties:
    Source:
    @@ -1064,7 +1104,7 @@
    Properties:
    Source:
    @@ -1889,7 +1929,7 @@
    Properties:
    Source:
    @@ -2169,7 +2209,7 @@
    Parameters:
    Source:
    @@ -2238,7 +2278,7 @@

    destroySource:
    @@ -2307,7 +2347,7 @@

    onComplete<
    Source:
    @@ -2875,7 +2915,7 @@

    update Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:34 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:26 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.AnimationManager.html b/docs/Phaser.AnimationManager.html index dc5bd53f36..344ada58da 100644 --- a/docs/Phaser.AnimationManager.html +++ b/docs/Phaser.AnimationManager.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -2928,7 +2968,7 @@

    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:34 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:26 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.AnimationParser.html b/docs/Phaser.AnimationParser.html index 8c442175f0..97906828a8 100644 --- a/docs/Phaser.AnimationParser.html +++ b/docs/Phaser.AnimationParser.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -1368,7 +1408,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:34 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:26 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.BitmapData.html b/docs/Phaser.BitmapData.html new file mode 100644 index 0000000000..e561604fca --- /dev/null +++ b/docs/Phaser.BitmapData.html @@ -0,0 +1,11992 @@ + + + + + + Phaser Class: BitmapData + + + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Class: BitmapData

    +
    + +
    +

    + Phaser. + + BitmapData +

    + +

    Note: This object is still experimental and likely to change.

    +

    A BitmapData object can be thought of as a blank canvas onto which you can perform graphics operations as you would on a normal canvas, +such as drawing lines, circles, arcs, fills and copying and setting blocks of pixel data. A single BitmapData can be used as the texture +for multiple Sprites. So if you need to dynamically create a Sprite texture then they are a good choice. It supports the EaselJS Tiny API.

    + +
    + +
    +
    + + + + +
    +

    new BitmapData(game, width, height)

    + + +
    +
    + + +
    +

    Creates a new BitmapData object.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDefaultDescription
    game + + +Phaser.Game + + + + + + + + + + + +

    A reference to the currently running game.

    width + + +number + + + + + + <optional>
    + + + + + +
    + + 256 + +

    The width of the BitmapData in pixels.

    height + + +number + + + + + + <optional>
    + + + + + +
    + + 256 + +

    The height of the BitmapData in pixels.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + +
    + + + + + + + + + + + + +

    Members

    + +
    + +
    +

    baseTexture

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    baseTexture + + +PIXI.BaseTexture + + + +

    The PIXI.BaseTexture.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    canvas

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    canvas + + +HTMLCanvasElement + + + +

    The canvas to which this BitmapData draws.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    context

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    context + + +CanvasRenderingContext2D + + + +

    The 2d context of the canvas.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    game

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    game + + +Phaser.Game + + + +

    A reference to the currently running game.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    height

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    height + + +number + + + +

    The height of the BitmapData in pixels.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    imageData

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    imageData + + +array + + + +

    The canvas image data.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    name

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    name + + +string + + + +

    The name of the BitmapData.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    pixels

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    pixels + + +UInt8Clamped + + + +

    A reference to the context imageData buffer.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    texture

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    texture + + +PIXI.Texture + + + +

    The PIXI.Texture.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    textureFrame

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    textureFrame + + +Phaser.Frame + + + +

    The Frame this BitmapData uses for rendering.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    type

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    type + + +number + + + +

    The const type of this object.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    width

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    width + + +number + + + +

    The width of the BitmapData in pixels.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + +
    + + + +

    Methods

    + +
    + +
    +

    a()

    + + +
    +
    + + +
    +

    Shortcut to arc.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    add(sprite)

    + + +
    +
    + + +
    +

    Updates the given Sprite so that it uses this BitmapData as its texture.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    sprite + + +Phaser.Sprite + + + +

    The sprite to apply this texture to.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    addTo(sprites)

    + + +
    +
    + + +
    +

    Given an array of Sprites it will update each of them so that their Textures reference this BitmapData.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    sprites + + +Phaser.Sprite[] + + + +

    An array of Sprites to apply this texture to.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    arc(x, y, radius, startAngle, endAngle, anticlockwise) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Adds an arc to the path which is centered at (x, y) position with radius r starting at startAngle and ending at endAngle +going in the given direction by anticlockwise (defaulting to clockwise).

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDefaultDescription
    x + + +number + + + + + + + + + + + +

    The x axis of the coordinate for the arc's center

    y + + +number + + + + + + + + + + + +

    The y axis of the coordinate for the arc's center

    radius + + +number + + + + + + + + + + + +

    The arc's radius

    startAngle + + +number + + + + + + + + + + + +

    The starting point, measured from the x axis, from which it will be drawn, expressed in radians.

    endAngle + + +number + + + + + + + + + + + +

    The end arc's angle to which it will be drawn, expressed in radians.

    anticlockwise + + +boolean + + + + + + <optional>
    + + + + + +
    + + true + +

    true draws the arc anticlockwise, otherwise in a clockwise direction.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    arcTo(x1, y1, x2, y2, radius) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Adds an arc with the given control points and radius, connected to the previous point by a straight line.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x1 + + +number + + + +
    y1 + + +number + + + +
    x2 + + +number + + + +
    y2 + + +number + + + +
    radius + + +number + + + +
    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    at()

    + + +
    +
    + + +
    +

    Shortcut to arcTo.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    beginFill(color) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Begins a fill with the specified color. This ends the current sub-path.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    color + + +string + + + +

    A CSS compatible color value (ex. "red", "#FF0000", or "rgba(255,0,0,0.5)"). Setting to null will result in no fill.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    beginLinearGradientFill(colors, ratios, x0, y0, x1, y1) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Begins a linear gradient fill defined by the line (x0, y0) to (x1, y1). This ends the current sub-path. For +example, the following code defines a black to white vertical gradient ranging from 20px to 120px, and draws a square to display it:

    +
     ```myGraphics.beginLinearGradientFill(["#000","#FFF"], [0, 1], 0, 20, 0, 120).rect(20, 20, 120, 120);```
    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    colors + + +Array + + + +

    An array of CSS compatible color values. For example, ["#F00","#00F"] would define a gradient drawing from red to blue.

    ratios + + +Array + + + +

    An array of gradient positions which correspond to the colors. For example, [0.1, 0.9] would draw the first color to 10% then interpolating to the second color at 90%.

    x0 + + +number + + + +

    The position of the first point defining the line that defines the gradient direction and size.

    y0 + + +number + + + +

    The position of the first point defining the line that defines the gradient direction and size.

    x1 + + +number + + + +

    The position of the second point defining the line that defines the gradient direction and size.

    y1 + + +number + + + +

    The position of the second point defining the line that defines the gradient direction and size.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    beginLinearGradientStroke(colors, ratios, x0, y0, x1, y1) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Begins a linear gradient stroke defined by the line (x0, y0) to (x1, y1). This ends the current sub-path. For +example, the following code defines a black to white vertical gradient ranging from 20px to 120px, and draws a +square to display it:

    +
     ```myGraphics.setStrokeStyle(10).beginLinearGradientStroke(["#000","#FFF"], [0, 1], 0, 20, 0, 120).drawRect(20, 20, 120, 120);```
    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    colors + + +Array + + + +

    An array of CSS compatible color values. For example, ["#F00","#00F"] would define a gradient drawing from red to blue.

    ratios + + +Array + + + +

    An array of gradient positions which correspond to the colors. For example, [0.1, 0.9] would draw the first color to 10% then interpolating to the second color at 90%.

    x0 + + +number + + + +

    The position of the first point defining the line that defines the gradient direction and size.

    y0 + + +number + + + +

    The position of the first point defining the line that defines the gradient direction and size.

    x1 + + +number + + + +

    The position of the second point defining the line that defines the gradient direction and size.

    y1 + + +number + + + +

    The position of the second point defining the line that defines the gradient direction and size.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    beginPath() → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Starts a new path by resetting the list of sub-paths. Call this method when you want to create a new path.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    beginRadialGradientStroke(colors, ratios, x0, y0, r0, x1, y1, r1) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Begins a radial gradient stroke. This ends the current sub-path. For example, the following code defines a red to +blue radial gradient centered at (100, 100), with a radius of 50, and draws a rectangle to display it:

    +
     myGraphics.setStrokeStyle(10)
    +     .beginRadialGradientStroke(["#F00","#00F"], [0, 1], 100, 100, 0, 100, 100, 50)
    +     .drawRect(50, 90, 150, 110);
    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    colors + + +Array + + + +

    An array of CSS compatible color values. For example, ["#F00","#00F"] would define a gradient drawing from red to blue.

    ratios + + +Array + + + +

    An array of gradient positions which correspond to the colors. For example, [0.1, 0.9] would draw the first color to 10% then interpolating to the second color at 90%.

    x0 + + +number + + + +

    Center position of the inner circle that defines the gradient.

    y0 + + +number + + + +

    Center position of the inner circle that defines the gradient.

    r0 + + +number + + + +

    Radius of the inner circle that defines the gradient.

    x1 + + +number + + + +

    Center position of the outer circle that defines the gradient.

    y1 + + +number + + + +

    Center position of the outer circle that defines the gradient.

    r1 + + +number + + + +

    Radius of the outer circle that defines the gradient.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    beginStroke(color) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Begins a stroke with the specified color. This ends the current sub-path.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    color + + +String + + + +

    A CSS compatible color value (ex. "#FF0000", "red", or "rgba(255,0,0,0.5)"). Setting to null will result in no stroke.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    bezierCurveTo(cp1x, cp1y, cp2x, cp2y, x, y) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Adds a bezier curve from the current context point to (x, y) using the control points (cp1x, cp1y) and (cp2x, cp2y).

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    cp1x + + +number + + + +

    The x axis of control point 1.

    cp1y + + +number + + + +

    The y axis of control point 1.

    cp2x + + +number + + + +

    The x axis of control point 2.

    cp2y + + +number + + + +

    The y axis of control point 2.

    x + + +number + + + +

    The x axis of the ending point.

    y + + +number + + + +

    The y axis of the ending point.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    bf()

    + + +
    +
    + + +
    +

    Shortcut to beginBitmapFill.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    bs()

    + + +
    +
    + + +
    +

    Shortcut to beginBitmapStroke.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    bt()

    + + +
    +
    + + +
    +

    Shortcut to bezierCurveTo.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    c()

    + + +
    +
    + + +
    +

    Shortcut to clear.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    circle(x, y, radius) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Draws a circle with the specified radius at (x, y).

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    x coordinate center point of circle.

    y + + +number + + + +

    y coordinate center point of circle.

    radius + + +number + + + +

    Radius of circle in radians.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    clear()

    + + +
    +
    + + +
    +

    Clears the BitmapData.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    clearRect(x, y, width, height) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Sets all pixels in the rectangle defined by starting point (x, y) and size (width, height) to transparent black.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The x axis of the coordinate for the rectangle starting point.

    y + + +number + + + +

    The y axis of the coordinate for the rectangle starting point.

    width + + +number + + + +

    The rectangles width.

    height + + +number + + + +

    The rectangles height.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    clip() → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Creates a clipping path from the current sub-paths. Everything drawn after clip() is called appears inside the clipping path only.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    closePath() → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Tries to draw a straight line from the current point to the start. If the shape has already been closed or has only one point, this function does nothing.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    cp()

    + + +
    +
    + + +
    +

    Shortcut to closePath.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    createLinearGradient(x, y, width, height) → {CanvasGradient}

    + + +
    +
    + + +
    +

    Creates a linear gradient with defined by an imaginary line which implies the direction of the gradient. +Once the gradient is created colors can be inserted using the addColorStop method.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The x axis of the coordinate for the gradients starting point.

    y + + +number + + + +

    The y axis of the coordinate for the gradients starting point.

    width + + +number + + + +

    The width of the gradient.

    height + + +number + + + +

    The height of the gradient.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The Linear Gradient.

    +
    + + + +
    +
    + Type +
    +
    + +CanvasGradient + + +
    +
    + + + + + +
    + + + +
    +

    createRadialGradient(x0, y0, r0, x1, y1, r1) → {CanvasGradient}

    + + +
    +
    + + +
    +

    Creates a radial gradient.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x0 + + +number + + + +
    y0 + + +number + + + +
    r0 + + +number + + + +
    x1 + + +number + + + +
    y1 + + +number + + + +
    r1 + + +number + + + +
    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The Radial Gradient.

    +
    + + + +
    +
    + Type +
    +
    + +CanvasGradient + + +
    +
    + + + + + +
    + + + +
    +

    dc()

    + + +
    +
    + + +
    +

    Shortcut to drawCircle.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    de()

    + + +
    +
    + + +
    +

    Shortcut to drawEllipse.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    dp()

    + + +
    +
    + + +
    +

    Shortcut to drawPolyStar.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    dr()

    + + +
    +
    + + +
    +

    Shortcut to rect.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    ef()

    + + +
    +
    + + +
    +

    Shortcut to endFill.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    ellipse(x, y, w, h) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Draws an ellipse (oval) with a specified width (w) and height (h).

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    x coordinate center point of ellipse.

    y + + +number + + + +

    y coordinate center point of ellipse.

    w + + +number + + + +

    height (horizontal diameter) of ellipse. The horizontal radius will be half of this number.

    h + + +number + + + +

    width (vertical diameter) of ellipse. The vertical radius will be half of this number.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    es()

    + + +
    +
    + + +
    +

    Shortcut to endStroke.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    f()

    + + +
    +
    + + +
    +

    Shortcut to beginFill.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    fill() → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Fills the subpaths with the current fill style.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    fillRect(x, y, width, height) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Draws a filled rectangle at (x, y) position whose size is determined by width and height.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The x axis of the coordinate for the rectangle starting point.

    y + + +number + + + +

    The y axis of the coordinate for the rectangle starting point.

    width + + +number + + + +

    The rectangles width.

    height + + +number + + + +

    The rectangles height.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    fillStyle(color) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Sets the fill style.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    color + + +string + + + +

    The fill color value in CSS format: #RRGGBB or rgba(r,g,b,a)

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    font(font) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Sets the font.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    font + + +DOMString + + + +

    The font to be used for any text rendering. Default value 10px sans-serif.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    getPixel(x, y) → {number}

    + + +
    +
    + + +
    +

    Get a color of a specific pixel.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The X coordinate of the pixel to get.

    y + + +number + + + +

    The Y coordinate of the pixel to get.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    A native color value integer (format: 0xRRGGBB)

    +
    + + + +
    +
    + Type +
    +
    + +number + + +
    +
    + + + + + +
    + + + +
    +

    getPixel32(x, y) → {number}

    + + +
    +
    + + +
    +

    Get a color of a specific pixel (including alpha value).

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The X coordinate of the pixel to get.

    y + + +number + + + +

    The Y coordinate of the pixel to get.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    A native color value integer (format: 0xAARRGGBB)

    +
    + + + +
    +
    + Type +
    +
    + +number + + +
    +
    + + + + + +
    + + + +
    +

    getPixels(rect) → {array}

    + + +
    +
    + + +
    +

    Get pixels in array in a specific Rectangle.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    rect + + +Rectangle + + + +

    The specific Rectangle.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    CanvasPixelArray.

    +
    + + + +
    +
    + Type +
    +
    + +array + + +
    +
    + + + + + +
    + + + +
    +

    globalAlpha(alpha) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Alpha value that is applied to shapes and images before they are composited onto the canvas. Default 1.0 (opaque).

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    alpha + + +number + + + +

    Alpha value that is applied to shapes and images before they are composited onto the canvas. Default 1.0 (opaque).

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    globalCompositeOperation(operation) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    With globalAlpha applied this sets how shapes and images are drawn onto the existing bitmap. Possible values: source-atop, source-in, source-out, +source-over (default), destination-atop, destination-in, destination-out, destination-over, lighter, darker, copy and xor.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    operation + + +DOMString + + + +

    The composite operation to apply.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    lf()

    + + +
    +
    + + +
    +

    Shortcut to beginLinearGradientFill.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    lineCap(style) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Type of endings on the end of lines. Possible values: butt (default), round, square.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    style + + +DOMString + + + +

    Possible values: butt (default), round, square

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    lineDashOffset(offset) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Specifies where to start a dasharray on a line.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    offset + + +number + + + +

    Specifies where to start a dasharray on a line.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    lineJoin(join) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Defines the type of corners where two lines meet. Possible values: round, bevel, miter (default)

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    join + + +DOMString + + + +

    Possible values: round, bevel, miter (default)

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    lineTo(x, y) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Connects the last point in the subpath to the x, y coordinates with a straight line.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The x axis of the coordinate for the end of the line.

    y + + +number + + + +

    The y axis of the coordinate for the end of the line.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    lineWidth(width) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Width of lines. Default 1.0

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    width + + +number + + + +

    Width of lines. Default 1.0

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    ls()

    + + +
    +
    + + +
    +

    Shortcut to beginLinearGradientStroke.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    miterLimit(limit) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Default 10.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    limit + + +number + + + +

    Default 10.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    moveTo(x, y) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Moves the starting point of a new subpath to the (x, y) coordinates.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The x axis of the point.

    y + + +number + + + +

    The y axis of the point.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    mt()

    + + +
    +
    + + +
    +

    Shortcut to moveTo.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    mt()

    + + +
    +
    + + +
    +

    Shortcut to lineTo.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    qt()

    + + +
    +
    + + +
    +

    Shortcut to quadraticCurveTo.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    quadraticCurveTo(cpx, cpy, x, y) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Draws a quadratic curve from the current drawing point to (x, y) using the control point (cpx, cpy).

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    cpx + + +Number + + + +

    The x axis of the control point.

    cpy + + +Number + + + +

    The y axis of the control point.

    x + + +Number + + + +

    The x axis of the ending point.

    y + + +Number + + + +

    The y axis of the ending point.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    r()

    + + +
    +
    + + +
    +

    Shortcut to rect.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    rc()

    + + +
    +
    + + +
    +

    Shortcut to drawRoundRectComplex.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    rect(x, y, width, height) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Draws a rectangle at (x, y) position whose size is determined by width and height.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The x axis of the coordinate for the rectangle starting point.

    y + + +number + + + +

    The y axis of the coordinate for the rectangle starting point.

    width + + +number + + + +

    The rectangles width.

    height + + +number + + + +

    The rectangles height.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    render()

    + + +
    +
    + + +
    +

    If the game is running in WebGL this will push the texture up to the GPU if it's dirty. +This is called automatically if the BitmapData is being used by a Sprite, otherwise you need to remember to call it in your render function.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    restore() → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Restores the drawing style state to the last element on the 'state stack' saved by save().

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    rf()

    + + +
    +
    + + +
    +

    Shortcut to beginRadialGradientFill.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    rotate(angle) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Rotates the drawing context values by r radians.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    angle + + +number + + + +

    The angle of rotation given in radians.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    rr()

    + + +
    +
    + + +
    +

    Shortcut to drawRoundRect.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    rs()

    + + +
    +
    + + +
    +

    Shortcut to beginRadialGradientStroke.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    s()

    + + +
    +
    + + +
    +

    Shortcut to beginStroke.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    save() → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Saves the current drawing style state using a stack so you can revert any change you make to it using restore().

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    scale(x, y) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Scales the current drawing context.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +
    y + + +number + + + +
    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    scrollPathIntoView() → {Phaser.BitmapData}

    + + +
    +
    + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    setPixel(x, y, red, green, blue)

    + + +
    +
    + + +
    +

    Sets the color of the given pixel to the specified red, green and blue values.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The X coordinate of the pixel to be set.

    y + + +number + + + +

    The Y coordinate of the pixel to be set.

    red + + +number + + + +

    The red color value (between 0 and 255)

    green + + +number + + + +

    The green color value (between 0 and 255)

    blue + + +number + + + +

    The blue color value (between 0 and 255)

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    setPixel32(x, y, red, green, blue, alpha)

    + + +
    +
    + + +
    +

    Sets the color of the given pixel to the specified red, green, blue and alpha values.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The X coordinate of the pixel to be set.

    y + + +number + + + +

    The Y coordinate of the pixel to be set.

    red + + +number + + + +

    The red color value, between 0 and 0xFF (255).

    green + + +number + + + +

    The green color value, between 0 and 0xFF (255).

    blue + + +number + + + +

    The blue color value, between 0 and 0xFF (255).

    alpha + + +number + + + +

    The alpha color value, between 0 and 0xFF (255).

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    setStrokeStyle(thickness, caps, joints, miterLimit, ignoreScale) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Sets the stroke style for the current sub-path. Like all drawing methods, this can be chained, so you can define +the stroke style and color in a single line of code like so:

    +
     ```myGraphics.setStrokeStyle(8,"round").beginStroke("#F00");```
    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDefaultDescription
    thickness + + +number + + + + + + + + + + + +

    The width of the stroke.

    caps + + +string +| + +number + + + + + + <optional>
    + + + + + +
    + + 0 + +

    Indicates the type of caps to use at the end of lines. One of butt, round, or square. Defaults to "butt". Also accepts the values 0 (butt), 1 (round), and 2 (square) for use with he tiny API.

    joints + + +string +| + +number + + + + + + <optional>
    + + + + + +
    + + 0 + +

    Specifies the type of joints that should be used where two lines meet. One of bevel, round, or miter. Defaults to "miter". Also accepts the values 0 (miter), 1 (round), and 2 (bevel) for use with the tiny API.

    miterLimit + + +number + + + + + + <optional>
    + + + + + +
    + + 10 + +

    If joints is set to "miter", then you can specify a miter limit ratio which controls at what point a mitered joint will be clipped.

    ignoreScale + + +boolean + + + + + + <optional>
    + + + + + +
    + + false + +

    If true, the stroke will be drawn at the specified thickness regardless of active transformations.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    ss()

    + + +
    +
    + + +
    +

    Shortcut to setStrokeStyle.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    stroke() → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Strokes the subpaths with the current stroke style.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    strokeRect(x, y, width, height) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Paints a rectangle which has a starting point at (x, y) and has a w width and an h height onto the canvas, using the current stroke style.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The x axis for the starting point of the rectangle.

    y + + +number + + + +

    The y axis for the starting point of the rectangle.

    width + + +number + + + +

    The rectangles width.

    height + + +number + + + +

    The rectangles height.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + + +
    +

    strokeStyle(style) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Color or style to use for the lines around shapes. Default #000 (black).

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    style + + +string + + + +

    Color or style to use for the lines around shapes. Default #000 (black).

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData instance this method was called on.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + +
    + + + + + +
    + +
    + + + + +
    + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:26 GMT-0000 (GMT) using the DocStrap template. + +
    +
    + + +
    +
    +
    + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/Phaser.BitmapText.html b/docs/Phaser.BitmapText.html index 67ec9005bc..069b9624df 100644 --- a/docs/Phaser.BitmapText.html +++ b/docs/Phaser.BitmapText.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -387,7 +427,9 @@

    BitmapText

    -

    Phaser.BitmapText

    +

    BitmapText objects work by taking a texture file and an XML file that describes the font layout.

    +

    On Windows you can use the free app BMFont: http://www.angelcode.com/products/bmfont/

    +

    On OS X we recommend Glyph Designer: http://www.71squared.com/en/glyphdesigner

    @@ -406,9 +448,7 @@

    new BitmapT
    -

    Creates a new BitmapText object. BitmapText work by taking a texture file and an XML file that describes the font layout. -On Windows you can use the free app BMFont: http://www.angelcode.com/products/bmfont/ -On OS X we recommend Glyph Designer: http://www.71squared.com/en/glyphdesigner

    +

    Creates a new BitmapText object.

    @@ -582,7 +622,7 @@

    Parameters:
    Source:
    @@ -713,7 +753,7 @@
    Properties:
    Source:
    @@ -737,6 +777,13 @@

    anchor
    +
    +

    The anchor sets the origin point of the texture. +The default is 0,0 this means the textures origin is the top left +Setting than anchor to 0.5,0.5 means the textures origin is centered +Setting the anchor to 1,1 would mean the textures origin points will be the bottom right

    +
    + @@ -786,7 +833,115 @@
    Properties:
    -

    Description.

    +

    The anchor around which rotation and scaling takes place.

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + + + + + + + + + +
    +

    angle

    + + +
    +
    + +
    +

    Indicates the rotation of the BitmapText, in degrees, from its original orientation. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. +Values outside this range are added to or subtracted from 360 to obtain a value within the range. For example, the statement player.angle = 450 is the same as player.angle = 90. +If you wish to work in radians instead of degrees use the property Sprite.rotation instead.

    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -815,7 +970,7 @@
    Properties:
    Source:
    @@ -920,7 +1075,7 @@
    Properties:
    Source:
    @@ -1022,7 +1177,7 @@
    Properties:
    Source:
    @@ -1085,7 +1240,7 @@
    Properties:
    + @@ -1120,14 +1275,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -1200,7 +1352,7 @@
    Properties:
    - + @@ -1229,7 +1381,109 @@
    Properties:
    Source:
    + + + + + + + + + + + + + + + +
    +

    renderable

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + +
    NameTypeDescription
    angle + + +number + + + +

    Gets or sets the angle of rotation in degrees.

    -Description +Phaser.Group @@ -1095,7 +1250,7 @@
    Properties:
    -

    Description.

    The parent Group of this BitmapText.

    Description.

    The user defined name given to this BitmapText.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    renderable + + +boolean + + + +

    A renderable object will be rendered to the context each frame.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    @@ -1302,7 +1556,7 @@
    Properties:
    -

    Description.

    +

    The scale of the object when rendered. By default it's set to 1 (no scale). You can modify it via scale.x or scale.y or scale.setTo(x, y). A value of 1 means no change to the scale, 0.5 means "half the size", 2 means "twice the size", etc.

    @@ -1331,7 +1585,7 @@
    Properties:
    Source:
    @@ -1349,7 +1603,7 @@
    Properties:
    -

    type

    +

    <readonly> type

    @@ -1394,7 +1648,219 @@
    Properties:
    -Description +number + + + + + + + + + +

    The const type of this object.

    + + + + + +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + + + + + + + + + +
    +

    x

    + + +
    +
    + +
    +

    The x coordinate of this object in world space.

    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The x coordinate of this object in world space.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    y

    + + +
    +
    + +
    +

    The y coordinate of this object in world space.

    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1433,7 +1899,7 @@
    Properties:
    Source:
    @@ -1498,7 +1964,7 @@

    updateSource:
    @@ -1549,7 +2015,7 @@

    update Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:34 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:27 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Button.html b/docs/Phaser.Button.html index fc1074941e..6b04cc2828 100644 --- a/docs/Phaser.Button.html +++ b/docs/Phaser.Button.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -387,7 +427,14 @@

    Button

    -

    Phaser.Button

    +

    Create a new Button object. A Button is a special type of Sprite that is set-up to handle Pointer events automatically. The four states a Button responds to are:

    +
      +
    • 'Over' - when the Pointer moves over the Button. This is also commonly known as 'hover'.
    • +
    • 'Out' - when the Pointer that was previously over the Button moves out of it.
    • +
    • 'Down' - when the Pointer is pressed down on the Button. I.e. touched on a touch enabled device or clicked with the mouse.
    • +
    • 'Up' - when the Pointer that was pressed down on the Button is released again.
    • +
    +

    You can set a unique texture frame and Sound for any of these states.

    @@ -405,15 +452,6 @@

    new Button -
    -

    Create a new Button object. A Button is a special type of Sprite that is set-up to handle Pointer events automatically. The four states a Button responds to are: -'Over' - when the Pointer moves over the Button. This is also commonly known as 'hover'. -'Out' - when the Pointer that was previously over the Button moves out of it. -'Down' - when the Pointer is pressed down on the Button. I.e. touched on a touch enabled device or clicked with the mouse. -'Up' - when the Pointer that was pressed down on the Button is released again. -You can set a unique texture frame and Sound for any of these states.

    -
    - @@ -776,7 +814,7 @@
    Parameters:
    Source:
    @@ -911,7 +949,7 @@
    Properties:
    Source:
    @@ -1013,7 +1051,7 @@
    Properties:
    Source:
    @@ -1118,7 +1156,7 @@
    Properties:
    Source:
    @@ -1220,7 +1258,7 @@
    Properties:
    Source:
    @@ -1322,7 +1360,7 @@
    Properties:
    Source:
    @@ -1424,7 +1462,7 @@
    Properties:
    Source:
    @@ -1526,7 +1564,7 @@
    Properties:
    Source:
    @@ -1628,7 +1666,7 @@
    Properties:
    Source:
    @@ -1733,7 +1771,7 @@
    Properties:
    Source:
    @@ -1835,7 +1873,7 @@
    Properties:
    Source:
    @@ -1940,7 +1978,7 @@
    Properties:
    Source:
    @@ -2042,7 +2080,7 @@
    Properties:
    Source:
    @@ -2147,7 +2185,7 @@
    Properties:
    Source:
    @@ -2249,7 +2287,7 @@
    Properties:
    Source:
    @@ -2351,7 +2389,7 @@
    Properties:
    Source:
    @@ -2465,7 +2503,7 @@
    Parameters:
    Source:
    @@ -2583,7 +2621,7 @@
    Parameters:
    Source:
    @@ -2701,7 +2739,7 @@
    Parameters:
    Source:
    @@ -2819,7 +2857,7 @@
    Parameters:
    Source:
    @@ -2980,7 +3018,7 @@
    Parameters:
    Source:
    @@ -3186,7 +3224,7 @@
    Parameters:
    Source:
    @@ -3347,7 +3385,7 @@
    Parameters:
    Source:
    @@ -3508,7 +3546,7 @@
    Parameters:
    Source:
    @@ -3871,7 +3909,7 @@
    Parameters:
    Source:
    @@ -4032,7 +4070,7 @@
    Parameters:
    Source:
    @@ -4083,7 +4121,7 @@
    Parameters:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:34 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:27 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Cache.html b/docs/Phaser.Cache.html index b6fb91c5cb..48d2c327df 100644 --- a/docs/Phaser.Cache.html +++ b/docs/Phaser.Cache.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -690,7 +730,7 @@
    Properties:
    -

    + @@ -719,7 +759,7 @@
    Properties:
    Source:
    @@ -742,6 +782,170 @@

    Methods

    +
    +

    addBitmapData(key, bitmapData) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Add a BitmapData object in to the cache.

    +
    + + + + + + + +
    Parameters:
    + + +
    NameTypeDescription
    y + + +number @@ -1404,7 +1870,7 @@
    Properties:
    -

    Description.

    The y coordinate of this object in world space.

    Description.

    This event is dispatched when the sound system is unlocked via a touch event on cellular devices.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    key + + +string + + + +

    Asset key for this BitmapData.

    bitmapData + + +Phaser.BitmapData + + + +

    The BitmapData object to be addded to the cache.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The BitmapData object to be addded to the cache.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + + +
    + + +

    addBitmapFont(key, url, data, xmlData)

    @@ -902,7 +1106,7 @@
    Parameters:
    Source:
    @@ -1066,7 +1270,7 @@
    Parameters:
    Source:
    @@ -1102,7 +1306,7 @@

    addDef
    -

    Adds a default image to be used when a key is wrong / missing. Is mapped to the key __default.

    +

    Adds a default image to be used in special cases such as WebGL Filters. Is mapped to the key __default.

    @@ -1135,7 +1339,7 @@

    addDef
    Source:
    @@ -1299,7 +1503,76 @@

    Parameters:
    Source:
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    +

    addMissingImage()

    + + +
    +
    + + +
    +

    Adds an image to be used when a key is wrong / missing. Is mapped to the key __missing.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    @@ -1327,7 +1600,7 @@
    Parameters:
    -

    addRenderTexture(key, textue)

    +

    addRenderTexture(key, texture)

    @@ -1392,7 +1665,7 @@
    Parameters:
    - textue + texture @@ -1440,7 +1713,7 @@
    Parameters:
    Source:
    @@ -1650,7 +1923,7 @@
    Parameters:
    Source:
    @@ -1883,7 +2156,7 @@
    Parameters:
    Source:
    @@ -2047,7 +2320,7 @@
    Parameters:
    Source:
    @@ -2257,7 +2530,7 @@
    Parameters:
    Source:
    @@ -2444,7 +2717,7 @@
    Parameters:
    Source:
    @@ -2831,7 +3104,7 @@
    Parameters:
    Source:
    @@ -2949,7 +3222,7 @@
    Parameters:
    Source:
    @@ -3113,7 +3386,7 @@
    Parameters:
    Source:
    @@ -3182,7 +3455,125 @@

    destroySource:
    + + + + + + + +

    + + + + + + + + + + + + + +
    + + + +
    +

    getBitmapData(key) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    Get a BitmapData object from the cache by its key.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    key + + +string + + + +

    Asset key of the BitmapData object you want.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    @@ -3203,6 +3594,29 @@

    destroyReturns:

    + + +
    +

    The requested BitmapData object if found, or null if not.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + +
    @@ -3218,7 +3632,7 @@

    getCanvas -

    Get acanvas object from the cache by its key.

    +

    Get a canvas object from the cache by its key.

    @@ -3300,7 +3714,7 @@
    Parameters:
    Source:
    @@ -3441,7 +3855,7 @@
    Parameters:
    Source:
    @@ -3582,7 +3996,7 @@
    Parameters:
    Source:
    @@ -3723,7 +4137,7 @@
    Parameters:
    Source:
    @@ -3864,7 +4278,7 @@
    Parameters:
    Source:
    @@ -4005,7 +4419,7 @@
    Parameters:
    Source:
    @@ -4097,7 +4511,7 @@

    getImageK
    Source:
    @@ -4239,7 +4653,7 @@

    Parameters:
    Source:
    @@ -4380,7 +4794,7 @@
    Parameters:
    Source:
    @@ -4521,7 +4935,7 @@
    Parameters:
    Source:
    @@ -4613,7 +5027,7 @@

    getSoundK
    Source:
    @@ -4754,7 +5168,7 @@

    Parameters:
    Source:
    @@ -4846,7 +5260,7 @@

    getTextKey
    Source:
    @@ -4987,7 +5401,7 @@

    Parameters:
    Source:
    @@ -5128,7 +5542,7 @@
    Parameters:
    Source:
    @@ -5269,7 +5683,7 @@
    Parameters:
    Source:
    @@ -5320,7 +5734,7 @@
    Returns:
    -

    getTileset(key) → {Phaser.Tileset}

    +

    getTileset(key) → {Phaser.Tileset}

    @@ -5410,7 +5824,7 @@
    Parameters:
    Source:
    @@ -5446,7 +5860,7 @@
    Returns:
    -Phaser.Tileset +Phaser.Tileset
    @@ -5551,7 +5965,7 @@
    Parameters:
    Source:
    @@ -5692,7 +6106,7 @@
    Parameters:
    Source:
    @@ -5833,7 +6247,7 @@
    Parameters:
    Source:
    @@ -5974,7 +6388,7 @@
    Parameters:
    Source:
    @@ -6115,7 +6529,7 @@
    Parameters:
    Source:
    @@ -6233,7 +6647,7 @@
    Parameters:
    Source:
    @@ -6351,7 +6765,7 @@
    Parameters:
    Source:
    @@ -6469,7 +6883,7 @@
    Parameters:
    Source:
    @@ -6587,7 +7001,7 @@
    Parameters:
    Source:
    @@ -6705,7 +7119,7 @@
    Parameters:
    Source:
    @@ -6823,7 +7237,7 @@
    Parameters:
    Source:
    @@ -6874,7 +7288,7 @@
    Parameters:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:34 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:27 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Camera.html b/docs/Phaser.Camera.html index 5a501c95c7..c999006b58 100644 --- a/docs/Phaser.Camera.html +++ b/docs/Phaser.Camera.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -1390,7 +1430,7 @@
    Properties:
    Source:
    @@ -2022,7 +2062,7 @@
    Properties:
    Source:
    @@ -2230,7 +2270,7 @@
    Properties:
    Source:
    @@ -2336,7 +2376,7 @@
    Properties:
    Source:
    @@ -2401,7 +2441,7 @@

    check
    Source:
    @@ -2519,7 +2559,7 @@

    Parameters:
    Source:
    @@ -2660,7 +2700,7 @@
    Parameters:
    Source:
    @@ -2963,7 +3003,7 @@
    Parameters:
    Source:
    @@ -3104,7 +3144,7 @@
    Parameters:
    Source:
    @@ -3173,7 +3213,7 @@

    updateSource:
    @@ -3224,7 +3264,7 @@

    update Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:34 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:27 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Canvas.html b/docs/Phaser.Canvas.html index d4f9fe2cea..71bd9952fc 100644 --- a/docs/Phaser.Canvas.html +++ b/docs/Phaser.Canvas.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -556,6 +596,9 @@

    Parameters:
    string +| + +HTMLElement @@ -1437,7 +1480,7 @@
    Parameters:
    Source:
    @@ -1579,7 +1622,7 @@
    Parameters:
    Source:
    @@ -1747,7 +1790,7 @@
    Parameters:
    Source:
    @@ -2210,7 +2253,7 @@
    Parameters:
    Source:
    @@ -2468,7 +2511,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:34 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:27 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Circle.html b/docs/Phaser.Circle.html index 8cbcbbbe40..36d2d5a01b 100644 --- a/docs/Phaser.Circle.html +++ b/docs/Phaser.Circle.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -1835,7 +1875,7 @@
    Parameters:
    Source:
    @@ -2022,7 +2062,7 @@
    Parameters:
    Source:
    @@ -2186,7 +2226,7 @@
    Parameters:
    Source:
    @@ -2351,7 +2391,7 @@
    Parameters:
    Source:
    @@ -2515,7 +2555,7 @@
    Parameters:
    Source:
    @@ -4248,7 +4288,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:35 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:27 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Color.html b/docs/Phaser.Color.html index 965c2f085f..51379fd7fd 100644 --- a/docs/Phaser.Color.html +++ b/docs/Phaser.Color.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -573,7 +613,7 @@
    Parameters:
    Source:
    @@ -714,7 +754,7 @@
    Parameters:
    Source:
    @@ -855,7 +895,7 @@
    Parameters:
    Source:
    @@ -996,7 +1036,7 @@
    Parameters:
    Source:
    @@ -1183,7 +1223,7 @@
    Parameters:
    Source:
    @@ -1535,7 +1575,7 @@
    Parameters:
    Source:
    @@ -1676,7 +1716,7 @@
    Parameters:
    Source:
    @@ -1735,9 +1775,9 @@

    <static> -

    Returns a random color value between black and white

    -

    <p>Set the min value to start each channel from the given offset.</p> -<p>Set the max value to restrict the maximum color used per channel</p>

    +

    Returns a random color value between black and white +Set the min value to start each channel from the given offset. +Set the max value to restrict the maximum color used per channel.

    @@ -1865,7 +1905,7 @@
    Parameters:
    Source:
    @@ -2006,7 +2046,7 @@
    Parameters:
    Source:
    @@ -2066,7 +2106,7 @@

    <static> get

    Return the component parts of a color as an Object with the properties alpha, red, green, blue

    -

    <p>Alpha will only be set if it exist in the given color (0xAARRGGBB)</p>

    +

    Alpha will only be set if it exist in the given color (0xAARRGGBB)

    @@ -2148,7 +2188,7 @@

    Parameters:
    Source:
    @@ -2289,7 +2329,7 @@
    Parameters:
    Source:
    @@ -2340,7 +2380,7 @@
    Returns:
    -

    <static> hexToRGB(h) → {object}

    +

    <static> hexToRGB(h) → {number}

    @@ -2348,7 +2388,7 @@

    <static> h
    -

    Converts the given hex string into an object containing the RGB values.

    +

    Converts the given hex string into an integer color value.

    @@ -2430,7 +2470,7 @@

    Parameters:
    Source:
    @@ -2455,7 +2495,7 @@
    Returns:
    -

    An object with 3 properties: r,g and b.

    +

    The rgb color value.

    @@ -2466,7 +2506,7 @@
    Returns:
    -object +number
    @@ -2539,7 +2579,7 @@
    Parameters:
    -

    Description.

    +

    The first color value.

    @@ -2562,7 +2602,7 @@
    Parameters:
    -

    Description.

    +

    The second color value.

    @@ -2585,7 +2625,7 @@
    Parameters:
    -

    Description.

    +

    The number of steps to run the interpolation over.

    @@ -2608,7 +2648,7 @@
    Parameters:
    -

    Description.

    +

    The currentStep value. If the interpolation will take 100 steps, a currentStep value of 50 would be half-way between the two.

    @@ -2631,7 +2671,7 @@
    Parameters:
    -

    Description.

    +

    The alpha of the returned color.

    @@ -2663,7 +2703,7 @@
    Parameters:
    Source:
    @@ -2772,7 +2812,7 @@
    Parameters:
    -

    Description.

    +

    The first color value.

    @@ -2795,7 +2835,7 @@
    Parameters:
    -

    Description.

    +

    The red color value, between 0 and 0xFF (255).

    @@ -2818,7 +2858,7 @@
    Parameters:
    -

    Description.

    +

    The green color value, between 0 and 0xFF (255).

    @@ -2841,7 +2881,7 @@
    Parameters:
    -

    Description.

    +

    The blue color value, between 0 and 0xFF (255).

    @@ -2864,7 +2904,7 @@
    Parameters:
    -

    Description.

    +

    The number of steps to run the interpolation over.

    @@ -2887,7 +2927,7 @@
    Parameters:
    -

    Description.

    +

    The currentStep value. If the interpolation will take 100 steps, a currentStep value of 50 would be half-way between the two.

    @@ -2919,7 +2959,7 @@
    Parameters:
    Source:
    @@ -3028,7 +3068,7 @@
    Parameters:
    -

    Description.

    +

    The red color value, between 0 and 0xFF (255).

    @@ -3051,7 +3091,7 @@
    Parameters:
    -

    Description.

    +

    The green color value, between 0 and 0xFF (255).

    @@ -3074,7 +3114,7 @@
    Parameters:
    -

    Description.

    +

    The blue color value, between 0 and 0xFF (255).

    @@ -3097,7 +3137,7 @@
    Parameters:
    -

    Description.

    +

    The red color value, between 0 and 0xFF (255).

    @@ -3120,7 +3160,7 @@
    Parameters:
    -

    Description.

    +

    The green color value, between 0 and 0xFF (255).

    @@ -3143,7 +3183,7 @@
    Parameters:
    -

    Description.

    +

    The blue color value, between 0 and 0xFF (255).

    @@ -3166,7 +3206,7 @@
    Parameters:
    -

    Description.

    +

    The number of steps to run the interpolation over.

    @@ -3189,7 +3229,7 @@
    Parameters:
    -

    Description.

    +

    The currentStep value. If the interpolation will take 100 steps, a currentStep value of 50 would be half-way between the two.

    @@ -3221,7 +3261,7 @@
    Parameters:
    Source:
    @@ -3362,7 +3402,7 @@
    Parameters:
    Source:
    @@ -3503,7 +3543,7 @@
    Parameters:
    Source:
    @@ -3577,7 +3617,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:35 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:27 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Device.html b/docs/Phaser.Device.html index afa3b3075e..033bb1ac0e 100644 --- a/docs/Phaser.Device.html +++ b/docs/Phaser.Device.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -570,7 +610,7 @@
    Properties:
    Source:
    @@ -643,7 +683,7 @@
    Properties:
    -

    Is running in arora?

    +

    Set to true if running in Arora.

    @@ -675,7 +715,7 @@
    Properties:
    Source:
    @@ -780,7 +820,7 @@
    Properties:
    Source:
    @@ -885,7 +925,7 @@
    Properties:
    Source:
    @@ -958,7 +998,7 @@
    Properties:
    -

    Is running in chrome?

    +

    Set to true if running in Chrome.

    @@ -990,7 +1030,7 @@
    Properties:
    Source:
    @@ -1095,7 +1135,112 @@
    Properties:
    Source:
    + + + + + + + + + + + + + + + +
    +

    cocoonJS

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    cocoonJS + + +boolean + + + +

    Is the game running under CocoonJS?

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + +
    Source:
    +
    @@ -1200,7 +1345,7 @@
    Properties:
    Source:
    @@ -1378,7 +1523,7 @@
    Properties:
    -

    Is running in epiphany?

    +

    Set to true if running in Epiphany.

    @@ -1410,7 +1555,7 @@
    Properties:
    Source:
    @@ -1515,7 +1660,7 @@
    Properties:
    Source:
    @@ -1620,7 +1765,7 @@
    Properties:
    Source:
    @@ -1693,7 +1838,7 @@
    Properties:
    -

    Is running in firefox?

    +

    Set to true if running in Firefox.

    @@ -1725,7 +1870,7 @@
    Properties:
    Source:
    @@ -1798,7 +1943,7 @@
    Properties:
    -

    Is running in ie?

    +

    Set to true if running in Internet Explorer.

    @@ -1830,7 +1975,7 @@
    Properties:
    Source:
    @@ -1903,7 +2048,7 @@
    Properties:
    -

    Version of ie?

    +

    If running in Internet Explorer this will contain the major version number.

    @@ -1935,7 +2080,7 @@
    Properties:
    Source:
    @@ -2145,7 +2290,7 @@
    Properties:
    Source:
    @@ -2250,7 +2395,7 @@
    Properties:
    Source:
    @@ -2355,7 +2500,7 @@
    Properties:
    Source:
    @@ -2460,7 +2605,112 @@
    Properties:
    Source:
    + + + + + + + +
    + + + +
    + + + +
    +

    littleEndian

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    littleEndian + + +boolean + + + +

    Is the device big or little endian? (only detected if the browser supports TypedArrays)

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + +
    Source:
    +
    @@ -2565,7 +2815,7 @@
    Properties:
    Source:
    @@ -2674,7 +2924,7 @@
    Properties:
    Source:
    @@ -2779,7 +3029,7 @@
    Properties:
    Source:
    @@ -2852,7 +3102,7 @@
    Properties:
    -

    Is running in midori?

    +

    Set to true if running in Midori.

    @@ -2884,7 +3134,7 @@
    Properties:
    Source:
    @@ -2957,7 +3207,7 @@
    Properties:
    -

    Is running in mobileSafari?

    +

    Set to true if running in Mobile Safari.

    @@ -2989,7 +3239,7 @@
    Properties:
    Source:
    @@ -3094,7 +3344,7 @@
    Properties:
    Source:
    @@ -3199,7 +3449,7 @@
    Properties:
    Source:
    @@ -3304,7 +3554,7 @@
    Properties:
    Source:
    @@ -3377,7 +3627,7 @@
    Properties:
    -

    Is running in opera?

    +

    Set to true if running in Opera.

    @@ -3409,7 +3659,7 @@
    Properties:
    Source:
    @@ -3514,7 +3764,7 @@
    Properties:
    Source:
    @@ -3728,7 +3978,7 @@
    Properties:
    Source:
    @@ -3833,7 +4083,7 @@
    Properties:
    Source:
    @@ -3906,7 +4156,7 @@
    Properties:
    -

    Is running in safari?

    +

    Set to true if running in Safari.

    @@ -3938,7 +4188,7 @@
    Properties:
    Source:
    @@ -4043,7 +4293,112 @@
    Properties:
    Source:
    + + + + + + + +
    + + + +
    + + + +
    +

    typedArray

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    typedArray + + +boolean + + + +

    Does the browser support TypedArrays?

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + +
    Source:
    +
    @@ -4148,7 +4503,112 @@
    Properties:
    Source:
    + + + + + + + +
    + + + +
    + + + +
    +

    webApp

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    webApp + + +boolean + + + +

    Set to true if running as a WebApp, i.e. within a WebView

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + +
    Source:
    +
    @@ -4253,7 +4713,7 @@
    Properties:
    Source:
    @@ -4358,7 +4818,7 @@
    Properties:
    Source:
    @@ -4463,7 +4923,7 @@
    Properties:
    Source:
    @@ -4568,7 +5028,7 @@
    Properties:
    Source:
    @@ -4673,7 +5133,7 @@
    Properties:
    Source:
    @@ -4787,7 +5247,7 @@
    Parameters:
    Source:
    @@ -4879,7 +5339,7 @@

    isConsol
    Source:
    @@ -4953,7 +5413,7 @@

    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:35 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:27 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Easing.Back.html b/docs/Phaser.Easing.Back.html index 1bee047034..227caf6e08 100644 --- a/docs/Phaser.Easing.Back.html +++ b/docs/Phaser.Easing.Back.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -437,7 +477,7 @@

    new BackSource:
    @@ -573,7 +613,7 @@
    Parameters:
    Source:
    @@ -714,7 +754,7 @@
    Parameters:
    Source:
    @@ -855,7 +895,7 @@
    Parameters:
    Source:
    @@ -929,7 +969,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:35 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:28 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Easing.Bounce.html b/docs/Phaser.Easing.Bounce.html index af52da80a3..eefc3a87e4 100644 --- a/docs/Phaser.Easing.Bounce.html +++ b/docs/Phaser.Easing.Bounce.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -437,7 +477,7 @@

    new BounceSource:
    @@ -573,7 +613,7 @@
    Parameters:
    Source:
    @@ -714,7 +754,7 @@
    Parameters:
    Source:
    @@ -855,7 +895,7 @@
    Parameters:
    Source:
    @@ -929,7 +969,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:35 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:28 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Easing.Circular.html b/docs/Phaser.Easing.Circular.html index 9a94ace4db..d8de3fdeb7 100644 --- a/docs/Phaser.Easing.Circular.html +++ b/docs/Phaser.Easing.Circular.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -437,7 +477,7 @@

    new Circular<
    Source:
    @@ -573,7 +613,7 @@

    Parameters:
    Source:
    @@ -714,7 +754,7 @@
    Parameters:
    Source:
    @@ -855,7 +895,7 @@
    Parameters:
    Source:
    @@ -929,7 +969,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:35 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:28 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Easing.Cubic.html b/docs/Phaser.Easing.Cubic.html index 041bd03234..029e55f0f3 100644 --- a/docs/Phaser.Easing.Cubic.html +++ b/docs/Phaser.Easing.Cubic.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -437,7 +477,7 @@

    new CubicSource:
    @@ -573,7 +613,7 @@
    Parameters:
    Source:
    @@ -714,7 +754,7 @@
    Parameters:
    Source:
    @@ -855,7 +895,7 @@
    Parameters:
    Source:
    @@ -929,7 +969,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:35 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:28 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Easing.Elastic.html b/docs/Phaser.Easing.Elastic.html index 7df5e3236f..a2032e2a6c 100644 --- a/docs/Phaser.Easing.Elastic.html +++ b/docs/Phaser.Easing.Elastic.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -437,7 +477,7 @@

    new ElasticSource:
    @@ -573,7 +613,7 @@
    Parameters:
    Source:
    @@ -714,7 +754,7 @@
    Parameters:
    Source:
    @@ -855,7 +895,7 @@
    Parameters:
    Source:
    @@ -929,7 +969,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:35 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:28 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Easing.Exponential.html b/docs/Phaser.Easing.Exponential.html index fd0fa461b5..d0f95ae5e3 100644 --- a/docs/Phaser.Easing.Exponential.html +++ b/docs/Phaser.Easing.Exponential.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -437,7 +477,7 @@

    new Expone
    Source:
    @@ -573,7 +613,7 @@

    Parameters:
    Source:
    @@ -714,7 +754,7 @@
    Parameters:
    Source:
    @@ -855,7 +895,7 @@
    Parameters:
    Source:
    @@ -929,7 +969,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:36 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:28 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Easing.Linear.html b/docs/Phaser.Easing.Linear.html index a4d84373d2..897f16f310 100644 --- a/docs/Phaser.Easing.Linear.html +++ b/docs/Phaser.Easing.Linear.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -437,7 +477,7 @@

    new LinearSource:
    @@ -573,7 +613,7 @@
    Parameters:
    Source:
    @@ -647,7 +687,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:36 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:28 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Easing.Quadratic.html b/docs/Phaser.Easing.Quadratic.html index 00ed7b2d64..9293bc3bba 100644 --- a/docs/Phaser.Easing.Quadratic.html +++ b/docs/Phaser.Easing.Quadratic.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -437,7 +477,7 @@

    new Quadrati
    Source:
    @@ -573,7 +613,7 @@

    Parameters:
    Source:
    @@ -714,7 +754,7 @@
    Parameters:
    Source:
    @@ -855,7 +895,7 @@
    Parameters:
    Source:
    @@ -929,7 +969,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:36 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:28 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Easing.Quartic.html b/docs/Phaser.Easing.Quartic.html index b251fbf6ae..f071035623 100644 --- a/docs/Phaser.Easing.Quartic.html +++ b/docs/Phaser.Easing.Quartic.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -437,7 +477,7 @@

    new QuarticSource:
    @@ -573,7 +613,7 @@
    Parameters:
    Source:
    @@ -714,7 +754,7 @@
    Parameters:
    Source:
    @@ -855,7 +895,7 @@
    Parameters:
    Source:
    @@ -929,7 +969,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:36 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:28 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Easing.Quintic.html b/docs/Phaser.Easing.Quintic.html index e9bc131892..38b69a8d98 100644 --- a/docs/Phaser.Easing.Quintic.html +++ b/docs/Phaser.Easing.Quintic.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -437,7 +477,7 @@

    new QuinticSource:
    @@ -573,7 +613,7 @@
    Parameters:
    Source:
    @@ -714,7 +754,7 @@
    Parameters:
    Source:
    @@ -855,7 +895,7 @@
    Parameters:
    Source:
    @@ -929,7 +969,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:36 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:29 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Easing.Sinusoidal.html b/docs/Phaser.Easing.Sinusoidal.html index c634c2a1a4..9f27d626f1 100644 --- a/docs/Phaser.Easing.Sinusoidal.html +++ b/docs/Phaser.Easing.Sinusoidal.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -437,7 +477,7 @@

    new Sinusoi
    Source:
    @@ -573,7 +613,7 @@

    Parameters:
    Source:
    @@ -714,7 +754,7 @@
    Parameters:
    Source:
    @@ -855,7 +895,7 @@
    Parameters:
    Source:
    @@ -929,7 +969,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:36 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:29 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Easing.html b/docs/Phaser.Easing.html index f22ee2d05f..9b823c6138 100644 --- a/docs/Phaser.Easing.html +++ b/docs/Phaser.Easing.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -437,7 +477,7 @@

    new EasingSource:
    @@ -539,7 +579,7 @@

    Classes

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:35 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:28 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Events.html b/docs/Phaser.Events.html index 293b41b84d..56989c5d46 100644 --- a/docs/Phaser.Events.html +++ b/docs/Phaser.Events.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -387,7 +427,11 @@

    Events

    -

    Phaser.Events

    +

    The Events component is a collection of events fired by the parent game object.

    +

    For example to tell when a Sprite has been added to a new group:

    +

    sprite.events.onAddedToGroup.add(yourFunction, this);

    +

    Where yourFunction is the function you want called when this event occurs.

    +

    Note that the Input related events only exist if the Sprite has had inputEnabled set to true.

    @@ -405,10 +449,6 @@

    new Events -
    -

    The Events component is a collection of events fired by the parent game object and its components.

    -
    - @@ -488,7 +528,7 @@
    Parameters:
    Source:
    @@ -553,7 +593,7 @@
    Parameters:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:36 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:29 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Filter.html b/docs/Phaser.Filter.html new file mode 100644 index 0000000000..f5ba4e84da --- /dev/null +++ b/docs/Phaser.Filter.html @@ -0,0 +1,1925 @@ + + + + + + Phaser Class: Filter + + + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Class: Filter

    +
    + +
    +

    + Phaser. + + Filter +

    + +

    Phaser - Filter

    + +
    + +
    +
    + + + + +
    +

    new Filter(game, uniforms, fragmentSrc)

    + + +
    +
    + + +
    +

    This is a base Filter template to use for any Phaser filter development.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    game + + +Phaser.Game + + + +

    A reference to the currently running game.

    uniforms + + +Object + + + +

    Uniform mappings object

    fragmentSrc + + +Array + + + +

    The fragment shader code.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + +
    + + + + + + + + + + + + +

    Members

    + +
    + +
    +

    dirty

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    dirty + + +boolean + + + +

    Internal PIXI var.

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • true
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    fragmentSrc

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    fragmentSrc + + +array + + + +

    The fragment shader code.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    game

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    game + + +Phaser.Game + + + +

    A reference to the currently running game.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    height

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    height + + +number + + + +

    The height (resolution uniform)

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    padding

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    padding + + +number + + + +

    Internal PIXI var.

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • 0
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    type

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    type + + +number + + + +

    The const type of this object, either Phaser.WEBGL_FILTER or Phaser.CANVAS_FILTER.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    uniforms

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    uniforms + + +object + + + +

    Default uniform mappings.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    width

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    width + + +number + + + +

    The width (resolution uniform)

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + +
    + + + +

    Methods

    + +
    + +
    +

    destroy()

    + + +
    +
    + + +
    +

    Clear down this Filter and null out references

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    init()

    + + +
    +
    + + +
    +

    Should be over-ridden.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    setResolution(width, height)

    + + +
    +
    + + +
    +

    Set the resolution uniforms on the filter.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    width + + +number + + + +

    The width of the display.

    height + + +number + + + +

    The height of the display.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    update(pointer)

    + + +
    +
    + + +
    +

    Updates the filter.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    pointer + + +Phaser.Pointer + + + + + + <optional>
    + + + + + +

    A Pointer object to use for the filter. The coordinates are mapped to the mouse uniform.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + +
    + + + + + +
    + +
    + + + + +
    + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:29 GMT-0000 (GMT) using the DocStrap template. + +
    +
    + + +
    +
    +
    + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/Phaser.Frame.html b/docs/Phaser.Frame.html index 4c63fb1e41..743e23ef4f 100644 --- a/docs/Phaser.Frame.html +++ b/docs/Phaser.Frame.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -2914,7 +2954,7 @@
    Parameters:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:36 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:29 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.FrameData.html b/docs/Phaser.FrameData.html index 8146f260be..6a39c33aa9 100644 --- a/docs/Phaser.FrameData.html +++ b/docs/Phaser.FrameData.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -1861,7 +1901,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:36 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:29 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Game.html b/docs/Phaser.Game.html index 897b6586bc..906478ddd2 100644 --- a/docs/Phaser.Game.html +++ b/docs/Phaser.Game.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -558,7 +598,7 @@
    Parameters:
    -

    Which renderer to use (canvas or webgl)

    +

    Which renderer to use: Phaser.AUTO will auto-detect, Phaser.WEBGL, Phaser.CANVAS or Phaser.HEADLESS (no rendering at all).

    @@ -2296,7 +2336,7 @@
    Properties:
    -Phaser.GameMath +Phaser.Math @@ -2757,7 +2797,7 @@
    Properties:
    Source:
    @@ -4244,7 +4284,7 @@

    destroySource:
    @@ -4313,7 +4353,7 @@

    <protected> <
    Source:
    @@ -4382,7 +4422,7 @@

    <protected>
    Source:
    @@ -4569,7 +4609,7 @@
    Parameters:
    Source:
    @@ -4620,7 +4660,7 @@
    Parameters:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:36 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:29 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.GameObjectFactory.html b/docs/Phaser.GameObjectFactory.html index e4e143a77a..f0dbb6f06b 100644 --- a/docs/Phaser.GameObjectFactory.html +++ b/docs/Phaser.GameObjectFactory.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -742,7 +782,7 @@

    Methods

    -

    audio(key, volume, loop) → {Phaser.Sound}

    +

    audio(key, volume, loop, connect) → {Phaser.Sound}

    @@ -772,8 +812,12 @@
    Parameters:
    Type + Argument + + Default + Description @@ -797,7 +841,19 @@
    Parameters:
    + + + + + + + + + + + +

    The Game.cache key of the sound that this object will use.

    @@ -820,7 +876,23 @@
    Parameters:
    + + + <optional>
    + + + + + + + + + + + 1 + +

    The volume at which the sound will be played.

    @@ -843,13 +915,68 @@
    Parameters:
    + + + <optional>
    + + + + + + + + + + + false + +

    Whether or not the sound will loop.

    + + + + connect + + + + + +boolean + + + + + + + + + <optional>
    + + + + + + + + + + + + true + + + + +

    Controls if the created Sound object will connect to the master gainNode of the SoundManager when running under WebAudio.

    + + + @@ -924,6 +1051,206 @@
    Returns:
    +

    + + + +
    +

    bitmapData(width, height) → {Phaser.BitmapData}

    + + +
    +
    + + +
    +

    A BitmapData object which can be manipulated and drawn to like a traditional Canvas object and used to texture Sprites.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDefaultDescription
    width + + +number + + + + + + <optional>
    + + + + + +
    + + 256 + +

    The width of the BitmapData in pixels.

    height + + +number + + + + + + <optional>
    + + + + + +
    + + 256 + +

    The height of the BitmapData in pixels.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The newly created BitmapData object.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.BitmapData + + +
    +
    + + + + +
    @@ -1090,7 +1417,7 @@
    Parameters:
    Source:
    @@ -1483,7 +1810,7 @@
    Parameters:
    Source:
    @@ -2009,7 +2336,7 @@
    Parameters:
    Source:
    @@ -2196,6 +2523,170 @@
    Returns:
    + + + + +
    +

    filter(filter) → {Phaser.Filter}

    + + +
    +
    + + +
    +

    A WebGL shader/filter that can be applied to Sprites.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    filter + + +string + + + +

    The name of the filter you wish to create, for example HueRotate or SineWave.

    + + +any + + + +

    Whatever parameters are needed to be passed to the filter init function.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The newly created Phaser.Filter object.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Filter + + +
    +
    + + + + +
    @@ -2314,7 +2805,7 @@
    Parameters:
    Source:
    @@ -2697,7 +3188,7 @@
    Parameters:
    Source:
    @@ -3162,7 +3653,7 @@
    Parameters:
    Source:
    @@ -3213,7 +3704,7 @@
    Returns:
    -

    tilemap(key) → {Phaser.Tilemap}

    +

    tilemap(key) → {Phaser.Tilemap}

    @@ -3303,7 +3794,7 @@
    Parameters:
    Source:
    @@ -3339,7 +3830,7 @@
    Returns:
    -Phaser.Tilemap +Phaser.Tilemap
    @@ -3354,7 +3845,7 @@
    Returns:
    -

    tilemapLayer(x, y, width, height) → {Phaser.TilemapLayer}

    +

    tilemapLayer(x, y, width, height) → {Phaser.TilemapLayer}

    @@ -3513,7 +4004,7 @@
    Parameters:
    Source:
    @@ -3549,7 +4040,7 @@
    Returns:
    -Phaser.TilemapLayer +Phaser.TilemapLayer
    @@ -3564,7 +4055,7 @@
    Returns:
    -

    tileset(key) → {Phaser.Tileset}

    +

    tileset(key) → {Phaser.Tileset}

    @@ -3654,7 +4145,7 @@
    Parameters:
    Source:
    @@ -3690,7 +4181,7 @@
    Returns:
    -Phaser.Tileset +Phaser.Tileset
    @@ -3919,7 +4410,7 @@
    Parameters:
    Source:
    @@ -4134,7 +4625,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:36 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:29 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Graphics.html b/docs/Phaser.Graphics.html index 953c4c500b..8d98e7fc9f 100644 --- a/docs/Phaser.Graphics.html +++ b/docs/Phaser.Graphics.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -406,7 +446,7 @@

    new Graphics<
    -

    Creates a new <code>Graphics</code> object.

    +

    Creates a new Graphics object.

    @@ -623,7 +663,7 @@

    Properties:
    -Description +number @@ -633,7 +673,7 @@
    Properties:
    -

    Description.

    +

    The Phaser Object Type.

    @@ -705,7 +745,7 @@
    Properties:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:37 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:29 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Group.html b/docs/Phaser.Group.html index cef437cbb2..4d4e8b21e8 100644 --- a/docs/Phaser.Group.html +++ b/docs/Phaser.Group.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -1045,7 +1085,7 @@
    Properties:
    Source:
    @@ -1152,7 +1192,7 @@
    Properties:
    Source:
    @@ -1568,7 +1608,7 @@
    Properties:
    Source:
    @@ -1777,7 +1817,7 @@
    Properties:
    Source:
    @@ -1981,7 +2021,7 @@
    Properties:
    Source:
    @@ -2185,7 +2225,7 @@
    Properties:
    Source:
    @@ -2292,7 +2332,7 @@
    Properties:
    Source:
    @@ -2399,7 +2439,7 @@
    Properties:
    Source:
    @@ -2735,7 +2775,7 @@
    Parameters:
    Source:
    @@ -3018,7 +3058,7 @@
    Parameters:
    Source:
    @@ -3252,7 +3292,7 @@
    Parameters:
    Source:
    @@ -3445,7 +3485,7 @@
    Parameters:
    Source:
    @@ -3609,7 +3649,7 @@
    Parameters:
    Source:
    @@ -3678,7 +3718,7 @@

    countDeadSource:
    @@ -3770,7 +3810,7 @@

    countLivin
    Source:
    @@ -4077,7 +4117,7 @@

    Parameters:
    Source:
    @@ -4350,7 +4390,7 @@
    Parameters:
    Source:
    @@ -4419,7 +4459,7 @@

    destroySource:
    @@ -4607,7 +4647,7 @@
    Parameters:
    Source:
    @@ -4745,7 +4785,7 @@
    Parameters:
    Source:
    @@ -4911,7 +4951,7 @@
    Parameters:
    Source:
    @@ -5054,7 +5094,7 @@
    Parameters:
    Source:
    @@ -5197,7 +5237,7 @@
    Parameters:
    Source:
    @@ -5340,7 +5380,7 @@
    Parameters:
    Source:
    @@ -5517,7 +5557,7 @@

    getFirst
    -

    Call this function to retrieve the first object with alive == true in the group. +

    Call this function to retrieve the first object with alive === true in the group. This is handy for checking if everything has been wiped out, or choosing a squad leader, etc.

    @@ -5551,7 +5591,7 @@

    getFirst
    Source:
    @@ -5610,7 +5650,7 @@

    getFirstD
    -

    Call this function to retrieve the first object with alive == false in the group. +

    Call this function to retrieve the first object with alive === false in the group. This is handy for checking if everything has been wiped out, or choosing a squad leader, etc.

    @@ -5644,7 +5684,7 @@

    getFirstD
    Source:
    @@ -5785,7 +5825,7 @@

    Parameters:
    Source:
    @@ -5926,7 +5966,7 @@
    Parameters:
    Source:
    @@ -6090,7 +6130,7 @@
    Parameters:
    Source:
    @@ -6395,7 +6435,7 @@
    Parameters:
    Source:
    @@ -6583,7 +6623,7 @@
    Parameters:
    Source:
    @@ -6652,7 +6692,7 @@

    nextSource:
    @@ -6721,7 +6761,7 @@

    previousSource:
    @@ -6749,7 +6789,7 @@

    previous -

    remove(child)

    +

    remove(child) → {boolean}

    @@ -6839,7 +6879,7 @@
    Parameters:
    Source:
    @@ -6860,6 +6900,29 @@
    Parameters:
    +
    Returns:
    + + +
    +

    true if the child was removed from this Group, otherwise false.

    +
    + + + +
    +
    + Type +
    +
    + +boolean + + +
    +
    + + + @@ -6909,7 +6972,7 @@

    removeAllSource:
    @@ -7050,7 +7113,7 @@
    Parameters:
    Source:
    @@ -7191,7 +7254,7 @@
    Parameters:
    Source:
    @@ -7478,7 +7541,7 @@
    Parameters:
    Source:
    @@ -7721,7 +7784,7 @@
    Parameters:
    Source:
    @@ -7899,7 +7962,7 @@
    Parameters:
    Source:
    @@ -8087,7 +8150,7 @@
    Parameters:
    Source:
    @@ -8229,7 +8292,7 @@
    Parameters:
    Source:
    @@ -8303,7 +8366,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:37 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:30 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Input.html b/docs/Phaser.Input.html index a132e7f612..524d8463dc 100644 --- a/docs/Phaser.Input.html +++ b/docs/Phaser.Input.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -387,8 +427,7 @@

    Input

    -

    A game specific Input manager that looks after the mouse, keyboard and touch objects. -This is updated by the core game loop.

    +

    Phaser.Input

    @@ -407,7 +446,8 @@

    new Input -

    Constructor for Phaser Input.

    +

    Phaser.Input is the Input Manager for all types of Input across Phaser, including mouse, keyboard, touch and MSPointer. +The Input manager is updated automatically by the core game loop.

    @@ -805,7 +845,7 @@
    Properties:
    Source:
    @@ -908,14 +948,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -1024,7 +1061,7 @@
    Properties:
    Source:
    @@ -1134,7 +1171,7 @@
    Properties:
    Source:
    @@ -1243,7 +1280,7 @@
    Properties:
    Source:
    @@ -1354,108 +1391,6 @@
    Properties:
    - - - - - - - - -
    -

    game

    - - -
    -
    - - - - - -
    - - -
    Properties:
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    game - - -Phaser.Game - - - -
    -
    - - - - - - - - - - - - - - - - - - - - -
    Source:
    -
    - - - - - - -
    @@ -1510,7 +1445,7 @@
    Properties:
    -Description +HTMLCanvasElement @@ -1520,7 +1455,7 @@
    Properties:
    -

    Description.

    +

    The canvas to which single pixels are drawn in order to perform pixel-perfect hit detection.

    @@ -1615,7 +1550,7 @@
    Properties:
    -Description +CanvasRenderingContext2D @@ -1625,7 +1560,7 @@
    Properties:
    -

    Description.

    +

    The context of the pixel perfect hit canvas.

    @@ -1766,7 +1701,7 @@
    Properties:
    Source:
    @@ -1872,7 +1807,7 @@
    Properties:
    Source:
    @@ -1981,7 +1916,7 @@
    Properties:
    Source:
    @@ -2090,7 +2025,7 @@
    Properties:
    Source:
    @@ -2199,7 +2134,7 @@
    Properties:
    Source:
    @@ -2309,7 +2244,7 @@
    Properties:
    Source:
    @@ -2418,7 +2353,7 @@
    Properties:
    Source:
    @@ -2527,7 +2462,7 @@
    Properties:
    Source:
    @@ -2636,7 +2571,7 @@
    Properties:
    Source:
    @@ -2742,7 +2677,7 @@
    Properties:
    Source:
    @@ -2851,7 +2786,7 @@
    Properties:
    Source:
    @@ -2960,7 +2895,7 @@
    Properties:
    Source:
    @@ -3069,7 +3004,7 @@
    Properties:
    Source:
    @@ -3178,7 +3113,7 @@
    Properties:
    Source:
    @@ -3284,7 +3219,7 @@
    Properties:
    Source:
    @@ -3390,7 +3325,7 @@
    Properties:
    Source:
    @@ -3496,7 +3431,7 @@
    Properties:
    Source:
    @@ -3602,7 +3537,7 @@
    Properties:
    Source:
    @@ -3708,7 +3643,7 @@
    Properties:
    Source:
    @@ -3814,7 +3749,7 @@
    Properties:
    Source:
    @@ -3920,7 +3855,7 @@
    Properties:
    Source:
    @@ -4026,7 +3961,7 @@
    Properties:
    Source:
    @@ -4132,7 +4067,7 @@
    Properties:
    Source:
    @@ -4238,7 +4173,7 @@
    Properties:
    Source:
    @@ -4340,7 +4275,7 @@
    Properties:
    Source:
    @@ -4450,7 +4385,7 @@
    Properties:
    Source:
    @@ -4474,10 +4409,6 @@

    position
    -
    -

    A vector object representing the current position of the Pointer.

    -
    - @@ -4527,7 +4458,7 @@
    Properties:
    - +

    A point object representing the current position of the Pointer.

    @@ -4559,7 +4490,7 @@
    Properties:
    Source:
    @@ -4669,7 +4600,7 @@
    Properties:
    Source:
    @@ -4780,7 +4711,7 @@
    Properties:
    Source:
    @@ -4889,7 +4820,7 @@
    Properties:
    Source:
    @@ -4992,14 +4923,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -5024,8 +4952,7 @@

    speed
    -

    A vector object representing the speed of the Pointer. Only really useful in single Pointer games, -otherwise see the Pointer objects directly.

    +

    A point object representing the speed of the Pointer. Only really useful in single Pointer games, otherwise see the Pointer objects directly.

    @@ -5102,14 +5029,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -5218,7 +5142,7 @@
    Properties:
    Source:
    @@ -5324,7 +5248,7 @@
    Properties:
    Source:
    @@ -5430,7 +5354,7 @@
    Properties:
    Source:
    @@ -5539,7 +5463,7 @@
    Properties:
    Source:
    @@ -5645,7 +5569,7 @@
    Properties:
    Source:
    @@ -5751,7 +5675,7 @@
    Properties:
    Source:
    @@ -5857,7 +5781,7 @@
    Properties:
    Source:
    @@ -5963,7 +5887,7 @@
    Properties:
    Source:
    @@ -6029,7 +5953,7 @@

    addPointer<
    Source:
    @@ -6121,7 +6045,7 @@

    <protected> bo
    Source:
    @@ -6190,7 +6114,7 @@

    destroySource:
    @@ -6308,7 +6232,7 @@
    Parameters:
    Source:
    @@ -6449,7 +6373,7 @@
    Parameters:
    Source:
    @@ -6590,7 +6514,7 @@
    Parameters:
    Source:
    @@ -6731,7 +6655,7 @@
    Parameters:
    Source:
    @@ -6849,7 +6773,7 @@
    Parameters:
    Source:
    @@ -6990,7 +6914,7 @@
    Parameters:
    Source:
    @@ -7082,7 +7006,7 @@

    <protected>
    Source:
    @@ -7200,7 +7124,7 @@

    Parameters:
    Source:
    @@ -7274,7 +7198,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:37 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:30 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.InputHandler.html b/docs/Phaser.InputHandler.html index 2627c7d742..07ac1b8bbc 100644 --- a/docs/Phaser.InputHandler.html +++ b/docs/Phaser.InputHandler.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -370,606 +410,55 @@
    - -
    - -
    - - - -

    Class: InputHandler

    -
    - -
    -

    - Phaser. - - InputHandler -

    - -

    Description.

    - -
    - -
    -
    - - - - -
    -

    new InputHandler(game)

    - - -
    -
    - - -
    -

    Constructor for Phaser InputHandler.

    -
    - - - - - - - -
    Parameters:
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    game - - -Phaser.Sprite - - - -

    Description.

    - - - - -
    - - - - - - - - - - - - - - - - - - - -
    Source:
    -
    - - - - - - - -
    - - - - - - - - - - - - - -
    - - -
    - - - - - - - - - - - - -

    Members

    - -
    - -
    -

    allowHorizontalDrag

    - - -
    -
    - - - - - -
    - - -
    Properties:
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    allowHorizontalDrag - - -boolean - - - -

    Description.

    -
    - - - - - - - - - - - - - - - - - - -
    Default Value:
    -
    • true
    - - - -
    Source:
    -
    - - - - - - - -
    - - - -
    - - - -
    -

    allowVerticalDrag

    - - -
    -
    - - - - - -
    - - -
    Properties:
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    allowVerticalDrag - - -boolean - - - -

    Description.

    -
    - - - - - - - - - - - - - - - - - - -
    Default Value:
    -
    • true
    - - - -
    Source:
    -
    - - - - - - - -
    - - - -
    - - - -
    -

    boundsRect

    - - -
    -
    - - - - - -
    - - -
    Properties:
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    boundsRect - - -Description - - - -

    A region of the game world within which the sprite is restricted during drag.

    -
    - - - - - - - - - - - - - - - - - - -
    Default Value:
    -
    • null
    - - - -
    Source:
    -
    - - - - - - - -
    - - - -
    - - - -
    -

    boundsSprite

    - - -
    -
    - - - - - -
    - - -
    Properties:
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    boundsSprite - - -Description - - - -

    A Sprite the bounds of which this sprite is restricted during drag.

    -
    - - - - - - - - - - - - - - + +
    + +
    + - - -
    Default Value:
    -
    • null
    - +

    Class: InputHandler

    +
    +
    +

    + Phaser. -
    Source:
    -
    - - + InputHandler +

    - +

    Phaser.InputHandler

    +
    +
    +
    -
    - -
    - -
    -

    bringToTop

    +

    new InputHandler(sprite)

    +
    +

    The Input Handler is bound to a specific Sprite and is responsible for managing all Input events on that Sprite.

    +
    -
    + + + +
    Parameters:
    + -
    Properties:
    - -
    - - +
    @@ -991,13 +480,13 @@
    Properties:
    - + +
    bringToTopsprite -boolean +Phaser.Sprite @@ -1007,16 +496,17 @@
    Properties:
    -

    Description.

    The Sprite object to which this Input Handler belongs.

    -
    - + + +
    @@ -1032,14 +522,13 @@
    Properties:
    -
    Default Value:
    -
    • false
    +
    Source:
    @@ -1052,22 +541,43 @@
    Properties:
    + + + + + + + + + +
    - + +
    + + + + + + + + + + + + +

    Members

    + +
    -

    consumePointerEvent

    +

    allowHorizontalDrag

    -
    -

    If this object is set to consume the pointer event then it will stop all propogation from this object on. -For example if you had a stack of 6 sprites with the same priority IDs and one consumed the event, none of the others would receive it.

    -
    - @@ -1101,7 +611,7 @@
    Properties:
    - consumePointerEvent + allowHorizontalDrag @@ -1117,7 +627,7 @@
    Properties:
    - +

    Controls if the Sprite is allowed to be dragged horizontally.

    @@ -1143,13 +653,13 @@
    Properties:
    Default Value:
    -
    • false
    +
    • true
    Source:
    @@ -1167,7 +677,7 @@
    Properties:
    -

    draggable

    +

    allowVerticalDrag

    @@ -1206,7 +716,7 @@
    Properties:
    - draggable + allowVerticalDrag @@ -1222,7 +732,7 @@
    Properties:
    -

    Is this sprite allowed to be dragged by the mouse? true = yes, false = no

    +

    Controls if the Sprite is allowed to be dragged vertically.

    @@ -1248,13 +758,13 @@
    Properties:
    Default Value:
    -
    • false
    +
    • true
    Source:
    @@ -1272,7 +782,7 @@
    Properties:
    -

    enabled

    +

    boundsRect

    @@ -1311,13 +821,13 @@
    Properties:
    - enabled + boundsRect -boolean +Phaser.Rectangle @@ -1327,7 +837,7 @@
    Properties:
    -

    Description.

    +

    A region of the game world within which the sprite is restricted during drag.

    @@ -1353,13 +863,13 @@
    Properties:
    Default Value:
    -
    • false
    +
    • null
    Source:
    @@ -1377,7 +887,7 @@
    Properties:
    -

    first

    +

    boundsSprite

    @@ -1416,13 +926,13 @@
    Properties:
    - first + boundsSprite -Description +Phaser.Sprite @@ -1432,7 +942,7 @@
    Properties:
    -

    Description.

    +

    A Sprite the bounds of which this sprite is restricted during drag.

    @@ -1457,11 +967,14 @@
    Properties:
    +
    Default Value:
    +
    • null
    +
    Source:
    @@ -1479,7 +992,7 @@
    Properties:
    -

    game

    +

    bringToTop

    @@ -1518,13 +1031,13 @@
    Properties:
    - game + bringToTop -Phaser.Game +boolean @@ -1534,7 +1047,7 @@
    Properties:
    -

    A reference to the currently running game.

    +

    If true when this Sprite is clicked or dragged it will automatically be bought to the top of the Group it is within.

    @@ -1559,11 +1072,14 @@
    Properties:
    +
    Default Value:
    +
    • false
    +
    Source:
    @@ -1581,12 +1097,17 @@
    Properties:
    -

    isDragged

    +

    consumePointerEvent

    +
    +

    If this object is set to consume the pointer event then it will stop all propogation from this object on. +For example if you had a stack of 6 sprites with the same priority IDs and one consumed the event, none of the others would receive it.

    +
    + @@ -1620,7 +1141,7 @@
    Properties:
    - isDragged + consumePointerEvent @@ -1636,7 +1157,7 @@
    Properties:
    -

    Description.

    + @@ -1668,7 +1189,7 @@
    Properties:
    Source:
    @@ -1686,7 +1207,7 @@
    Properties:
    -

    last

    +

    draggable

    @@ -1725,13 +1246,13 @@
    Properties:
    - last + draggable -Description +boolean @@ -1741,7 +1262,7 @@
    Properties:
    -

    Description.

    +

    Is this sprite allowed to be dragged by the mouse? true = yes, false = no

    @@ -1766,11 +1287,14 @@
    Properties:
    +
    Default Value:
    +
    • false
    +
    Source:
    @@ -1788,7 +1312,7 @@
    Properties:
    -

    next

    +

    enabled

    @@ -1827,13 +1351,13 @@
    Properties:
    - next + enabled -Description +boolean @@ -1843,7 +1367,7 @@
    Properties:
    -

    Description.

    +

    If enabled the Input Handler will process input requests and monitor pointer activity.

    @@ -1869,13 +1393,13 @@
    Properties:
    Default Value:
    -
    • null
    +
    • false
    Source:
    @@ -1893,7 +1417,7 @@
    Properties:
    -

    parent

    +

    game

    @@ -1932,13 +1456,13 @@
    Properties:
    - parent + game -Description +Phaser.Game @@ -1948,7 +1472,7 @@
    Properties:
    -

    Description.

    +

    A reference to the currently running game.

    @@ -1973,14 +1497,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -1998,7 +1519,7 @@
    Properties:
    -

    pixelPerfect

    +

    isDragged

    @@ -2037,13 +1558,13 @@
    Properties:
    - pixelPerfect + isDragged -number +boolean @@ -2053,7 +1574,7 @@
    Properties:
    -

    Should we use pixel perfect hit detection? Warning: expensive. Only enable if you really need it!

    +

    true if the Sprite is being currently dragged.

    @@ -2085,7 +1606,7 @@
    Properties:
    Source:
    @@ -2103,7 +1624,7 @@
    Properties:
    -

    pixelPerfectAlpha

    +

    pixelPerfect

    @@ -2142,7 +1663,7 @@
    Properties:
    - pixelPerfectAlpha + pixelPerfect @@ -2158,7 +1679,7 @@
    Properties:
    -

    The alpha tolerance threshold. If the alpha value of the pixel matches or is above this value, it's considered a hit.

    +

    Should we use pixel perfect hit detection? Warning: expensive. Only enable if you really need it!

    @@ -2184,13 +1705,13 @@
    Properties:
    Default Value:
    -
    • 255
    +
    • false
    Source:
    @@ -2208,7 +1729,7 @@
    Properties:
    -

    prev

    +

    pixelPerfectAlpha

    @@ -2247,13 +1768,13 @@
    Properties:
    - prev + pixelPerfectAlpha -Description +number @@ -2263,7 +1784,7 @@
    Properties:
    -

    Description.

    +

    The alpha tolerance threshold. If the alpha value of the pixel matches or is above this value, it's considered a hit.

    @@ -2289,13 +1810,13 @@
    Properties:
    Default Value:
    -
    • null
    +
    • 255
    Source:
    @@ -2400,7 +1921,7 @@
    Properties:
    Source:
    @@ -2463,7 +1984,7 @@
    Properties:
    -Description +Phaser.Point @@ -2473,7 +1994,7 @@
    Properties:
    -

    Description.

    +

    A Point object that contains by how far the Sprite snap is offset.

    @@ -2505,7 +2026,7 @@
    Properties:
    Source:
    @@ -2578,7 +2099,7 @@
    Properties:
    -

    Description.

    +

    When the Sprite is dragged this controls if the center of the Sprite will snap to the pointer on drag or not.

    @@ -2610,7 +2131,7 @@
    Properties:
    Source:
    @@ -2683,7 +2204,7 @@
    Properties:
    -

    Description.

    +

    When the Sprite is dragged this controls if the Sprite will be snapped on release.

    @@ -2715,7 +2236,7 @@
    Properties:
    Source:
    @@ -2788,7 +2309,7 @@
    Properties:
    -

    Description.

    +

    When a Sprite has snapping enabled this holds the width of the snap grid.

    @@ -2820,7 +2341,7 @@
    Properties:
    Source:
    @@ -2893,7 +2414,7 @@
    Properties:
    -

    Description.

    +

    When a Sprite has snapping enabled this holds the height of the snap grid.

    @@ -2925,7 +2446,7 @@
    Properties:
    Source:
    @@ -2998,7 +2519,7 @@
    Properties:
    -

    Description.

    +

    The Sprite object to which this Input Handler belongs.

    @@ -3027,7 +2548,7 @@
    Properties:
    Source:
    @@ -3100,7 +2621,7 @@
    Properties:
    -

    Description.

    +

    On a desktop browser you can set the 'hand' cursor to appear when moving over the Sprite.

    @@ -3132,7 +2653,7 @@
    Properties:
    Source:
    @@ -3197,7 +2718,7 @@

    checkB
    Source:
    @@ -3266,7 +2787,7 @@

    chec
    Source:
    @@ -3507,7 +3028,7 @@

    Parameters:
    -Pointer +Phaser.Pointer @@ -3706,7 +3227,7 @@

    disableDra
    Source:
    @@ -3775,7 +3296,7 @@

    disableSna
    Source:
    @@ -3851,7 +3372,7 @@

    Parameters:
    -Pointer +Phaser.Pointer @@ -3944,7 +3465,7 @@
    Returns:
    -

    enableDrag(lockCenter, bringToTop, pixelPerfect, alphaThreshold, boundsRect, boundsSprite)

    +

    enableDrag(lockCenter, bringToTop, pixelPerfect, alphaThreshold, boundsRect, boundsSprite)

    @@ -3974,8 +3495,12 @@
    Parameters:
    Type + Argument + + Default + Description @@ -3991,11 +3516,32 @@
    Parameters:
    + +boolean + + + + + + <optional>
    + + + + + + + + + + false + + +

    If false the Sprite will drag from where you click it minus the dragOffset. If true it will center itself to the tip of the mouse pointer.

    @@ -4009,11 +3555,32 @@
    Parameters:
    + +boolean + + + + + + <optional>
    + + + + + + + + + + false + + +

    If true the Sprite will be bought to the top of the rendering list in its current Group.

    @@ -4027,11 +3594,32 @@
    Parameters:
    + +boolean + + + + + + <optional>
    + + + + + + + + + + false + + +

    If true it will use a pixel perfect test to see if you clicked the Sprite. False uses the bounding box.

    @@ -4043,15 +3631,36 @@
    Parameters:
    alphaThreshold - + + + +boolean + + + + + + + + + <optional>
    + + + + + + - - + + + 255 + + -

    If using pixel perfect collision this specifies the alpha level from 0 to 255 above which a collision is processed (default 255)

    +

    If using pixel perfect collision this specifies the alpha level from 0 to 255 above which a collision is processed.

    @@ -4063,13 +3672,34 @@
    Parameters:
    + +Phaser.Rectangle + + + + + + <optional>
    + + + + + + + + + + null + + + -

    If you want to restrict the drag of this sprite to a specific FlxRect, pass the FlxRect here, otherwise it's free to drag anywhere

    +

    If you want to restrict the drag of this sprite to a specific Rectangle, pass the Phaser.Rectangle here, otherwise it's free to drag anywhere.

    @@ -4081,13 +3711,34 @@
    Parameters:
    + +Phaser.Sprite + + + + + + <optional>
    + + + + + + + + + + null + + + -

    If you want to restrict the drag of this sprite to within the bounding box of another sprite, pass it here

    +

    If you want to restrict the drag of this sprite to within the bounding box of another sprite, pass it here.

    @@ -4147,7 +3798,7 @@
    Parameters:
    -

    enableSnap(snapX, snapY, onDrag, onRelease)

    +

    enableSnap(snapX, snapY, onDrag, onRelease)

    @@ -4178,8 +3829,12 @@
    Parameters:
    Type + Argument + + Default + Description @@ -4195,13 +3850,30 @@
    Parameters:
    + +number + + + + + + + + + + + + + + + -

    The width of the grid cell in pixels

    +

    The width of the grid cell to snap to.

    @@ -4213,13 +3885,30 @@
    Parameters:
    + +number + + + + + + + + + + + + + + + -

    The height of the grid cell in pixels

    +

    The height of the grid cell to snap to.

    @@ -4231,13 +3920,34 @@
    Parameters:
    + +boolean + + + + + + <optional>
    + + + + + + + + + + true + + + -

    If true the sprite will snap to the grid while being dragged

    +

    If true the sprite will snap to the grid while being dragged.

    @@ -4249,13 +3959,34 @@
    Parameters:
    + +boolean + + + + + + <optional>
    + + + + + + + + + + false + + + -

    If true the sprite will snap to the grid when released

    +

    If true the sprite will snap to the grid when released.

    @@ -4287,7 +4018,7 @@
    Parameters:
    Source:
    @@ -4363,7 +4094,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -4523,7 +4254,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -4683,7 +4414,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -4843,7 +4574,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -5003,7 +4734,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -5144,7 +4875,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -5587,7 +5318,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -5724,7 +5455,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -5861,7 +5592,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -5998,7 +5729,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -6135,7 +5866,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -6272,7 +6003,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -6410,7 +6141,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -6552,7 +6283,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -6653,7 +6384,7 @@

    reset -

    Description.

    +

    Resets the Input Handler and disables it.

    @@ -6714,7 +6445,7 @@

    reset -

    setDragLock(allowHorizontal, allowVertical)

    +

    setDragLock(allowHorizontal, allowVertical)

    @@ -6744,8 +6475,12 @@
    Parameters:
    Type + Argument + + Default + Description @@ -6761,13 +6496,34 @@
    Parameters:
    + +boolean + + + + + + <optional>
    + + + + + + + + + + true + + + -

    To enable the sprite to be dragged horizontally set to true, otherwise false

    +

    To enable the sprite to be dragged horizontally set to true, otherwise false.

    @@ -6779,13 +6535,34 @@
    Parameters:
    + +boolean + + + + + + <optional>
    + + + + + + + + + + true + + + -

    To enable the sprite to be dragged vertically set to true, otherwise false

    +

    To enable the sprite to be dragged vertically set to true, otherwise false.

    @@ -6817,7 +6594,7 @@
    Parameters:
    Source:
    @@ -6853,7 +6630,7 @@

    start -

    Description.

    +

    Starts the Input Handler running. This is called automatically when you enable input on a Sprite, or can be called directly if you need to set a specific priority.

    @@ -6903,7 +6680,7 @@
    Parameters:
    -

    Description.

    +

    Higher priority sprites take click priority over low-priority sprites when they are stacked on-top of each other.

    @@ -6926,7 +6703,7 @@
    Parameters:
    -

    Description.

    +

    If true the Sprite will show the hand cursor on mouse-over (doesn't apply to mobile browsers)

    @@ -6958,7 +6735,7 @@
    Parameters:
    Source:
    @@ -6983,7 +6760,7 @@
    Returns:
    -

    Description.

    +

    The Sprite object to which the Input Handler is bound.

    @@ -7009,7 +6786,7 @@
    Returns:
    -

    startDrag()

    +

    startDrag(pointer)

    @@ -7026,6 +6803,55 @@

    startDragParameters:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    pointer + + +Phaser.Pointer + + + +
    + +
    @@ -7050,7 +6876,7 @@

    startDragSource:
    @@ -7086,7 +6912,7 @@

    stop -

    Description.

    +

    Stops the Input Handler from running.

    @@ -7147,7 +6973,7 @@

    stopstopDrag()

    +

    stopDrag(pointer)

    @@ -7164,6 +6990,55 @@

    stopDragParameters:

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    pointer + + +Phaser.Pointer + + + +
    + +
    @@ -7264,7 +7139,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -7382,7 +7257,7 @@
    Parameters:
    -Pointer +Phaser.Pointer @@ -7494,7 +7369,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:37 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:30 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Key.html b/docs/Phaser.Key.html index f11cdd489c..0c7e96ca3a 100644 --- a/docs/Phaser.Key.html +++ b/docs/Phaser.Key.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -2496,7 +2536,7 @@
    Parameters:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:37 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:30 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Keyboard.html b/docs/Phaser.Keyboard.html index 900b3eb220..3d97273cde 100644 --- a/docs/Phaser.Keyboard.html +++ b/docs/Phaser.Keyboard.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -387,7 +427,7 @@

    Keyboard

    -

    A Keyboard object Description.

    +

    Phaser.Keyboard

    @@ -406,7 +446,7 @@

    new Keyboard<
    -

    Phaser - Keyboard constructor.

    +

    The Keyboard class handles looking after keyboard input for your game. It will recognise and respond to key presses and dispatch the required events.

    @@ -488,7 +528,7 @@

    Parameters:
    Source:
    @@ -616,7 +656,7 @@
    Properties:
    Source:
    @@ -725,7 +765,7 @@
    Properties:
    Source:
    @@ -827,7 +867,7 @@
    Properties:
    Source:
    @@ -929,7 +969,7 @@
    Properties:
    Source:
    @@ -1031,7 +1071,7 @@
    Properties:
    Source:
    @@ -1235,7 +1275,7 @@
    Parameters:
    Source:
    @@ -1354,7 +1394,7 @@
    Parameters:
    Source:
    @@ -1498,7 +1538,7 @@
    Parameters:
    Source:
    @@ -1567,7 +1607,7 @@

    clearCap
    Source:
    @@ -1636,7 +1676,7 @@

    creat
    Source:
    @@ -1777,7 +1817,7 @@

    Parameters:
    Source:
    @@ -1973,7 +2013,7 @@
    Parameters:
    Source:
    @@ -2169,7 +2209,7 @@
    Parameters:
    Source:
    @@ -2310,7 +2350,7 @@
    Parameters:
    Source:
    @@ -2428,7 +2468,7 @@
    Parameters:
    Source:
    @@ -2546,7 +2586,7 @@
    Parameters:
    Source:
    @@ -2664,7 +2704,7 @@
    Parameters:
    Source:
    @@ -2733,7 +2773,7 @@

    resetSource:
    @@ -2803,7 +2843,7 @@

    startSource:
    @@ -2872,7 +2912,7 @@

    stopSource:
    @@ -2923,7 +2963,7 @@

    stop Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:37 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:30 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.LinkedList.html b/docs/Phaser.LinkedList.html index ea3e575e5e..20f03dc386 100644 --- a/docs/Phaser.LinkedList.html +++ b/docs/Phaser.LinkedList.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -1415,7 +1455,7 @@

    Parameters:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:37 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:30 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Loader.html b/docs/Phaser.Loader.html index 43c90d7ea9..77f5cf8365 100644 --- a/docs/Phaser.Loader.html +++ b/docs/Phaser.Loader.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -577,7 +617,7 @@
    Type:
    Source:
    @@ -637,7 +677,7 @@
    Type:
    Source:
    @@ -697,7 +737,7 @@
    Type:
    Source:
    @@ -805,7 +845,7 @@
    Properties:
    Source:
    @@ -907,7 +947,7 @@
    Properties:
    Source:
    @@ -1114,7 +1154,7 @@
    Properties:
    Source:
    @@ -1219,7 +1259,7 @@
    Properties:
    Source:
    @@ -1321,7 +1361,7 @@
    Properties:
    Source:
    @@ -1423,7 +1463,7 @@
    Properties:
    Source:
    @@ -1525,7 +1565,7 @@
    Properties:
    Source:
    @@ -1627,7 +1667,7 @@
    Properties:
    Source:
    @@ -1737,7 +1777,7 @@
    Properties:
    Source:
    @@ -1842,108 +1882,7 @@
    Properties:
    Source:
    - - - - - - - -

    - - - - - - - -
    -

    queueSize

    - - -
    -
    - - - - - -
    - - -
    Properties:
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    TypeDescription
    - - -number - - - -

    Length of assets queue.

    -
    - - - - - - - - - - - - - - - - - - -
    Default Value:
    -
    • 0
    - - - -
    Source:
    -
    @@ -2015,7 +1954,7 @@
    Parameters:
    -Description +string @@ -2025,7 +1964,7 @@
    Parameters:
    -

    Description.

    +

    The type of resource to add to the list (image, audio, xml, etc).

    @@ -2048,7 +1987,7 @@
    Parameters:
    -

    Description.

    +

    The unique Cache ID key of this resource.

    @@ -2071,7 +2010,7 @@
    Parameters:
    -

    URL of Description.

    +

    The URL the asset will be loaded from.

    @@ -2084,7 +2023,7 @@
    Parameters:
    -Description +object @@ -2094,7 +2033,7 @@
    Parameters:
    -

    Description.

    +

    Any additional properties needed to load the file.

    @@ -2126,7 +2065,7 @@
    Parameters:
    Source:
    @@ -2154,7 +2093,7 @@
    Parameters:
    -

    atlas(key, textureURL, atlasURL, atlasData, format)

    +

    atlas(key, textureURL, atlasURL, atlasData, format) → {Phaser.Loader}

    @@ -2384,7 +2323,7 @@
    Parameters:
    Source:
    @@ -2405,6 +2344,29 @@
    Parameters:
    +
    Returns:
    + + +
    +

    This Loader instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Loader + + +
    +
    + + +
    @@ -2412,7 +2374,7 @@
    Parameters:
    -

    atlasJSONArray(key, atlasURL, atlasData)

    +

    atlasJSONArray(key, textureURL, atlasURL, atlasData) → {Phaser.Loader}

    @@ -2442,6 +2404,8 @@
    Parameters:
    Type + Argument + @@ -2467,10 +2431,49 @@
    Parameters:
    + + + + + + + + -

    Unique asset key of the bitmap font.

    +

    Unique asset key of the texture atlas file.

    + + + + + + + textureURL + + + + + +string + + + + + + + + + + + + + + + + + +

    The url of the texture atlas image file.

    @@ -2483,17 +2486,27 @@
    Parameters:
    -Description +string + + + <optional>
    + + + + + + + -

    The url of the Description.

    +

    The url of the texture atlas data file (json/xml). You don't need this if you are passing an atlasData object instead.

    @@ -2506,17 +2519,27 @@
    Parameters:
    -Description +object + + + <optional>
    + + + + + + + -

    Description.

    +

    A JSON or XML data object. You don't need this if the data is being loaded from a URL.

    @@ -2548,7 +2571,7 @@
    Parameters:
    Source:
    @@ -2569,6 +2592,29 @@
    Parameters:
    +
    Returns:
    + + +
    +

    This Loader instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Loader + + +
    +
    + + + @@ -2576,7 +2622,7 @@
    Parameters:
    -

    atlasJSONHash(key, atlasURL, atlasData)

    +

    atlasJSONHash(key, textureURL, atlasURL, atlasData) → {Phaser.Loader}

    @@ -2606,6 +2652,8 @@
    Parameters:
    Type + Argument + @@ -2631,10 +2679,49 @@
    Parameters:
    - + + + + + + + -

    Unique asset key of the bitmap font.

    + + +

    Unique asset key of the texture atlas file.

    + + + + + + + textureURL + + + + + +string + + + + + + + + + + + + + + + + + +

    The url of the texture atlas image file.

    @@ -2647,17 +2734,27 @@
    Parameters:
    -Description +string + + + <optional>
    + + + + + + + -

    The url of the Description.

    +

    The url of the texture atlas data file (json/xml). You don't need this if you are passing an atlasData object instead.

    @@ -2670,17 +2767,27 @@
    Parameters:
    -Description +object + + + <optional>
    + + + + + + + -

    Description.

    +

    A JSON or XML data object. You don't need this if the data is being loaded from a URL.

    @@ -2712,7 +2819,7 @@
    Parameters:
    Source:
    @@ -2733,6 +2840,29 @@
    Parameters:
    +
    Returns:
    + + +
    +

    This Loader instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Loader + + +
    +
    + + + @@ -2740,7 +2870,7 @@
    Parameters:
    -

    atlasXML(key, atlasURL, atlasData)

    +

    atlasXML(key, textureURL, atlasURL, atlasData) → {Phaser.Loader}

    @@ -2770,6 +2900,8 @@
    Parameters:
    Type + Argument + @@ -2795,10 +2927,49 @@
    Parameters:
    + + + + + + + + -

    Unique asset key of the bitmap font.

    +

    Unique asset key of the texture atlas file.

    + + + + + + + textureURL + + + + + +string + + + + + + + + + + + + + + + + + +

    The url of the texture atlas image file.

    @@ -2811,17 +2982,27 @@
    Parameters:
    -Description +string + + + <optional>
    + + + + + + + -

    The url of the Description.

    +

    The url of the texture atlas data file (json/xml). You don't need this if you are passing an atlasData object instead.

    @@ -2834,17 +3015,27 @@
    Parameters:
    -Description +object + + + <optional>
    + + + + + + + -

    Description.

    +

    A JSON or XML data object. You don't need this if the data is being loaded from a URL.

    @@ -2876,7 +3067,7 @@
    Parameters:
    Source:
    @@ -2897,6 +3088,29 @@
    Parameters:
    +
    Returns:
    + + +
    +

    This Loader instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Loader + + +
    +
    + + + @@ -2904,7 +3118,7 @@
    Parameters:
    -

    audio(key, urls, autoDecode)

    +

    audio(key, urls, autoDecode) → {Phaser.Loader}

    @@ -2976,6 +3190,9 @@
    Parameters:
    Array +| + +string @@ -2985,7 +3202,7 @@
    Parameters:
    -

    An array containing the URLs of the audio files, i.e.: [ 'jump.mp3', 'jump.ogg', 'jump.m4a' ].

    +

    An array containing the URLs of the audio files, i.e.: [ 'jump.mp3', 'jump.ogg', 'jump.m4a' ] or a single string containing just one URL.

    @@ -3040,7 +3257,7 @@
    Parameters:
    Source:
    @@ -3061,6 +3278,29 @@
    Parameters:
    +
    Returns:
    + + +
    +

    This Loader instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Loader + + +
    +
    + + + @@ -3068,7 +3308,7 @@
    Parameters:
    -

    bitmapFont(key, textureURL, xmlURL, xmlData)

    +

    bitmapFont(key, textureURL, xmlURL, xmlData) → {Phaser.Loader}

    @@ -3265,7 +3505,7 @@
    Parameters:
    Source:
    @@ -3286,6 +3526,29 @@
    Parameters:
    +
    Returns:
    + + +
    +

    This Loader instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Loader + + +
    +
    + + + @@ -3293,7 +3556,7 @@
    Parameters:
    -

    checkKeyExists(key) → {boolean}

    +

    checkKeyExists(type, key) → {boolean}

    @@ -3333,6 +3596,29 @@
    Parameters:
    + + + type + + + + + +string + + + + + + + + + +

    The type asset you want to check.

    + + + + key @@ -3383,7 +3669,7 @@
    Parameters:
    Source:
    @@ -3434,7 +3720,7 @@
    Returns:
    -

    csvLoadComplete(key)

    +

    csvLoadComplete(index)

    @@ -3476,13 +3762,13 @@
    Parameters:
    - key + index -string +number @@ -3492,7 +3778,7 @@
    Parameters:
    -

    Key of the loaded CSV file.

    +

    The index of the file in the file queue that loaded.

    @@ -3524,7 +3810,7 @@
    Parameters:
    Source:
    @@ -3552,7 +3838,7 @@
    Parameters:
    -

    dataLoadError(key)

    +

    dataLoadError(index)

    @@ -3594,13 +3880,13 @@
    Parameters:
    - key + index -string +number @@ -3610,7 +3896,7 @@
    Parameters:
    -

    Key of the error loading JSON file.

    +

    The index of the file in the file queue that errored.

    @@ -3642,7 +3928,7 @@
    Parameters:
    Source:
    @@ -3670,7 +3956,7 @@
    Parameters:
    -

    fileComplete(key)

    +

    fileComplete(index)

    @@ -3712,13 +3998,13 @@
    Parameters:
    - key + index -string +number @@ -3728,7 +4014,7 @@
    Parameters:
    -

    Key of the successfully loaded file.

    +

    The index of the file in the file queue that loaded.

    @@ -3760,7 +4046,7 @@
    Parameters:
    Source:
    @@ -3788,7 +4074,7 @@
    Parameters:
    -

    fileError(key)

    +

    fileError(index)

    @@ -3796,7 +4082,7 @@

    fileError -

    Error occured when load a file.

    +

    Error occured when loading a file.

    @@ -3830,13 +4116,13 @@
    Parameters:
    - key + index -string +number @@ -3846,7 +4132,7 @@
    Parameters:
    -

    Key of the error loading file.

    +

    The index of the file in the file queue that errored.

    @@ -3878,7 +4164,7 @@
    Parameters:
    Source:
    @@ -3906,7 +4192,7 @@
    Parameters:
    -

    image(key, url, overwrite)

    +

    getAsset(type, key) → {any}

    @@ -3914,7 +4200,7 @@

    image -

    Add an image to the Loader.

    +

    Gets the asset that is queued for load.

    @@ -3948,7 +4234,7 @@
    Parameters:
    - key + type @@ -3964,14 +4250,14 @@
    Parameters:
    -

    Unique asset key of this image file.

    +

    The type asset you want to check.

    - url + key @@ -3987,30 +4273,7 @@
    Parameters:
    -

    URL of image file.

    - - - - - - - overwrite - - - - - -boolean - - - - - - - - - -

    If an entry with a matching key already exists this will over-write it

    +

    Key of the asset you want to check.

    @@ -4042,7 +4305,7 @@
    Parameters:
    Source:
    @@ -4063,6 +4326,29 @@
    Parameters:
    +
    Returns:
    + + +
    +

    Returns an object if found that has 2 properties: index and file. Otherwise false.

    +
    + + + +
    +
    + Type +
    +
    + +any + + +
    +
    + + + @@ -4070,7 +4356,7 @@
    Parameters:
    -

    jsonLoadComplete(key)

    +

    image(key, url, overwrite) → {Phaser.Loader}

    @@ -4078,7 +4364,7 @@

    jsonL
    -

    Successfully loaded a JSON file.

    +

    Add an image to the Loader.

    @@ -4100,8 +4386,12 @@

    Parameters:
    Type + Argument + + Default + Description @@ -4125,85 +4415,102 @@
    Parameters:
    + + + + + + + + + + + + -

    Key of the loaded JSON file.

    +

    Unique asset key of this image file.

    - - - - - -
    - + + + url + - + + + +string - - + + - + + + - + - + + + - + + + + + - +

    URL of image file.

    + - -
    Source:
    -
    - + - + + + overwrite + - + + + +boolean - -
    - - + + - + + + + <optional>
    + - - - - - - - - + - + + -
    -

    removeAll()

    - - -
    -
    - - -
    -

    Remove all file loading requests.

    -
    - - - - - + + + + false + + + + +

    If an unloaded file with a matching key already exists in the queue, this entry will overwrite it.

    + + + + + + @@ -4229,7 +4536,7 @@

    removeAllSource:
    @@ -4250,6 +4557,29 @@

    removeAllReturns:

    + + +
    +

    This Loader instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Loader + + +
    +
    + + +

    @@ -4257,7 +4587,7 @@

    removeAll -

    removeFile(key)

    +

    jsonLoadComplete(index)

    @@ -4265,7 +4595,7 @@

    removeFile<
    -

    Remove loading request of a file.

    +

    Successfully loaded a JSON file.

    @@ -4299,13 +4629,13 @@

    Parameters:
    - key + index -string +number @@ -4315,7 +4645,7 @@
    Parameters:
    -

    Key of the file you want to remove.

    +

    The index of the file in the file queue that loaded.

    @@ -4347,7 +4677,7 @@
    Parameters:
    Source:
    @@ -4375,7 +4705,7 @@
    Parameters:
    -

    reset()

    +

    removeAll()

    @@ -4383,7 +4713,7 @@

    reset -

    Reset loader, this will remove all loaded assets.

    +

    Remove all file loading requests.

    @@ -4416,7 +4746,7 @@

    resetSource:
    @@ -4444,7 +4774,7 @@

    reset -

    setPreloadSprite(sprite, direction)

    +

    removeFile(type, key)

    @@ -4452,9 +4782,7 @@

    setPr
    -

    You can set a Sprite to be a "preload" sprite by passing it to this method. -A "preload" sprite will have its width or height crop adjusted based on the percentage of the loader in real-time. -This allows you to easily make loading bars for games.

    +

    Remove loading request of a file.

    @@ -4476,12 +4804,8 @@

    Parameters:
    Type - Argument - - Default - Description @@ -4492,72 +4816,639 @@
    Parameters:
    - sprite + type -Phaser.Sprite +string - - - - - - - - - - - - -

    The sprite that will be cropped during the load.

    +

    The type of resource to add to the list (image, audio, xml, etc).

    - direction + key -number +string - - - <optional>
    - - - - - - - - - 0 - - - +

    Key of the file you want to remove.

    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + + + + + +
    +

    <protected> replaceInFileList(type, key, url, properties)

    + + +
    +
    + + +
    +

    Internal function that replaces an existing entry in the file list with a new one. Do not call directly.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    type + + +string + + + +

    The type of resource to add to the list (image, audio, xml, etc).

    key + + +string + + + +

    The unique Cache ID key of this resource.

    url + + +string + + + +

    The URL the asset will be loaded from.

    properties + + +object + + + +

    Any additional properties needed to load the file.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    reset()

    + + +
    +
    + + +
    +

    Reset loader, this will remove the load queue.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    script(key, url) → {Phaser.Loader}

    + + +
    +
    + + +
    +

    Add a JavaScript file to the Loader. Once loaded the JavaScript file will be automatically turned into a script tag (and executed), so be careful what you load!

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    key + + +string + + + +

    Unique asset key of the script file.

    url + + +string + + + +

    URL of the JavaScript file.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    This Loader instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Loader + + +
    +
    + + + + + +
    + + + +
    +

    setPreloadSprite(sprite, direction)

    + + +
    +
    + + +
    +

    You can set a Sprite to be a "preload" sprite by passing it to this method. +A "preload" sprite will have its width or height crop adjusted based on the percentage of the loader in real-time. +This allows you to easily make loading bars for games.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -4591,7 +5482,7 @@
    Parameters:
    Source:
    @@ -4619,7 +5510,7 @@
    Parameters:
    -

    spritesheet(key, url, frameWidth, frameHeight, frameMax)

    +

    spritesheet(key, url, frameWidth, frameHeight, frameMax) → {Phaser.Loader}

    @@ -4869,7 +5760,7 @@
    Parameters:
    Source:
    @@ -4890,6 +5781,29 @@
    Parameters:
    +
    Returns:
    + + +
    +

    This Loader instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Loader + + +
    +
    + + + @@ -4938,7 +5852,7 @@

    startSource:
    @@ -4966,7 +5880,7 @@

    start -

    text(key, url, overwrite)

    +

    text(key, url, overwrite) → {Phaser.Loader}

    @@ -4996,8 +5910,12 @@
    Parameters:

    + + + + @@ -5021,8 +5939,20 @@
    Parameters:
    + + + + @@ -5044,8 +5974,20 @@
    Parameters:
    + + + + @@ -5067,10 +6009,26 @@
    Parameters:
    + + + + - + @@ -5102,7 +6060,7 @@
    Parameters:
    Source:
    @@ -5123,6 +6081,29 @@
    Parameters:
    +
    Returns:
    + + +
    +

    This Loader instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Loader + + +
    +
    + + + @@ -5130,7 +6111,7 @@
    Parameters:
    -

    tilemap(key, tilesetURL, mapDataURL, mapData, format)

    +

    tilemap(key, mapDataURL, mapData, format) → {Phaser.Loader}

    @@ -5159,53 +6140,24 @@
    Parameters:
    - - - - - - - - - - - - - - - - - - - - - - - + + + - + + + - - + + + + - + + - + @@ -5261,6 +6217,10 @@
    Parameters:
    + + @@ -5294,8 +6254,12 @@
    Parameters:
    + + - + @@ -5327,8 +6291,14 @@
    Parameters:
    + + - + @@ -5360,7 +6330,7 @@
    Parameters:
    Source:
    @@ -5381,6 +6351,29 @@
    Parameters:
    +
    Returns:
    + + +
    +

    This Loader instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Loader + + +
    +
    + + + @@ -5388,7 +6381,7 @@
    Parameters:
    -

    tileset(key, url, tileWidth, tileHeight, tileMax, tileMargin, tileSpacing)

    +

    tileset(key, url, tileWidth, tileHeight, tileMax, tileMargin, tileSpacing) → {Phaser.Loader}

    @@ -5716,7 +6709,191 @@
    Parameters:
    Source:
    + + + + + + + + + + + + + + + + + + + +
    Returns:
    + + +
    +

    This Loader instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Loader + + +
    +
    + + + + + + + + + +
    +

    totalLoadedFiles() → {number}

    + + +
    +
    + + +
    +

    Returns the number of files that have already been loaded, even if they errored.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The number of files that have already been loaded (even if they errored)

    +
    + + + +
    +
    + Type +
    +
    + +number + + +
    +
    + + + + + +
    + + + +
    +

    totalQueuedFiles() → {number}

    + + +
    +
    + + +
    +

    Returns the number of files still waiting to be processed in the load queue. This value decreases as each file is in the queue is loaded.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    @@ -5737,6 +6914,29 @@
    Parameters:
    +
    Returns:
    + + +
    +

    The number of files that still remain in the load queue.

    +
    + + + +
    +
    + Type +
    +
    + +number + + +
    +
    + + +
    @@ -5744,7 +6944,7 @@
    Parameters:
    -

    xmlLoadComplete(key)

    +

    xmlLoadComplete(index)

    @@ -5786,13 +6986,13 @@
    Parameters:
    - + + @@ -5834,7 +7034,7 @@
    Parameters:
    Source:
    @@ -5885,7 +7085,7 @@
    Parameters:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:37 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:30 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.LoaderParser.html b/docs/Phaser.LoaderParser.html index 96eaeadbee..01765371d7 100644 --- a/docs/Phaser.LoaderParser.html +++ b/docs/Phaser.LoaderParser.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -647,7 +687,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:38 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:31 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.MSPointer.html b/docs/Phaser.MSPointer.html index 63e0df798e..b3a18ed01c 100644 --- a/docs/Phaser.MSPointer.html +++ b/docs/Phaser.MSPointer.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -579,7 +619,7 @@
    Properties:
    + @@ -724,7 +764,7 @@
    Properties:
    Source:
    @@ -797,7 +837,7 @@
    Properties:
    - + @@ -835,321 +875,6 @@
    Properties:
    - - - - - - - - -
    -

    mouseDownCallback

    - - -
    -
    - - - - - -
    - - -
    Properties:
    - -
    - -
    NameTypeArgumentDefaultDescription
    sprite + + +Phaser.Sprite + + + + + + + + + + + +

    The sprite that will be cropped during the load.

    direction + + +number + + + + + + <optional>
    + + + + + +
    + + 0 + +

    A value of zero means the sprite width will be cropped, a value of 1 means its height will be cropped.

    TypeArgumentDefaultDescription
    + + + + + + + +

    Unique asset key of the text file.

    + + + + + + + +

    URL of the text file.

    + + <optional>
    + + + + + +
    + + false + +

    True if Description.

    If an unloaded file with a matching key already exists in the queue, this entry will overwrite it.

    TypeArgumentDescription
    key - - -string - - - - - - - - - - ArgumentDefault

    Unique asset key of the tilemap data.

    Description
    tilesetURLkey @@ -5228,8 +6180,12 @@
    Parameters:
    +
    + +

    The url of the tile set image file.

    Unique asset key of the tilemap data.

    + +

    The url of the map data file (csv/json)

    + +

    An optional JSON data object (can be given in place of a URL).

    An optional JSON data object. If given then the mapDataURL is ignored and this JSON object is used for map data instead.

    + + Phaser.Tilemap.CSV + +

    The format of the map data.

    The format of the map data. Either Phaser.Tilemap.CSV or Phaser.Tilemap.TILED_JSON.

    keyindex -string +number @@ -5802,7 +7002,7 @@
    Parameters:
    -

    Key of the loaded XML file.

    The index of the file in the file queue that loaded.

    -Phaser.Game +Object @@ -589,7 +629,7 @@
    Properties:
    -

    Description.

    The context under which callbacks are called (defaults to game).

    Local reference to game.

    A reference to the currently running game.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    mouseDownCallback - - -Description - - - -

    Description.

    -

    - - - - - - - - - - - - - - - - - - -
    Default Value:
    -
    • null
    - - - -
    Source:
    -
    - - - - - - - - - - - - - - - -
    -

    mouseMoveCallback

    - - -
    -
    - - - - - -
    - - -
    Properties:
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    mouseMoveCallback - - -Description - - - -

    Description.

    -
    - - - - - - - - - - - - - - - - - - -
    Default Value:
    -
    • null
    - - - -
    Source:
    -
    - - - - - - - -
    - - - -
    - - - -
    -

    mouseUpCallback

    - - -
    -
    - - - - - -
    - - -
    Properties:
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    mouseUpCallback - - -Description - - - -

    Description.

    -
    - - - - - - - - - - - - - - - - - - -
    Default Value:
    -
    • null
    - - - -
    Source:
    -
    - - - - - - -
    @@ -1173,7 +898,7 @@

    onPointe
    -

    Description.

    +

    The function that handles the PointerDown event.

    @@ -1213,7 +938,7 @@

    Parameters:
    -Any +PointerEvent @@ -1255,7 +980,7 @@
    Parameters:
    Source:
    @@ -1291,7 +1016,7 @@

    onPointe
    -

    Description.

    +

    The function that handles the PointerMove event.

    @@ -1331,7 +1056,7 @@

    Parameters:
    -Any +PointerEvent @@ -1373,7 +1098,7 @@
    Parameters:
    Source:
    @@ -1409,7 +1134,7 @@

    onPointerU
    -

    Description.

    +

    The function that handles the PointerUp event.

    @@ -1449,7 +1174,7 @@

    Parameters:
    -Any +PointerEvent @@ -1491,7 +1216,7 @@
    Parameters:
    Source:
    @@ -1560,7 +1285,7 @@

    startSource:
    @@ -1629,7 +1354,7 @@

    stopSource:
    @@ -1680,7 +1405,7 @@

    stop Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:38 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:31 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Math.html b/docs/Phaser.Math.html index 97ffb3c24d..155a841eaf 100644 --- a/docs/Phaser.Math.html +++ b/docs/Phaser.Math.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -825,7 +865,7 @@

    Parameters:
    Source:
    @@ -1077,7 +1117,7 @@
    Parameters:
    Source:
    @@ -1237,7 +1277,7 @@
    Parameters:
    Source:
    @@ -1466,7 +1506,7 @@
    Parameters:
    Source:
    @@ -1626,7 +1666,7 @@
    Parameters:
    Source:
    @@ -1763,7 +1803,7 @@
    Parameters:
    Source:
    @@ -2275,7 +2315,7 @@
    Parameters:
    Source:
    @@ -2435,7 +2475,7 @@
    Parameters:
    Source:
    @@ -2523,7 +2563,7 @@

    degToRadSource:
    @@ -2679,7 +2719,7 @@
    Parameters:
    Source:
    @@ -2885,7 +2925,7 @@
    Parameters:
    Source:
    @@ -3095,7 +3135,7 @@
    Parameters:
    Source:
    @@ -3236,7 +3276,7 @@
    Parameters:
    Source:
    @@ -4484,7 +4524,7 @@
    Parameters:
    Source:
    @@ -5365,7 +5405,7 @@
    Parameters:
    Source:
    @@ -5525,7 +5565,7 @@
    Parameters:
    Source:
    @@ -5777,7 +5817,7 @@
    Parameters:
    Source:
    @@ -6998,7 +7038,7 @@

    radToDegSource:
    @@ -7149,7 +7189,7 @@

    roundTo'place' is represented by the power applied to 'base' to get that place e.g. 2000/7 ~= 285.714285714285714285714 ~= (bin)100011101.1011011011011011

    -

    roundTo(2000/7,3) == 0 +

    roundTo(2000/7,3) === 0 roundTo(2000/7,2) == 300 roundTo(2000/7,1) == 290 roundTo(2000/7,0) == 286 @@ -7571,7 +7611,7 @@

    Parameters:
    Source:
    @@ -7712,7 +7752,7 @@
    Parameters:
    Source:
    @@ -7854,7 +7894,7 @@
    Parameters:
    Source:
    @@ -8064,7 +8104,7 @@
    Parameters:
    Source:
    @@ -8251,7 +8291,7 @@
    Parameters:
    Source:
    @@ -8434,7 +8474,7 @@
    Parameters:
    Source:
    @@ -9569,7 +9609,7 @@
    Parameters:
    Source:
    @@ -10146,7 +10186,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:38 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:31 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Mouse.html b/docs/Phaser.Mouse.html index d676a68d89..f4b01f6c0a 100644 --- a/docs/Phaser.Mouse.html +++ b/docs/Phaser.Mouse.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -387,7 +427,7 @@

    Mouse

    -

    The Mouse class

    +

    Phaser.Mouse

    @@ -406,7 +446,7 @@

    new Mouse -

    Phaser - Mouse constructor.

    +

    Phaser.Mouse is responsible for handling all aspects of mouse interaction with the browser. It captures and processes mouse events.

    @@ -488,7 +528,7 @@
    Parameters:
    Source:
    @@ -574,7 +614,7 @@
    Type:
    Source:
    @@ -634,7 +674,7 @@
    Type:
    Source:
    @@ -694,7 +734,7 @@
    Type:
    Source:
    @@ -754,7 +794,7 @@
    Type:
    Source:
    @@ -856,7 +896,7 @@
    Properties:
    Source:
    @@ -929,7 +969,7 @@
    Properties:
    -

    Description.

    +

    The context under which callbacks are called.

    @@ -958,7 +998,7 @@
    Properties:
    Source:
    @@ -976,15 +1016,113 @@
    Properties:
    -

    disabled

    +

    capture

    -
    -

    You can disable all Input by setting disabled = true. While set all new input related events will be ignored.

    -
    + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    capture + + +boolean + + + +

    If true the DOM mouse events will have event.preventDefault applied to them, if false they will propogate fully.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    disabled

    + + +
    +
    @@ -1035,7 +1173,7 @@
    Properties:
    - +

    You can disable all Input by setting disabled = true. While set all new input related events will be ignored.

    @@ -1076,6 +1214,108 @@
    Properties:
    + + + + +
    + + + +
    +

    event

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    event + + +MouseEvent + + + +

    The browser mouse event.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + +
    @@ -1140,7 +1380,7 @@
    Properties:
    -

    Local reference to game.

    +

    A reference to the currently running game.

    @@ -1169,7 +1409,7 @@
    Properties:
    Source:
    @@ -1193,10 +1433,6 @@

    locked
    -
    -

    If the mouse has been Pointer Locked successfully this will be set to true.

    -
    - @@ -1246,7 +1482,7 @@
    Properties:
    - +

    If the mouse has been Pointer Locked successfully this will be set to true.

    @@ -1278,7 +1514,7 @@
    Properties:
    Source:
    @@ -1351,7 +1587,7 @@
    Properties:
    -

    Description.

    +

    A callback that can be fired when the mouse is pressed down.

    @@ -1376,14 +1612,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -1456,7 +1689,7 @@
    Properties:
    -

    Description.

    +

    A callback that can be fired when the mouse is moved while pressed down.

    @@ -1481,14 +1714,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -1561,7 +1791,7 @@
    Properties:
    -

    Description.

    +

    A callback that can be fired when the mouse is released from a pressed down state.

    @@ -1586,14 +1816,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -1617,10 +1844,6 @@

    pointerLoc
    -
    -

    This event is dispatched when the browser enters or leaves pointer lock state.

    -
    - @@ -1670,7 +1893,7 @@
    Properties:
    - +

    This event is dispatched when the browser enters or leaves pointer lock state.

    @@ -1699,7 +1922,7 @@
    Properties:
    Source:
    @@ -1781,7 +2004,7 @@

    Parameters:
    - +

    The native event from the browser. This gets stored in Mouse.event.

    @@ -1813,7 +2036,7 @@
    Parameters:
    Source:
    @@ -1899,7 +2122,7 @@
    Parameters:
    - +

    The native event from the browser. This gets stored in Mouse.event.

    @@ -1931,7 +2154,7 @@
    Parameters:
    Source:
    @@ -2017,7 +2240,7 @@
    Parameters:
    - +

    The native event from the browser. This gets stored in Mouse.event.

    @@ -2049,7 +2272,7 @@
    Parameters:
    Source:
    @@ -2125,7 +2348,7 @@
    Parameters:
    -MouseEvent +pointerlockchange @@ -2135,7 +2358,7 @@
    Parameters:
    - +

    The native event from the browser. This gets stored in Mouse.event.

    @@ -2167,7 +2390,7 @@
    Parameters:
    Source:
    @@ -2236,7 +2459,7 @@

    rel
    Source:
    @@ -2307,7 +2530,7 @@

    req
    Source:
    @@ -2376,7 +2599,7 @@

    startSource:
    @@ -2445,7 +2668,7 @@

    stopSource:
    @@ -2496,7 +2719,7 @@

    stop Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:38 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:31 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Net.html b/docs/Phaser.Net.html index 78553c1a81..2bda1c1960 100644 --- a/docs/Phaser.Net.html +++ b/docs/Phaser.Net.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -406,7 +446,7 @@

    new Net -

    Description of Phaser.Net

    +

    Phaser.Net handles browser URL related tasks such as checking host names, domain names and query string manipulation.

    @@ -651,6 +691,10 @@
    Parameters:
    Returns:
    +
    +

    true if the given domain fragment can be found in the window.location.hostname

    +
    +
    @@ -765,7 +809,7 @@
    Parameters:
    Source:
    @@ -1015,7 +1059,7 @@
    Parameters:
    Source:
    @@ -1305,7 +1349,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:38 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:31 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Particles.Arcade.Emitter.html b/docs/Phaser.Particles.Arcade.Emitter.html index 97066777db..315184430f 100644 --- a/docs/Phaser.Particles.Arcade.Emitter.html +++ b/docs/Phaser.Particles.Arcade.Emitter.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -871,7 +911,7 @@
    Properties:
    Source:
    @@ -1650,7 +1690,7 @@

    frequency
    -

    How often a particle is emitted in ms (if emitter is started with Explode == false).

    +

    How often a particle is emitted in ms (if emitter is started with Explode === false).

    @@ -2264,7 +2304,7 @@
    Properties:
    Source:
    @@ -3770,7 +3810,7 @@
    Properties:
    Source:
    @@ -4086,7 +4126,7 @@
    Properties:
    Source:
    @@ -5159,7 +5199,7 @@
    Parameters:
    Source:
    @@ -5570,7 +5610,7 @@
    Parameters:
    Source:
    @@ -5809,7 +5849,7 @@
    Parameters:
    Source:
    @@ -6007,7 +6047,7 @@
    Parameters:
    Source:
    @@ -6176,7 +6216,7 @@
    Parameters:
    Source:
    @@ -6250,7 +6290,7 @@

    countDeadSource:
    @@ -6347,7 +6387,7 @@

    countLivin
    Source:
    @@ -6659,7 +6699,7 @@

    Parameters:
    Source:
    @@ -6937,7 +6977,7 @@
    Parameters:
    Source:
    @@ -7011,7 +7051,7 @@

    destroySource:
    @@ -7204,7 +7244,7 @@
    Parameters:
    Source:
    @@ -7347,7 +7387,7 @@
    Parameters:
    Source:
    @@ -7587,7 +7627,7 @@
    Parameters:
    Source:
    @@ -7735,7 +7775,7 @@
    Parameters:
    Source:
    @@ -7883,7 +7923,7 @@
    Parameters:
    Source:
    @@ -8031,7 +8071,7 @@
    Parameters:
    Source:
    @@ -8213,7 +8253,7 @@

    getFirst
    -

    Call this function to retrieve the first object with alive == true in the group. +

    Call this function to retrieve the first object with alive === true in the group. This is handy for checking if everything has been wiped out, or choosing a squad leader, etc.

    @@ -8252,7 +8292,7 @@

    getFirst
    Source:
    @@ -8311,7 +8351,7 @@

    getFirstD
    -

    Call this function to retrieve the first object with alive == false in the group. +

    Call this function to retrieve the first object with alive === false in the group. This is handy for checking if everything has been wiped out, or choosing a squad leader, etc.

    @@ -8350,7 +8390,7 @@

    getFirstD
    Source:
    @@ -8496,7 +8536,7 @@

    Parameters:
    Source:
    @@ -8642,7 +8682,7 @@
    Parameters:
    Source:
    @@ -8811,7 +8851,7 @@
    Parameters:
    Source:
    @@ -9121,7 +9161,7 @@
    Parameters:
    Source:
    @@ -9604,7 +9644,7 @@
    Parameters:
    Source:
    @@ -9678,7 +9718,7 @@

    nextSource:
    @@ -9752,7 +9792,7 @@

    previousSource:
    @@ -9780,7 +9820,7 @@

    previous -

    remove(child)

    +

    remove(child) → {boolean}

    @@ -9875,7 +9915,7 @@
    Parameters:
    Source:
    @@ -9896,6 +9936,29 @@
    Parameters:
    +
    Returns:
    + + +
    +

    true if the child was removed from this Group, otherwise false.

    +
    + + + +
    +
    + Type +
    +
    + +boolean + + +
    +
    + + + @@ -9950,7 +10013,7 @@

    removeAllSource:
    @@ -10096,7 +10159,7 @@
    Parameters:
    Source:
    @@ -10242,7 +10305,7 @@
    Parameters:
    Source:
    @@ -10604,7 +10667,7 @@
    Parameters:
    Source:
    @@ -10852,7 +10915,7 @@
    Parameters:
    Source:
    @@ -11599,7 +11662,7 @@
    Parameters:
    Source:
    @@ -11979,7 +12042,7 @@
    Parameters:
    Source:
    @@ -12126,7 +12189,7 @@
    Parameters:
    Source:
    @@ -12269,7 +12332,7 @@

    update Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:38 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:31 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Particles.html b/docs/Phaser.Particles.html index 1afe0077cb..aeae5dca1e 100644 --- a/docs/Phaser.Particles.html +++ b/docs/Phaser.Particles.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -577,7 +617,109 @@

    Properties:
    -Description +object + + + + + + + + + +

    Internal emitters store.

    + + + + + +

    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + + + + + + + + + +
    +

    game

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -689,7 +831,7 @@
    Properties:
    - + @@ -721,7 +863,7 @@
    Properties:
    Source:
    @@ -803,7 +945,7 @@
    Parameters:
    - + @@ -835,7 +977,7 @@
    Parameters:
    Source:
    @@ -976,7 +1118,7 @@
    Parameters:
    Source:
    @@ -1045,7 +1187,7 @@

    <protected>
    Source:
    @@ -1096,7 +1238,7 @@

    <protected> Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:38 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:31 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.Arcade.Body.html b/docs/Phaser.Physics.Arcade.Body.html index 60d935a617..10e22248f2 100644 --- a/docs/Phaser.Physics.Arcade.Body.html +++ b/docs/Phaser.Physics.Arcade.Body.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -6104,7 +6144,7 @@

    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:39 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:32 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.Arcade.html b/docs/Phaser.Physics.Arcade.html index d5441c7181..3b00f55916 100644 --- a/docs/Phaser.Physics.Arcade.html +++ b/docs/Phaser.Physics.Arcade.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -1622,7 +1662,7 @@
    Parameters:
    Source:
    @@ -1936,7 +1976,7 @@
    Parameters:
    Source:
    @@ -2283,7 +2323,7 @@
    Parameters:
    Source:
    @@ -2520,7 +2560,7 @@
    Parameters:
    Source:
    @@ -2686,7 +2726,7 @@
    Parameters:
    Source:
    @@ -2870,7 +2910,7 @@
    Parameters:
    Source:
    @@ -3057,7 +3097,7 @@
    Parameters:
    Source:
    @@ -3177,7 +3217,7 @@

    <protecte
    -

    collide(object1, object2, collideCallback, processCallback, callbackContext) → {number}

    +

    collide(object1, object2, collideCallback, processCallback, callbackContext) → {boolean}

    @@ -3185,8 +3225,8 @@

    collide -

    Checks for collision between two game objects. The objects can be Sprites, Groups, Emitters or Tilemaps. -You can perform Sprite vs. Sprite, Sprite vs. Group, Group vs. Group, Sprite vs. Tilemap or Group vs. Tilemap collisions. +

    Checks for collision between two game objects. The objects can be Sprites, Groups, Emitters or Tilemap Layers. +You can perform Sprite vs. Sprite, Sprite vs. Group, Group vs. Group, Sprite vs. Tilemap Layer or Group vs. Tilemap Layer collisions. The objects are also automatically separated.

    @@ -3240,7 +3280,7 @@
    Parameters:
    Phaser.Particles.Emitter | -Phaser.Tilemap +Phaser.Tilemap @@ -3284,7 +3324,7 @@
    Parameters:
    Phaser.Particles.Emitter | -Phaser.Tilemap +Phaser.Tilemap @@ -3345,7 +3385,7 @@
    Parameters:
    -

    + @@ -3453,7 +3493,7 @@
    Parameters:
    Source:
    @@ -3478,7 +3518,7 @@
    Returns:
    -

    The number of collisions that were processed.

    +

    True if a collision occured otherwise false.

    @@ -3489,7 +3529,7 @@
    Returns:
    -number +boolean
    @@ -3873,7 +3913,7 @@
    Parameters:
    Source:
    @@ -4059,7 +4099,7 @@
    Parameters:
    Source:
    @@ -4248,7 +4288,7 @@
    Parameters:
    Source:
    @@ -4523,7 +4563,7 @@
    Parameters:
    Source:
    @@ -4799,7 +4839,7 @@
    Parameters:
    Source:
    @@ -5109,7 +5149,7 @@
    Parameters:
    Source:
    @@ -5160,7 +5200,7 @@
    Returns:
    -

    overlap(object1, object2) → {boolean}

    +

    overlap(object1, object2, overlapCallback, processCallback, callbackContext) → {boolean}

    @@ -5168,7 +5208,9 @@

    overlap -

    Checks if two Sprite objects overlap.

    +

    Checks for overlaps between two game objects. The objects can be Sprites, Groups or Emitters. +You can perform Sprite vs. Sprite, Sprite vs. Group and Group vs. Group overlap checks. +Unlike collide the objects are NOT automatically separated or have any physics applied, they merely test for overlap results.

    @@ -5190,8 +5232,12 @@
    Parameters:

    + + + + @@ -5209,16 +5255,34 @@
    Parameters:
    Phaser.Sprite +| + +Phaser.Group +| + +Phaser.Particles.Emitter + + + + - + @@ -5232,16 +5296,149 @@
    Parameters:
    Phaser.Sprite +| + +Phaser.Group +| + +Phaser.Particles.Emitter + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + @@ -5298,7 +5495,7 @@
    Returns:
    -

    true if the two objects overlap.

    +

    True if an overlap occured otherwise false.

    @@ -5782,7 +5979,7 @@
    Parameters:
    Source:
    @@ -5904,7 +6101,7 @@
    Parameters:
    + @@ -561,10 +601,6 @@

    active
    -
    -

    Description.

    -
    - @@ -598,7 +634,7 @@
    Properties:

    - + + @@ -646,7 +682,7 @@
    Properties:
    Source:
    @@ -671,117 +707,8 @@

    circle
    -

    A Circle object centered on the x/y screen coordinates of the Pointer. -Default size of 44px (Apple's recommended "finger tip" size).

    -
    - - - - - -
    - - -
    Properties:
    - -
    - -

    NameTypeDescription
    game + + +Phaser.Game @@ -587,7 +729,7 @@
    Properties:
    -

    Description.

    A reference to the currently running Game.

    Description.

    -

    Description.

    The emitter to be added to the particle manager.

    An optional callback function that is called if the objects overlap. The two objects will be passed to this function in the same order in which you passed them to Collision.overlap.

    An optional callback function that is called if the objects overlap. The two objects will be passed to this function in the same order in which you specified them.

    TypeArgumentDefaultDescription
    + + + + + + + +

    The first object to check. Can be an instance of Phaser.Sprite or anything that extends it.

    The first object to check. Can be an instance of Phaser.Sprite, Phaser.Group or Phaser.Particles.Emitter.

    + + + + + + + +

    The second object to check. Can be an instance of Phaser.Sprite, Phaser.Group or Phaser.Particles.Emitter.

    overlapCallback + + +function + + + + + + <optional>
    + + + + + +
    + + null + +

    An optional callback function that is called if the objects overlap. The two objects will be passed to this function in the same order in which you specified them.

    processCallback + + +function + + + + + + <optional>
    + + + + + +
    + + null + +

    A callback function that lets you perform additional checks against the two objects if they overlap. If this is set then overlapCallback will only be called if processCallback returns true.

    callbackContext + + +object + + <optional>
    + + + + +

    The second object to check. Can be an instance of Phaser.Sprite or anything that extends it.

    + +

    The context in which to run the callbacks.

    -Phaser.Tile +Phaser.Tile @@ -5946,7 +6143,7 @@
    Parameters:
    Source:
    @@ -6068,7 +6265,7 @@
    Parameters:
    -Phaser.Tile +Phaser.Tile @@ -6110,7 +6307,7 @@
    Parameters:
    Source:
    @@ -6232,7 +6429,7 @@
    Parameters:
    -Phaser.Tile +Phaser.Tile @@ -6274,7 +6471,7 @@
    Parameters:
    Source:
    @@ -6438,7 +6635,7 @@
    Parameters:
    Source:
    @@ -6602,7 +6799,7 @@
    Parameters:
    Source:
    @@ -7284,7 +7481,7 @@
    Parameters:
    Source:
    @@ -7523,7 +7720,7 @@
    Parameters:
    Source:
    @@ -7599,7 +7796,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:39 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:32 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Physics.html b/docs/Phaser.Physics.html index 344a63a6ef..d52ac8e5c7 100644 --- a/docs/Phaser.Physics.html +++ b/docs/Phaser.Physics.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -505,7 +545,7 @@

    Classes

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:39 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:31 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Plugin.html b/docs/Phaser.Plugin.html index db9fdc5894..eda6097c0b 100644 --- a/docs/Phaser.Plugin.html +++ b/docs/Phaser.Plugin.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -1872,7 +1912,7 @@

    update Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:39 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:32 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.PluginManager.html b/docs/Phaser.PluginManager.html index 43b491e6e4..70d82f0cdf 100644 --- a/docs/Phaser.PluginManager.html +++ b/docs/Phaser.PluginManager.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -406,7 +446,7 @@

    new Plug
    -

    Description.

    +

    The Plugin Manager is responsible for the loading, running and unloading of Phaser Plugins.

    @@ -511,7 +551,7 @@

    Parameters:
    Source:
    @@ -639,7 +679,7 @@
    Properties:
    Source:
    @@ -741,7 +781,7 @@
    Properties:
    Source:
    @@ -856,7 +896,7 @@
    Parameters:
    Source:
    @@ -948,7 +988,7 @@

    destroySource:
    @@ -1018,7 +1058,7 @@

    postRender<
    Source:
    @@ -1089,7 +1129,7 @@

    postUpdate<
    Source:
    @@ -1159,7 +1199,7 @@

    preUpdateSource:
    @@ -1277,7 +1317,76 @@
    Parameters:
    Source:
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    +

    removeAll()

    + + +
    +
    + + +
    +

    Removes all Plugins from the PluginManager.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    @@ -1347,7 +1456,7 @@

    renderSource:
    @@ -1417,7 +1526,7 @@

    updateSource:
    @@ -1468,7 +1577,7 @@

    update Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:39 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:32 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Point.html b/docs/Phaser.Point.html index dc2d59949b..eac2ec375c 100644 --- a/docs/Phaser.Point.html +++ b/docs/Phaser.Point.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -929,7 +969,7 @@

    Parameters:
    Source:
    @@ -1144,7 +1184,7 @@
    Parameters:
    Source:
    @@ -1359,7 +1399,7 @@
    Parameters:
    Source:
    @@ -1523,7 +1563,7 @@
    Parameters:
    Source:
    @@ -1738,7 +1778,7 @@
    Parameters:
    Source:
    @@ -1994,7 +2034,7 @@
    Parameters:
    Source:
    @@ -2209,7 +2249,7 @@
    Parameters:
    Source:
    @@ -3180,147 +3220,6 @@
    Parameters:
    -
    Returns:
    - - -
    -

    This Point object.

    -
    - - - -
    -
    - Type -
    -
    - -Point - - -
    -
    - - - - - -

    - - - -
    -

    copyFrom(source) → {Point}

    - - -
    -
    - - -
    -

    Copies the x and y properties from any given object to this Point.

    -
    - - - - - - - -
    Parameters:
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    source - - -any - - - -

    The object to copy from.

    - - - - -
    - - - - - - - - - - - - - - - - - - - -
    Source:
    -
    - - - - - - - -
    - - - - - - - - - - -
    Returns:
    @@ -3441,7 +3340,7 @@
    Parameters:
    Source:
    @@ -3625,7 +3524,7 @@
    Parameters:
    Source:
    @@ -3930,7 +3829,7 @@
    Parameters:
    Source:
    @@ -4022,7 +3921,7 @@

    getMagnit
    Source:
    @@ -4163,7 +4062,7 @@

    Parameters:
    Source:
    @@ -4347,7 +4246,7 @@

    isZeroSource:
    @@ -4603,7 +4502,7 @@

    normalizeSource:
    @@ -4880,7 +4779,7 @@
    Parameters:
    Source:
    @@ -5300,7 +5199,7 @@

    toStringSource:
    @@ -5374,7 +5273,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:39 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:32 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Pointer.html b/docs/Phaser.Pointer.html index 14e2b051c4..b83546a34c 100644 --- a/docs/Phaser.Pointer.html +++ b/docs/Phaser.Pointer.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -469,7 +509,7 @@
    Parameters:

    -Description +number @@ -479,7 +519,7 @@
    Parameters:
    -

    Description.

    The ID of the Pointer object within the game. Each game can have up to 10 active pointers.

    isDownactive @@ -614,7 +650,7 @@
    Properties:
    -

    Description.

    An active pointer is one that is currently pressed down on the display. A Mouse is always active.

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    circle - - -Circle - - - -
    -
    - - - - - - - - - - - - - - - - - - -
    Default Value:
    -
    • null
    - - - -
    Source:
    -
    - - - - - - - -
    - - - -
    - - - -
    -

    circle

    - - -
    -
    - -
    -

    Description

    +

    A Phaser.Circle that is centered on the x/y coordinates of this pointer, useful for hit detection. +The Circle size is 44px (Apples recommended "finger tip" size).

    @@ -862,7 +789,7 @@
    Properties:
    Source:
    @@ -886,10 +813,6 @@

    clientX
    -
    -

    The horizontal coordinate of point relative to the viewport in pixels, excluding any scroll offset.

    -
    - @@ -939,7 +862,7 @@
    Properties:
    - +

    The horizontal coordinate of point relative to the viewport in pixels, excluding any scroll offset.

    @@ -968,7 +891,7 @@
    Properties:
    Source:
    @@ -992,10 +915,6 @@

    clientY
    -
    -

    The vertical coordinate of point relative to the viewport in pixels, excluding any scroll offset.

    -
    - @@ -1045,7 +964,7 @@
    Properties:
    - +

    The vertical coordinate of point relative to the viewport in pixels, excluding any scroll offset.

    @@ -1074,7 +993,7 @@
    Properties:
    Source:
    @@ -1180,7 +1099,7 @@
    Properties:
    Source:
    @@ -1253,215 +1172,7 @@
    Properties:
    -

    Local reference to game.

    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Source:
    -
    - - - - - - - - - - - - - - - -
    -

    id

    - - -
    -
    - - - - - -
    - - -
    Properties:
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    id - - -Description - - - -

    Description.

    -
    - - - - - - - - - - - - - - - - - - - - -
    Source:
    -
    - - - - - - - -
    - - - -
    - - - -
    -

    isDown

    - - -
    -
    - -
    -

    If the Pointer is touching the touchscreen, or the mouse button is held down, isDown is set to true.

    -
    - - - - - -
    - - -
    Properties:
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -1486,14 +1197,11 @@
    Properties:
    -
    Default Value:
    -
    • false
    -
    Source:
    @@ -1511,28 +1219,14 @@
    Properties:
    -

    isMouse :boolean

    +

    id

    -
    -

    If the Pointer is a mouse this is true, otherwise false.

    -
    - -
    Type:
    -
      -
    • - -boolean - - -
    • -
    -
    @@ -1564,13 +1258,13 @@
    Properties:
    - + + @@ -1609,7 +1303,7 @@
    Properties:
    Source:
    @@ -1627,16 +1321,12 @@
    Properties:
    -

    isUp

    +

    isDown

    -
    -

    If the Pointer is not touching the touchscreen, or the mouse button is up, isUp is set to true.

    -
    - @@ -1670,7 +1360,7 @@
    Properties:
    - + + @@ -1712,13 +1402,13 @@
    Properties:
    Default Value:
    -
    • true
    +
    • false
    Source:
    @@ -1736,16 +1426,12 @@
    Properties:
    -

    msSinceLastClick

    +

    isMouse

    -
    -

    The number of miliseconds since the last click.

    -
    - @@ -1779,13 +1465,13 @@
    Properties:
    - + + @@ -1820,11 +1506,14 @@
    Properties:
    +
    Default Value:
    +
    • false
    +
    Source:
    @@ -1842,16 +1531,12 @@
    Properties:
    -

    pageX

    +

    isUp

    -
    -

    The horizontal coordinate of point relative to the viewport in pixels, including any scroll offset.

    -
    - @@ -1885,13 +1570,13 @@
    Properties:
    - + + @@ -1926,11 +1611,14 @@
    Properties:
    +
    Default Value:
    +
    • true
    +
    Source:
    @@ -1948,16 +1636,12 @@
    Properties:
    -

    pageY

    +

    msSinceLastClick

    -
    -

    The vertical coordinate of point relative to the viewport in pixels, including any scroll offset.

    -
    - @@ -1991,7 +1675,7 @@
    Properties:
    - + + @@ -2036,7 +1720,7 @@
    Properties:
    Source:
    @@ -2054,16 +1738,12 @@
    Properties:
    -

    position

    +

    pageX

    -
    -

    A Vector object containing the current position of the Pointer on the screen.

    -
    - @@ -2097,13 +1777,13 @@
    Properties:
    - + + @@ -2138,14 +1818,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -2163,16 +1840,12 @@
    Properties:
    -

    position

    +

    pageY

    -
    -

    Description

    -
    - @@ -2206,13 +1879,13 @@
    Properties:
    - + + @@ -2251,7 +1924,7 @@
    Properties:
    Source:
    @@ -2269,16 +1942,12 @@
    Properties:
    -

    positionDown

    +

    position

    -
    -

    A Vector object containing the initial position when the Pointer was engaged with the screen.

    -
    - @@ -2312,13 +1981,13 @@
    Properties:
    - + + @@ -2353,14 +2022,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -2384,10 +2050,6 @@

    positionD
    -
    -

    Description

    -
    - @@ -2437,7 +2099,7 @@
    Properties:
    -

    + @@ -2466,7 +2128,7 @@
    Properties:
    Source:
    @@ -2490,10 +2152,6 @@

    previo
    -
    -

    A timestamp representing when the Pointer was last tapped or clicked.

    -
    - @@ -2543,7 +2201,7 @@
    Properties:
    -

    + @@ -2575,7 +2233,7 @@
    Properties:
    Source:
    @@ -2599,10 +2257,6 @@

    screenX
    -
    -

    The horizontal coordinate of point relative to the screen in pixels.

    -
    - @@ -2652,7 +2306,7 @@
    Properties:
    -

    + @@ -2681,7 +2335,7 @@
    Properties:
    Source:
    @@ -2705,10 +2359,6 @@

    screenY
    -
    -

    The vertical coordinate of point relative to the screen in pixels.

    -
    - @@ -2758,7 +2408,7 @@
    Properties:
    -

    + @@ -2787,7 +2437,7 @@
    Properties:
    Source:
    @@ -2811,10 +2461,6 @@

    targetObj
    -
    -

    The Game Object this Pointer is currently over / touching / dragging.

    -
    - @@ -2854,7 +2500,7 @@
    Properties:

    + @@ -2896,7 +2542,7 @@
    Properties:
    Source:
    @@ -2920,10 +2566,6 @@

    timeDown
    -
    -

    A timestamp representing when the Pointer first touched the touchscreen.

    -
    - @@ -2973,7 +2615,7 @@
    Properties:
    -

    + @@ -3005,7 +2647,7 @@
    Properties:
    Source:
    @@ -3029,10 +2671,6 @@

    timeUp
    -
    -

    A timestamp representing when the Pointer left the touchscreen.

    -
    - @@ -3082,7 +2720,7 @@
    Properties:
    -

    + @@ -3114,7 +2752,7 @@
    Properties:
    Source:
    @@ -3138,10 +2776,6 @@

    totalTouc
    -
    -

    The total number of times this Pointer has been touched to the touchscreen.

    -
    - @@ -3191,7 +2825,7 @@
    Properties:
    -

    + @@ -3223,7 +2857,7 @@
    Properties:
    Source:
    @@ -3247,10 +2881,6 @@

    withinGame<
    -
    -

    Description.

    -
    - @@ -3300,7 +2930,7 @@
    Properties:
    -

    + @@ -3329,7 +2959,7 @@
    Properties:
    Source:
    @@ -3435,7 +3065,7 @@
    Properties:
    Source:
    @@ -3541,7 +3171,7 @@
    Properties:
    Source:
    @@ -3565,10 +3195,6 @@

    x -

    The horizontal coordinate of point relative to the game element. This value is automatically scaled based on game size.

    - - @@ -3618,7 +3244,7 @@
    Properties:
    -

    + @@ -3647,7 +3273,7 @@
    Properties:
    Source:
    @@ -3671,10 +3297,6 @@

    y -

    The vertical coordinate of point relative to the game element. This value is automatically scaled based on game size.

    - - @@ -3724,7 +3346,7 @@
    Properties:
    -

    + @@ -3753,7 +3375,7 @@
    Properties:
    Source:
    @@ -3785,7 +3407,9 @@

    justPresse
    -

    The Pointer is considered justPressed if the time it was pressed onto the touchscreen or clicked is less than justPressedRate.

    +

    The Pointer is considered justPressed if the time it was pressed onto the touchscreen or clicked is less than justPressedRate. +Note that calling justPressed doesn't reset the pressed status of the Pointer, it will return true for as long as the duration is valid. +If you wish to check if the Pointer was pressed down just once then see the Sprite.events.onInputDown event.

    @@ -3847,7 +3471,7 @@

    Parameters:
    - + @@ -3879,7 +3503,7 @@
    Parameters:
    Source:
    @@ -3903,6 +3527,10 @@
    Parameters:
    Returns:
    +
    +

    true if the Pointer was pressed down within the duration given.

    +
    +
    @@ -3934,7 +3562,9 @@

    justRelea
    -

    The Pointer is considered justReleased if the time it left the touchscreen is less than justReleasedRate.

    +

    The Pointer is considered justReleased if the time it left the touchscreen is less than justReleasedRate. +Note that calling justReleased doesn't reset the pressed status of the Pointer, it will return true for as long as the duration is valid. +If you wish to check if the Pointer was released just once then see the Sprite.events.onInputUp event.

    @@ -3996,7 +3626,7 @@

    Parameters:
    -
    + @@ -4028,7 +3658,7 @@
    Parameters:
    Source:
    @@ -4052,6 +3682,10 @@
    Parameters:
    Returns:
    +
    +

    true if the Pointer was released within the duration given.

    +
    +
    @@ -4123,7 +3757,13 @@
    Parameters:
    + @@ -4165,7 +3805,7 @@
    Parameters:
    Source:
    @@ -4201,7 +3841,7 @@

    move -

    Called when the Pointer is moved

    +

    Called when the Pointer is moved.

    @@ -4241,7 +3881,13 @@
    Parameters:

    + @@ -4283,7 +3929,7 @@
    Parameters:
    Source:
    @@ -4352,7 +3998,7 @@

    resetSource:
    @@ -4470,7 +4116,7 @@
    Parameters:
    Source:
    @@ -4546,7 +4192,13 @@
    Parameters:

    + @@ -4588,76 +4240,7 @@
    Parameters:
    Source:
    - - - - - - - - - - - - - - - - - - - - - - - - - -
    -

    toString() → {string}

    - - -
    -
    - - -
    -

    Returns a string representation of this object.

    -
    - - - - - - - - - -
    - - - - - - - - - - - - - - - - - - - -
    Source:
    -
    @@ -4678,29 +4261,6 @@

    toStringReturns:

    - - -
    -

    A string representation of the instance.

    -
    - - - -
    -
    - Type -
    -
    - -string - - -
    -
    - - -
    @@ -4716,7 +4276,7 @@

    update -

    Description.

    +

    Called internall by the Input Manager.

    @@ -4749,7 +4309,7 @@

    updateSource:
    @@ -4800,7 +4360,7 @@

    update Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:39 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:32 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Polygon.html b/docs/Phaser.Polygon.html index ee1bb3526e..e2f43bb0c8 100644 --- a/docs/Phaser.Polygon.html +++ b/docs/Phaser.Polygon.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -665,7 +705,7 @@

    Properties:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:39 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:32 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.QuadTree.html b/docs/Phaser.QuadTree.html index 9985f692b6..b53274fc3c 100644 --- a/docs/Phaser.QuadTree.html +++ b/docs/Phaser.QuadTree.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -738,7 +778,7 @@

    clearSource:
    @@ -857,7 +897,7 @@
    Parameters:
    Source:
    @@ -882,7 +922,7 @@
    Returns:
    -

    index - Index of the subnode (0-3), or -1 if rect cannot completely fit within a subnode and is part of the parent node.

    +

    index - Index of the subnode (0-3), or -1 if rect cannot completely fit within a subnode and is part of the parent node.

    @@ -1120,7 +1160,7 @@
    Parameters:
    Source:
    @@ -1266,7 +1306,7 @@

    split Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:39 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:32 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.RandomDataGenerator.html b/docs/Phaser.RandomDataGenerator.html index df270b8eb0..3671e6c92e 100644 --- a/docs/Phaser.RandomDataGenerator.html +++ b/docs/Phaser.RandomDataGenerator.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -490,7 +530,7 @@

    Parameters:
    Source:
    @@ -577,7 +617,7 @@

    angleSource:
    @@ -601,6 +641,10 @@

    angleReturns:

    +
    +

    A random number between -180 and 180.

    +
    +
    @@ -665,7 +709,7 @@

    fracSource:
    @@ -689,6 +733,10 @@

    frac +

    A random real number between 0 and 1.

    + +
    @@ -753,7 +801,7 @@

    integerSource:
    @@ -777,6 +825,10 @@

    integerReturns:

    +
    +

    A random integer between 0 and 2^32.

    +
    +
    @@ -858,7 +910,7 @@
    Parameters:
    -

    + @@ -881,7 +933,7 @@
    Parameters:
    - + @@ -913,7 +965,7 @@
    Parameters:
    Source:
    @@ -937,6 +989,10 @@
    Parameters:
    Returns:
    +
    +

    A random number between min and max.

    +
    +
    @@ -1001,7 +1057,7 @@

    normalSource:
    @@ -1025,6 +1081,10 @@

    normalReturns:

    +
    +

    A random real number between -1 and 1.

    +
    +
    @@ -1048,7 +1108,7 @@
    Returns:
    -

    pick(ary) → {number}

    +

    pick(ary) → {any}

    @@ -1096,7 +1156,7 @@
    Parameters:

    + @@ -1138,7 +1198,7 @@
    Parameters:
    Source:
    @@ -1162,6 +1222,10 @@
    Parameters:
    Returns:
    +
    +

    A random member of the array.

    +
    +
    @@ -1170,7 +1234,7 @@
    Returns:
    -number +any
    @@ -1226,7 +1290,7 @@

    realSource:
    @@ -1250,6 +1314,10 @@

    real +

    A random real number between 0 and 2^32.

    + +
    @@ -1331,7 +1399,7 @@
    Parameters:
    -

    + @@ -1354,7 +1422,7 @@
    Parameters:
    - + @@ -1386,7 +1454,7 @@
    Parameters:
    Source:
    @@ -1410,6 +1478,10 @@
    Parameters:
    Returns:
    +
    +

    A random number between min and max.

    +
    +
    @@ -1523,7 +1595,7 @@
    Parameters:
    Source:
    @@ -1609,7 +1681,7 @@
    Parameters:
    -
    + @@ -1632,7 +1704,7 @@
    Parameters:
    - + @@ -1664,7 +1736,7 @@
    Parameters:
    Source:
    @@ -1688,6 +1760,10 @@
    Parameters:
    Returns:
    +
    +

    A random timestamp between min and max.

    +
    +
    @@ -1752,7 +1828,7 @@

    uuidSource:
    @@ -1776,6 +1852,10 @@

    uuid +

    A valid RFC4122 version4 ID hex string

    + +
    @@ -1799,7 +1879,7 @@
    Returns:
    -

    weightedPick(ary) → {number}

    +

    weightedPick(ary) → {any}

    @@ -1847,7 +1927,7 @@
    Parameters:

    + @@ -1889,7 +1969,7 @@
    Parameters:
    Source:
    @@ -1913,6 +1993,10 @@
    Parameters:
    Returns:
    +
    +

    A random member of the array.

    +
    +
    @@ -1921,7 +2005,7 @@
    Returns:
    -number +any
    @@ -1959,7 +2043,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:39 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:33 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Rectangle.html b/docs/Phaser.Rectangle.html index 41f3c612f0..7dba884f6a 100644 --- a/docs/Phaser.Rectangle.html +++ b/docs/Phaser.Rectangle.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -502,7 +542,7 @@
    Parameters:
    -
    + @@ -525,7 +565,7 @@
    Parameters:
    - + @@ -1414,7 +1454,7 @@
    Properties:
    - + @@ -2153,7 +2193,7 @@
    Properties:
    - + @@ -2255,7 +2295,7 @@
    Properties:
    - + @@ -2357,7 +2397,7 @@
    Properties:
    - + @@ -2543,7 +2583,7 @@
    Parameters:
    Source:
    @@ -2726,7 +2766,7 @@
    Parameters:
    Source:
    @@ -2890,7 +2930,7 @@
    Parameters:
    Source:
    @@ -3055,7 +3095,7 @@
    Parameters:
    Source:
    @@ -3220,7 +3260,7 @@
    Parameters:
    Source:
    @@ -3407,7 +3447,7 @@
    Parameters:
    Source:
    @@ -3571,7 +3611,7 @@
    Parameters:
    Source:
    @@ -3786,7 +3826,7 @@
    Parameters:
    Source:
    @@ -3951,7 +3991,7 @@
    Parameters:
    Source:
    @@ -4184,7 +4224,7 @@
    Parameters:
    Source:
    @@ -4368,7 +4408,7 @@
    Parameters:
    Source:
    @@ -4583,7 +4623,7 @@
    Parameters:
    Source:
    @@ -7344,7 +7384,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:40 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:33 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.RenderTexture.html b/docs/Phaser.RenderTexture.html index c68ae97d5a..223d59e08f 100644 --- a/docs/Phaser.RenderTexture.html +++ b/docs/Phaser.RenderTexture.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -406,7 +446,7 @@

    new Rend
    -

    A dynamic initially blank canvas to which images can be drawn

    +

    A RenderTexture is a special texture that allows any displayObject to be rendered to it.

    @@ -646,7 +686,7 @@

    Properties:
    + @@ -685,7 +725,7 @@
    Properties:
    Source:
    @@ -913,11 +953,6 @@

    indetit
    -
    -

    I know this has a typo in it, but it's because the PIXI.RenderTexture does and we need to pair-up with it -once they update pixi to fix the typo, we'll fix it here too :)

    -
    - @@ -957,7 +992,7 @@
    Properties:

    + @@ -996,7 +1031,7 @@
    Properties:
    Source:
    @@ -1161,7 +1196,7 @@
    Properties:
    + @@ -1200,7 +1235,7 @@
    Properties:
    Source:
    @@ -1345,7 +1380,7 @@
    Properties:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:40 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:33 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.RequestAnimationFrame.html b/docs/Phaser.RequestAnimationFrame.html index 3acb8c908e..d22978ad37 100644 --- a/docs/Phaser.RequestAnimationFrame.html +++ b/docs/Phaser.RequestAnimationFrame.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -689,7 +729,7 @@
    Properties:
    - + @@ -721,7 +761,7 @@
    Properties:
    Source:
    @@ -786,7 +826,7 @@

    isRAFSource:
    @@ -874,7 +914,7 @@

    isSetTime
    Source:
    @@ -962,7 +1002,7 @@

    startSource:
    @@ -1031,7 +1071,7 @@

    stopSource:
    @@ -1149,7 +1189,7 @@
    Parameters:
    Source:
    @@ -1218,7 +1258,7 @@

    updat
    Source:
    @@ -1269,7 +1309,7 @@

    updat Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:40 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:33 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Signal.html b/docs/Phaser.Signal.html index e5fba1f739..795afa0fde 100644 --- a/docs/Phaser.Signal.html +++ b/docs/Phaser.Signal.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -1324,7 +1364,7 @@

    Properties:

    + @@ -1399,8 +1439,8 @@

    dispose -

    Remove all bindings from signal and destroy any reference to external objects (destroy Signal object).

    -

    <p><strong>IMPORTANT:</strong> calling any method on the signal instance after calling dispose will throw errors.</p>

    +

    Remove all bindings from signal and destroy any reference to external objects (destroy Signal object). +IMPORTANT: calling any method on the signal instance after calling dispose will throw errors.

    @@ -1433,7 +1473,7 @@

    disposeSource:
    @@ -1502,7 +1542,7 @@

    forgetSource:
    @@ -1637,8 +1677,8 @@

    halt -

    Stop propagation of the event, blocking the dispatch to next listeners on the queue.

    -

    <p><strong>IMPORTANT:</strong> should be called only during signal dispatch, calling it before/after dispatch won't affect signal broadcast.</p>

    +

    Stop propagation of the event, blocking the dispatch to next listeners on the queue. +IMPORTANT: should be called only during signal dispatch, calling it before/after dispatch won't affect signal broadcast.

    @@ -2180,7 +2220,7 @@

    toStringSource:
    @@ -2254,7 +2294,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:40 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:33 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Sound.html b/docs/Phaser.Sound.html index 1b7f84dd6c..df0232b4d4 100644 --- a/docs/Phaser.Sound.html +++ b/docs/Phaser.Sound.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -661,15 +701,113 @@

    Members

    -

    context

    +

    autoplay

    -
    -

    Reference to AudioContext instance.

    -
    + + + + +
    + + +
    Properties:
    + +
    + +

    NameTypeDescription
    isDown - - -boolean - - - -

    A reference to the currently running game.

    isMouseid -boolean +number @@ -1580,7 +1274,7 @@
    Properties:
    -

    The ID of the Pointer object within the game. Each game can have up to 10 active pointers.

    isUpisDown @@ -1686,7 +1376,7 @@
    Properties:
    -

    If the Pointer is touching the touchscreen, or the mouse button is held down, isDown is set to true.

    msSinceLastClickisMouse -number +boolean @@ -1795,7 +1481,7 @@
    Properties:
    -

    If the Pointer is a mouse this is true, otherwise false.

    pageXisUp -number +boolean @@ -1901,7 +1586,7 @@
    Properties:
    -

    If the Pointer is not touching the touchscreen, or the mouse button is up, isUp is set to true.

    pageYmsSinceLastClick @@ -2007,7 +1691,7 @@
    Properties:
    -

    The number of miliseconds since the last click.

    positionpageX -Vec2 +number @@ -2113,7 +1793,7 @@
    Properties:
    -

    The horizontal coordinate of point relative to the viewport in pixels, including any scroll offset.

    positionpageY -Phaser.Point +number @@ -2222,7 +1895,7 @@
    Properties:
    -

    The vertical coordinate of point relative to the viewport in pixels, including any scroll offset.

    positionDownposition -Vec2 +Phaser.Point @@ -2328,7 +1997,7 @@
    Properties:
    -

    A Phaser.Point object containing the current x/y values of the pointer on the display.

    A Phaser.Point object containing the x/y values of the pointer when it was last in a down state on the display.

    A timestamp representing when the Pointer was last tapped or clicked.

    The horizontal coordinate of point relative to the screen in pixels.

    The vertical coordinate of point relative to the screen in pixels.

    -Any +any @@ -2864,7 +2510,7 @@
    Properties:
    -

    The Game Object this Pointer is currently over / touching / dragging.

    A timestamp representing when the Pointer first touched the touchscreen.

    A timestamp representing when the Pointer left the touchscreen.

    The total number of times this Pointer has been touched to the touchscreen.

    true if the Pointer is within the game area, otherwise false.

    The horizontal coordinate of point relative to the game element. This value is automatically scaled based on game size.

    The vertical coordinate of point relative to the game element. This value is automatically scaled based on game size.

    The time to check against. If none given it will use InputManager.justPressedRate.

    The time to check against. If none given it will use InputManager.justReleasedRate.

    -Any +MouseEvent +| + +PointerEvent +| + +TouchEvent @@ -4133,7 +3773,7 @@
    Parameters:
    -

    The event passed up from the input handler.

    -Any +MouseEvent +| + +PointerEvent +| + +TouchEvent @@ -4251,7 +3897,7 @@
    Parameters:
    -

    The event passed up from the input handler.

    -Any +MouseEvent +| + +PointerEvent +| + +TouchEvent @@ -4556,7 +4208,7 @@
    Parameters:
    -

    The event passed up from the input handler.

    The minimum value in the range.

    The maximum value in the range.

    -Any +Array @@ -1106,7 +1166,7 @@
    Parameters:
    -

    An Array to pick a random member of.

    The minimum value in the range.

    The maximum value in the range.

    The minimum value in the range.

    The maximum value in the range.

    -Any +Array @@ -1857,7 +1937,7 @@
    Parameters:
    -

    An Array to pick a random member of.

    The width of the Rectangle in pixels.

    The width of the Rectangle.

    The height of the Rectangle in pixels.

    The height of the Rectangle.

    Description.

    The height of the Rectangle.

    Description.

    The width of the Rectangle.

    Description.

    The x coordinate of the top-left corner of the Rectangle.

    Description.

    The y coordinate of the top-left corner of the Rectangle.

    -Description +PIXI.Rectangle @@ -656,7 +696,7 @@
    Properties:
    -

    Description.

    The frame for this texture.

    -Description +PIXI.mat3 @@ -967,7 +1002,7 @@
    Properties:
    -

    Description.

    Matrix object.

    -Description +number @@ -1171,7 +1206,7 @@
    Properties:
    -

    Description.

    Base Phaser object type.

    Description.

    true if RequestAnimationFrame is running, otherwise false.

    -Description +function @@ -1334,7 +1374,7 @@
    Properties:
    -

    Description.

    The dispatch function is what sends the Signal out.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    autoplay + + +boolean + + + +

    Boolean indicating whether the sound should start automatically.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    context

    + + +
    +
    @@ -720,7 +858,7 @@
    Properties:
    - +

    Reference to the AudioContext instance.

    @@ -745,14 +883,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -776,10 +911,6 @@

    currentM
    -
    -

    Description.

    -
    - @@ -829,7 +960,7 @@
    Properties:
    - +

    The string ID of the currently playing marker, if any.

    @@ -858,7 +989,7 @@
    Properties:
    Source:
    @@ -882,10 +1013,6 @@

    currentTim
    -
    -

    Description.

    -
    - @@ -935,7 +1062,7 @@
    Properties:
    - +

    The current time the sound is at.

    @@ -960,14 +1087,11 @@
    Properties:
    -
    Default Value:
    -
    • 0
    -
    Source:
    @@ -991,10 +1115,6 @@

    duration
    -
    -

    Description.

    -
    - @@ -1044,7 +1164,7 @@
    Properties:
    - +

    The duration of the sound.

    @@ -1069,14 +1189,113 @@
    Properties:
    -
    Default Value:
    -
    • 0
    + + +
    Source:
    +
    + + + + + + + + + + + + + + + +
    +

    externalNode

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    externalNode + + +object + + + +

    If defined this Sound won't connect to the SoundManager master gain node, but will instead connect to externalNode.input.

    +
    + + + + + + + + + + + + + + + + +
    Source:
    @@ -1182,7 +1401,7 @@
    Properties:
    Source:
    @@ -1284,7 +1503,7 @@
    Properties:
    Source:
    @@ -1386,7 +1605,7 @@
    Properties:
    Source:
    @@ -1410,10 +1629,6 @@

    isPlaying
    -
    -

    Description.

    -
    - @@ -1463,7 +1678,7 @@
    Properties:
    - +

    true if the sound is currently playing, otherwise false.

    @@ -1495,7 +1710,7 @@
    Properties:
    Source:
    @@ -1519,10 +1734,6 @@

    key -

    Asset key for the sound.

    - - @@ -1572,7 +1783,7 @@
    Properties:
    - +

    Asset key for the sound.

    @@ -1601,7 +1812,7 @@
    Properties:
    Source:
    @@ -1625,10 +1836,6 @@

    loop -

    Whether or not the sound will loop.

    - - @@ -1678,7 +1885,7 @@
    Properties:
    - +

    Whether or not the sound will loop.

    @@ -1707,7 +1914,7 @@
    Properties:
    Source:
    @@ -1731,10 +1938,6 @@

    markers
    -
    -

    The sound markers, empty by default.

    -
    - @@ -1784,7 +1987,7 @@
    Properties:
    - +

    The sound markers.

    @@ -1813,7 +2016,7 @@
    Properties:
    Source:
    @@ -1915,7 +2118,7 @@
    Properties:
    Source:
    @@ -1939,10 +2142,6 @@

    name -

    Name of the sound.

    - - @@ -1992,7 +2191,7 @@
    Properties:
    - +

    Name of the sound.

    @@ -2017,14 +2216,11 @@
    Properties:
    -
    Default Value:
    -
    • key
    -
    Source:
    @@ -2048,10 +2244,6 @@

    onDecoded
    -
    -

    Description.

    -
    - @@ -2101,7 +2293,7 @@
    Properties:
    - +

    The onDecoded event is dispatched when the sound has finished decoding (typically for mp3 files)

    @@ -2130,7 +2322,7 @@
    Properties:
    Source:
    @@ -2154,10 +2346,6 @@

    onLoop
    -
    -

    Description.

    -
    - @@ -2207,7 +2395,7 @@
    Properties:
    - +

    The onLoop event is dispatched when this sound loops during playback.

    @@ -2236,7 +2424,7 @@
    Properties:
    Source:
    @@ -2260,10 +2448,6 @@

    onMar
    -
    -

    Description.

    -
    - @@ -2313,7 +2497,7 @@
    Properties:
    - +

    The onMarkerComplete event is dispatched when a marker within this sound completes playback.

    @@ -2342,7 +2526,7 @@
    Properties:
    Source:
    @@ -2366,10 +2550,6 @@

    onMute
    -
    -

    Description.

    -
    - @@ -2419,7 +2599,7 @@
    Properties:
    - +

    The onMouse event is dispatched when this sound is muted.

    @@ -2448,7 +2628,7 @@
    Properties:
    Source:
    @@ -2472,10 +2652,6 @@

    onPause
    -
    -

    Description.

    -
    - @@ -2525,7 +2701,7 @@
    Properties:
    - +

    The onPause event is dispatched when this sound is paused.

    @@ -2554,7 +2730,7 @@
    Properties:
    Source:
    @@ -2578,10 +2754,6 @@

    onPlay
    -
    -

    Description.

    -
    - @@ -2631,7 +2803,7 @@
    Properties:
    - +

    The onPlay event is dispatched each time this sound is played.

    @@ -2660,7 +2832,7 @@
    Properties:
    Source:
    @@ -2684,10 +2856,6 @@

    onResume
    -
    -

    Description.

    -
    - @@ -2737,7 +2905,7 @@
    Properties:
    - +

    The onResume event is dispatched when this sound is resumed from a paused state.

    @@ -2766,7 +2934,7 @@
    Properties:
    Source:
    @@ -2790,10 +2958,6 @@

    onStop
    -
    -

    Description.

    -
    - @@ -2843,7 +3007,7 @@
    Properties:
    - +

    The onStop event is dispatched when this sound stops playback.

    @@ -2872,7 +3036,7 @@
    Properties:
    Source:
    @@ -2896,10 +3060,6 @@

    override
    -
    -

    Description.

    -
    - @@ -2949,7 +3109,7 @@
    Properties:
    - +

    if true when you play this sound it will always start from the beginning.

    @@ -2981,7 +3141,7 @@
    Properties:
    Source:
    @@ -3005,10 +3165,6 @@

    paused
    -
    -

    Description.

    -
    - @@ -3058,7 +3214,7 @@
    Properties:
    - +

    true if the sound is paused, otherwise false.

    @@ -3090,7 +3246,7 @@
    Properties:
    Source:
    @@ -3114,10 +3270,6 @@

    pausedP
    -
    -

    Description.

    -
    - @@ -3167,7 +3319,7 @@
    Properties:
    - +

    The position the sound had reached when it was paused.

    @@ -3196,7 +3348,7 @@
    Properties:
    Source:
    @@ -3220,10 +3372,6 @@

    pausedTime<
    -
    -

    Description.

    -
    - @@ -3273,7 +3421,7 @@
    Properties:
    - +

    The game time at which the sound was paused.

    @@ -3302,7 +3450,7 @@
    Properties:
    Source:
    @@ -3320,16 +3468,12 @@

    Properties:
    -

    pendingPlayback

    +

    <readonly> pendingPlayback

    -
    -

    Description.

    -
    - @@ -3379,7 +3523,7 @@
    Properties:
    - +

    true if the sound file is pending playback

    @@ -3404,14 +3548,11 @@
    Properties:
    -
    Default Value:
    -
    • false
    -
    Source:
    @@ -3435,10 +3576,6 @@

    startTime
    -
    -

    Description.

    -
    - @@ -3488,7 +3625,7 @@
    Properties:
    - +

    The time the Sound starts at (typically 0 unless starting from a marker)

    @@ -3520,7 +3657,7 @@
    Properties:
    Source:
    @@ -3544,10 +3681,6 @@

    stopTime
    -
    -

    Description.

    -
    - @@ -3597,7 +3730,7 @@
    Properties:
    - +

    The time the sound stopped.

    @@ -3626,7 +3759,7 @@
    Properties:
    Source:
    @@ -3650,10 +3783,6 @@

    totalDur
    -
    -

    The total duration of the sound, in milliseconds

    -
    - @@ -3703,7 +3832,7 @@
    Properties:
    - +

    The total duration of the sound, in milliseconds

    @@ -3728,14 +3857,11 @@
    Properties:
    -
    Default Value:
    -
    • 0
    -
    Source:
    @@ -3759,10 +3885,6 @@

    usingAud
    -
    -

    Description.

    -
    - @@ -3802,7 +3924,7 @@
    Properties:
    -Description +boolean @@ -3812,7 +3934,7 @@
    Properties:
    - +

    true if the sound is being played via the Audio tag.

    @@ -3841,7 +3963,7 @@
    Properties:
    Source:
    @@ -3859,16 +3981,12 @@

    Properties:
    -

    usingWebAudio

    +

    <readonly> usingWebAudio

    -
    -

    Description.

    -
    - @@ -3918,7 +4036,7 @@
    Properties:
    - +

    true if this sound is being played with Web Audio.

    @@ -3947,7 +4065,7 @@
    Properties:
    Source:
    @@ -4049,7 +4167,7 @@
    Properties:
    Source:
    @@ -4269,7 +4387,7 @@
    Parameters:
    Source:
    @@ -4552,7 +4670,7 @@
    Parameters:
    Source:
    @@ -4621,7 +4739,7 @@

    pauseSource:
    @@ -4649,7 +4767,7 @@

    pause -

    play(marker, position, volume, loop, forceRestart) → {Sound}

    +

    play(marker, position, volume, loop, forceRestart) → {Phaser.Sound}

    @@ -4805,7 +4923,7 @@
    Parameters:
    -

    Volume of the sound you want to play.

    +

    Volume of the sound you want to play. If none is given it will use the volume given to the Sound when it was created (which defaults to 1 if none was specified).

    @@ -4915,7 +5033,7 @@
    Parameters:
    Source:
    @@ -4940,7 +5058,7 @@
    Returns:
    -

    The playing sound object.

    +

    This sound instance.

    @@ -4951,7 +5069,7 @@
    Returns:
    -Sound +Phaser.Sound
    @@ -5056,7 +5174,7 @@
    Parameters:
    Source:
    @@ -5311,7 +5429,7 @@
    Parameters:
    Source:
    @@ -5380,7 +5498,7 @@

    resumeSource:
    @@ -5466,7 +5584,7 @@
    Parameters:
    -

    Description.

    +

    The Phaser.Cache key of the sound file to check for decoding.

    @@ -5498,7 +5616,7 @@
    Parameters:
    Source:
    @@ -5567,7 +5685,7 @@

    stopSource:
    @@ -5636,7 +5754,7 @@

    <protected>
    Source:
    @@ -5687,7 +5805,7 @@

    <protected> Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:40 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:33 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.SoundManager.html b/docs/Phaser.SoundManager.html index 23a45eb988..98fb3406cd 100644 --- a/docs/Phaser.SoundManager.html +++ b/docs/Phaser.SoundManager.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -406,7 +446,9 @@

    new Sound
    -

    Sound Manager constructor.

    +

    Sound Manager constructor. +The Sound Manager is responsible for playing back audio via either the Legacy HTML Audio tag or via Web Audio if the browser supports it. +Note: On Firefox 25+ on Linux if you have media.gstreamer disabled in about:config then it cannot play back mp3 or m4a files.

    @@ -488,7 +530,7 @@

    Parameters:
    Source:
    @@ -587,7 +629,7 @@
    Properties:
    -

    Description.

    +

    The number of audio channels to use in playback.

    @@ -619,7 +661,112 @@
    Properties:
    Source:
    + + + + + + + +

    + + + +
    + + + +
    +

    connectToMaster

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    connectToMaster + + +boolean + + + +

    Used in conjunction with Sound.externalNode this allows you to stop a Sound node being connected to the SoundManager master gain node.

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • true
    + + + +
    Source:
    +
    @@ -682,7 +829,7 @@
    Properties:
    -Description +AudioContext @@ -692,7 +839,7 @@
    Properties:
    -

    Description.

    +

    The AudioContext being used for playback.

    @@ -724,7 +871,7 @@
    Properties:
    Source:
    @@ -826,7 +973,7 @@
    Properties:
    Source:
    @@ -928,7 +1075,7 @@
    Properties:
    Source:
    @@ -1001,7 +1148,7 @@
    Properties:
    -

    Description.

    +

    Has audio been disabled via the PhaserGlobal object? Useful if you need to use a 3rd party audio library instead.

    @@ -1033,7 +1180,7 @@
    Properties:
    Source:
    @@ -1106,7 +1253,7 @@
    Properties:
    -

    Description.

    +

    The event dispatched when a sound decodes (typically only for mp3 files)

    @@ -1135,7 +1282,7 @@
    Properties:
    Source:
    @@ -1208,7 +1355,7 @@
    Properties:
    -

    Description.

    +

    true if the audio system is currently locked awaiting a touch event.

    @@ -1240,7 +1387,7 @@
    Properties:
    Source:
    @@ -1258,7 +1405,7 @@
    Properties:
    -

    usingAudioTag

    +

    <readonly> usingAudioTag

    @@ -1313,7 +1460,7 @@
    Properties:
    -

    Description.

    +

    true if the sound is being played via the Audio tag.

    @@ -1338,14 +1485,11 @@
    Properties:
    -
    Default Value:
    -
    • false
    -
    Source:
    @@ -1363,7 +1507,7 @@
    Properties:
    -

    usingWebAudio

    +

    <readonly> usingWebAudio

    @@ -1418,7 +1562,7 @@
    Properties:
    -

    Description.

    +

    true if this sound is being played with Web Audio.

    @@ -1443,14 +1587,11 @@
    Properties:
    -
    Default Value:
    -
    • true
    -
    Source:
    @@ -1552,7 +1693,7 @@
    Properties:
    Source:
    @@ -1576,7 +1717,7 @@

    Methods

    -

    add(key, volume, loop)

    +

    add(key, volume, loop, connect) → {Phaser.Sound}

    @@ -1732,6 +1873,45 @@
    Parameters:
    + + + + connect + + + + + +boolean + + + + + + + + + <optional>
    + + + + + + + + + + + + true + + + + +

    Controls if the created Sound object will connect to the master gainNode of the SoundManager when running under WebAudio.

    + + + @@ -1760,7 +1940,7 @@
    Parameters:
    Source:
    @@ -1781,6 +1961,29 @@
    Parameters:
    +
    Returns:
    + + +
    +

    The new sound instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Sound + + +
    +
    + + +
    @@ -1829,7 +2032,7 @@

    <protected> bo
    Source:
    @@ -1990,7 +2193,7 @@

    Parameters:
    Source:
    @@ -2059,7 +2262,7 @@

    pauseAllSource:
    @@ -2082,6 +2285,280 @@

    pauseAll + + + +
    +

    play(key, volume, loop, destroyOnComplete) → {Phaser.Sound}

    + + +
    +
    + + +
    +

    Adds a new Sound into the SoundManager and starts it playing.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDefaultDescription
    key + + +string + + + + + + + + + + + +

    Asset key for the sound.

    volume + + +number + + + + + + <optional>
    + + + + + +
    + + 1 + +

    Default value for the volume.

    loop + + +boolean + + + + + + <optional>
    + + + + + +
    + + false + +

    Whether or not the sound will loop.

    destroyOnComplete + + +boolean + + + + + + <optional>
    + + + + + +
    + + false + +

    If true the Sound will destroy itself once it has finished playing, or is stopped.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The new sound instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Sound + + +
    +
    + + + + +
    @@ -2128,7 +2605,7 @@

    resumeAllSource:
    @@ -2197,7 +2674,7 @@

    stopAllSource:
    @@ -2266,7 +2743,7 @@

    unlockSource:
    @@ -2335,7 +2812,7 @@

    updateSource:
    @@ -2386,7 +2863,7 @@

    update Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:40 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:33 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Sprite.html b/docs/Phaser.Sprite.html index d09f8f84b0..0f01f12b17 100644 --- a/docs/Phaser.Sprite.html +++ b/docs/Phaser.Sprite.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -387,7 +427,10 @@

    Sprite

    -

    Phaser.Sprite

    +

    Create a new Sprite object. Sprites are the lifeblood of your game, used for nearly everything visual.

    +

    At its most basic a Sprite consists of a set of coordinates and a texture that is rendered to the canvas. +They also contain additional properties allowing for physics motion (via Sprite.body), input handling (via Sprite.input), +events (via Sprite.events), animation (via Sprite.animations), camera culling and more. Please see the Examples for use cases.

    @@ -405,13 +448,6 @@

    new Sprite -
    -

    Create a new Sprite object. Sprites are the lifeblood of your game, used for nearly everything visual. -At its most basic a Sprite consists of a set of coordinates and a texture that is rendered to the canvas. -They also contain additional properties allowing for physics motion (via Sprite.body), input handling (via Sprite.input), -events (via Sprite.events), animation (via Sprite.animations), camera culling and more. Please see the Examples for use cases.

    -
    - @@ -524,6 +560,9 @@
    Parameters:
    Phaser.RenderTexture | +Phaser.BitmapData +| + PIXI.Texture @@ -592,7 +631,7 @@
    Parameters:
    Source:
    @@ -723,7 +762,7 @@
    Properties:
    Source:
    @@ -803,7 +842,7 @@
    Properties:
    -

    The anchor around with Sprite rotation and scaling takes place.

    +

    The anchor around which rotation and scaling takes place.

    @@ -832,7 +871,7 @@
    Properties:
    Source:
    @@ -940,7 +979,7 @@
    Properties:
    Source:
    @@ -1042,7 +1081,7 @@
    Properties:
    Source:
    @@ -1152,7 +1191,7 @@
    Properties:
    Source:
    @@ -1254,7 +1293,7 @@
    Properties:
    Source:
    @@ -1356,7 +1395,7 @@
    Properties:
    Source:
    @@ -1458,7 +1497,7 @@
    Properties:
    Source:
    @@ -1566,7 +1605,7 @@
    Properties:
    Source:
    @@ -1668,7 +1707,7 @@
    Properties:
    Source:
    @@ -1770,7 +1809,7 @@
    Properties:
    Source:
    @@ -1877,7 +1916,7 @@
    Properties:
    Source:
    @@ -1982,7 +2021,7 @@
    Properties:
    Source:
    @@ -2084,7 +2123,7 @@
    Properties:
    Source:
    @@ -2147,7 +2186,7 @@
    Properties:
    -Events +Phaser.Events @@ -2186,7 +2225,7 @@
    Properties:
    Source:
    @@ -2291,7 +2330,7 @@
    Properties:
    Source:
    @@ -2400,7 +2439,7 @@
    Properties:
    Source:
    @@ -2502,7 +2541,7 @@
    Properties:
    Source:
    @@ -2604,7 +2643,7 @@
    Properties:
    Source:
    @@ -2706,7 +2745,7 @@
    Properties:
    Source:
    @@ -2808,7 +2847,7 @@
    Properties:
    Source:
    @@ -2910,7 +2949,7 @@
    Properties:
    Source:
    @@ -3017,7 +3056,7 @@
    Properties:
    Source:
    @@ -3119,7 +3158,7 @@
    Properties:
    Source:
    @@ -3182,7 +3221,7 @@
    Properties:
    -InputHandler +Phaser.InputHandler @@ -3221,7 +3260,7 @@
    Properties:
    Source:
    @@ -3328,7 +3367,7 @@
    Properties:
    Source:
    @@ -3430,7 +3469,7 @@
    Properties:
    Source:
    @@ -3535,7 +3574,7 @@
    Properties:
    Source:
    @@ -3604,6 +3643,9 @@
    Properties:
    Phaser.RenderTexture | +Phaser.BitmapData +| + PIXI.Texture @@ -3614,7 +3656,7 @@
    Properties:
    -

    This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture.

    +

    This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture, BitmapData or PIXI.Texture.

    @@ -3643,7 +3685,7 @@
    Properties:
    Source:
    @@ -3753,7 +3795,7 @@
    Properties:
    Source:
    @@ -3855,7 +3897,7 @@
    Properties:
    Source:
    @@ -3957,7 +3999,7 @@
    Properties:
    Source:
    @@ -4062,7 +4104,7 @@
    Properties:
    Source:
    @@ -4164,7 +4206,7 @@
    Properties:
    Source:
    @@ -4266,7 +4308,7 @@
    Properties:
    Source:
    @@ -4372,7 +4414,7 @@
    Properties:
    Source:
    @@ -4474,7 +4516,7 @@
    Properties:
    Source:
    @@ -4576,7 +4618,7 @@
    Properties:
    Source:
    @@ -4594,7 +4636,7 @@
    Properties:
    -

    type

    +

    <readonly> type

    @@ -4678,7 +4720,7 @@
    Properties:
    Source:
    @@ -4785,7 +4827,7 @@
    Properties:
    Source:
    @@ -4887,7 +4929,7 @@
    Properties:
    Source:
    @@ -4960,7 +5002,7 @@
    Properties:
    -

    The x coordinate (in world space) of this Sprite.

    +

    The x coordinate in world space of this Sprite.

    @@ -4989,7 +5031,7 @@
    Properties:
    Source:
    @@ -5062,7 +5104,7 @@
    Properties:
    -

    The y coordinate (in world space) of this Sprite.

    +

    The y coordinate in world space of this Sprite.

    @@ -5091,7 +5133,7 @@
    Properties:
    Source:
    @@ -5157,7 +5199,7 @@

    bringToTop<
    Source:
    @@ -5310,7 +5352,7 @@

    Parameters:
    Source:
    @@ -5440,7 +5482,7 @@
    Parameters:
    Source:
    @@ -5487,7 +5529,7 @@

    destroy -

    Description.

    +

    Destroy this Graphics instance.

    @@ -5520,7 +5562,7 @@

    destroySource:
    @@ -5590,7 +5632,7 @@

    destroySource:
    @@ -5801,7 +5843,7 @@
    Parameters:
    Source:
    @@ -5989,7 +6031,7 @@
    Parameters:
    Source:
    @@ -6084,7 +6126,7 @@

    killSource:
    @@ -6178,6 +6220,9 @@
    Parameters:
    Phaser.RenderTexture | +Phaser.BitmapData +| + PIXI.Texture @@ -6188,7 +6233,7 @@
    Parameters:
    -

    This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture.

    +

    This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture, BitmapData or PIXI.Texture.

    @@ -6246,7 +6291,7 @@
    Parameters:
    Source:
    @@ -6498,7 +6543,7 @@
    Parameters:
    Source:
    @@ -6590,7 +6635,7 @@

    postUpdate<
    Source:
    @@ -6659,7 +6704,7 @@

    preUpdateSource:
    @@ -6869,7 +6914,7 @@
    Parameters:
    Source:
    @@ -6949,7 +6994,7 @@

    resetCropSource:
    @@ -7089,7 +7134,7 @@
    Parameters:
    Source:
    @@ -7169,7 +7214,7 @@

    update
    Source:
    @@ -7238,7 +7283,7 @@

    updateBou
    Source:
    @@ -7307,7 +7352,7 @@

    updateCach
    Source:
    @@ -7376,7 +7421,7 @@

    updateCrop<
    Source:
    @@ -7427,7 +7472,7 @@

    updateCrop< Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:40 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:33 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Stage.html b/docs/Phaser.Stage.html index feb13f8c52..02c2381b42 100644 --- a/docs/Phaser.Stage.html +++ b/docs/Phaser.Stage.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -768,7 +808,7 @@

    Properties:
    Source:
    @@ -1451,7 +1491,7 @@

    updateSource:
    @@ -1569,7 +1609,7 @@
    Parameters:
    Source:
    @@ -1620,7 +1660,7 @@
    Parameters:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:40 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:34 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.StageScaleMode.html b/docs/Phaser.StageScaleMode.html index 8407017411..33c6baa3a7 100644 --- a/docs/Phaser.StageScaleMode.html +++ b/docs/Phaser.StageScaleMode.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -406,8 +446,7 @@

    new Sta
    -

    An Animation instance contains a single animation and the controls to play it. -It is created by the AnimationManager, consists of Animation.Frame objects and belongs to a single Game Object such as a Sprite.

    +

    The StageScaleMode object is responsible for helping you manage the scaling, resizing and alignment of your game within the browser.

    @@ -480,7 +519,7 @@

    Parameters:
    -

    Description.

    +

    The native width of the game.

    @@ -503,7 +542,7 @@
    Parameters:
    -

    Description.

    +

    The native height of the game.

    @@ -535,7 +574,7 @@
    Parameters:
    Source:
    @@ -621,7 +660,7 @@
    Type:
    Source:
    @@ -681,7 +720,7 @@
    Type:
    Source:
    @@ -741,7 +780,7 @@
    Type:
    Source:
    @@ -846,7 +885,7 @@
    Properties:
    Source:
    @@ -864,7 +903,7 @@
    Properties:
    -

    enterLandscape

    +

    enterIncorrectOrientation

    @@ -903,7 +942,7 @@
    Properties:
    - enterLandscape + enterIncorrectOrientation @@ -919,7 +958,7 @@
    Properties:
    -

    The event that is dispatched when the browser enters landscape orientation.

    +

    The event that is dispatched when the browser enters an incorrect orientation, as defined by forceOrientation.

    @@ -948,7 +987,7 @@
    Properties:
    Source:
    @@ -966,7 +1005,7 @@
    Properties:
    -

    enterPortrait

    +

    enterLandscape

    @@ -1005,7 +1044,7 @@
    Properties:
    - enterPortrait + enterLandscape @@ -1021,7 +1060,7 @@
    Properties:
    -

    The event that is dispatched when the browser enters horizontal orientation.

    +

    The event that is dispatched when the browser enters landscape orientation.

    @@ -1050,7 +1089,7 @@
    Properties:
    Source:
    @@ -1068,7 +1107,7 @@
    Properties:
    -

    forceLandscape

    +

    enterPortrait

    @@ -1107,13 +1146,13 @@
    Properties:
    - forceLandscape + enterPortrait -boolean +Phaser.Signal @@ -1123,7 +1162,7 @@
    Properties:
    -

    If the game should be forced to use Landscape mode, this is set to true by Game.Stage

    +

    The event that is dispatched when the browser enters horizontal orientation.

    @@ -1148,14 +1187,11 @@
    Properties:
    -
    Default Value:
    -
    • false
    -
    Source:
    @@ -1173,7 +1209,7 @@
    Properties:
    -

    forcePortrait

    +

    event

    @@ -1212,13 +1248,13 @@
    Properties:
    - forcePortrait + event- -boolean +any @@ -1228,7 +1264,7 @@
    Properties:
    -

    If the game should be forced to use Portrait mode, this is set to true by Game.Stage

    +

    The native browser events from full screen API changes.

    @@ -1253,14 +1289,11 @@
    Properties:
    -
    Default Value:
    -
    • false
    -
    Source:
    @@ -1278,7 +1311,7 @@
    Properties:
    -

    game

    +

    forceLandscape

    @@ -1317,13 +1350,13 @@
    Properties:
    - game + forceLandscape -Phaser.Game +boolean @@ -1333,7 +1366,7 @@
    Properties:
    -

    A reference to the currently running game.

    +

    If the game should be forced to use Landscape mode, this is set to true by Game.Stage

    @@ -1358,11 +1391,14 @@
    Properties:
    +
    Default Value:
    +
    • false
    +
    Source:
    @@ -1380,7 +1416,7 @@
    Properties:
    -

    height

    +

    forcePortrait

    @@ -1419,13 +1455,13 @@
    Properties:
    - height + forcePortrait -number +boolean @@ -1435,7 +1471,7 @@
    Properties:
    -

    Height of the stage after calculation.

    +

    If the game should be forced to use Portrait mode, this is set to true by Game.Stage

    @@ -1460,11 +1496,14 @@
    Properties:
    +
    Default Value:
    +
    • false
    +
    Source:
    @@ -1482,7 +1521,7 @@
    Properties:
    -

    incorrectOrientation

    +

    game

    @@ -1521,13 +1560,13 @@
    Properties:
    - incorrectOrientation + game -boolean +Phaser.Game @@ -1537,7 +1576,7 @@
    Properties:
    -

    If the game should be forced to use a specific orientation and the device currently isn't in that orientation this is set to true.

    +

    A reference to the currently running game.

    @@ -1562,14 +1601,11 @@
    Properties:
    -
    Default Value:
    -
    • false
    -
    Source:
    @@ -1587,7 +1623,7 @@
    Properties:
    -

    <readonly> isFullScreen

    +

    hasResized

    @@ -1626,13 +1662,13 @@
    Properties:
    - isFullScreen + hasResized -boolean +Phaser.Signal @@ -1642,7 +1678,7 @@
    Properties:
    -

    Returns true if the browser is in full screen mode, otherwise false.

    +

    The event that is dispatched when the game scale changes.

    @@ -1671,7 +1707,7 @@
    Properties:
    Source:
    @@ -1689,7 +1725,7 @@
    Properties:
    -

    <readonly> isLandscape

    +

    height

    @@ -1728,13 +1764,13 @@
    Properties:
    - isLandscape + height -boolean +number @@ -1744,7 +1780,7 @@
    Properties:
    -

    Returns true if the browser dimensions match a landscape display.

    +

    Height of the stage after calculation.

    @@ -1773,7 +1809,7 @@
    Properties:
    Source:
    @@ -1791,7 +1827,7 @@
    Properties:
    -

    <readonly> isPortrait

    +

    incorrectOrientation

    @@ -1830,7 +1866,7 @@
    Properties:
    - isPortrait + incorrectOrientation @@ -1846,7 +1882,7 @@
    Properties:
    -

    Returns true if the browser dimensions match a portrait display.

    +

    If the game should be forced to use a specific orientation and the device currently isn't in that orientation this is set to true.

    @@ -1871,11 +1907,14 @@
    Properties:
    +
    Default Value:
    +
    • false
    +
    Source:
    @@ -1893,7 +1932,7 @@
    Properties:
    -

    maxHeight

    +

    <readonly> isFullScreen

    @@ -1932,13 +1971,13 @@
    Properties:
    - maxHeight + isFullScreen -number +boolean @@ -1948,8 +1987,7 @@
    Properties:
    -

    Maximum height the canvas should be scaled to (in pixels). -If null it will scale to whatever height the browser can handle.

    +

    Returns true if the browser is in full screen mode, otherwise false.

    @@ -1974,14 +2012,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -1999,7 +2034,7 @@
    Properties:
    -

    maxIterations

    +

    <readonly> isLandscape

    @@ -2038,13 +2073,13 @@
    Properties:
    - maxIterations + isLandscape -number +boolean @@ -2054,7 +2089,7 @@
    Properties:
    -

    The maximum number of times it will try to resize the canvas to fill the browser.

    +

    Returns true if the browser dimensions match a landscape display.

    @@ -2079,14 +2114,11 @@
    Properties:
    -
    Default Value:
    -
    • 5
    -
    Source:
    @@ -2104,7 +2136,7 @@
    Properties:
    -

    maxWidth

    +

    <readonly> isPortrait

    @@ -2143,13 +2175,13 @@
    Properties:
    - maxWidth + isPortrait -number +boolean @@ -2159,8 +2191,7 @@
    Properties:
    -

    Maximum width the canvas should be scaled to (in pixels). -If null it will scale to whatever width the browser can handle.

    +

    Returns true if the browser dimensions match a portrait display.

    @@ -2185,14 +2216,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -2210,7 +2238,7 @@
    Properties:
    -

    minHeight

    +

    leaveIncorrectOrientation

    @@ -2249,13 +2277,13 @@
    Properties:
    - minHeight + leaveIncorrectOrientation -number +Phaser.Signal @@ -2265,7 +2293,7 @@
    Properties:
    -

    Minimum height the canvas should be scaled to (in pixels).

    +

    The event that is dispatched when the browser leaves an incorrect orientation, as defined by forceOrientation.

    @@ -2290,14 +2318,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -2315,7 +2340,7 @@
    Properties:
    -

    minWidth

    +

    <readonly> margin

    @@ -2354,13 +2379,13 @@
    Properties:
    - minWidth + margin -number +Phaser.Point @@ -2370,7 +2395,7 @@
    Properties:
    -

    Minimum width the canvas should be scaled to (in pixels).

    +

    If the game canvas is seto to align by adjusting the margin, the margin calculation values are stored in this Point.

    @@ -2395,14 +2420,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -2420,7 +2442,7 @@
    Properties:
    -

    orientationSprite

    +

    maxHeight

    @@ -2459,13 +2481,13 @@
    Properties:
    - orientationSprite + maxHeight -PIXI.Sprite +number @@ -2475,7 +2497,8 @@
    Properties:
    -

    The Sprite that is optionally displayed if the browser enters an unsupported orientation.

    +

    Maximum height the canvas should be scaled to (in pixels). +If null it will scale to whatever height the browser can handle.

    @@ -2507,7 +2530,7 @@
    Properties:
    Source:
    @@ -2525,7 +2548,7 @@
    Properties:
    -

    pageAlignHorizontally

    +

    maxIterations

    @@ -2564,13 +2587,13 @@
    Properties:
    - pageAlignHorizontally + maxIterations -boolean +number @@ -2580,9 +2603,7 @@
    Properties:
    -

    If you wish to align your game in the middle of the page then you can set this value to true. -It will place a re-calculated margin-left pixel value onto the canvas element which is updated on orientation/resizing. -It doesn't care about any other DOM element that may be on the page, it literally just sets the margin.

    +

    The maximum number of times it will try to resize the canvas to fill the browser.

    @@ -2608,13 +2629,13 @@
    Properties:
    Default Value:
    -
    • false
    +
    • 5
    Source:
    @@ -2632,7 +2653,7 @@
    Properties:
    -

    pageAlignVertically

    +

    maxWidth

    @@ -2671,13 +2692,13 @@
    Properties:
    - pageAlignVertically + maxWidth -boolean +number @@ -2687,9 +2708,8 @@
    Properties:
    -

    If you wish to align your game in the middle of the page then you can set this value to true. -It will place a re-calculated margin-left pixel value onto the canvas element which is updated on orientation/resizing. -It doesn't care about any other DOM element that may be on the page, it literally just sets the margin.

    +

    Maximum width the canvas should be scaled to (in pixels). +If null it will scale to whatever width the browser can handle.

    @@ -2715,13 +2735,13 @@
    Properties:
    Default Value:
    -
    • false
    +
    • null
    Source:
    @@ -2739,7 +2759,7 @@
    Properties:
    -

    scaleFactor

    +

    minHeight

    @@ -2778,13 +2798,13 @@
    Properties:
    - scaleFactor + minHeight -Phaser.Point +number @@ -2794,7 +2814,7 @@
    Properties:
    -

    The scale factor based on the game dimensions vs. the scaled dimensions.

    +

    Minimum height the canvas should be scaled to (in pixels).

    @@ -2819,11 +2839,14 @@
    Properties:
    +
    Default Value:
    +
    • null
    +
    Source:
    @@ -2841,7 +2864,7 @@
    Properties:
    -

    width

    +

    minWidth

    @@ -2880,7 +2903,7 @@
    Properties:
    - width + minWidth @@ -2896,7 +2919,7 @@
    Properties:
    -

    Width of the stage after calculation.

    +

    Minimum width the canvas should be scaled to (in pixels).

    @@ -2921,11 +2944,14 @@
    Properties:
    +
    Default Value:
    +
    • null
    +
    Source:
    @@ -2940,36 +2966,27 @@
    Properties:
    - - - - -

    Methods

    - -
    +
    -

    checkOrientation(event)

    +

    orientationSprite

    -
    -

    Handle window.orientationchange events

    -
    +
    - - - -
    Parameters:
    - - +
    Properties:
    + +
    + +
    @@ -2991,13 +3008,13 @@
    Parameters:
    - + +
    eventorientationSprite -Event +PIXI.Sprite @@ -3007,18 +3024,15 @@
    Parameters:
    -

    The orientationchange event data.

    The Sprite that is optionally displayed if the browser enters an unsupported orientation.

    +
    - - -
    - @@ -3035,11 +3049,648 @@
    Parameters:
    +
    Default Value:
    +
    • null
    +
    Source:
    + + + + + + + +
    + + + +
    + + + +
    +

    pageAlignHorizontally

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    pageAlignHorizontally + + +boolean + + + +

    If you wish to align your game in the middle of the page then you can set this value to true. +It will place a re-calculated margin-left pixel value onto the canvas element which is updated on orientation/resizing. +It doesn't care about any other DOM element that may be on the page, it literally just sets the margin.

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    pageAlignVertically

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    pageAlignVertically + + +boolean + + + +

    If you wish to align your game in the middle of the page then you can set this value to true. +It will place a re-calculated margin-left pixel value onto the canvas element which is updated on orientation/resizing. +It doesn't care about any other DOM element that may be on the page, it literally just sets the margin.

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    <readonly> scaleFactor

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    scaleFactor + + +Phaser.Point + + + +

    The scale factor based on the game dimensions vs. the scaled dimensions.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    <readonly> scaleFactorInversed

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    scaleFactorInversed + + +Phaser.Point + + + +

    The inversed scale factor. The displayed dimensions divided by the game dimensions.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    width

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    width + + +number + + + +

    Width of the stage after calculation.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + +
    + + + +

    Methods

    + +
    + +
    +

    checkOrientation(event)

    + + +
    +
    + + +
    +

    Handle window.orientationchange events

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    event + + +Event + + + +

    The orientationchange event data.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    @@ -3108,7 +3759,7 @@

    Source:
    @@ -3226,7 +3877,7 @@

    Parameters:
    Source:
    @@ -3254,7 +3905,7 @@
    Parameters:
    -

    forceOrientation(forceLandscape, forcePortrait, forcePortrait)

    +

    forceOrientation(forceLandscape, forcePortrait, orientationImage)

    @@ -3351,6 +4002,8 @@
    Parameters:
    + <optional>
    + @@ -3361,6 +4014,8 @@
    Parameters:
    + false + @@ -3371,7 +4026,7 @@
    Parameters:
    - forcePortrait + orientationImage @@ -3435,7 +4090,7 @@
    Parameters:
    Source:
    @@ -3553,7 +4208,7 @@
    Parameters:
    Source:
    @@ -3622,7 +4277,7 @@

    refreshSource:
    @@ -3691,7 +4346,7 @@

    setExactFi
    Source:
    @@ -3760,7 +4415,7 @@

    setMaximum<
    Source:
    @@ -3878,7 +4533,7 @@

    Parameters:
    Source:
    @@ -3947,7 +4602,7 @@

    setShowAll<
    Source:
    @@ -4016,7 +4671,7 @@

    setSizeSource:
    @@ -4135,7 +4790,7 @@
    Parameters:
    Source:
    @@ -4204,7 +4859,7 @@

    stopFul
    Source:
    @@ -4255,7 +4910,7 @@

    stopFul Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:40 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:34 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.State.html b/docs/Phaser.State.html index 89d67fafca..4abb2f283e 100644 --- a/docs/Phaser.State.html +++ b/docs/Phaser.State.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -739,7 +779,7 @@

    Properties:
    -Phaser.Physics.PhysicsManager +Phaser.Camera @@ -1156,7 +1196,7 @@
    Properties:
    -Phaser.GameMath +Phaser.Math @@ -1255,13 +1295,13 @@
    Properties:
    - add + particles -Description +Phaser.Particles @@ -1271,7 +1311,7 @@
    Properties:
    -

    Description.

    +

    The Particle Manager for the game. It is called during the game update loop and in turn updates any Emitters attached to it.

    @@ -2534,7 +2574,7 @@

    update Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:41 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:34 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.StateManager.html b/docs/Phaser.StateManager.html index 44cdfb7a99..5443e9187f 100644 --- a/docs/Phaser.StateManager.html +++ b/docs/Phaser.StateManager.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -546,7 +586,7 @@

    Parameters:
    Source:
    @@ -596,10 +636,6 @@

    current
    -
    -

    The current active State object (defaults to null).

    -
    - @@ -649,7 +685,7 @@
    Properties:
    - +

    The current active State object (defaults to null).

    @@ -678,7 +714,7 @@
    Properties:
    Source:
    @@ -702,10 +738,6 @@

    game -

    A reference to the currently running game.

    - - @@ -739,113 +771,7 @@
    Properties:
    - game. - - - - - -Phaser.Game - - - - - - - - - - - - - - - -

    - - - - - - - - - - - - - - - - - - - - -
    Source:
    -
    - - - - - - - -
    - - - - - - - -
    -

    game

    - - -
    -
    - -
    -

    A reference to the currently running game.

    -
    - - - - - -
    - - -
    Properties:
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - + + @@ -890,7 +816,7 @@
    Properties:
    Source:
    @@ -914,10 +840,6 @@

    onCre
    -
    -

    This will be called when create states (setup states...).

    -
    - @@ -967,7 +889,7 @@
    Properties:
    -

    + @@ -996,7 +918,7 @@
    Properties:
    Source:
    @@ -1020,10 +942,6 @@

    onInitC
    -
    -

    This will be called when the state is started (i.e. set as the current active state).

    -
    - @@ -1073,7 +991,7 @@
    Properties:
    -

    + @@ -1102,7 +1020,7 @@
    Properties:
    Source:
    @@ -1126,10 +1044,6 @@

    o
    -
    -

    This will be called when the State is rendered but only during the load process.

    -
    - @@ -1179,7 +1093,7 @@
    Properties:
    -

    + @@ -1208,7 +1122,7 @@
    Properties:
    Source:
    @@ -1232,10 +1146,6 @@

    o
    -
    -

    This will be called when the State is updated but only during the load process.

    -
    - @@ -1285,7 +1195,7 @@
    Properties:
    -

    + @@ -1314,7 +1224,7 @@
    Properties:
    Source:
    @@ -1338,10 +1248,6 @@

    onPau
    -
    -

    This will be called when states paused.

    -
    - @@ -1391,7 +1297,7 @@
    Properties:
    -

    + @@ -1420,7 +1326,7 @@
    Properties:
    Source:
    @@ -1444,10 +1350,6 @@

    onPr
    -
    -

    This will be called when init states (loading assets...).

    -
    - @@ -1497,7 +1399,7 @@
    Properties:
    -

    + @@ -1526,7 +1428,7 @@
    Properties:
    Source:
    @@ -1550,10 +1452,6 @@

    on
    -
    -

    This will be called before the State is rendered and before the stage is cleared.

    -
    - @@ -1603,7 +1501,7 @@
    Properties:
    -

    + @@ -1632,7 +1530,7 @@
    Properties:
    Source:
    @@ -1656,10 +1554,6 @@

    onRen
    -
    -

    This will be called when the State is rendered, this doesn't happen during load (see onLoadRenderCallback).

    -
    - @@ -1709,7 +1603,7 @@
    Properties:
    -

    + @@ -1738,7 +1632,7 @@
    Properties:
    Source:
    @@ -1762,10 +1656,6 @@

    onS
    -
    -

    This will be called when the state is shut down (i.e. swapped to another state).

    -
    - @@ -1815,7 +1705,7 @@
    Properties:
    -

    + @@ -1844,7 +1734,7 @@
    Properties:
    Source:
    @@ -1868,10 +1758,6 @@

    onUpd
    -
    -

    This will be called when State is updated, this doesn't happen during load (@see onLoadUpdateCallback).

    -
    - @@ -1921,113 +1807,7 @@
    Properties:
    -

    - - - - -
    NameTypeDescription
    game.game @@ -861,7 +787,7 @@
    Properties:
    -

    A reference to the currently running game.

    This will be called when create states (setup states...).

    This will be called when the state is started (i.e. set as the current active state).

    This will be called when the State is rendered but only during the load process.

    This will be called when the State is updated but only during the load process.

    This will be called when the state is paused.

    This will be called when init states (loading assets...).

    This will be called before the State is rendered and before the stage is cleared.

    This will be called when the State is rendered, this doesn't happen during load (see onLoadRenderCallback).

    This will be called when the state is shut down (i.e. swapped to another state).

    -
    - - - - - - - - - - - - - - - - - - - - -
    Source:
    -
    - - - - - - - -
    - - - -
    - - - -
    -

    states

    - - -
    -
    - -
    -

    Description.

    -
    - - - - - -
    - - -
    Properties:
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -2056,7 +1836,7 @@
    Properties:
    Source:
    @@ -2080,10 +1860,6 @@

    states
    -
    -

    The state to be switched to in the next frame.

    -
    - @@ -2123,7 +1899,7 @@
    Properties:

    + @@ -2162,7 +1938,7 @@
    Properties:
    Source:
    @@ -2322,7 +2098,7 @@
    Parameters:
    Source:
    @@ -2440,7 +2216,7 @@
    Parameters:
    Source:
    @@ -2532,7 +2308,7 @@

    destroySource:
    @@ -2650,7 +2426,7 @@
    Parameters:
    Source:
    @@ -2715,7 +2491,72 @@

    <protected> <
    Source:
    + + + + + + + + + + + + + + + + + + + + + + + + + +
    +

    <protected> pause()

    + + +
    +
    + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    @@ -2780,7 +2621,7 @@

    <protected> Source:
    @@ -2898,7 +2739,7 @@
    Parameters:
    Source:
    @@ -2963,7 +2804,72 @@

    <protected>
    Source:
    + + + + + + + +

    + + + + + + + + + + + + + +
    + + + +
    +

    <protected> resume()

    + + +
    +
    + + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    @@ -3081,7 +2987,7 @@
    Parameters:
    Source:
    @@ -3275,7 +3181,7 @@
    Parameters:
    Source:
    @@ -3340,7 +3246,7 @@

    <protected>
    Source:
    @@ -3391,7 +3297,7 @@

    <protected> Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:41 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:34 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Text.html b/docs/Phaser.Text.html index 576112ce7e..7fe0b27d74 100644 --- a/docs/Phaser.Text.html +++ b/docs/Phaser.Text.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -679,7 +719,7 @@

    Properties:
    -

    + @@ -711,7 +751,7 @@
    Properties:
    Source:
    @@ -735,6 +775,13 @@

    anchor
    +
    +

    The anchor sets the origin point of the texture. +The default is 0,0 this means the textures origin is the top left +Setting than anchor to 0.5,0.5 means the textures origin is centered +Setting the anchor to 1,1 would mean the textures origin points will be the bottom right

    +
    + @@ -784,7 +831,7 @@
    Properties:
    -

    + @@ -813,7 +860,7 @@
    Properties:
    Source:
    @@ -831,12 +878,18 @@
    Properties:
    -

    exists

    +

    angle

    +
    +

    Indicates the rotation of the Text, in degrees, from its original orientation. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. +Values outside this range are added to or subtracted from 360 to obtain a value within the range. For example, the statement player.angle = 450 is the same as player.angle = 90. +If you wish to work in radians instead of degrees use the property Sprite.rotation instead.

    +
    + @@ -870,13 +923,13 @@
    Properties:
    - + + @@ -911,14 +964,11 @@
    Properties:
    -
    Default Value:
    -
    • true
    -
    Source:
    @@ -936,12 +986,16 @@
    Properties:
    -

    game

    +

    content

    +
    +

    The string to be rendered by this Text object.

    +
    + @@ -975,13 +1029,13 @@
    Properties:
    - + + @@ -1020,7 +1074,7 @@
    Properties:
    Source:
    @@ -1038,7 +1092,7 @@
    Properties:
    -

    group

    +

    exists

    @@ -1077,13 +1131,13 @@
    Properties:
    - + + @@ -1119,13 +1173,13 @@
    Properties:
    Default Value:
    -
    • null
    +
    • true
    Source:
    @@ -1143,12 +1197,16 @@
    Properties:
    -

    name

    +

    font

    +
    +

    The font the text will be rendered in.

    +
    + @@ -1182,7 +1240,7 @@
    Properties:
    - + + @@ -1227,7 +1285,7 @@
    Properties:
    Source:
    @@ -1245,7 +1303,7 @@
    Properties:
    -

    renderable

    +

    game

    @@ -1284,13 +1342,13 @@
    Properties:
    - + + @@ -1329,7 +1387,7 @@
    Properties:
    Source:
    @@ -1347,7 +1405,7 @@
    Properties:
    -

    scale

    +

    group

    @@ -1386,13 +1444,13 @@
    Properties:
    - + + @@ -1431,7 +1489,7 @@
    Properties:
    Source:
    @@ -1449,7 +1507,7 @@
    Properties:
    -

    type

    +

    name

    @@ -1488,13 +1546,531 @@
    Properties:
    - + + + + + + + + + + + + + + +
    NameTypeDescription
    states. - - -Description - - - -

    This will be called when State is updated, this doesn't happen during load (@see onLoadUpdateCallback).

    -Description +Object @@ -2133,7 +1909,7 @@
    Properties:
    -

    The object containing Phaser.States.

    Description.

    This is a handy little var your game can use to determine if an object is alive or not, it doesn't effect rendering.

    Description.

    The anchor around which rotation and scaling takes place.

    existsangle -boolean +number @@ -886,7 +939,7 @@
    Properties:
    -

    Description.

    Gets or sets the angle of rotation in degrees.

    gamecontent -Phaser.Game +string @@ -991,7 +1045,7 @@
    Properties:
    -

    A reference to the currently running game.

    The string to be rendered by this Text object.

    groupexists -Description +boolean @@ -1093,7 +1147,7 @@
    Properties:
    -

    Description.

    If exists = false then the Text isn't updated by the core game loop.

    namefont @@ -1198,7 +1256,7 @@
    Properties:
    -

    Description.

    The font the text will be rendered in.

    renderablegame -boolean +Phaser.Game @@ -1300,7 +1358,7 @@
    Properties:
    -

    Description.

    A reference to the currently running Game.

    scalegroup -Phaser.Point +Phaser.Group @@ -1402,7 +1460,7 @@
    Properties:
    -

    Description.

    The parent Group of this Text object.

    typename + + +string + + + +

    The user defined name given to this object.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    renderable

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    renderable -Description +boolean + + + +

    A renderable object will be rendered to the context each frame.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    scale

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    scale + + +Phaser.Point + + + +

    The scale of the object when rendered. By default it's set to 1 (no scale). You can modify it via scale.x or scale.y or scale.setTo(x, y). A value of 1 means no change to the scale, 0.5 means "half the size", 2 means "twice the size", etc.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    type

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    type + + +number + + + +

    The const type of this object.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    x

    + + +
    +
    + +
    +

    The x coordinate of this object in world space.

    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The x coordinate of this object in world space.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    y

    + + +
    +
    + +
    +

    The y coordinate of this object in world space.

    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -1533,7 +2109,7 @@
    Properties:
    Source:
    @@ -1594,7 +2170,7 @@

    destroySource:
    @@ -1659,7 +2235,7 @@

    destroySource:
    @@ -1728,7 +2304,7 @@

    updateSource:
    @@ -1779,7 +2355,7 @@

    update Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:41 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:34 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Tile.html b/docs/Phaser.Tile.html new file mode 100644 index 0000000000..699e5fa367 --- /dev/null +++ b/docs/Phaser.Tile.html @@ -0,0 +1,3092 @@ + + + + + + Phaser Class: Tile + + + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Class: Tile

    +
    + +
    +

    + Phaser. + + Tile +

    + +

    A Tile is a single representation of a tile within a Tilemap.

    + +
    + +
    +
    + + + + +
    +

    new Tile(tileset, index, x, y, width, height)

    + + +
    +
    + + +
    +

    Create a new Tile object. Tiles live inside of Tilesets and are rendered via TilemapLayers.

    +
    + + + + + + + +
    Parameters:
    + + +

    NameTypeDescription
    y + + +number @@ -1504,7 +2080,7 @@
    Properties:
    -

    Description.

    The y coordinate of this object in world space.

    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    tileset + + +Phaser.Tileset + + + +

    The tileset this tile belongs to.

    index + + +number + + + +

    The index of this tile type in the core map data.

    x + + +number + + + +

    The x coordinate of this tile.

    y + + +number + + + +

    The y coordinate of this tile.

    width + + +number + + + +

    Width of the tile.

    height + + +number + + + +

    Height of the tile.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + + + + + + + + + + + + + +

    Members

    + +
    + +
    +

    <readonly> bottom

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    bottom + + +number + + + +

    The sum of the y and height properties.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    collideDown

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    collideDown + + +boolean + + + +

    Indicating collide with any object on the bottom.

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    collideLeft

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    collideLeft + + +boolean + + + +

    Indicating collide with any object on the left.

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    collideNone

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    collideNone + + +boolean + + + +

    Indicating this Tile doesn't collide at all.

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • true
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    collideRight

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    collideRight + + +boolean + + + +

    Indicating collide with any object on the right.

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    collideUp

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    collideUp + + +boolean + + + +

    Indicating collide with any object on the top.

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    collisionCallback

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    collisionCallback + + +boolean + + + +

    Tilemap collision callback.

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • null
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    collisionCallbackContext

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    collisionCallback + + +boolean + + + +

    Tilemap collision callback.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    height

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    height + + +number + + + +

    The height of the tile in pixels.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    index

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    index + + +number + + + +

    The index of this tile within the tileset.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    mass

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    mass + + +number + + + +

    The virtual mass of the tile.

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • 1.0
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    + + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    right + + +number + + + +

    The sum of the x and width properties.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    separateX

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    separateX + + +boolean + + + +

    Enable separation at x-axis.

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • true
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    separateY

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    separateY + + +boolean + + + +

    Enable separation at y-axis.

    +
    + + + + + + + + + + + + + + + + + + +
    Default Value:
    +
    • true
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    tileset

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    tileset + + +Phaser.Tileset + + + +

    The tileset this tile belongs to.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    width

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    width + + +number + + + +

    The width of the tile in pixels.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    x

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The top-left corner of the tile within the tileset.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    y

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    y + + +number + + + +

    The top-left corner of the tile within the tileset.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + +
    + + + +

    Methods

    + +
    + +
    +

    destroy()

    + + +
    +
    + + +
    +

    Clean up memory.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    resetCollision()

    + + +
    +
    + + +
    +

    Reset collision status flags.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    setCollision(left, right, up, down)

    + + +
    +
    + + +
    +

    Set collision settings on this tile.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    left + + +boolean + + + +

    Indicating collide with any object on the left.

    right + + +boolean + + + +

    Indicating collide with any object on the right.

    up + + +boolean + + + +

    Indicating collide with any object on the top.

    down + + +boolean + + + +

    Indicating collide with any object on the bottom.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    setCollisionCallback(callback, context)

    + + +
    +
    + + +
    +

    Set callback to be called when this tilemap collides.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    callback + + +function + + + +

    Callback function.

    context + + +object + + + +

    Callback will be called with this context.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + +
    + + + + + + + + + + + + + + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:34 GMT-0000 (GMT) using the DocStrap template. + +
    + + + +
    +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/Phaser.TileSprite.html b/docs/Phaser.TileSprite.html index e530a1781f..2f95aca936 100644 --- a/docs/Phaser.TileSprite.html +++ b/docs/Phaser.TileSprite.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -406,7 +446,7 @@

    new TileSpr
    -

    Create a new <code>TileSprite</code>.

    +

    A TileSprite is a Sprite whos texture is set to repeat and can be scrolled. As it scrolls the texture repeats (wraps) on the edges.

    @@ -635,7 +675,7 @@

    Parameters:
    Source:
    @@ -664,6 +704,12 @@
    Parameters:
    +

    Extends

    + + + @@ -679,7 +725,7 @@

    Members

    -

    texture

    +

    alive

    @@ -718,13 +764,13 @@
    Properties:
    - texture + alive -Description +boolean @@ -734,7 +780,7 @@
    Properties:
    -

    Description.

    +

    This is a handy little var your game can use to determine if a sprite is alive or not, it doesn't effect rendering.

    @@ -749,6 +795,11 @@
    Properties:
    +
    Inherited From:
    +
    + @@ -759,11 +810,14 @@
    Properties:
    +
    Default Value:
    +
    • true
    +
    Source:
    @@ -781,12 +835,19 @@
    Properties:
    -

    tilePosition

    +

    anchor

    +
    +

    The anchor sets the origin point of the texture. +The default is 0,0 this means the textures origin is the top left +Setting than anchor to 0.5,0.5 means the textures origin is centered +Setting the anchor to 1,1 would mean the textures origin points will be the bottom right

    +
    + @@ -820,13 +881,13 @@
    Properties:
    - tilePosition + anchor -Point +Phaser.Point @@ -836,7 +897,7 @@
    Properties:
    -

    The offset position of the image that is being tiled.

    +

    The anchor around which rotation and scaling takes place.

    @@ -851,6 +912,11 @@
    Properties:
    +
    Inherited From:
    +
    + @@ -865,7 +931,7 @@
    Properties:
    Source:
    @@ -883,12 +949,18 @@
    Properties:
    -

    tileScale

    +

    angle

    +
    +

    Indicates the rotation of the Sprite, in degrees, from its original orientation. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. +Values outside this range are added to or subtracted from 360 to obtain a value within the range. For example, the statement player.angle = 450 is the same as player.angle = 90. +If you wish to work in radians instead of degrees use the property Sprite.rotation instead.

    +
    + @@ -922,13 +994,13 @@
    Properties:
    - tileScale + angle -Point +number @@ -938,7 +1010,7 @@
    Properties:
    -

    The scaling of the image that is being tiled.

    +

    Gets or sets the Sprites angle of rotation in degrees.

    @@ -953,6 +1025,11 @@
    Properties:
    +
    Inherited From:
    +
    + @@ -967,7 +1044,7 @@
    Properties:
    Source:
    @@ -985,7 +1062,7 @@
    Properties:
    -

    type

    +

    animations

    @@ -1024,13 +1101,13 @@
    Properties:
    - type + animations -Description +Phaser.AnimationManager @@ -1040,7 +1117,7 @@
    Properties:
    -

    Description.

    +

    This manages animations of the sprite. You can modify animations through it (see Phaser.AnimationManager)

    @@ -1055,6 +1132,11 @@
    Properties:
    +
    Inherited From:
    +
    + @@ -1069,7 +1151,7 @@
    Properties:
    Source:
    @@ -1084,7 +1166,90 @@
    Properties:
    -
    + + +
    +

    autoCull

    + + +
    +
    + +
    +

    Should this Sprite be automatically culled if out of range of the camera? +A culled sprite has its renderable property set to 'false'.

    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    autoCull + + +boolean + + + +

    A flag indicating if the Sprite should be automatically camera culled or not.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + @@ -1092,6 +1257,6862 @@
    Properties:
    + + +
    Default Value:
    +
    • false
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    body

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    body + + +Phaser.Physics.Arcade.Body + + + +

    By default Sprites have a Phaser.Physics Body attached to them. You can operate physics actions via this property, or null it to skip all physics updates.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    bottomLeft

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    bottomLeft + + +Phaser.Point + + + +

    A Point containing the bottom left coordinate of the Sprite. Takes rotation and scale into account.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    bottomRight

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    bottomRight + + +Phaser.Point + + + +

    A Point containing the bottom right coordinate of the Sprite. Takes rotation and scale into account.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    bounds

    + + +
    +
    + +
    +

    This Rectangle object fully encompasses the Sprite and is updated in real-time. +The bounds is the full bounding area after rotation and scale have been taken into account. It should not be modified directly. +It's used for Camera culling and physics body alignment.

    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    bounds + + +Phaser.Rectangle + + + +
    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    cameraOffset

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    cameraOffset + + +Phaser.Point + + + +

    If this Sprite is fixed to the camera then use this Point to specify how far away from the Camera x/y it's rendered.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    center

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    center + + +Phaser.Point + + + +

    A Point containing the center coordinate of the Sprite. Takes rotation and scale into account.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    crop

    + + +
    +
    + +
    +

    You can crop the Sprites texture by modifying the crop properties. For example crop.width = 50 would set the Sprite to only render 50px wide. +The crop is only applied if you have set Sprite.cropEnabled to true.

    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    crop + + +Phaser.Rectangle + + + +

    The crop Rectangle applied to the Sprite texture before rendering.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    cropEnabled

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    cropEnabled + + +boolean + + + +

    If true the Sprite.crop property is used to crop the texture before render. Set to false to disable.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    currentFrame

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    currentFrame + + +Phaser.Frame + + + +

    A reference to the currently displayed frame.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    events

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    events + + +Phaser.Events + + + +

    The Events you can subscribe to that are dispatched when certain things happen on this Sprite or its components.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    exists

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    exists + + +boolean + + + +

    If exists = false then the Sprite isn't updated by the core game loop or physics subsystem at all.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + +
    Default Value:
    +
    • true
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    fixedToCamera

    + + +
    +
    + +
    +

    A Sprite that is fixed to the camera ignores the position of any ancestors in the display list and uses its x/y coordinates as offsets from the top left of the camera.

    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    fixedToCamera + + +boolean + + + +

    Fixes this Sprite to the Camera.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    frame

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    frame + + +number + + + +

    Gets or sets the current frame index and updates the Texture Cache for display.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    frameName

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    frameName + + +string + + + +

    Gets or sets the current frame name and updates the Texture Cache for display.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    game

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    game + + +Phaser.Game + + + +

    A reference to the currently running Game.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    group

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    group + + +Phaser.Group + + + +

    The parent Group of this Sprite. This is usually set after Sprite instantiation by the parent.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    health

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    health + + +number + + + +

    Health value. Used in combination with damage() to allow for quick killing of Sprites.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    height

    + + +
    +
    + +
    +

    The height of the sprite in pixels, setting this will actually modify the scale to acheive the value desired. +If you wish to crop the Sprite instead see the Sprite.crop value.

    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    height + + +number + + + +

    The height of the Sprite in pixels.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    <readonly> inCamera

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    inCamera + + +boolean + + + +

    Is this sprite visible to the camera or not?

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    input

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    input + + +Phaser.InputHandler + + + +

    The Input Handler Component.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    inputEnabled

    + + +
    +
    + +
    +

    By default a Sprite won't process any input events at all. By setting inputEnabled to true the Phaser.InputHandler is +activated for this Sprite instance and it will then start to process click/touch events and more.

    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    inputEnabled + + +boolean + + + +

    Set to true to allow this Sprite to receive input events, otherwise false.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    inWorld

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    inWorld + + +boolean + + + +

    This value is set to true if the Sprite is positioned within the World, otherwise false.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    inWorldThreshold

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    inWorldThreshold + + +number + + + +

    A threshold value applied to the inWorld check. If you don't want a Sprite to be considered "out of the world" until at least 100px away for example then set it to 100.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + +
    Default Value:
    +
    • 0
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    key

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    key + + +string +| + +Phaser.RenderTexture +| + +Phaser.BitmapData +| + +PIXI.Texture + + + +

    This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture, BitmapData or PIXI.Texture.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    lifespan

    + + +
    +
    + +
    +

    If you would like the Sprite to have a lifespan once 'born' you can set this to a positive value. Handy for particles, bullets, etc. +The lifespan is decremented by game.time.elapsed each update, once it reaches zero the kill() function is called.

    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    lifespan + + +number + + + +

    The lifespan of the Sprite (in ms) before it will be killed.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + +
    Default Value:
    +
    • 0
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    name

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    name + + +string + + + +

    The user defined name given to this Sprite.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    offset

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    offset + + +Phaser.Point + + + +

    Corner point defaults. Should not typically be modified.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    outOfBoundsKill

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    outOfBoundsKill + + +boolean + + + +

    If true the Sprite is killed as soon as Sprite.inWorld is false.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + +
    Default Value:
    +
    • false
    + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    renderOrderID

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    renderOrderID + + +number + + + +

    Used by the Renderer and Input Manager to control picking order.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    scale

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    scale + + +Phaser.Point + + + +

    The scale of the Sprite when rendered. By default it's set to 1 (no scale). You can modify it via scale.x or scale.y or scale.setTo(x, y). A value of 1 means no change to the scale, 0.5 means "half the size", 2 means "twice the size", etc.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    texture

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    texture + + +PIXI.Texture + + + +

    The texture that the sprite renders with.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    textureRegion

    + + +
    +
    + +
    +

    The rectangular area from the texture that will be rendered.

    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    textureRegion + + +Phaser.Rectangle + + + +
    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    tilePosition

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    tilePosition + + +Phaser.Point + + + +

    The offset position of the image that is being tiled.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    tileScale

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    tileScale + + +Phaser.Point + + + +

    The scaling of the image that is being tiled.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    topLeft

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    topLeft + + +Phaser.Point + + + +

    A Point containing the top left coordinate of the Sprite. Takes rotation and scale into account.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    topRight

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    topRight + + +Phaser.Point + + + +

    A Point containing the top right coordinate of the Sprite. Takes rotation and scale into account.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    <readonly> type

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    type + + +number + + + +

    The const type of this object.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    width

    + + +
    +
    + +
    +

    The width of the sprite in pixels, setting this will actually modify the scale to acheive the value desired. +If you wish to crop the Sprite instead see the Sprite.crop value.

    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    width + + +number + + + +

    The width of the Sprite in pixels.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    world

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    world + + +Phaser.Point + + + +

    The world coordinates of this Sprite. This differs from the x/y coordinates which are relative to the Sprites container.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    x

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The x coordinate in world space of this Sprite.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    y

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    y + + +number + + + +

    The y coordinate in world space of this Sprite.

    +
    + + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + + + +

    Methods

    + +
    + +
    +

    bringToTop()

    + + +
    +
    + + +
    +

    Brings the Sprite to the top of the display list it is a child of. Sprites that are members of a Phaser.Group are only +bought to the top of that Group, not the entire display list.

    +
    + + + + + + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    (Phaser.Sprite) This instance.

    +
    + + + + + + + +
    + + + +
    +

    centerOn(x, y)

    + + +
    +
    + + +
    +

    Moves the sprite so its center is located on the given x and y coordinates. +Doesn't change the anchor point of the sprite.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    The x coordinate (in world space) to position the Sprite at.

    y + + +number + + + +

    The y coordinate (in world space) to position the Sprite at.

    + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    (Phaser.Sprite) This instance.

    +
    + + + + + + + +
    + + + +
    +

    damage(amount)

    + + +
    +
    + + +
    +

    Damages the Sprite, this removes the given amount from the Sprites health property. +If health is then taken below zero Sprite.kill is called.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    amount + + +number + + + +

    The amount to subtract from the Sprite.health value.

    + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    (Phaser.Sprite) This instance.

    +
    + + + + + + + +
    + + + +
    +

    destroy()

    + + +
    +
    + + +
    +

    Destroy this Graphics instance.

    +
    + + + + + + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    destroy()

    + + +
    +
    + + +
    +

    Destroys the Sprite. This removes it from its parent group, destroys the input, event and animation handlers if present +and nulls its reference to game, freeing it up for garbage collection.

    +
    + + + + + + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    getLocalPosition(p, x, y, sx, sy) → {Phaser.Point}

    + + +
    +
    + + +
    +

    Gets the local position of a coordinate relative to the Sprite, factoring in rotation and scale. +Mostly only used internally.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    p + + +Phaser.Point + + + +

    The Point object to store the results in.

    x + + +number + + + +

    x coordinate within the Sprite to translate.

    y + + +number + + + +

    x coordinate within the Sprite to translate.

    sx + + +number + + + +

    Scale factor to be applied.

    sy + + +number + + + +

    Scale factor to be applied.

    + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The translated point.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Point + + +
    +
    + + + + + +
    + + + +
    +

    getLocalUnmodifiedPosition(p, x, y) → {Phaser.Point}

    + + +
    +
    + + +
    +

    Gets the local unmodified position of a coordinate relative to the Sprite, factoring in rotation and scale. +Mostly only used internally by the Input Manager, but also useful for custom hit detection.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    p + + +Phaser.Point + + + +

    The Point object to store the results in.

    x + + +number + + + +

    x coordinate within the Sprite to translate.

    y + + +number + + + +

    x coordinate within the Sprite to translate.

    + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The translated point.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Point + + +
    +
    + + + + + +
    + + + +
    +

    kill()

    + + +
    +
    + + +
    +

    Kills a Sprite. A killed Sprite has its alive, exists and visible properties all set to false. +It will dispatch the onKilled event, you can listen to Sprite.events.onKilled for the signal. +Note that killing a Sprite is a way for you to quickly recycle it in a Sprite pool, it doesn't free it up from memory. +If you don't need this Sprite any more you should call Sprite.destroy instead.

    +
    + + + + + + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    (Phaser.Sprite) This instance.

    +
    + + + + + + + +
    + + + +
    +

    loadTexture(key, frame)

    + + +
    +
    + + +
    +

    Changes the Texture the Sprite is using entirely. The old texture is removed and the new one is referenced or fetched from the Cache. +This causes a WebGL texture update, so use sparingly or in low-intensity portions of your game.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    key + + +string +| + +Phaser.RenderTexture +| + +Phaser.BitmapData +| + +PIXI.Texture + + + +

    This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture, BitmapData or PIXI.Texture.

    frame + + +string +| + +number + + + +

    If this Sprite is using part of a sprite sheet or texture atlas you can specify the exact frame to use by giving a string or numeric index.

    + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    play(name, frameRate, loop, killOnComplete) → {Phaser.Animation}

    + + +
    +
    + + +
    +

    Play an animation based on the given key. The animation should previously have been added via sprite.animations.add() +If the requested animation is already playing this request will be ignored. If you need to reset an already running animation do so directly on the Animation object itself.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDefaultDescription
    name + + +string + + + + + + + + + + + +

    The name of the animation to be played, e.g. "fire", "walk", "jump".

    frameRate + + +number + + + + + + <optional>
    + + + + + +
    + + null + +

    The framerate to play the animation at. The speed is given in frames per second. If not provided the previously set frameRate of the Animation is used.

    loop + + +boolean + + + + + + <optional>
    + + + + + +
    + + false + +

    Should the animation be looped after playback. If not provided the previously set loop value of the Animation is used.

    killOnComplete + + +boolean + + + + + + <optional>
    + + + + + +
    + + false + +

    If set to true when the animation completes (only happens if loop=false) the parent Sprite will be killed.

    + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    A reference to playing Animation instance.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Animation + + +
    +
    + + + + + +
    + + + +
    +

    postUpdate()

    + + +
    +
    + + +
    +

    Internal function called by the World postUpdate cycle.

    +
    + + + + + + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    preUpdate()

    + + +
    +
    + + +
    +

    Automatically called by World.preUpdate. Handles cache updates, lifespan checks, animation updates and physics updates.

    +
    + + + + + + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    reset(x, y, health)

    + + +
    +
    + + +
    +

    Resets the Sprite. This places the Sprite at the given x/y world coordinates and then +sets alive, exists, visible and renderable all to true. Also resets the outOfBounds state and health values. +If the Sprite has a physics body that too is reset.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDefaultDescription
    x + + +number + + + + + + + + + + + +

    The x coordinate (in world space) to position the Sprite at.

    y + + +number + + + + + + + + + + + +

    The y coordinate (in world space) to position the Sprite at.

    health + + +number + + + + + + <optional>
    + + + + + +
    + + 1 + +

    The health to give the Sprite.

    + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    (Phaser.Sprite) This instance.

    +
    + + + + + + + +
    + + + +
    +

    resetCrop()

    + + +
    +
    + + +
    +

    Resets the Sprite.crop value back to the frame dimensions.

    +
    + + + + + + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    revive(health)

    + + +
    +
    + + +
    +

    Brings a 'dead' Sprite back to life, optionally giving it the health value specified. +A resurrected Sprite has its alive, exists and visible properties all set to true. +It will dispatch the onRevived event, you can listen to Sprite.events.onRevived for the signal.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDefaultDescription
    health + + +number + + + + + + <optional>
    + + + + + +
    + + 1 + +

    The health to give the Sprite.

    + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    (Phaser.Sprite) This instance.

    +
    + + + + + + + +
    + + + +
    +

    updateAnimation()

    + + +
    +
    + + +
    +

    Internal function called by preUpdate.

    +
    + + + + + + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    updateBounds()

    + + +
    +
    + + +
    +

    Internal function called by preUpdate.

    +
    + + + + + + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    updateCache()

    + + +
    +
    + + +
    +

    Internal function called by preUpdate.

    +
    + + + + + + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    updateCrop()

    + + +
    +
    + + +
    +

    Internal function called by preUpdate.

    +
    + + + + + + + + + +
    + + + + + + + +
    Inherited From:
    +
    + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + +
    + + + + + @@ -1112,7 +8133,7 @@
    Properties:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:41 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:35 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Tilemap.html b/docs/Phaser.Tilemap.html new file mode 100644 index 0000000000..2d0976e6d5 --- /dev/null +++ b/docs/Phaser.Tilemap.html @@ -0,0 +1,5205 @@ + + + + + + Phaser Class: Tilemap + + + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Class: Tilemap

    +
    + +
    +

    + Phaser. + + Tilemap +

    + +

    Phaser.Tilemap

    + +
    + +
    +
    + + + + +
    +

    new Tilemap(game, key)

    + + +
    +
    + + +
    +

    A Tile Map object. A Tile map consists of a set of tile data and tile sets. It is rendered to the display using a TilemapLayer. +A map may have multiple layers. You can perform operations on the map data such as copying, pasting, filling and shuffling the tiles around.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    game + + +Phaser.Game + + + + + + + + + +

    Game reference to the currently running game.

    key + + +string + + + + + + <optional>
    + + + + + +

    The key of the tilemap data as stored in the Cache.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + +
    + + + + + + + + + + + + +

    Members

    + +
    + +
    +

    <static, constant> CSV :number

    + + +
    +
    + + + +
    Type:
    +
      +
    • + +number + + +
    • +
    + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    <static, constant> TILED_JSON :number

    + + +
    +
    + + + +
    Type:
    +
      +
    • + +number + + +
    • +
    + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    currentLayer

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    currentLayer + + +number + + + +

    The current layer.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    debugMap

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    debugMap + + +array + + + +

    Map data used for debug values only.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    dirty

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    dirty + + +boolean + + + +

    Internal rendering related flag.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    game

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    game + + +Phaser.Game + + + +

    A reference to the currently running Game.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    layers

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    layers + + +array + + + +

    An array of Tilemap layers.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + +
    + + + +

    Methods

    + +
    + +
    +

    calculateIndexes()

    + + +
    +
    + + +
    +

    Internal function that calculates the tile indexes for the map data.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    copy(x, y, width, height, layer) → {array}

    + + +
    +
    + + +
    +

    Copies all of the tiles in the given rectangular block into the tilemap data buffer.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    x + + +number + + + + + + + + + +

    X position of the top left of the area to copy (given in tiles, not pixels)

    y + + +number + + + + + + + + + +

    Y position of the top left of the area to copy (given in tiles, not pixels)

    width + + +number + + + + + + + + + +

    The width of the area to copy (given in tiles, not pixels)

    height + + +number + + + + + + + + + +

    The height of the area to copy (given in tiles, not pixels)

    layer + + +number + + + + + + <optional>
    + + + + + +

    The Tilemap Layer to operate on.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    An array of the tiles that were copied.

    +
    + + + +
    +
    + Type +
    +
    + +array + + +
    +
    + + + + + +
    + + + +
    +

    create(name, width, height)

    + + +
    +
    + + +
    +

    Creates an empty map of the given dimensions.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    name + + +string + + + +

    The name of the map (mostly used for debugging)

    width + + +number + + + +

    The width of the map in tiles.

    height + + +number + + + +

    The height of the map in tiles.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    destroy()

    + + +
    +
    + + +
    +

    Removes all layers from this tile map and nulls the game reference.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    dump()

    + + +
    +
    + + +
    +

    Dumps the tilemap data out to the console.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    fill(index, x, y, width, height, layer)

    + + +
    +
    + + +
    +

    Fill a block with a specific tile index.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    index + + +number + + + + + + + + + +

    Index of tiles you want to fill with.

    x + + +number + + + + + + + + + +

    X position of the top left of the area to operate one, given in tiles, not pixels.

    y + + +number + + + + + + + + + +

    Y position of the top left of the area to operate one, given in tiles, not pixels.

    width + + +number + + + + + + + + + +

    The width in tiles of the area to operate on.

    height + + +number + + + + + + + + + +

    The height in tiles of the area to operate on.

    layer + + +number + + + + + + <optional>
    + + + + + +

    The Tilemap Layer to operate on.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    forEach(callback, context, x, y, width, height, layer)

    + + +
    +
    + + +
    +

    For each tile in the given area (defined by x/y and width/height) run the given callback.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    callback + + +number + + + + + + + + + +

    The callback. Each tile in the given area will be passed to this callback as the first and only parameter.

    context + + +number + + + + + + + + + +

    The context under which the callback should be run.

    x + + +number + + + + + + + + + +

    X position of the top left of the area to operate one, given in tiles, not pixels.

    y + + +number + + + + + + + + + +

    Y position of the top left of the area to operate one, given in tiles, not pixels.

    width + + +number + + + + + + + + + +

    The width in tiles of the area to operate on.

    height + + +number + + + + + + + + + +

    The height in tiles of the area to operate on.

    layer + + +number + + + + + + <optional>
    + + + + + +

    The Tilemap Layer to operate on.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    getTile(x, y, layer) → {number}

    + + +
    +
    + + +
    +

    Gets a tile from the Tilemap Layer. The coordinates are given in tile values.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    x + + +number + + + + + + + + + +

    X position to get the tile from (given in tile units, not pixels)

    y + + +number + + + + + + + + + +

    Y position to get the tile from (given in tile units, not pixels)

    layer + + +number + + + + + + <optional>
    + + + + + +

    The Tilemap Layer to operate on.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The index of the tile at the given coordinates.

    +
    + + + +
    +
    + Type +
    +
    + +number + + +
    +
    + + + + + +
    + + + +
    +

    getTileWorldXY(x, y, layer) → {number}

    + + +
    +
    + + +
    +

    Gets a tile from the Tilemap layer. The coordinates are given in pixel values.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    x + + +number + + + + + + + + + +

    X position to get the tile from (given in pixels)

    y + + +number + + + + + + + + + +

    Y position to get the tile from (given in pixels)

    layer + + +number + + + + + + <optional>
    + + + + + +

    The Tilemap Layer to operate on.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The index of the tile at the given coordinates.

    +
    + + + +
    +
    + Type +
    +
    + +number + + +
    +
    + + + + + +
    + + + +
    +

    paste(x, y, tileblock, layer)

    + + +
    +
    + + +
    +

    Pastes a previously copied block of tile data into the given x/y coordinates. Data should have been prepared with Tilemap.copy.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    x + + +number + + + +

    X position of the top left of the area to paste to (given in tiles, not pixels)

    y + + +number + + + +

    Y position of the top left of the area to paste to (given in tiles, not pixels)

    tileblock + + +array + + + +

    The block of tiles to paste.

    layer + + +number + + + +

    The Tilemap Layer to operate on.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    putTile(index, x, y, layer)

    + + +
    +
    + + +
    +

    Puts a tile of the given index value at the coordinate specified.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    index + + +number + + + + + + + + + +

    The index of this tile to set.

    x + + +number + + + + + + + + + +

    X position to place the tile (given in tile units, not pixels)

    y + + +number + + + + + + + + + +

    Y position to place the tile (given in tile units, not pixels)

    layer + + +number + + + + + + <optional>
    + + + + + +

    The Tilemap Layer to operate on.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    putTileWorldXY(index, x, y, tileWidth, tileHeight, layer)

    + + +
    +
    + + +
    +

    Puts a tile into the Tilemap layer. The coordinates are given in pixel values.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    index + + +number + + + + + + + + + +

    The index of the tile to put into the layer.

    x + + +number + + + + + + + + + +

    X position to insert the tile (given in pixels)

    y + + +number + + + + + + + + + +

    Y position to insert the tile (given in pixels)

    tileWidth + + +number + + + + + + + + + +

    The width of the tile in pixels.

    tileHeight + + +number + + + + + + + + + +

    The height of the tile in pixels.

    layer + + +number + + + + + + <optional>
    + + + + + +

    The Tilemap Layer to operate on.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    random(tileA, tileB, x, y, width, height, layer)

    + + +
    +
    + + +
    +

    Randomises a set of tiles in a given area.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    tileA + + +number + + + + + + + + + +

    First tile index.

    tileB + + +number + + + + + + + + + +

    Second tile index.

    x + + +number + + + + + + + + + +

    X position of the top left of the area to operate one, given in tiles, not pixels.

    y + + +number + + + + + + + + + +

    Y position of the top left of the area to operate one, given in tiles, not pixels.

    width + + +number + + + + + + + + + +

    The width in tiles of the area to operate on.

    height + + +number + + + + + + + + + +

    The height in tiles of the area to operate on.

    layer + + +number + + + + + + <optional>
    + + + + + +

    The Tilemap Layer to operate on.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    removeAllLayers()

    + + +
    +
    + + +
    +

    Removes all layers from this tile map.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    replace(tileA, tileB, x, y, width, height, layer)

    + + +
    +
    + + +
    +

    Replaces one type of tile with another in the given area (defined by x/y and width/height).

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    tileA + + +number + + + + + + + + + +

    First tile index.

    tileB + + +number + + + + + + + + + +

    Second tile index.

    x + + +number + + + + + + + + + +

    X position of the top left of the area to operate one, given in tiles, not pixels.

    y + + +number + + + + + + + + + +

    Y position of the top left of the area to operate one, given in tiles, not pixels.

    width + + +number + + + + + + + + + +

    The width in tiles of the area to operate on.

    height + + +number + + + + + + + + + +

    The height in tiles of the area to operate on.

    layer + + +number + + + + + + <optional>
    + + + + + +

    The Tilemap Layer to operate on.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    setLayer(layer)

    + + +
    +
    + + +
    +

    Sets the current layer to the given index.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    layer + + +number + + + +

    Sets the current layer to the given index.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    shuffle(tileA, tileB, x, y, width, height, layer)

    + + +
    +
    + + +
    +

    Shuffles a set of tiles in a given area. It will only randomise the tiles in that area, so if they're all the same nothing will appear to have changed!

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    tileA + + +number + + + + + + + + + +

    First tile index.

    tileB + + +number + + + + + + + + + +

    Second tile index.

    x + + +number + + + + + + + + + +

    X position of the top left of the area to operate one, given in tiles, not pixels.

    y + + +number + + + + + + + + + +

    Y position of the top left of the area to operate one, given in tiles, not pixels.

    width + + +number + + + + + + + + + +

    The width in tiles of the area to operate on.

    height + + +number + + + + + + + + + +

    The height in tiles of the area to operate on.

    layer + + +number + + + + + + <optional>
    + + + + + +

    The Tilemap Layer to operate on.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    swapHandler(value, index)

    + + +
    +
    + + +
    +

    Internal function that handles the swapping of tiles.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    value + + +number + + + +
    index + + +number + + + +
    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    swapTile(tileA, tileB, x, y, width, height)

    + + +
    +
    + + +
    +

    Swap tiles with 2 kinds of indexes.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    tileA + + +number + + + +

    First tile index.

    tileB + + +number + + + +

    Second tile index.

    x + + +number + + + +

    X position of the top left of the area to operate one, given in tiles, not pixels.

    y + + +number + + + +

    Y position of the top left of the area to operate one, given in tiles, not pixels.

    width + + +number + + + +

    The width in tiles of the area to operate on.

    height + + +number + + + +

    The height in tiles of the area to operate on.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + +
    + + + + + +
    + +
    + + + + +
    + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:34 GMT-0000 (GMT) using the DocStrap template. + +
    +
    + + +
    +
    +
    + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/Phaser.Bullet.html b/docs/Phaser.TilemapLayer.html similarity index 57% rename from docs/Phaser.Bullet.html rename to docs/Phaser.TilemapLayer.html index 7f9a640ec6..074bbadf7d 100644 --- a/docs/Phaser.Bullet.html +++ b/docs/Phaser.TilemapLayer.html @@ -3,7 +3,7 @@ - Phaser Class: Bullet + Phaser Class: TilemapLayer + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Class: TilemapParser

    +
    + +
    +

    + Phaser. + + TilemapParser +

    + +
    + +
    +
    + + + + +
    +

    new TilemapParser()

    + + +
    +
    + + +
    +

    Phaser.TilemapParser parses data objects from Phaser.Loader that need more preparation before they can be inserted into a Tilemap.

    +
    + + + + + + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + +
    + + + + + + + + + + + + + + +

    Methods

    + +
    + +
    +

    <static> parse(game, data, format) → {Phaser.Tileset}

    + + +
    +
    + + +
    +

    Parse tileset data from the cache and creates a Tileset object.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    game + + +Phaser.Game + + + +

    Game reference to the currently running game.

    data + + +object + + + +
    format + + +string + + + +
    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    Generated Tileset object.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Tileset + + +
    +
    + + + + + +
    + + + +
    +

    <static> parseCSV(data) → {object}

    + + +
    +
    + + +
    +

    Parses a CSV file into valid map data.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    data + + +string + + + +

    The CSV file data.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    Generated map data.

    +
    + + + +
    +
    + Type +
    +
    + +object + + +
    +
    + + + + + +
    + + + +
    +

    <static> parseJSON(json-) → {object}

    + + +
    +
    + + +
    +

    Parses a Tiled JSON file into valid map data.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    json- + + +object + + + +

    The Tiled JSON data.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    Generated map data.

    +
    + + + +
    +
    + Type +
    +
    + +object + + +
    +
    + + + + + +
    + + + +
    +

    <static> tileset(game, key, tileWidth, tileHeight, tileMax, tileMargin, tileSpacing) → {Phaser.Tileset}

    + + +
    +
    + + +
    +

    Creates a Tileset object.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    game + + +Phaser.Game + + + +

    Game reference to the currently running game.

    key + + +string + + + +
    tileWidth + + +number + + + +
    tileHeight + + +number + + + +
    tileMax + + +number + + + +
    tileMargin + + +number + + + +
    tileSpacing + + +number + + + +
    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    Generated Tileset object.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Tileset + + +
    +
    + + + + + +
    + +
    + + + + + +
    + +
    + + + + +
    + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:35 GMT-0000 (GMT) using the DocStrap template. + +
    +
    + + +
    +
    +
    + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/Phaser.Tileset.html b/docs/Phaser.Tileset.html new file mode 100644 index 0000000000..cd4e1e5692 --- /dev/null +++ b/docs/Phaser.Tileset.html @@ -0,0 +1,2780 @@ + + + + + + Phaser Class: Tileset + + + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Class: Tileset

    +
    + +
    +

    + Phaser. + + Tileset +

    + +

    Phaser.Tileset

    + +
    + +
    +
    + + + + +
    +

    new Tileset(image, key, tileWidth, tileHeight, tileMargin, tileSpacing)

    + + +
    +
    + + +
    +

    A Tile set is a combination of an image containing the tiles and collision data per tile.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    image + + +Image + + + + + + + + + +

    The Image object from the Cache.

    key + + +string + + + + + + + + + +

    The key of the tileset in the cache.

    tileWidth + + +number + + + + + + + + + +

    The width of the tile in pixels.

    tileHeight + + +number + + + + + + + + + +

    The height of the tile in pixels.

    tileMargin + + +number + + + + + + <optional>
    + + + + + +

    The margin around the tiles in the sheet.

    tileSpacing + + +number + + + + + + <optional>
    + + + + + +

    The spacing between the tiles in the sheet.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + +
    + + + + + + + + + + + + +

    Members

    + +
    + +
    +

    image

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    image + + +object + + + +

    The image used for rendering.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    key

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    key + + +string + + + +

    The cache ID.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    margin

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    tileMargin + + +number + + + +

    The margin around the tiles in the sheet.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    spacing

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    tileSpacing + + +number + + + +

    The margin around the tiles in the sheet.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    tileHeight

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    tileHeight + + +number + + + +

    The height of a tile in pixels.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    tiles

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    tiles + + +array + + + +

    An array of the tile collision data.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    tileWidth

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    tileWidth + + +number + + + +

    The width of a tile in pixels.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + + + +
    +

    <readonly> total

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    total + + +number + + + +

    The total number of tiles in this Tileset.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + +
    + + + +

    Methods

    + +
    + +
    +

    addTile(tile)

    + + +
    +
    + + +
    +

    Adds a Tile into this set.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    tile + + +Phaser.Tile + + + +

    The tile to add to this set.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    canCollide(index) → {boolean}

    + + +
    +
    + + +
    +

    Checks if the tile at the given index can collide.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    index + + +number + + + +

    The index of the tile within the set.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    True or false depending on the tile collision or null if no tile was found at the given index.

    +
    + + + +
    +
    + Type +
    +
    + +boolean + + +
    +
    + + + + + +
    + + + +
    +

    checkTileIndex(index) → {boolean}

    + + +
    +
    + + +
    +

    Checks if the tile at the given index exists.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    index + + +number + + + +

    The index of the tile within the set.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    True if a tile exists at the given index otherwise false.

    +
    + + + +
    +
    + Type +
    +
    + +boolean + + +
    +
    + + + + + +
    + + + +
    +

    getTile(index) → {Phaser.Tile}

    + + +
    +
    + + +
    +

    Gets a Tile from this set.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    index + + +number + + + +

    The index of the tile within the set.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + +
    Returns:
    + + +
    +

    The tile.

    +
    + + + +
    +
    + Type +
    +
    + +Phaser.Tile + + +
    +
    + + + + + +
    + + + +
    +

    setCollision(index, left, right, up, down)

    + + +
    +
    + + +
    +

    Sets collision values on a tile in the set.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    index + + +number + + + +

    The index of the tile within the set.

    left + + +boolean + + + +

    Should the tile collide on the left?

    right + + +boolean + + + +

    Should the tile collide on the right?

    up + + +boolean + + + +

    Should the tile collide on the top?

    down + + +boolean + + + +

    Should the tile collide on the bottom?

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    setCollisionRange(start, stop, left, right, up, down)

    + + +
    +
    + + +
    +

    Sets collision values on a range of tiles in the set.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    start + + +number + + + +

    The index to start setting the collision data on.

    stop + + +number + + + +

    The index to stop setting the collision data on.

    left + + +boolean + + + +

    Should the tile collide on the left?

    right + + +boolean + + + +

    Should the tile collide on the right?

    up + + +boolean + + + +

    Should the tile collide on the top?

    down + + +boolean + + + +

    Should the tile collide on the bottom?

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    setSpacing(tileMargin, tileSpacing)

    + + +
    +
    + + +
    +

    Sets tile spacing and margins.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDescription
    tileMargin + + +number + + + + + + <optional>
    + + + + + +

    The margin around the tiles in the sheet.

    tileSpacing + + +number + + + + + + <optional>
    + + + + + +

    The spacing between the tiles in the sheet.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + +
    + + + + + +
    + +
    + + + + +
    + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:35 GMT-0000 (GMT) using the DocStrap template. + +
    +
    + + +
    +
    +
    + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/Phaser.Time.html b/docs/Phaser.Time.html index 21f6c525b0..137d9d1e92 100644 --- a/docs/Phaser.Time.html +++ b/docs/Phaser.Time.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -531,115 +571,6 @@

    Members

    -
    -

    _justResumed

    - - -
    -
    - -
    -

    Description.

    -
    - - - - - -
    - - -
    Properties:
    - -
    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    _justResumed - - -boolean - - - -
    -
    - - - - - - - - - - - - - - - - - - -
    Default Value:
    -
    • false
    - - - -
    Source:
    -
    - - - - - - - -
    - - - -
    - - -

    elapsed

    @@ -647,10 +578,6 @@

    elapsed
    -
    -

    Elapsed time since the last frame.

    -
    - @@ -700,7 +627,7 @@
    Properties:
    - +

    Elapsed time since the last frame.

    @@ -725,14 +652,11 @@
    Properties:
    -
    Default Value:
    -
    • 0
    -
    Source:
    @@ -756,10 +680,6 @@

    fps -

    Frames per second.

    - - @@ -809,7 +729,7 @@
    Properties:
    - +

    Frames per second.

    @@ -834,14 +754,11 @@
    Properties:
    -
    Default Value:
    -
    • 0
    -
    Source:
    @@ -865,10 +782,6 @@

    fpsMax
    -
    -

    The highest rate the fps has reached (usually no higher than 60fps).

    -
    - @@ -918,7 +831,7 @@
    Properties:
    - +

    The highest rate the fps has reached (usually no higher than 60fps).

    @@ -943,14 +856,11 @@
    Properties:
    -
    Default Value:
    -
    • 0
    -
    Source:
    @@ -974,10 +884,6 @@

    fpsMin
    -
    -

    The lowest rate the fps has dropped to.

    -
    - @@ -1027,7 +933,7 @@
    Properties:
    - +

    The lowest rate the fps has dropped to.

    @@ -1052,14 +958,11 @@
    Properties:
    -
    Default Value:
    -
    • 1000
    -
    Source:
    @@ -1083,10 +986,6 @@

    frames
    -
    -

    The number of frames record in the last second.

    -
    - @@ -1136,7 +1035,7 @@
    Properties:
    - +

    The number of frames record in the last second.

    @@ -1161,14 +1060,11 @@
    Properties:
    -
    Default Value:
    -
    • 0
    -
    Source:
    @@ -1294,10 +1190,6 @@

    lastTime
    -
    -

    Internal value used by timeToCall as part of the setTimeout loop

    -
    - @@ -1347,7 +1239,7 @@
    Properties:
    - +

    Internal value used by timeToCall as part of the setTimeout loop

    @@ -1372,14 +1264,11 @@
    Properties:
    -
    Default Value:
    -
    • 0
    -
    Source:
    @@ -1403,10 +1292,6 @@

    msMax
    -
    -

    The maximum amount of time the game has taken between two frames.

    -
    - @@ -1456,7 +1341,7 @@
    Properties:
    - +

    The maximum amount of time the game has taken between two frames.

    @@ -1481,14 +1366,11 @@
    Properties:
    -
    Default Value:
    -
    • 0
    -
    Source:
    @@ -1512,10 +1394,6 @@

    msMin
    -
    -

    The minimum amount of time the game has taken between two frames.

    -
    - @@ -1565,7 +1443,7 @@
    Properties:
    - +

    The minimum amount of time the game has taken between two frames.

    @@ -1597,7 +1475,7 @@
    Properties:
    Source:
    @@ -1621,10 +1499,6 @@

    now -

    The time right now.

    - - @@ -1674,7 +1548,7 @@
    Properties:
    - +

    The time right now.

    @@ -1699,14 +1573,11 @@
    Properties:
    -
    Default Value:
    -
    • 0
    -
    Source:
    @@ -1730,10 +1601,6 @@

    pausedTime<

    -
    -

    Records how long the game has been paused for. Is reset each time the game pauses.

    -
    - @@ -1783,7 +1650,7 @@
    Properties:
    - +

    Records how long the game has been paused for. Is reset each time the game pauses.

    @@ -1808,14 +1675,11 @@
    Properties:
    -
    Default Value:
    -
    • 0
    -
    Source:
    @@ -1839,10 +1703,6 @@

    pauseDur
    -
    -

    Records how long the game was paused for in miliseconds.

    -
    - @@ -1892,7 +1752,7 @@
    Properties:
    - +

    Records how long the game was paused for in miliseconds.

    @@ -1917,14 +1777,11 @@
    Properties:
    -
    Default Value:
    -
    • 0
    -
    Source:
    @@ -1948,10 +1805,6 @@

    physics
    -
    -

    The elapsed time calculated for the physics motion updates.

    -
    - @@ -2001,7 +1854,7 @@
    Properties:
    - +

    The elapsed time calculated for the physics motion updates.

    @@ -2026,14 +1879,11 @@
    Properties:
    -
    Default Value:
    -
    • 0
    -
    Source:
    @@ -2057,10 +1907,6 @@

    time -

    Game time counter.

    - - @@ -2110,7 +1956,7 @@
    Properties:
    - +

    Game time counter.

    @@ -2135,14 +1981,11 @@
    Properties:
    -
    Default Value:
    -
    • 0
    -
    Source:
    @@ -2166,10 +2009,6 @@

    timeToCall<
    -
    -

    The value that setTimeout needs to work out when to next update

    -
    - @@ -2219,7 +2058,7 @@
    Properties:
    - +

    The value that setTimeout needs to work out when to next update

    @@ -2244,14 +2083,11 @@
    Properties:
    -
    Default Value:
    -
    • 0
    -
    Source:
    @@ -2365,7 +2201,7 @@

    Parameters:
    Source:
    @@ -2506,7 +2342,7 @@
    Parameters:
    Source:
    @@ -2598,7 +2434,7 @@

    resetSource:
    @@ -2667,7 +2503,7 @@

    to
    Source:
    @@ -2804,7 +2640,7 @@

    Parameters:
    Source:
    @@ -2855,7 +2691,7 @@
    Parameters:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:41 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:35 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Timer.html b/docs/Phaser.Timer.html new file mode 100644 index 0000000000..fce8ebce1a --- /dev/null +++ b/docs/Phaser.Timer.html @@ -0,0 +1,746 @@ + + + + + + Phaser Class: Timer + + + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Class: Timer

    +
    + +
    +

    + Phaser. + + Timer +

    + +

    A Timer

    + +
    + +
    +
    + + + + +
    +

    new Timer(game)

    + + +
    +
    + + +
    +

    Timer constructor.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    game + + +Phaser.Game + + + +

    A reference to the currently running game.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + +
    + + + + + + + + + + + + +

    Members

    + +
    + +
    +

    game

    + + +
    +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    game + + +Phaser.Game + + + +

    Local reference to game.

    +
    + + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + +
    + +
    + + + + + + + +
    + +
    + + + + +
    + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:35 GMT-0000 (GMT) using the DocStrap template. + +
    +
    + + +
    +
    +
    + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/docs/Phaser.Touch.html b/docs/Phaser.Touch.html index ff63c9cef2..f91cd182d0 100644 --- a/docs/Phaser.Touch.html +++ b/docs/Phaser.Touch.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -577,7 +617,7 @@
    Properties:
    -Phaser.Game +Object @@ -587,7 +627,7 @@
    Properties:
    -

    Description.

    +

    The context under which callbacks are called.

    @@ -616,7 +656,7 @@
    Properties:
    Source:
    @@ -634,7 +674,7 @@
    Properties:
    -

    game

    +

    disabled

    @@ -673,13 +713,13 @@
    Properties:
    - game + disabled -Phaser.Game +boolean @@ -689,7 +729,7 @@
    Properties:
    -

    Local reference to game.

    +

    You can disable all Touch events by setting disabled = true. While set all new touch events will be ignored.

    @@ -718,7 +758,7 @@
    Properties:
    Source:
    @@ -736,7 +776,7 @@
    Properties:
    -

    preventDefault

    +

    event

    @@ -775,13 +815,13 @@
    Properties:
    - preventDefault + event -boolean +TouchEvent @@ -791,7 +831,7 @@
    Properties:
    -

    Description.

    +

    The browser touch event.

    @@ -816,14 +856,11 @@
    Properties:
    -
    Default Value:
    -
    • true
    -
    Source:
    @@ -841,7 +878,7 @@
    Properties:
    -

    touchCancelCallback

    +

    game

    @@ -880,13 +917,13 @@
    Properties:
    - touchCancelCallback + game -Description +Phaser.Game @@ -896,7 +933,7 @@
    Properties:
    -

    Description.

    +

    A reference to the currently running game.

    @@ -921,14 +958,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -946,7 +980,7 @@
    Properties:
    -

    touchEndCallback

    +

    preventDefault

    @@ -985,13 +1019,13 @@
    Properties:
    - touchEndCallback + preventDefault -Phaser.Game +boolean @@ -1001,7 +1035,7 @@
    Properties:
    -

    Description.

    +

    If true the TouchEvent will have prevent.default called on it.

    @@ -1027,13 +1061,13 @@
    Properties:
    Default Value:
    -
    • null
    +
    • true
    Source:
    @@ -1051,7 +1085,7 @@
    Properties:
    -

    touchEnterCallback

    +

    touchCancelCallback

    @@ -1090,13 +1124,13 @@
    Properties:
    - touchEnterCallback + touchCancelCallback -Phaser.Game +function @@ -1106,7 +1140,7 @@
    Properties:
    -

    Description.

    +

    A callback that can be fired on a touchCancel event.

    @@ -1131,14 +1165,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -1156,7 +1187,7 @@
    Properties:
    -

    touchLeaveCallback

    +

    touchEndCallback

    @@ -1195,13 +1226,13 @@
    Properties:
    - touchLeaveCallback + touchEndCallback -Phaser.Game +function @@ -1211,7 +1242,7 @@
    Properties:
    -

    Description.

    +

    A callback that can be fired on a touchEnd event.

    @@ -1236,14 +1267,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -1261,7 +1289,7 @@
    Properties:
    -

    touchMoveCallback

    +

    touchEnterCallback

    @@ -1300,13 +1328,13 @@
    Properties:
    - touchMoveCallback + touchEnterCallback -Phaser.Game +function @@ -1316,7 +1344,7 @@
    Properties:
    -

    Description.

    +

    A callback that can be fired on a touchEnter event.

    @@ -1341,14 +1369,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -1366,7 +1391,7 @@
    Properties:
    -

    touchStartCallback

    +

    touchLeaveCallback

    @@ -1405,13 +1430,13 @@
    Properties:
    - touchStartCallback + touchLeaveCallback -Phaser.Game +function @@ -1421,7 +1446,7 @@
    Properties:
    -

    Description.

    +

    A callback that can be fired on a touchLeave event.

    @@ -1446,14 +1471,11 @@
    Properties:
    -
    Default Value:
    -
    • null
    -
    Source:
    @@ -1468,35 +1490,82 @@
    Properties:
    -

    - - - -

    Methods

    - -
    +
    -

    consumeTouchMove()

    +

    touchMoveCallback

    -
    -

    Consumes all touchmove events on the document (only enable this if you know you need it!).

    -
    +
    + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    touchMoveCallback + + +function + + + +

    A callback that can be fired on a touchMove event.

    +
    + + + + + -
    + @@ -1506,20 +1575,89 @@

    consu +
    Source:
    +
    + +

    + +
    + + +
    +

    touchStartCallback

    -
    Source:
    -
    + + +
    + + + + + +
    + + +
    Properties:
    + +
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeDescription
    touchStartCallback + + +function + + + +

    A callback that can be fired on a touchStart event.

    +
    + @@ -1527,26 +1665,45 @@

    consu -

    + + + +
    Source:
    +
    + + + + + +
    + - + + + + +

    Methods

    + +
    -

    disabled() → {boolean}

    +

    consumeTouchMove()

    @@ -1554,7 +1711,7 @@

    disabled -

    You can disable all Input by setting disabled = true. While set all new input related events will be ignored.

    +

    Consumes all touchmove events on the document (only enable this if you know you need it!).

    @@ -1587,7 +1744,7 @@

    disabledSource:
    @@ -1608,25 +1765,6 @@

    disabledReturns:

    - - - - -
    -
    - Type -
    -
    - -boolean - - -
    -
    - - - @@ -1683,7 +1821,7 @@
    Parameters:
    -Any +TouchEvent @@ -1693,7 +1831,7 @@
    Parameters:
    - +

    The native event from the browser. This gets stored in Touch.event.

    @@ -1725,7 +1863,7 @@
    Parameters:
    Source:
    @@ -1761,7 +1899,7 @@

    onTouchEnd<
    -

    Description.

    +

    The handler for the touchend events.

    @@ -1801,7 +1939,7 @@

    Parameters:
    -Any +TouchEvent @@ -1811,7 +1949,7 @@
    Parameters:
    - +

    The native event from the browser. This gets stored in Touch.event.

    @@ -1843,7 +1981,7 @@
    Parameters:
    Source:
    @@ -1920,7 +2058,7 @@
    Parameters:
    -Any +TouchEvent @@ -1930,7 +2068,7 @@
    Parameters:
    - +

    The native event from the browser. This gets stored in Touch.event.

    @@ -1962,7 +2100,7 @@
    Parameters:
    Source:
    @@ -2039,7 +2177,7 @@
    Parameters:
    -Any +TouchEvent @@ -2049,7 +2187,7 @@
    Parameters:
    - +

    The native event from the browser. This gets stored in Touch.event.

    @@ -2081,7 +2219,7 @@
    Parameters:
    Source:
    @@ -2117,7 +2255,7 @@

    onTouchMov
    -

    Description.

    +

    The handler for the touchmove events.

    @@ -2157,7 +2295,7 @@

    Parameters:
    -Any +TouchEvent @@ -2167,7 +2305,7 @@
    Parameters:
    - +

    The native event from the browser. This gets stored in Touch.event.

    @@ -2199,7 +2337,7 @@
    Parameters:
    Source:
    @@ -2235,7 +2373,7 @@

    onTouchSt
    -

    Description.

    +

    The internal method that handles the touchstart event from the browser.

    @@ -2275,7 +2413,7 @@

    Parameters:
    -Any +TouchEvent @@ -2285,7 +2423,7 @@
    Parameters:
    - +

    The native event from the browser. This gets stored in Touch.event.

    @@ -2317,7 +2455,7 @@
    Parameters:
    Source:
    @@ -2386,7 +2524,7 @@

    startSource:
    @@ -2455,7 +2593,7 @@

    stopSource:
    @@ -2506,7 +2644,7 @@

    stop Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:41 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:35 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Tween.html b/docs/Phaser.Tween.html index f7a6d3a62e..c5c498cee3 100644 --- a/docs/Phaser.Tween.html +++ b/docs/Phaser.Tween.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -1120,7 +1160,7 @@

    chainSource:
    @@ -1261,7 +1301,7 @@
    Parameters:
    Source:
    @@ -1402,7 +1442,7 @@
    Parameters:
    Source:
    @@ -1543,7 +1583,7 @@
    Parameters:
    Source:
    @@ -1641,7 +1681,7 @@

    loopSource:
    @@ -1782,7 +1822,7 @@
    Parameters:
    Source:
    @@ -1923,7 +1963,7 @@
    Parameters:
    Source:
    @@ -2064,7 +2104,7 @@
    Parameters:
    Source:
    @@ -2156,7 +2196,7 @@

    pauseSource:
    @@ -2274,7 +2314,7 @@
    Parameters:
    Source:
    @@ -2366,7 +2406,7 @@

    resumeSource:
    @@ -2394,7 +2434,7 @@

    resume -

    start(time) → {Phaser.Tween}

    +

    start() → {Phaser.Tween}

    @@ -2411,55 +2451,6 @@

    startParameters:

    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    NameTypeDescription
    time - - -number - - - -

    Description.

    - -
    @@ -2576,7 +2567,7 @@

    stopSource:
    @@ -2996,7 +2987,7 @@
    Parameters:
    Source:
    @@ -3138,7 +3129,7 @@
    Parameters:
    Source:
    @@ -3212,7 +3203,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:41 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:35 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.TweenManager.html b/docs/Phaser.TweenManager.html index 060bc3552d..c78babfb2a 100644 --- a/docs/Phaser.TweenManager.html +++ b/docs/Phaser.TweenManager.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -1218,7 +1258,7 @@
    Parameters:
    Source:
    @@ -1497,7 +1537,7 @@

    resumeAllSource:
    @@ -1658,7 +1698,7 @@

    updateSource:
    @@ -1709,7 +1749,7 @@

    update Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:41 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:35 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Utils.Debug.html b/docs/Phaser.Utils.Debug.html index 462a039e05..0159e5d03e 100644 --- a/docs/Phaser.Utils.Debug.html +++ b/docs/Phaser.Utils.Debug.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -1935,7 +1975,7 @@

    Parameters:
    -

    renderDebug(pointer, hideIfUp, downColor, upColor, color)

    +

    renderInputInfo(x, y, color)

    @@ -1943,7 +1983,7 @@

    renderDebu
    -

    Renders the Pointer.circle object onto the stage in green if down or red if up along with debug text.

    +

    Render debug information about the Input object.

    @@ -1981,87 +2021,13 @@

    Parameters:
    - pointer - - - - - -Phaser.Pointer - - - - - - - - - - - - - - - - - - - - - -

    Description.

    - - - - - - - hideIfUp - - - - - -boolean - - - - - - - - - <optional>
    - - - - - - - - - - - - false - - - - -

    Doesn't render the circle if the pointer is up.

    - - - - - - - downColor + x -string +number @@ -2070,8 +2036,6 @@
    Parameters:
    - <optional>
    - @@ -2082,25 +2046,23 @@
    Parameters:
    - 'rgba(0,255,0,0.5)' - -

    The color the circle is rendered in if down.

    +

    X position of the debug info to be rendered.

    - upColor + y -string +number @@ -2109,8 +2071,6 @@
    Parameters:
    - <optional>
    - @@ -2121,12 +2081,10 @@
    Parameters:
    - 'rgba(255,0,0,0.5)' - -

    The color the circle is rendered in if up (and hideIfUp is false).

    +

    Y position of the debug info to be rendered.

    @@ -2197,7 +2155,7 @@
    Parameters:
    Source:
    @@ -2225,7 +2183,7 @@
    Parameters:
    -

    renderInputInfo(x, y, color)

    +

    renderLocalTransformInfo(sprite, x, y, color)

    @@ -2233,7 +2191,7 @@

    render
    -

    Render debug information about the Input object.

    +

    Render the Local Transform information of the given Sprite.

    @@ -2269,6 +2227,41 @@

    Parameters:
    + + + sprite + + + + + +Phaser.Sprite + + + + + + + + + + + + + + + + + + + + + +

    Description.

    + + + + x @@ -2405,7 +2398,7 @@
    Parameters:
    Source:
    @@ -2433,7 +2426,7 @@
    Parameters:
    -

    renderLocalTransformInfo(sprite, x, y, color)

    +

    renderPixel(x, y, color)

    @@ -2441,7 +2434,7 @@

    -

    Render the Local Transform information of the given Sprite.

    +

    Renders a single pixel.

    @@ -2467,8 +2460,6 @@
    Parameters:
    - Default - Description @@ -2477,41 +2468,6 @@
    Parameters:
    - - - sprite - - - - - -Phaser.Sprite - - - - - - - - - - - - - - - - - - - - - -

    Description.

    - - - - x @@ -2537,10 +2493,6 @@
    Parameters:
    - - - -

    X position of the debug info to be rendered.

    @@ -2572,10 +2524,6 @@
    Parameters:
    - - - -

    Y position of the debug info to be rendered.

    @@ -2609,14 +2557,8 @@
    Parameters:
    - - - 'rgb(255,255,255)' - - - -

    color of the debug info to be rendered. (format is css color string).

    +

    Color of the debug info to be rendered (format is css color string).

    @@ -2648,7 +2590,7 @@
    Parameters:
    Source:
    @@ -2676,7 +2618,7 @@
    Parameters:
    -

    renderPixel(x, y, color)

    +

    renderPoint(point, color)

    @@ -2684,7 +2626,7 @@

    renderPixe
    -

    Renders a single pixel.

    +

    Renders a Point object.

    @@ -2720,44 +2662,13 @@

    Parameters:
    - x - - - - - -number - - - - - - - - - - - - - - - - - -

    X position of the debug info to be rendered.

    - - - - - - - y + point -number +Phaser.Point @@ -2775,7 +2686,7 @@
    Parameters:
    -

    Y position of the debug info to be rendered.

    +

    The Point to render.

    @@ -2840,7 +2751,7 @@
    Parameters:
    Source:
    @@ -2868,7 +2779,7 @@
    Parameters:
    -

    renderPoint(point, color)

    +

    renderPointer(pointer, hideIfUp, downColor, upColor, color)

    @@ -2876,7 +2787,7 @@

    renderPoin
    -

    Renders a Point object.

    +

    Renders the Pointer.circle object onto the stage in green if down or red if up along with debug text.

    @@ -2902,6 +2813,8 @@

    Parameters:
    + Default + Description @@ -2912,13 +2825,13 @@
    Parameters:
    - point + pointer -Phaser.Point +Phaser.Pointer @@ -2935,8 +2848,129 @@
    Parameters:
    + + + + -

    The Point to render.

    +

    Description.

    + + + + + + + hideIfUp + + + + + +boolean + + + + + + + + + <optional>
    + + + + + + + + + + + + false + + + + +

    Doesn't render the circle if the pointer is up.

    + + + + + + + downColor + + + + + +string + + + + + + + + + <optional>
    + + + + + + + + + + + + 'rgba(0,255,0,0.5)' + + + + +

    The color the circle is rendered in if down.

    + + + + + + + upColor + + + + + +string + + + + + + + + + <optional>
    + + + + + + + + + + + + 'rgba(255,0,0,0.5)' + + + + +

    The color the circle is rendered in if up (and hideIfUp is false).

    @@ -2968,8 +3002,14 @@
    Parameters:
    + + + 'rgb(255,255,255)' + + + -

    Color of the debug info to be rendered (format is css color string).

    +

    color of the debug info to be rendered. (format is css color string).

    @@ -3001,7 +3041,7 @@
    Parameters:
    Source:
    @@ -5921,7 +5961,7 @@

    stop Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:41 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:36 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.Utils.html b/docs/Phaser.Utils.html index 403d0ae12d..9297b0dc84 100644 --- a/docs/Phaser.Utils.html +++ b/docs/Phaser.Utils.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -433,7 +473,7 @@

    new UtilsSource:
    @@ -599,7 +639,7 @@
    Parameters:
    Source:
    @@ -740,7 +780,7 @@
    Parameters:
    Source:
    @@ -1010,7 +1050,7 @@
    Parameters:
    Source:
    @@ -1151,7 +1191,7 @@
    Parameters:
    Source:
    @@ -1225,7 +1265,7 @@
    Returns:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:41 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:35 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.World.html b/docs/Phaser.World.html index b6b47394d7..47136911ed 100644 --- a/docs/Phaser.World.html +++ b/docs/Phaser.World.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -830,7 +870,7 @@
    Properties:
    Source:
    @@ -932,7 +972,7 @@
    Properties:
    Source:
    @@ -1136,7 +1176,7 @@
    Properties:
    Source:
    @@ -1238,7 +1278,7 @@
    Properties:
    Source:
    @@ -1340,7 +1380,7 @@
    Properties:
    Source:
    @@ -1544,7 +1584,7 @@
    Properties:
    Source:
    @@ -1646,7 +1686,7 @@
    Properties:
    Source:
    @@ -1780,7 +1820,7 @@

    destroySource:
    @@ -1849,7 +1889,7 @@

    postUpdate<
    Source:
    @@ -2037,7 +2077,7 @@

    Parameters:
    Source:
    @@ -2157,7 +2197,7 @@

    update Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:42 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:36 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.html b/docs/Phaser.html index 82c96a5d22..59718ca064 100644 --- a/docs/Phaser.html +++ b/docs/Phaser.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -452,6 +492,9 @@

    Classes

    AnimationParser
    +
    BitmapData
    +
    +
    BitmapText
    @@ -482,6 +525,9 @@

    Classes

    Events
    +
    Filter
    +
    +
    Frame
    @@ -596,12 +642,30 @@

    Classes

    Text
    +
    Tile
    +
    + +
    Tilemap
    +
    + +
    TilemapLayer
    +
    + +
    TilemapParser
    +
    + +
    Tileset
    +
    +
    TileSprite
    Time
    +
    Timer
    +
    +
    Touch
    @@ -648,7 +712,7 @@

    Classes

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:26 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Phaser.js.html b/docs/Phaser.js.html index e497657a9f..6736abc833 100644 --- a/docs/Phaser.js.html +++ b/docs/Phaser.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -395,9 +435,11 @@

    Source: Phaser.js

    VERSION: '<%= version %>', DEV_VERSION: '1.1.3', GAMES: [], + AUTO: 0, CANVAS: 1, WEBGL: 2, + HEADLESS: 3, SPRITE: 0, BUTTON: 1, @@ -412,6 +454,9 @@

    Source: Phaser.js

    TILEMAPLAYER: 10, EMITTER: 11, POLYGON: 12, + BITMAPDATA: 13, + CANVAS_FILTER: 14, + WEBGL_FILTER: 15, NONE: 0, LEFT: 1, @@ -446,7 +491,7 @@

    Source: Phaser.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Plugin.js.html b/docs/Plugin.js.html index 496e90071c..9b26cad5b6 100644 --- a/docs/Plugin.js.html +++ b/docs/Plugin.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -400,38 +440,38 @@

    Source: core/Plugin.js

    if (typeof parent === 'undefined') { parent = null; } - /** - * @property {Phaser.Game} game - A reference to the currently running game. - */ + /** + * @property {Phaser.Game} game - A reference to the currently running game. + */ this.game = game; /** - * @property {Any} parent - The parent of this plugin. If added to the PluginManager the parent will be set to that, otherwise it will be null. - */ + * @property {Any} parent - The parent of this plugin. If added to the PluginManager the parent will be set to that, otherwise it will be null. + */ this.parent = parent; /** - * @property {boolean} active - A Plugin with active=true has its preUpdate and update methods called by the parent, otherwise they are skipped. - * @default - */ + * @property {boolean} active - A Plugin with active=true has its preUpdate and update methods called by the parent, otherwise they are skipped. + * @default + */ this.active = false; /** - * @property {boolean} visible - A Plugin with visible=true has its render and postRender methods called by the parent, otherwise they are skipped. - * @default - */ + * @property {boolean} visible - A Plugin with visible=true has its render and postRender methods called by the parent, otherwise they are skipped. + * @default + */ this.visible = false; /** - * @property {boolean} hasPreUpdate - A flag to indicate if this plugin has a preUpdate method. - * @default - */ + * @property {boolean} hasPreUpdate - A flag to indicate if this plugin has a preUpdate method. + * @default + */ this.hasPreUpdate = false; /** - * @property {boolean} hasUpdate - A flag to indicate if this plugin has an update method. - * @default - */ + * @property {boolean} hasUpdate - A flag to indicate if this plugin has an update method. + * @default + */ this.hasUpdate = false; /** @@ -441,15 +481,15 @@

    Source: core/Plugin.js

    this.hasPostUpdate = false; /** - * @property {boolean} hasRender - A flag to indicate if this plugin has a render method. - * @default - */ + * @property {boolean} hasRender - A flag to indicate if this plugin has a render method. + * @default + */ this.hasRender = false; /** - * @property {boolean} hasPostRender - A flag to indicate if this plugin has a postRender method. - * @default - */ + * @property {boolean} hasPostRender - A flag to indicate if this plugin has a postRender method. + * @default + */ this.hasPostRender = false; }; @@ -523,7 +563,7 @@

    Source: core/Plugin.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/PluginManager.js.html b/docs/PluginManager.js.html index 43e8e8bdbb..5fad2dfe02 100644 --- a/docs/PluginManager.js.html +++ b/docs/PluginManager.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -381,14 +421,16 @@

    Source: core/PluginManager.js

    -
    /**
    +            
    /* jshint newcap: false */
    +
    +/**
     * @author       Richard Davey <rich@photonstorm.com>
     * @copyright    2013 Photon Storm Ltd.
     * @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
     */
     
     /** 
    -* Description.
    +* The Plugin Manager is responsible for the loading, running and unloading of Phaser Plugins.
     * 
     * @class Phaser.PluginManager
     * @classdesc Phaser - PluginManager
    @@ -398,27 +440,27 @@ 

    Source: core/PluginManager.js

    */ Phaser.PluginManager = function(game, parent) { - /** - * @property {Phaser.Game} game - A reference to the currently running game. - */ + /** + * @property {Phaser.Game} game - A reference to the currently running game. + */ this.game = game; /** - * @property {Description} _parent - Description. - * @private - */ + * @property {Description} _parent - Description. + * @private + */ this._parent = parent; /** - * @property {array} plugins - Description. - */ + * @property {array} plugins - Description. + */ this.plugins = []; /** - * @property {array} _pluginsLength - Description. - * @private - * @default - */ + * @property {array} _pluginsLength - Description. + * @private + * @default + */ this._pluginsLength = 0; }; @@ -481,7 +523,7 @@

    Source: core/PluginManager.js

    // The plugin must have at least one of the above functions to be added to the PluginManager. if (result) { - if (plugin.hasPreUpdate || plugin.hasUpdate) + if (plugin.hasPreUpdate || plugin.hasUpdate || plugin.hasPostUpdate) { plugin.active = true; } @@ -508,15 +550,41 @@

    Source: core/PluginManager.js

    }, /** - * Remove a Plugin from the PluginManager. - * @method Phaser.PluginManager#remove - * @param {Phaser.Plugin} plugin - The plugin to be removed. - */ + * Remove a Plugin from the PluginManager. + * @method Phaser.PluginManager#remove + * @param {Phaser.Plugin} plugin - The plugin to be removed. + */ remove: function (plugin) { + + if (this._pluginsLength === 0) + { + return; + } - // TODO - this._pluginsLength--; + for (this._p = 0; this._p < this._pluginsLength; this._p++) + { + if (this.plugins[this._p] === plugin) + { + plugin.destroy(); + this.plugins.splice(this._p, 1); + this._pluginsLength--; + return; + } + } + }, + /** + * Removes all Plugins from the PluginManager. + * @method Phaser.PluginManager#removeAll + */ + removeAll: function() { + + for (this._p = 0; this._p < this._pluginsLength; this._p++) + { + this.plugins[this._p].destroy(); + } + this.plugins.length = 0; + this._pluginsLength = 0; }, /** @@ -527,7 +595,7 @@

    Source: core/PluginManager.js

    */ preUpdate: function () { - if (this._pluginsLength == 0) + if (this._pluginsLength === 0) { return; } @@ -550,7 +618,7 @@

    Source: core/PluginManager.js

    */ update: function () { - if (this._pluginsLength == 0) + if (this._pluginsLength === 0) { return; } @@ -574,7 +642,7 @@

    Source: core/PluginManager.js

    */ postUpdate: function () { - if (this._pluginsLength == 0) + if (this._pluginsLength === 0) { return; } @@ -597,7 +665,7 @@

    Source: core/PluginManager.js

    */ render: function () { - if (this._pluginsLength == 0) + if (this._pluginsLength === 0) { return; } @@ -620,7 +688,7 @@

    Source: core/PluginManager.js

    */ postRender: function () { - if (this._pluginsLength == 0) + if (this._pluginsLength === 0) { return; } @@ -671,7 +739,7 @@

    Source: core/PluginManager.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Point.js.html b/docs/Point.js.html index 133fb26824..41c1972fec 100644 --- a/docs/Point.js.html +++ b/docs/Point.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -394,20 +434,20 @@

    Source: geom/Point.js

    * @constructor * @param {number} x The horizontal position of this Point (default 0) * @param {number} y The vertical position of this Point (default 0) -**/ +*/ Phaser.Point = function (x, y) { x = x || 0; y = y || 0; /** - * @property {number} x - The x coordinate of the point. - **/ + * @property {number} x - The x coordinate of the point. + */ this.x = x; /** - * @property {number} y - The y coordinate of the point. - **/ + * @property {number} y - The y coordinate of the point. + */ this.y = y; }; @@ -419,7 +459,7 @@

    Source: geom/Point.js

    * @method Phaser.Point#copyFrom * @param {any} source - The object to copy from. * @return {Point} This Point object. - **/ + */ copyFrom: function (source) { return this.setTo(source.x, source.y); }, @@ -428,7 +468,7 @@

    Source: geom/Point.js

    * Inverts the x and y values of this Point * @method Phaser.Point#invert * @return {Point} This Point object. - **/ + */ invert: function () { return this.setTo(this.y, this.x); }, @@ -439,7 +479,7 @@

    Source: geom/Point.js

    * @param {number} x - The horizontal position of this point. * @param {number} y - The vertical position of this point. * @return {Point} This Point object. Useful for chaining method calls. - **/ + */ setTo: function (x, y) { this.x = x; @@ -454,7 +494,7 @@

    Source: geom/Point.js

    * @param {number} x - The value to add to Point.x. * @param {number} y - The value to add to Point.y. * @return {Phaser.Point} This Point object. Useful for chaining method calls. - **/ + */ add: function (x, y) { this.x += x; @@ -469,7 +509,7 @@

    Source: geom/Point.js

    * @param {number} x - The value to subtract from Point.x. * @param {number} y - The value to subtract from Point.y. * @return {Phaser.Point} This Point object. Useful for chaining method calls. - **/ + */ subtract: function (x, y) { this.x -= x; @@ -484,7 +524,7 @@

    Source: geom/Point.js

    * @param {number} x - The value to multiply Point.x by. * @param {number} y - The value to multiply Point.x by. * @return {Phaser.Point} This Point object. Useful for chaining method calls. - **/ + */ multiply: function (x, y) { this.x *= x; @@ -499,7 +539,7 @@

    Source: geom/Point.js

    * @param {number} x - The value to divide Point.x by. * @param {number} y - The value to divide Point.x by. * @return {Phaser.Point} This Point object. Useful for chaining method calls. - **/ + */ divide: function (x, y) { this.x /= x; @@ -559,32 +599,22 @@

    Source: geom/Point.js

    */ clone: function (output) { - if (typeof output === "undefined") { output = new Phaser.Point; } + if (typeof output === "undefined") { output = new Phaser.Point(); } return output.setTo(this.x, this.y); }, - /** - * Copies the x and y properties from any given object to this Point. - * @method Phaser.Point#copyFrom - * @param {any} source - The object to copy from. - * @return {Point} This Point object. - **/ - copyFrom: function (source) { - return this.setTo(source.x, source.y); - }, - /** * Copies the x and y properties from this Point to any given object. * @method Phaser.Point#copyTo * @param {any} dest - The object to copy to. * @return {Object} The dest object. - **/ + */ copyTo: function(dest) { - dest[x] = this.x; - dest[y] = this.y; + dest.x = this.x; + dest.y = this.y; return dest; @@ -626,29 +656,29 @@

    Source: geom/Point.js

    }, /** - * Calculates the length of the vector - * @method Phaser.Point#getMagnitude - * @return {number} the length of the vector - */ + * Calculates the length of the vector + * @method Phaser.Point#getMagnitude + * @return {number} the length of the vector + */ getMagnitude: function() { return Math.sqrt((this.x * this.x) + (this.y * this.y)); }, /** - * Alters the length of the vector without changing the direction - * @method Phaser.Point#getMagnitude - * @param {number} magnitude the desired magnitude of the resulting vector - * @return {Phaser.Point} the modified original vector - */ + * Alters the length of the vector without changing the direction + * @method Phaser.Point#getMagnitude + * @param {number} magnitude the desired magnitude of the resulting vector + * @return {Phaser.Point} the modified original vector + */ setMagnitude: function(magnitude) { return this.normalize().multiply(magnitude, magnitude); }, /** - * Alters the vector so that its length is 1, but it retains the same direction - * @method Phaser.Point#normalize - * @return {Phaser.Point} the modified original vector - */ + * Alters the vector so that its length is 1, but it retains the same direction + * @method Phaser.Point#normalize + * @return {Phaser.Point} the modified original vector + */ normalize: function() { if(!this.isZero()) { @@ -662,10 +692,10 @@

    Source: geom/Point.js

    }, /** - * Determine if this point is at 0,0 - * @method Phaser.Point#isZero - * @return {boolean} True if this Point is 0,0, otherwise false - */ + * Determine if this point is at 0,0 + * @method Phaser.Point#isZero + * @return {boolean} True if this Point is 0,0, otherwise false + */ isZero: function() { return (this.x === 0 && this.y === 0); }, @@ -674,7 +704,7 @@

    Source: geom/Point.js

    * Returns a string representation of this object. * @method Phaser.Point#toString * @return {string} A string representation of the instance. - **/ + */ toString: function () { return '[{Point (x=' + this.x + ' y=' + this.y + ')}]'; } @@ -789,7 +819,7 @@

    Source: geom/Point.js

    return Phaser.Math.distance(a.x, a.y, b.x, b.y); } -}, +}; /** * Rotates a Point around the x/y coordinates given to the desired angle. @@ -809,7 +839,7 @@

    Source: geom/Point.js

    if (asDegrees) { - angle = Phaser.Math.radToDeg(angle); + angle = Phaser.Math.degToRad(angle); } // Get distance from origin (cx/cy) to this point @@ -842,7 +872,7 @@

    Source: geom/Point.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Pointer.js.html b/docs/Pointer.js.html index ccb9d90e20..769805ecd2 100644 --- a/docs/Pointer.js.html +++ b/docs/Pointer.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -394,224 +434,178 @@

    Source: input/Pointer.js

    * @classdesc A Pointer object is used by the Mouse, Touch and MSPoint managers and represents a single finger on the touch screen. * @constructor * @param {Phaser.Game} game - A reference to the currently running game. -* @param {Description} id - Description. +* @param {number} id - The ID of the Pointer object within the game. Each game can have up to 10 active pointers. */ Phaser.Pointer = function (game, id) { /** - * @property {Phaser.Game} game - Local reference to game. + * @property {Phaser.Game} game - A reference to the currently running game. */ this.game = game; /** - * @property {Description} id - Description. + * @property {number} id - The ID of the Pointer object within the game. Each game can have up to 10 active pointers. */ this.id = id; /** - * Local private variable to store the status of dispatching a hold event. - * @property {boolean} _holdSent + * @property {boolean} _holdSent - Local private variable to store the status of dispatching a hold event. * @private * @default */ this._holdSent = false; /** - * Local private variable storing the short-term history of pointer movements. - * @property {array} _history + * @property {array} _history - Local private variable storing the short-term history of pointer movements. * @private */ this._history = []; /** - * Local private variable storing the time at which the next history drop should occur - * @property {number} _lastDrop + * @property {number} _lastDrop - Local private variable storing the time at which the next history drop should occur. * @private * @default */ this._nextDrop = 0; /** - * Monitor events outside of a state reset loop. - * @property {boolean} _stateReset - * @private - * @default - */ - this._stateReset = false; - - /** - * A Vector object containing the initial position when the Pointer was engaged with the screen. - * @property {Vec2} positionDown - * @default - **/ - this.positionDown = null; - - /** - * A Vector object containing the current position of the Pointer on the screen. - * @property {Vec2} position - * @default - **/ - this.position = null; - - /** - * A Circle object centered on the x/y screen coordinates of the Pointer. - * Default size of 44px (Apple's recommended "finger tip" size). - * @property {Circle} circle + * @property {boolean} _stateReset - Monitor events outside of a state reset loop. + * @private * @default - **/ - this.circle = null; + */ + this._stateReset = false; /** - * Description. - * @property {boolean} withinGame + * @property {boolean} withinGame - true if the Pointer is within the game area, otherwise false. */ this.withinGame = false; /** - * The horizontal coordinate of point relative to the viewport in pixels, excluding any scroll offset. - * @property {number} clientX + * @property {number} clientX - The horizontal coordinate of point relative to the viewport in pixels, excluding any scroll offset. * @default */ this.clientX = -1; /** - * The vertical coordinate of point relative to the viewport in pixels, excluding any scroll offset. - * @property {number} clientY + * @property {number} clientY - The vertical coordinate of point relative to the viewport in pixels, excluding any scroll offset. * @default */ this.clientY = -1; /** - * The horizontal coordinate of point relative to the viewport in pixels, including any scroll offset. - * @property {number} pageX + * @property {number} pageX - The horizontal coordinate of point relative to the viewport in pixels, including any scroll offset. * @default */ this.pageX = -1; /** - * The vertical coordinate of point relative to the viewport in pixels, including any scroll offset. - * @property {number} pageY + * @property {number} pageY - The vertical coordinate of point relative to the viewport in pixels, including any scroll offset. * @default */ this.pageY = -1; /** - * The horizontal coordinate of point relative to the screen in pixels. - * @property {number} screenX + * @property {number} screenX - The horizontal coordinate of point relative to the screen in pixels. * @default */ this.screenX = -1; /** - * The vertical coordinate of point relative to the screen in pixels. - * @property {number} screenY + * @property {number} screenY - The vertical coordinate of point relative to the screen in pixels. * @default */ this.screenY = -1; /** - * The horizontal coordinate of point relative to the game element. This value is automatically scaled based on game size. - * @property {number} x + * @property {number} x - The horizontal coordinate of point relative to the game element. This value is automatically scaled based on game size. * @default */ this.x = -1; /** - * The vertical coordinate of point relative to the game element. This value is automatically scaled based on game size. - * @property {number} y + * @property {number} y - The vertical coordinate of point relative to the game element. This value is automatically scaled based on game size. * @default */ this.y = -1; /** - * If the Pointer is a mouse this is true, otherwise false. - * @property {boolean} isMouse - * @type {boolean} + * @property {boolean} isMouse - If the Pointer is a mouse this is true, otherwise false. + * @default */ this.isMouse = false; /** - * If the Pointer is touching the touchscreen, or the mouse button is held down, isDown is set to true. - * @property {boolean} isDown + * @property {boolean} isDown - If the Pointer is touching the touchscreen, or the mouse button is held down, isDown is set to true. * @default */ this.isDown = false; /** - * If the Pointer is not touching the touchscreen, or the mouse button is up, isUp is set to true. - * @property {boolean} isUp + * @property {boolean} isUp - If the Pointer is not touching the touchscreen, or the mouse button is up, isUp is set to true. * @default */ this.isUp = true; /** - * A timestamp representing when the Pointer first touched the touchscreen. - * @property {number} timeDown + * @property {number} timeDown - A timestamp representing when the Pointer first touched the touchscreen. * @default */ this.timeDown = 0; /** - * A timestamp representing when the Pointer left the touchscreen. - * @property {number} timeUp + * @property {number} timeUp - A timestamp representing when the Pointer left the touchscreen. * @default */ this.timeUp = 0; /** - * A timestamp representing when the Pointer was last tapped or clicked. - * @property {number} previousTapTime + * @property {number} previousTapTime - A timestamp representing when the Pointer was last tapped or clicked. * @default */ this.previousTapTime = 0; /** - * The total number of times this Pointer has been touched to the touchscreen. - * @property {number} totalTouches + * @property {number} totalTouches - The total number of times this Pointer has been touched to the touchscreen. * @default */ this.totalTouches = 0; /** - * The number of miliseconds since the last click. - * @property {number} msSinceLastClick + * @property {number} msSinceLastClick - The number of miliseconds since the last click. * @default */ this.msSinceLastClick = Number.MAX_VALUE; /** - * The Game Object this Pointer is currently over / touching / dragging. - * @property {Any} targetObject + * @property {any} targetObject - The Game Object this Pointer is currently over / touching / dragging. * @default */ this.targetObject = null; /** - * Description. - * @property {boolean} isDown - Description. + * @property {boolean} active - An active pointer is one that is currently pressed down on the display. A Mouse is always active. * @default */ this.active = false; /** - * Description - * @property {Phaser.Point} position + * @property {Phaser.Point} position - A Phaser.Point object containing the current x/y values of the pointer on the display. */ this.position = new Phaser.Point(); /** - * Description - * @property {Phaser.Point} positionDown + * @property {Phaser.Point} positionDown - A Phaser.Point object containing the x/y values of the pointer when it was last in a down state on the display. */ this.positionDown = new Phaser.Point(); /** - * Description + * A Phaser.Circle that is centered on the x/y coordinates of this pointer, useful for hit detection. + * The Circle size is 44px (Apples recommended "finger tip" size). * @property {Phaser.Circle} circle */ this.circle = new Phaser.Circle(0, 0, 44); - if (id == 0) + if (id === 0) { this.isMouse = true; } @@ -620,7 +614,7 @@

    Source: input/Pointer.js

    Phaser.Pointer.prototype = { - /** + /** * Called when the Pointer is pressed onto the touchscreen. * @method Phaser.Pointer#start * @param {Any} event @@ -636,7 +630,7 @@

    Source: input/Pointer.js

    } // Fix to stop rogue browser plugins from blocking the visibility state event - if (this.game.paused == true && this.game.stage.scale.incorrectOrientation == false) + if (this.game.paused === true && this.game.stage.scale.incorrectOrientation === false) { this.game.paused = false; return this; @@ -659,7 +653,7 @@

    Source: input/Pointer.js

    // x and y are the old values here? this.positionDown.setTo(this.x, this.y); - if (this.game.input.multiInputOverride == Phaser.Input.MOUSE_OVERRIDES_TOUCH || this.game.input.multiInputOverride == Phaser.Input.MOUSE_TOUCH_COMBINE || (this.game.input.multiInputOverride == Phaser.Input.TOUCH_OVERRIDES_MOUSE && this.game.input.currentPointers == 0)) + if (this.game.input.multiInputOverride == Phaser.Input.MOUSE_OVERRIDES_TOUCH || this.game.input.multiInputOverride == Phaser.Input.MOUSE_TOUCH_COMBINE || (this.game.input.multiInputOverride == Phaser.Input.TOUCH_OVERRIDES_MOUSE && this.game.input.currentPointers === 0)) { this.game.input.x = this.x; this.game.input.y = this.y; @@ -671,7 +665,7 @@

    Source: input/Pointer.js

    this._stateReset = false; this.totalTouches++; - if (this.isMouse == false) + if (this.isMouse === false) { this.game.input.currentPointers++; } @@ -685,17 +679,17 @@

    Source: input/Pointer.js

    }, - /** - * Description. + /** + * Called internall by the Input Manager. * @method Phaser.Pointer#update */ update: function () { if (this.active) { - if (this._holdSent == false && this.duration >= this.game.input.holdRate) + if (this._holdSent === false && this.duration >= this.game.input.holdRate) { - if (this.game.input.multiInputOverride == Phaser.Input.MOUSE_OVERRIDES_TOUCH || this.game.input.multiInputOverride == Phaser.Input.MOUSE_TOUCH_COMBINE || (this.game.input.multiInputOverride == Phaser.Input.TOUCH_OVERRIDES_MOUSE && this.game.input.currentPointers == 0)) + if (this.game.input.multiInputOverride == Phaser.Input.MOUSE_OVERRIDES_TOUCH || this.game.input.multiInputOverride == Phaser.Input.MOUSE_TOUCH_COMBINE || (this.game.input.multiInputOverride == Phaser.Input.TOUCH_OVERRIDES_MOUSE && this.game.input.currentPointers === 0)) { this.game.input.onHold.dispatch(this); } @@ -722,10 +716,10 @@

    Source: input/Pointer.js

    }, - /** - * Called when the Pointer is moved + /** + * Called when the Pointer is moved. * @method Phaser.Pointer#move - * @param {Any} event + * @param {MouseEvent|PointerEvent|TouchEvent} event - The event passed up from the input handler. */ move: function (event) { @@ -755,7 +749,7 @@

    Source: input/Pointer.js

    this.circle.x = this.x; this.circle.y = this.y; - if (this.game.input.multiInputOverride == Phaser.Input.MOUSE_OVERRIDES_TOUCH || this.game.input.multiInputOverride == Phaser.Input.MOUSE_TOUCH_COMBINE || (this.game.input.multiInputOverride == Phaser.Input.TOUCH_OVERRIDES_MOUSE && this.game.input.currentPointers == 0)) + if (this.game.input.multiInputOverride == Phaser.Input.MOUSE_OVERRIDES_TOUCH || this.game.input.multiInputOverride == Phaser.Input.MOUSE_TOUCH_COMBINE || (this.game.input.multiInputOverride == Phaser.Input.TOUCH_OVERRIDES_MOUSE && this.game.input.currentPointers === 0)) { this.game.input.activePointer = this; this.game.input.x = this.x; @@ -772,9 +766,9 @@

    Source: input/Pointer.js

    } // Easy out if we're dragging something and it still exists - if (this.targetObject !== null && this.targetObject.isDragged == true) + if (this.targetObject !== null && this.targetObject.isDragged === true) { - if (this.targetObject.update(this) == false) + if (this.targetObject.update(this) === false) { this.targetObject = null; } @@ -792,7 +786,7 @@

    Source: input/Pointer.js

    { var currentNode = this.game.input.interactiveItems.next; - do + do { // If the object is using pixelPerfect checks, or has a higher InputManager.PriorityID OR if the priority ID is the same as the current highest AND it has a higher renderOrderID, then set it to the top if (currentNode.pixelPerfect || currentNode.priorityID > this._highestInputPriorityID || (currentNode.priorityID == this._highestInputPriorityID && currentNode.sprite.renderOrderID > this._highestRenderOrderID)) @@ -837,7 +831,7 @@

    Source: input/Pointer.js

    { // Same target as before, so update it // console.log("Same target as before, so update it"); - if (this._highestRenderObject.update(this) == false) + if (this._highestRenderObject.update(this) === false) { this.targetObject = null; } @@ -859,10 +853,10 @@

    Source: input/Pointer.js

    }, - /** + /** * Called when the Pointer leaves the target area. * @method Phaser.Pointer#leave - * @param {Any} event + * @param {MouseEvent|PointerEvent|TouchEvent} event - The event passed up from the input handler. */ leave: function (event) { @@ -871,10 +865,10 @@

    Source: input/Pointer.js

    }, - /** + /** * Called when the Pointer leaves the touchscreen. * @method Phaser.Pointer#stop - * @param {Any} event + * @param {MouseEvent|PointerEvent|TouchEvent} event - The event passed up from the input handler. */ stop: function (event) { @@ -886,7 +880,7 @@

    Source: input/Pointer.js

    this.timeUp = this.game.time.now; - if (this.game.input.multiInputOverride == Phaser.Input.MOUSE_OVERRIDES_TOUCH || this.game.input.multiInputOverride == Phaser.Input.MOUSE_TOUCH_COMBINE || (this.game.input.multiInputOverride == Phaser.Input.TOUCH_OVERRIDES_MOUSE && this.game.input.currentPointers == 0)) + if (this.game.input.multiInputOverride == Phaser.Input.MOUSE_OVERRIDES_TOUCH || this.game.input.multiInputOverride == Phaser.Input.MOUSE_TOUCH_COMBINE || (this.game.input.multiInputOverride == Phaser.Input.TOUCH_OVERRIDES_MOUSE && this.game.input.currentPointers === 0)) { this.game.input.onUp.dispatch(this, event); @@ -919,7 +913,7 @@

    Source: input/Pointer.js

    this.isDown = false; this.isUp = true; - if (this.isMouse == false) + if (this.isMouse === false) { this.game.input.currentPointers--; } @@ -928,7 +922,7 @@

    Source: input/Pointer.js

    { var currentNode = this.game.input.interactiveItems.next; - do + do { if (currentNode) { @@ -950,11 +944,13 @@

    Source: input/Pointer.js

    }, - /** + /** * The Pointer is considered justPressed if the time it was pressed onto the touchscreen or clicked is less than justPressedRate. + * Note that calling justPressed doesn't reset the pressed status of the Pointer, it will return `true` for as long as the duration is valid. + * If you wish to check if the Pointer was pressed down just once then see the Sprite.events.onInputDown event. * @method Phaser.Pointer#justPressed - * @param {number} [duration] - * @return {boolean} + * @param {number} [duration] - The time to check against. If none given it will use InputManager.justPressedRate. + * @return {boolean} true if the Pointer was pressed down within the duration given. */ justPressed: function (duration) { @@ -964,11 +960,13 @@

    Source: input/Pointer.js

    }, - /** + /** * The Pointer is considered justReleased if the time it left the touchscreen is less than justReleasedRate. + * Note that calling justReleased doesn't reset the pressed status of the Pointer, it will return `true` for as long as the duration is valid. + * If you wish to check if the Pointer was released just once then see the Sprite.events.onInputUp event. * @method Phaser.Pointer#justReleased - * @param {number} [duration] - * @return {boolean} + * @param {number} [duration] - The time to check against. If none given it will use InputManager.justReleasedRate. + * @return {boolean} true if the Pointer was released within the duration given. */ justReleased: function (duration) { @@ -978,13 +976,13 @@

    Source: input/Pointer.js

    }, - /** + /** * Resets the Pointer properties. Called by InputManager.reset when you perform a State change. * @method Phaser.Pointer#reset */ reset: function () { - if (this.isMouse == false) + if (this.isMouse === false) { this.active = false; } @@ -1004,15 +1002,6 @@

    Source: input/Pointer.js

    this.targetObject = null; - }, - - /** - * Returns a string representation of this object. - * @method Phaser.Pointer#toString - * @return {string} A string representation of the instance. - **/ - toString: function () { - return "[{Pointer (id=" + this.id + " identifer=" + this.identifier + " active=" + this.active + " duration=" + this.duration + " withinGame=" + this.withinGame + " x=" + this.x + " y=" + this.y + " clientX=" + this.clientX + " clientY=" + this.clientY + " screenX=" + this.screenX + " screenY=" + this.screenY + " pageX=" + this.pageX + " pageY=" + this.pageY + ")}]"; } }; @@ -1048,7 +1037,7 @@

    Source: input/Pointer.js

    get: function () { - return this.game.world.camera.x + this.x; + return this.game.world.camera.x + this.x; } @@ -1064,7 +1053,7 @@

    Source: input/Pointer.js

    get: function () { - return this.game.world.camera.y + this.y; + return this.game.world.camera.y + this.y; } @@ -1090,7 +1079,7 @@

    Source: input/Pointer.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Polygon.js.html b/docs/Polygon.js.html index a53a81ef1e..f6b45bb79d 100644 --- a/docs/Polygon.js.html +++ b/docs/Polygon.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -403,8 +443,8 @@

    Source: geom/Polygon.js

    PIXI.Polygon.call(this, points); /** - * @property {number} type - The base object type. - */ + * @property {number} type - The base object type. + */ this.type = Phaser.POLYGON; }; @@ -431,7 +471,7 @@

    Source: geom/Polygon.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/QuadTree.js.html b/docs/QuadTree.js.html index 333ade314c..c1774604bb 100644 --- a/docs/QuadTree.js.html +++ b/docs/QuadTree.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -441,208 +481,209 @@

    Source: math/QuadTree.js

    * @param {number} level - Description. */ Phaser.QuadTree = function (physicsManager, x, y, width, height, maxObjects, maxLevels, level) { - - this.physicsManager = physicsManager; - this.ID = physicsManager.quadTreeID; - physicsManager.quadTreeID++; - - this.maxObjects = maxObjects || 10; - this.maxLevels = maxLevels || 4; - this.level = level || 0; - - this.bounds = { - x: Math.round(x), - y: Math.round(y), - width: width, - height: height, - subWidth: Math.floor(width / 2), - subHeight: Math.floor(height / 2), - right: Math.round(x) + Math.floor(width / 2), - bottom: Math.round(y) + Math.floor(height / 2) - }; - - this.objects = []; - this.nodes = []; + + this.physicsManager = physicsManager; + this.ID = physicsManager.quadTreeID; + physicsManager.quadTreeID++; + + this.maxObjects = maxObjects || 10; + this.maxLevels = maxLevels || 4; + this.level = level || 0; + + this.bounds = { + x: Math.round(x), + y: Math.round(y), + width: width, + height: height, + subWidth: Math.floor(width / 2), + subHeight: Math.floor(height / 2), + right: Math.round(x) + Math.floor(width / 2), + bottom: Math.round(y) + Math.floor(height / 2) + }; + + this.objects = []; + this.nodes = []; }; Phaser.QuadTree.prototype = { - /* - * Split the node into 4 subnodes - * - * @method Phaser.QuadTree#split - */ - split: function() { - - this.level++; - - // top right node - this.nodes[0] = new Phaser.QuadTree(this.physicsManager, this.bounds.right, this.bounds.y, this.bounds.subWidth, this.bounds.subHeight, this.maxObjects, this.maxLevels, this.level); - - // top left node - this.nodes[1] = new Phaser.QuadTree(this.physicsManager, this.bounds.x, this.bounds.y, this.bounds.subWidth, this.bounds.subHeight, this.maxObjects, this.maxLevels, this.level); - - // bottom left node - this.nodes[2] = new Phaser.QuadTree(this.physicsManager, this.bounds.x, this.bounds.bottom, this.bounds.subWidth, this.bounds.subHeight, this.maxObjects, this.maxLevels, this.level); - - // bottom right node - this.nodes[3] = new Phaser.QuadTree(this.physicsManager, this.bounds.right, this.bounds.bottom, this.bounds.subWidth, this.bounds.subHeight, this.maxObjects, this.maxLevels, this.level); - - }, - - /* - * Insert the object into the node. If the node - * exceeds the capacity, it will split and add all - * objects to their corresponding subnodes. - * - * @method Phaser.QuadTree#insert - * @param {object} body - Description. - */ - insert: function (body) { - - var i = 0; - var index; - - // if we have subnodes ... - if (this.nodes[0] != null) - { - index = this.getIndex(body); - - if (index !== -1) - { - this.nodes[index].insert(body); - return; - } - } - - this.objects.push(body); - - if (this.objects.length > this.maxObjects && this.level < this.maxLevels) - { - // Split if we don't already have subnodes - if (this.nodes[0] == null) - { - this.split(); - } - - // Add objects to subnodes - while (i < this.objects.length) - { - index = this.getIndex(this.objects[i]); - - if (index !== -1) - { - // this is expensive - see what we can do about it - this.nodes[index].insert(this.objects.splice(i, 1)[0]); - } - else - { - i++; - } - } - } - }, - - /* - * Determine which node the object belongs to. - * - * @method Phaser.QuadTree#getIndex - * @param {object} rect - Description. - * @return {number} index - Index of the subnode (0-3), or -1 if rect cannot completely fit within a subnode and is part of the parent node. - */ - getIndex: function (rect) { - - // default is that rect doesn't fit, i.e. it straddles the internal quadrants - var index = -1; - - if (rect.x < this.bounds.right && rect.right < this.bounds.right) - { - if ((rect.y < this.bounds.bottom && rect.bottom < this.bounds.bottom)) - { - // rect fits within the top-left quadrant of this quadtree - index = 1; - } - else if ((rect.y > this.bounds.bottom)) - { - // rect fits within the bottom-left quadrant of this quadtree - index = 2; - } - } - else if (rect.x > this.bounds.right) - { - // rect can completely fit within the right quadrants - if ((rect.y < this.bounds.bottom && rect.bottom < this.bounds.bottom)) - { - // rect fits within the top-right quadrant of this quadtree - index = 0; - } - else if ((rect.y > this.bounds.bottom)) - { - // rect fits within the bottom-right quadrant of this quadtree - index = 3; - } - } - - return index; - - }, - - /* - * Return all objects that could collide with the given object. - * - * @method Phaser.QuadTree#retrieve - * @param {object} rect - Description. - * @Return {array} - Array with all detected objects. - */ - retrieve: function (sprite) { - - var returnObjects = this.objects; - - sprite.body.quadTreeIndex = this.getIndex(sprite.body); - - // Temp store for the node IDs this sprite is in, we can use this for fast elimination later - sprite.body.quadTreeIDs.push(this.ID); - - if (this.nodes[0]) - { - // if rect fits into a subnode .. - if (sprite.body.quadTreeIndex !== -1) - { - returnObjects = returnObjects.concat(this.nodes[sprite.body.quadTreeIndex].retrieve(sprite)); - } - else - { - // if rect does not fit into a subnode, check it against all subnodes (unrolled for speed) - returnObjects = returnObjects.concat(this.nodes[0].retrieve(sprite)); - returnObjects = returnObjects.concat(this.nodes[1].retrieve(sprite)); - returnObjects = returnObjects.concat(this.nodes[2].retrieve(sprite)); - returnObjects = returnObjects.concat(this.nodes[3].retrieve(sprite)); - } - } - - return returnObjects; - - }, - - /* - * Clear the quadtree. - * @method Phaser.QuadTree#clear - */ - clear: function () { - - this.objects = []; - - for (var i = 0, len = this.nodes.length; i < len; i++) - { - // if (typeof this.nodes[i] !== 'undefined') - if (this.nodes[i]) - { - this.nodes[i].clear(); - delete this.nodes[i]; - } - } - } + /* + * Split the node into 4 subnodes + * + * @method Phaser.QuadTree#split + */ + split: function() { + + this.level++; + + // top right node + this.nodes[0] = new Phaser.QuadTree(this.physicsManager, this.bounds.right, this.bounds.y, this.bounds.subWidth, this.bounds.subHeight, this.maxObjects, this.maxLevels, this.level); + + // top left node + this.nodes[1] = new Phaser.QuadTree(this.physicsManager, this.bounds.x, this.bounds.y, this.bounds.subWidth, this.bounds.subHeight, this.maxObjects, this.maxLevels, this.level); + + // bottom left node + this.nodes[2] = new Phaser.QuadTree(this.physicsManager, this.bounds.x, this.bounds.bottom, this.bounds.subWidth, this.bounds.subHeight, this.maxObjects, this.maxLevels, this.level); + + // bottom right node + this.nodes[3] = new Phaser.QuadTree(this.physicsManager, this.bounds.right, this.bounds.bottom, this.bounds.subWidth, this.bounds.subHeight, this.maxObjects, this.maxLevels, this.level); + + }, + + /* + * Insert the object into the node. If the node + * exceeds the capacity, it will split and add all + * objects to their corresponding subnodes. + * + * @method Phaser.QuadTree#insert + * @param {object} body - Description. + */ + insert: function (body) { + + var i = 0; + var index; + + // if we have subnodes ... + if (this.nodes[0] != null) + { + index = this.getIndex(body); + + if (index !== -1) + { + this.nodes[index].insert(body); + return; + } + } + + this.objects.push(body); + + if (this.objects.length > this.maxObjects && this.level < this.maxLevels) + { + // Split if we don't already have subnodes + if (this.nodes[0] == null) + { + this.split(); + } + + // Add objects to subnodes + while (i < this.objects.length) + { + index = this.getIndex(this.objects[i]); + + if (index !== -1) + { + // this is expensive - see what we can do about it + this.nodes[index].insert(this.objects.splice(i, 1)[0]); + } + else + { + i++; + } + } + } + + }, + + /* + * Determine which node the object belongs to. + * + * @method Phaser.QuadTree#getIndex + * @param {object} rect - Description. + * @return {number} index - Index of the subnode (0-3), or -1 if rect cannot completely fit within a subnode and is part of the parent node. + */ + getIndex: function (rect) { + + // default is that rect doesn't fit, i.e. it straddles the internal quadrants + var index = -1; + + if (rect.x < this.bounds.right && rect.right < this.bounds.right) + { + if ((rect.y < this.bounds.bottom && rect.bottom < this.bounds.bottom)) + { + // rect fits within the top-left quadrant of this quadtree + index = 1; + } + else if ((rect.y > this.bounds.bottom)) + { + // rect fits within the bottom-left quadrant of this quadtree + index = 2; + } + } + else if (rect.x > this.bounds.right) + { + // rect can completely fit within the right quadrants + if ((rect.y < this.bounds.bottom && rect.bottom < this.bounds.bottom)) + { + // rect fits within the top-right quadrant of this quadtree + index = 0; + } + else if ((rect.y > this.bounds.bottom)) + { + // rect fits within the bottom-right quadrant of this quadtree + index = 3; + } + } + + return index; + + }, + + /* + * Return all objects that could collide with the given object. + * + * @method Phaser.QuadTree#retrieve + * @param {object} rect - Description. + * @Return {array} - Array with all detected objects. + */ + retrieve: function (sprite) { + + var returnObjects = this.objects; + + sprite.body.quadTreeIndex = this.getIndex(sprite.body); + + // Temp store for the node IDs this sprite is in, we can use this for fast elimination later + sprite.body.quadTreeIDs.push(this.ID); + + if (this.nodes[0]) + { + // if rect fits into a subnode .. + if (sprite.body.quadTreeIndex !== -1) + { + returnObjects = returnObjects.concat(this.nodes[sprite.body.quadTreeIndex].retrieve(sprite)); + } + else + { + // if rect does not fit into a subnode, check it against all subnodes (unrolled for speed) + returnObjects = returnObjects.concat(this.nodes[0].retrieve(sprite)); + returnObjects = returnObjects.concat(this.nodes[1].retrieve(sprite)); + returnObjects = returnObjects.concat(this.nodes[2].retrieve(sprite)); + returnObjects = returnObjects.concat(this.nodes[3].retrieve(sprite)); + } + } + + return returnObjects; + + }, + + /* + * Clear the quadtree. + * @method Phaser.QuadTree#clear + */ + clear: function () { + + this.objects = []; + + for (var i = 0, len = this.nodes.length; i < len; i++) + { + // if (typeof this.nodes[i] !== 'undefined') + if (this.nodes[i]) + { + this.nodes[i].clear(); + delete this.nodes[i]; + } + } + } };
    @@ -666,7 +707,7 @@

    Source: math/QuadTree.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/RandomDataGenerator.js.html b/docs/RandomDataGenerator.js.html index c2017778e6..5e49be91a3 100644 --- a/docs/RandomDataGenerator.js.html +++ b/docs/RandomDataGenerator.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -381,7 +421,9 @@

    Source: math/RandomDataGenerator.js

    -
    /**
    +            
    /* jshint noempty: false */
    +
    +/**
     * @author       Richard Davey <rich@photonstorm.com>
     * @copyright    2013 Photon Storm Ltd.
     * @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
    @@ -399,232 +441,231 @@ 

    Source: math/RandomDataGenerator.js

    * @param {array} seeds */ Phaser.RandomDataGenerator = function (seeds) { - - if (typeof seeds === "undefined") { seeds = []; } - - this.sow(seeds); + + if (typeof seeds === "undefined") { seeds = []; } + + /** + * @property {number} c - Internal var. + * @private + */ + this.c = 1; + + /** + * @property {number} s0 - Internal var. + * @private + */ + this.s0 = 0; + + /** + * @property {number} s1 - Internal var. + * @private + */ + this.s1 = 0; + + /** + * @property {number} s2 - Internal var. + * @private + */ + this.s2 = 0; + + this.sow(seeds); }; Phaser.RandomDataGenerator.prototype = { - /** - * @property {number} c - * @private - */ - c: 1, - - /** - * @property {number} s0 - * @private - */ - s0: 0, - - /** - * @property {number} s1 - * @private - */ - s1: 0, - - /** - * @property {number} s2 - * @private - */ - s2: 0, - - /** - * Private random helper. - * @method Phaser.RandomDataGenerator#rnd - * @private - * @return {number} Description. - */ - rnd: function () { - - var t = 2091639 * this.s0 + this.c * 2.3283064365386963e-10; // 2^-32 - - this.c = t | 0; - this.s0 = this.s1; - this.s1 = this.s2; - this.s2 = t - this.c; - - return this.s2; - }, - - /** - * Reset the seed of the random data generator. - * - * @method Phaser.RandomDataGenerator#sow - * @param {array} seeds - */ - sow: function (seeds) { - - if (typeof seeds === "undefined") { seeds = []; } - - this.s0 = this.hash(' '); - this.s1 = this.hash(this.s0); - this.s2 = this.hash(this.s1); - this.c = 1; - - var seed; - - for (var i = 0; seed = seeds[i++]; ) - { - this.s0 -= this.hash(seed); - this.s0 += ~~(this.s0 < 0); - this.s1 -= this.hash(seed); - this.s1 += ~~(this.s1 < 0); - this.s2 -= this.hash(seed); - this.s2 += ~~(this.s2 < 0); - } - - }, - - /** - * Description. - * @method Phaser.RandomDataGenerator#hash - * @param {Any} data - * @private - * @return {number} Description. - */ - hash: function (data) { - - var h, i, n; - n = 0xefc8249d; - data = data.toString(); - - for (i = 0; i < data.length; i++) { - n += data.charCodeAt(i); - h = 0.02519603282416938 * n; - n = h >>> 0; - h -= n; - h *= n; - n = h >>> 0; - h -= n; - n += h * 0x100000000;// 2^32 - } - - return (n >>> 0) * 2.3283064365386963e-10;// 2^-32 - - }, - - /** - * Returns a random integer between 0 and 2^32. - * @method Phaser.RandomDataGenerator#integer - * @return {number} - */ - integer: function() { - return this.rnd.apply(this) * 0x100000000;// 2^32 - }, - - /** - * Returns a random real number between 0 and 1. - * @method Phaser.RandomDataGenerator#frac - * @return {number} - */ - frac: function() { - return this.rnd.apply(this) + (this.rnd.apply(this) * 0x200000 | 0) * 1.1102230246251565e-16;// 2^-53 - }, - - /** - * Returns a random real number between 0 and 2^32. - * @method Phaser.RandomDataGenerator#real - * @return {number} - */ - real: function() { - return this.integer() + this.frac(); - }, - - /** - * Returns a random integer between min and max. - * @method Phaser.RandomDataGenerator#integerInRange - * @param {number} min - * @param {number} max - * @return {number} - */ - integerInRange: function (min, max) { - return Math.floor(this.realInRange(min, max)); - }, - - /** - * Returns a random real number between min and max. - * @method Phaser.RandomDataGenerator#realInRange - * @param {number} min - * @param {number} max - * @return {number} - */ - realInRange: function (min, max) { - - return this.frac() * (max - min) + min; - - }, - - /** - * Returns a random real number between -1 and 1. - * @method Phaser.RandomDataGenerator#normal - * @return {number} - */ - normal: function () { - return 1 - 2 * this.frac(); - }, - - /** - * Returns a valid RFC4122 version4 ID hex string from https://gist.github.com/1308368 - * @method Phaser.RandomDataGenerator#uuid - * @return {string} - */ - uuid: function () { - - var a, b; - - for ( - b=a=''; - a++<36; - b+=~a%5|a*3&4?(a^15?8^this.frac()*(a^20?16:4):4).toString(16):'-' - ); - - return b; - - }, - - /** - * Returns a random member of `array`. - * @method Phaser.RandomDataGenerator#pick - * @param {Any} ary - * @return {number} - */ - pick: function (ary) { - return ary[this.integerInRange(0, ary.length)]; - }, - - /** - * Returns a random member of `array`, favoring the earlier entries. - * @method Phaser.RandomDataGenerator#weightedPick - * @param {Any} ary - * @return {number} - */ - weightedPick: function (ary) { - return ary[~~(Math.pow(this.frac(), 2) * ary.length)]; - }, - - /** - * Returns a random timestamp between min and max, or between the beginning of 2000 and the end of 2020 if min and max aren't specified. - * @method Phaser.RandomDataGenerator#timestamp - * @param {number} min - * @param {number} max - * @return {number} - */ - timestamp: function (a, b) { - return this.realInRange(a || 946684800000, b || 1577862000000); - }, - - /** - * Returns a random angle between -180 and 180. - * @method Phaser.RandomDataGenerator#angle - * @return {number} - */ - angle: function() { - return this.integerInRange(-180, 180); - } + /** + * Private random helper. + * @method Phaser.RandomDataGenerator#rnd + * @private + * @return {number} + */ + rnd: function () { + + var t = 2091639 * this.s0 + this.c * 2.3283064365386963e-10; // 2^-32 + + this.c = t | 0; + this.s0 = this.s1; + this.s1 = this.s2; + this.s2 = t - this.c; + + return this.s2; + }, + + /** + * Reset the seed of the random data generator. + * + * @method Phaser.RandomDataGenerator#sow + * @param {array} seeds + */ + sow: function (seeds) { + + if (typeof seeds === "undefined") { seeds = []; } + + this.s0 = this.hash(' '); + this.s1 = this.hash(this.s0); + this.s2 = this.hash(this.s1); + this.c = 1; + + var seed; + + for (var i = 0; seed = seeds[i++]; ) + { + this.s0 -= this.hash(seed); + this.s0 += ~~(this.s0 < 0); + this.s1 -= this.hash(seed); + this.s1 += ~~(this.s1 < 0); + this.s2 -= this.hash(seed); + this.s2 += ~~(this.s2 < 0); + } + + }, + + /** + * Internal method that creates a seed hash. + * @method Phaser.RandomDataGenerator#hash + * @param {Any} data + * @private + * @return {number} hashed value. + */ + hash: function (data) { + + var h, i, n; + n = 0xefc8249d; + data = data.toString(); + + for (i = 0; i < data.length; i++) { + n += data.charCodeAt(i); + h = 0.02519603282416938 * n; + n = h >>> 0; + h -= n; + h *= n; + n = h >>> 0; + h -= n; + n += h * 0x100000000;// 2^32 + } + + return (n >>> 0) * 2.3283064365386963e-10;// 2^-32 + + }, + + /** + * Returns a random integer between 0 and 2^32. + * @method Phaser.RandomDataGenerator#integer + * @return {number} A random integer between 0 and 2^32. + */ + integer: function() { + return this.rnd.apply(this) * 0x100000000;// 2^32 + }, + + /** + * Returns a random real number between 0 and 1. + * @method Phaser.RandomDataGenerator#frac + * @return {number} A random real number between 0 and 1. + */ + frac: function() { + return this.rnd.apply(this) + (this.rnd.apply(this) * 0x200000 | 0) * 1.1102230246251565e-16;// 2^-53 + }, + + /** + * Returns a random real number between 0 and 2^32. + * @method Phaser.RandomDataGenerator#real + * @return {number} A random real number between 0 and 2^32. + */ + real: function() { + return this.integer() + this.frac(); + }, + + /** + * Returns a random integer between min and max. + * @method Phaser.RandomDataGenerator#integerInRange + * @param {number} min - The minimum value in the range. + * @param {number} max - The maximum value in the range. + * @return {number} A random number between min and max. + */ + integerInRange: function (min, max) { + return Math.floor(this.realInRange(min, max)); + }, + + /** + * Returns a random real number between min and max. + * @method Phaser.RandomDataGenerator#realInRange + * @param {number} min - The minimum value in the range. + * @param {number} max - The maximum value in the range. + * @return {number} A random number between min and max. + */ + realInRange: function (min, max) { + + return this.frac() * (max - min) + min; + + }, + + /** + * Returns a random real number between -1 and 1. + * @method Phaser.RandomDataGenerator#normal + * @return {number} A random real number between -1 and 1. + */ + normal: function () { + return 1 - 2 * this.frac(); + }, + + /** + * Returns a valid RFC4122 version4 ID hex string from https://gist.github.com/1308368 + * @method Phaser.RandomDataGenerator#uuid + * @return {string} A valid RFC4122 version4 ID hex string + */ + uuid: function () { + + var a = ''; + var b = ''; + + for (b = a = ''; a++ < 36; b +=~a % 5 | a * 3&4 ? (a^15 ? 8^this.frac() * (a^20 ? 16 : 4) : 4).toString(16) : '-') + { + } + + return b; + + }, + + /** + * Returns a random member of `array`. + * @method Phaser.RandomDataGenerator#pick + * @param {Array} ary - An Array to pick a random member of. + * @return {any} A random member of the array. + */ + pick: function (ary) { + return ary[this.integerInRange(0, ary.length)]; + }, + + /** + * Returns a random member of `array`, favoring the earlier entries. + * @method Phaser.RandomDataGenerator#weightedPick + * @param {Array} ary - An Array to pick a random member of. + * @return {any} A random member of the array. + */ + weightedPick: function (ary) { + return ary[~~(Math.pow(this.frac(), 2) * ary.length)]; + }, + + /** + * Returns a random timestamp between min and max, or between the beginning of 2000 and the end of 2020 if min and max aren't specified. + * @method Phaser.RandomDataGenerator#timestamp + * @param {number} min - The minimum value in the range. + * @param {number} max - The maximum value in the range. + * @return {number} A random timestamp between min and max. + */ + timestamp: function (min, max) { + return this.realInRange(min || 946684800000, max || 1577862000000); + }, + + /** + * Returns a random angle between -180 and 180. + * @method Phaser.RandomDataGenerator#angle + * @return {number} A random number between -180 and 180. + */ + angle: function() { + return this.integerInRange(-180, 180); + } };
    @@ -648,7 +689,7 @@

    Source: math/RandomDataGenerator.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Rectangle.js.html b/docs/Rectangle.js.html index 38b3181932..f9559709b9 100644 --- a/docs/Rectangle.js.html +++ b/docs/Rectangle.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -394,10 +434,10 @@

    Source: geom/Rectangle.js

    * @constructor * @param {number} x - The x coordinate of the top-left corner of the Rectangle. * @param {number} y - The y coordinate of the top-left corner of the Rectangle. -* @param {number} width - The width of the Rectangle in pixels. -* @param {number} height - The height of the Rectangle in pixels. +* @param {number} width - The width of the Rectangle. +* @param {number} height - The height of the Rectangle. * @return {Rectangle} This Rectangle object. -**/ +*/ Phaser.Rectangle = function (x, y, width, height) { x = x || 0; @@ -406,22 +446,22 @@

    Source: geom/Rectangle.js

    height = height || 0; /** - * @property {number} x - Description. + * @property {number} x - The x coordinate of the top-left corner of the Rectangle. */ this.x = x; /** - * @property {number} y - Description. + * @property {number} y - The y coordinate of the top-left corner of the Rectangle. */ this.y = y; /** - * @property {number} width - Description. + * @property {number} width - The width of the Rectangle. */ this.width = width; /** - * @property {number} height - Description. + * @property {number} height - The height of the Rectangle. */ this.height = height; @@ -435,7 +475,7 @@

    Source: geom/Rectangle.js

    * @param {number} dx - Moves the x value of the Rectangle object by this amount. * @param {number} dy - Moves the y value of the Rectangle object by this amount. * @return {Rectangle} This Rectangle object. - **/ + */ offset: function (dx, dy) { this.x += dx; @@ -450,7 +490,7 @@

    Source: geom/Rectangle.js

    * @method Phaser.Rectangle#offsetPoint * @param {Point} point - A Point object to use to offset this Rectangle object. * @return {Rectangle} This Rectangle object. - **/ + */ offsetPoint: function (point) { return this.offset(point.x, point.y); }, @@ -463,7 +503,7 @@

    Source: geom/Rectangle.js

    * @param {number} width - The width of the Rectangle in pixels. * @param {number} height - The height of the Rectangle in pixels. * @return {Rectangle} This Rectangle object - **/ + */ setTo: function (x, y, width, height) { this.x = x; @@ -478,7 +518,7 @@

    Source: geom/Rectangle.js

    /** * Runs Math.floor() on both the x and y values of this Rectangle. * @method Phaser.Rectangle#floor - **/ + */ floor: function () { this.x = Math.floor(this.x); @@ -489,7 +529,7 @@

    Source: geom/Rectangle.js

    /** * Runs Math.floor() on the x, y, width and height values of this Rectangle. * @method Phaser.Rectangle#floorAll - **/ + */ floorAll: function () { this.x = Math.floor(this.x); @@ -504,7 +544,7 @@

    Source: geom/Rectangle.js

    * @method Phaser.Rectangle#copyFrom * @param {any} source - The object to copy from. * @return {Rectangle} This Rectangle object. - **/ + */ copyFrom: function (source) { return this.setTo(source.x, source.y, source.width, source.height); }, @@ -514,7 +554,7 @@

    Source: geom/Rectangle.js

    * @method Phaser.Rectangle#copyTo * @param {any} source - The object to copy to. * @return {object} This object. - **/ + */ copyTo: function (dest) { dest.x = this.x; @@ -598,7 +638,7 @@

    Source: geom/Rectangle.js

    * @return {Phaser.Rectangle} A Rectangle object that equals the area of intersection. If the Rectangles do not intersect, this method returns an empty Rectangle object; that is, a Rectangle with its x, y, width, and height properties set to 0. */ intersection: function (b, out) { - return Phaser.Rectangle.intersection(this, b, output); + return Phaser.Rectangle.intersection(this, b, out); }, /** @@ -642,7 +682,7 @@

    Source: geom/Rectangle.js

    * Returns a string representation of this object. * @method Phaser.Rectangle#toString * @return {string} A string representation of the instance. - **/ + */ toString: function () { return "[{Rectangle (x=" + this.x + " y=" + this.y + " width=" + this.width + " height=" + this.height + " empty=" + this.empty + ")}]"; } @@ -873,7 +913,12 @@

    Source: geom/Rectangle.js

    }, set: function (value) { - this.setTo(0, 0, 0, 0); + + if (value === true) + { + this.setTo(0, 0, 0, 0); + } + } }); @@ -998,7 +1043,7 @@

    Source: geom/Rectangle.js

    */ Phaser.Rectangle.intersection = function (a, b, out) { - out = out || new Phaser.Rectangle; + out = out || new Phaser.Rectangle(); if (Phaser.Rectangle.intersects(a, b)) { @@ -1085,7 +1130,7 @@

    Source: geom/Rectangle.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/RenderTexture.js.html b/docs/RenderTexture.js.html index d5f37cdbe5..ef4b643de3 100644 --- a/docs/RenderTexture.js.html +++ b/docs/RenderTexture.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -388,7 +428,7 @@

    Source: gameobjects/RenderTexture.js

    */ /** -* A dynamic initially blank canvas to which images can be drawn +* A RenderTexture is a special texture that allows any displayObject to be rendered to it. * @class Phaser.RenderTexture * @constructor * @param {Phaser.Game} game - Current game instance. @@ -398,58 +438,304 @@

    Source: gameobjects/RenderTexture.js

    */ Phaser.RenderTexture = function (game, key, width, height) { - /** - * @property {Phaser.Game} game - A reference to the currently running game. - */ - this.game = game; + /** + * @property {Phaser.Game} game - A reference to the currently running game. + */ + this.game = game; - /** + /** * @property {string} name - the name of the object. - */ + */ this.name = key; - PIXI.EventTarget.call( this ); + PIXI.EventTarget.call(this); - /** - * @property {number} width - the width. + /** + * @property {number} width - the width. */ - this.width = width || 100; - - /** - * @property {number} height - the height. + this.width = width || 100; + + /** + * @property {number} height - the height. */ - this.height = height || 100; + this.height = height || 100; - /** - * I know this has a typo in it, but it's because the PIXI.RenderTexture does and we need to pair-up with it - * once they update pixi to fix the typo, we'll fix it here too :) - * @property {Description} indetityMatrix - Description. - */ - this.indetityMatrix = PIXI.mat3.create(); + /** + * @property {PIXI.mat3} indetityMatrix - Matrix object. + */ + this.indetityMatrix = PIXI.mat3.create(); - /** - * @property {Description} frame - Description. + /** + * @property {PIXI.Rectangle} frame - The frame for this texture. */ - this.frame = new PIXI.Rectangle(0, 0, this.width, this.height); + this.frame = new PIXI.Rectangle(0, 0, this.width, this.height); - /** - * @property {Description} type - Description. + /** + * @property {number} type - Base Phaser object type. */ - this.type = Phaser.RENDERTEXTURE; - - if (PIXI.gl) - { - this.initWebGL(); - } - else - { - this.initCanvas(); - } - + this.type = Phaser.RENDERTEXTURE; + + this._tempPoint = { x: 0, y: 0 }; + + if (PIXI.gl) + { + this.initWebGL(); + } + else + { + this.initCanvas(); + } + }; -Phaser.RenderTexture.prototype = Phaser.Utils.extend(true, PIXI.RenderTexture.prototype); -Phaser.RenderTexture.prototype.constructor = Phaser.RenderTexture; +Phaser.RenderTexture.prototype = Object.create(PIXI.Texture.prototype); +Phaser.RenderTexture.prototype.constructor = PIXI.RenderTexture; + +/** +* This function will draw the display object to the texture. If the display object is a Group or has children it will +* draw all children as well. +* +* @method render +* @param {DisplayObject} displayObject - The display object to render this texture on. +* @param {Phaser.Point} [position] - Where to draw the display object. +* @param {boolean} [clear=false] - If true the texture will be cleared before the displayObject is drawn. +*/ +Phaser.RenderTexture.prototype.render = function(displayObject, position, clear) { + + if (typeof position === 'undefined') { position = false; } + if (typeof clear === 'undefined') { clear = false; } + + if (displayObject instanceof Phaser.Group) + { + displayObject = displayObject._container; + } + + if (PIXI.gl) + { + this.renderWebGL(displayObject, position, clear); + } + else + { + this.renderCanvas(displayObject, position, clear); + } + +} + +/** +* This function will draw the display object to the texture at the given x/y coordinates. +* If the display object is a Group or has children it will draw all children as well. +* +* @method renderXY +* @param {DisplayObject} displayObject - The display object to render this texture on. +* @param {number} x - The x coordinate to draw the display object at. +* @param {number} y - The y coordinate to draw the display object at. +* @param {boolean} [clear=false] - If true the texture will be cleared before the displayObject is drawn. +*/ +Phaser.RenderTexture.prototype.renderXY = function(displayObject, x, y, clear) { + + this._tempPoint.x = x; + this._tempPoint.y = y; + + this.render(displayObject, this._tempPoint, clear); + +} + +/** + * Initializes the webgl data for this texture + * + * @method initWebGL + * @private + */ +Phaser.RenderTexture.prototype.initWebGL = function() +{ + var gl = PIXI.gl; + this.glFramebuffer = gl.createFramebuffer(); + + gl.bindFramebuffer(gl.FRAMEBUFFER, this.glFramebuffer ); + + this.glFramebuffer.width = this.width; + this.glFramebuffer.height = this.height; + + this.baseTexture = new PIXI.BaseTexture(); + + this.baseTexture.width = this.width; + this.baseTexture.height = this.height; + + this.baseTexture._glTexture = gl.createTexture(); + gl.bindTexture(gl.TEXTURE_2D, this.baseTexture._glTexture); + + gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, this.width, this.height, 0, gl.RGBA, gl.UNSIGNED_BYTE, null); + + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MAG_FILTER, gl.LINEAR); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_MIN_FILTER, gl.LINEAR); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_S, gl.CLAMP_TO_EDGE); + gl.texParameteri(gl.TEXTURE_2D, gl.TEXTURE_WRAP_T, gl.CLAMP_TO_EDGE); + + this.baseTexture.isRender = true; + + gl.bindFramebuffer(gl.FRAMEBUFFER, this.glFramebuffer ); + gl.framebufferTexture2D(gl.FRAMEBUFFER, gl.COLOR_ATTACHMENT0, gl.TEXTURE_2D, this.baseTexture._glTexture, 0); + + // create a projection matrix.. + this.projection = new PIXI.Point(this.width/2 , -this.height/2); + + // set the correct render function.. + // this.render = this.renderWebGL; +} + + +Phaser.RenderTexture.prototype.resize = function(width, height) +{ + + this.width = width; + this.height = height; + + if(PIXI.gl) + { + this.projection.x = this.width/2 + this.projection.y = -this.height/2; + + var gl = PIXI.gl; + gl.bindTexture(gl.TEXTURE_2D, this.baseTexture._glTexture); + gl.texImage2D(gl.TEXTURE_2D, 0, gl.RGBA, this.width, this.height, 0, gl.RGBA, gl.UNSIGNED_BYTE, null); + } + else + { + + this.frame.width = this.width + this.frame.height = this.height; + this.renderer.resize(this.width, this.height); + } +} + +/** + * Initializes the canvas data for this texture + * + * @method initCanvas + * @private + */ +Phaser.RenderTexture.prototype.initCanvas = function() +{ + this.renderer = new PIXI.CanvasRenderer(this.width, this.height, null, 0); + + this.baseTexture = new PIXI.BaseTexture(this.renderer.view); + this.frame = new PIXI.Rectangle(0, 0, this.width, this.height); + + // this.render = this.renderCanvas; +} + +/** + * This function will draw the display object to the texture. + * + * @method renderWebGL + * @param displayObject {DisplayObject} The display object to render this texture on + * @param clear {Boolean} If true the texture will be cleared before the displayObject is drawn + * @private + */ +Phaser.RenderTexture.prototype.renderWebGL = function(displayObject, position, clear) +{ + var gl = PIXI.gl; + + // enable the alpha color mask.. + gl.colorMask(true, true, true, true); + + gl.viewport(0, 0, this.width, this.height); + + gl.bindFramebuffer(gl.FRAMEBUFFER, this.glFramebuffer ); + + if (clear) + { + gl.clearColor(0,0,0, 0); + gl.clear(gl.COLOR_BUFFER_BIT); + } + + // THIS WILL MESS WITH HIT TESTING! + var children = displayObject.children; + + //TODO -? create a new one??? dont think so! + var originalWorldTransform = displayObject.worldTransform; + displayObject.worldTransform = PIXI.mat3.create();//sthis.indetityMatrix; + // modify to flip... + displayObject.worldTransform[4] = -1; + displayObject.worldTransform[5] = this.projection.y * -2; + + if (position) + { + displayObject.worldTransform[2] = position.x; + displayObject.worldTransform[5] -= position.y; + } + + PIXI.visibleCount++; + displayObject.vcount = PIXI.visibleCount; + + for (var i = 0, j = children.length; i < j; i++) + { + children[i].updateTransform(); + } + + var renderGroup = displayObject.__renderGroup; + + if (renderGroup) + { + if (displayObject == renderGroup.root) + { + renderGroup.render(this.projection, this.glFramebuffer); + } + else + { + renderGroup.renderSpecific(displayObject, this.projection, this.glFramebuffer); + } + } + else + { + if (!this.renderGroup) + { + this.renderGroup = new PIXI.WebGLRenderGroup(gl); + } + + this.renderGroup.setRenderable(displayObject); + this.renderGroup.render(this.projection, this.glFramebuffer); + } + + displayObject.worldTransform = originalWorldTransform; +} + +/** + * This function will draw the display object to the texture. + * + * @method renderCanvas + * @param displayObject {DisplayObject} The display object to render this texture on + * @param clear {Boolean} If true the texture will be cleared before the displayObject is drawn + * @private + */ +Phaser.RenderTexture.prototype.renderCanvas = function(displayObject, position, clear) +{ + var children = displayObject.children; + + displayObject.worldTransform = PIXI.mat3.create(); + + if (position) + { + displayObject.worldTransform[2] = position.x; + displayObject.worldTransform[5] = position.y; + } + + for (var i = 0, j = children.length; i < j; i++) + { + children[i].updateTransform(); + } + + if (clear) + { + this.renderer.context.clearRect(0, 0, this.width, this.height); + } + + this.renderer.renderDisplayObject(displayObject); + + this.renderer.context.setTransform(1, 0, 0, 1, 0, 0); + + // PIXI.texturesToUpdate.push(this.baseTexture); +}
    @@ -471,7 +757,7 @@

    Source: gameobjects/RenderTexture.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/RequestAnimationFrame.js.html b/docs/RequestAnimationFrame.js.html index d860bfe1e9..f78cb6cf40 100644 --- a/docs/RequestAnimationFrame.js.html +++ b/docs/RequestAnimationFrame.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -395,150 +435,147 @@

    Source: system/RequestAnimationFrame.js

    * @param {Phaser.Game} game - A reference to the currently running game. */ Phaser.RequestAnimationFrame = function(game) { - - /** - * @property {Phaser.Game} game - The currently running game. - */ - this.game = game; - - /** - * @property {boolean} _isSetTimeOut - Description. - * @private - */ - this._isSetTimeOut = false; - - /** - * @property {boolean} isRunning - Description. - * @default - */ - this.isRunning = false; - - var vendors = [ - 'ms', - 'moz', - 'webkit', - 'o' - ]; - - for (var x = 0; x < vendors.length && !window.requestAnimationFrame; x++) - { - window.requestAnimationFrame = window[vendors[x] + 'RequestAnimationFrame']; - window.cancelAnimationFrame = window[vendors[x] + 'CancelAnimationFrame']; - } - - /** - * The function called by the update - * @property _onLoop - * @private - */ - this._onLoop = null; - - /** - * The callback ID used when calling cancel - * @property _timeOutID - * @private - */ - this._timeOutID = null; + + /** + * @property {Phaser.Game} game - The currently running game. + */ + this.game = game; + + /** + * @property {boolean} isRunning - true if RequestAnimationFrame is running, otherwise false. + * @default + */ + this.isRunning = false; + + var vendors = [ + 'ms', + 'moz', + 'webkit', + 'o' + ]; + + for (var x = 0; x < vendors.length && !window.requestAnimationFrame; x++) + { + window.requestAnimationFrame = window[vendors[x] + 'RequestAnimationFrame']; + window.cancelAnimationFrame = window[vendors[x] + 'CancelAnimationFrame']; + } + + /** + * @property {boolean} _isSetTimeOut - true if the browser is using setTimeout instead of raf. + * @private + */ + this._isSetTimeOut = false; + + /** + * @property {function} _onLoop - The function called by the update. + * @private + */ + this._onLoop = null; + + /** + * @property {number} _timeOutID - The callback ID used when calling cancel. + * @private + */ + this._timeOutID = null; }; Phaser.RequestAnimationFrame.prototype = { + /** + * Starts the requestAnimatioFrame running or setTimeout if unavailable in browser + * @method Phaser.RequestAnimationFrame#start + */ + start: function () { - /** - * Starts the requestAnimatioFrame running or setTimeout if unavailable in browser - * @method Phaser.RequestAnimationFrame#start - */ - start: function () { - - this.isRunning = true; + this.isRunning = true; - var _this = this; + var _this = this; - if (!window.requestAnimationFrame) - { - this._isSetTimeOut = true; + if (!window.requestAnimationFrame) + { + this._isSetTimeOut = true; this._onLoop = function () { return _this.updateSetTimeout(); }; - this._timeOutID = window.setTimeout(this._onLoop, 0); - } - else - { - this._isSetTimeOut = false; + this._timeOutID = window.setTimeout(this._onLoop, 0); + } + else + { + this._isSetTimeOut = false; this._onLoop = function (time) { return _this.updateRAF(time); }; - this._timeOutID = window.requestAnimationFrame(this._onLoop); - } + this._timeOutID = window.requestAnimationFrame(this._onLoop); + } - }, + }, - /** - * The update method for the requestAnimationFrame - * @method Phaser.RequestAnimationFrame#updateRAF - * @param {number} time - A timestamp, either from RAF or setTimeOut - */ - updateRAF: function (time) { + /** + * The update method for the requestAnimationFrame + * @method Phaser.RequestAnimationFrame#updateRAF + * @param {number} time - A timestamp, either from RAF or setTimeOut + */ + updateRAF: function (time) { - this.game.update(time); + this.game.update(time); - this._timeOutID = window.requestAnimationFrame(this._onLoop); + this._timeOutID = window.requestAnimationFrame(this._onLoop); - }, + }, - /** - * The update method for the setTimeout. - * @method Phaser.RequestAnimationFrame#updateSetTimeout - */ - updateSetTimeout: function () { + /** + * The update method for the setTimeout. + * @method Phaser.RequestAnimationFrame#updateSetTimeout + */ + updateSetTimeout: function () { - this.game.update(Date.now()); + this.game.update(Date.now()); - this._timeOutID = window.setTimeout(this._onLoop, this.game.time.timeToCall); + this._timeOutID = window.setTimeout(this._onLoop, this.game.time.timeToCall); - }, + }, - /** - * Stops the requestAnimationFrame from running. - * @method Phaser.RequestAnimationFrame#stop - */ - stop: function () { + /** + * Stops the requestAnimationFrame from running. + * @method Phaser.RequestAnimationFrame#stop + */ + stop: function () { - if (this._isSetTimeOut) - { - clearTimeout(this._timeOutID); - } - else - { - window.cancelAnimationFrame(this._timeOutID); - } + if (this._isSetTimeOut) + { + clearTimeout(this._timeOutID); + } + else + { + window.cancelAnimationFrame(this._timeOutID); + } - this.isRunning = false; + this.isRunning = false; - }, + }, - /** - * Is the browser using setTimeout? - * @method Phaser.RequestAnimationFrame#isSetTimeOut - * @return {boolean} - */ - isSetTimeOut: function () { - return this._isSetTimeOut; - }, + /** + * Is the browser using setTimeout? + * @method Phaser.RequestAnimationFrame#isSetTimeOut + * @return {boolean} + */ + isSetTimeOut: function () { + return this._isSetTimeOut; + }, - /** - * Is the browser using requestAnimationFrame? - * @method Phaser.RequestAnimationFrame#isRAF - * @return {boolean} - */ - isRAF: function () { - return (this._isSetTimeOut === false); - } + /** + * Is the browser using requestAnimationFrame? + * @method Phaser.RequestAnimationFrame#isRAF + * @return {boolean} + */ + isRAF: function () { + return (this._isSetTimeOut === false); + } };
    @@ -561,7 +598,7 @@

    Source: system/RequestAnimationFrame.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Signal.js.html b/docs/Signal.js.html index 114ad65012..da14fe14cd 100644 --- a/docs/Signal.js.html +++ b/docs/Signal.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -395,287 +435,292 @@

    Source: core/Signal.js

    */ Phaser.Signal = function () { - /** - * @property {Array.<Phaser.SignalBinding>} _bindings - Description. - * @private - */ - this._bindings = []; - - /** - * @property {Description} _prevParams - Description. - * @private - */ - this._prevParams = null; - - // enforce dispatch to aways work on same context (#47) - var self = this; - - /** - * @property {Description} dispatch - Description. - */ - this.dispatch = function(){ - Phaser.Signal.prototype.dispatch.apply(self, arguments); - }; + /** + * @property {Array.<Phaser.SignalBinding>} _bindings - Internal variable. + * @private + */ + this._bindings = []; + + /** + * @property {any} _prevParams - Internal variable. + * @private + */ + this._prevParams = null; + + // enforce dispatch to aways work on same context (#47) + var self = this; + + /** + * @property {function} dispatch - The dispatch function is what sends the Signal out. + */ + this.dispatch = function(){ + Phaser.Signal.prototype.dispatch.apply(self, arguments); + }; }; Phaser.Signal.prototype = { - /** + /** * If Signal should keep record of previously dispatched parameters and - * automatically execute listener during `add()`/`addOnce()` if Signal was - * already dispatched before. - * @property {boolean} memorize - */ - memorize: false, - - /** - * @property {boolean} _shouldPropagate - * @private - */ - _shouldPropagate: true, - - /** - * If Signal is active and should broadcast events. - * <p><strong>IMPORTANT:</strong> Setting this property during a dispatch will only affect the next dispatch, if you want to stop the propagation of a signal use `halt()` instead.</p> - * @property {boolean} active + * automatically execute listener during `add()`/`addOnce()` if Signal was + * already dispatched before. + * @property {boolean} memorize + */ + memorize: false, + + /** + * @property {boolean} _shouldPropagate + * @private + */ + _shouldPropagate: true, + + /** + * If Signal is active and should broadcast events. + * <p><strong>IMPORTANT:</strong> Setting this property during a dispatch will only affect the next dispatch, if you want to stop the propagation of a signal use `halt()` instead.</p> + * @property {boolean} active * @default */ - active: true, + active: true, + + /** + * @method Phaser.Signal#validateListener + * @param {function} listener - Signal handler function. + * @param {string} fnName - Function name. + * @private + */ + validateListener: function (listener, fnName) { + if (typeof listener !== 'function') { + throw new Error( 'listener is a required param of {fn}() and should be a Function.'.replace('{fn}', fnName) ); + } + }, + + /** + * @method Phaser.Signal#_registerListener + * @param {function} listener - Signal handler function. + * @param {boolean} isOnce - Description. + * @param {object} [listenerContext] - Description. + * @param {number} [priority] - The priority level of the event listener. Listeners with higher priority will be executed before listeners with lower priority. Listeners with same priority level will be executed at the same order as they were added. (default = 0). + * @return {Phaser.SignalBinding} An Object representing the binding between the Signal and listener. + * @private + */ + _registerListener: function (listener, isOnce, listenerContext, priority) { + + var prevIndex = this._indexOfListener(listener, listenerContext), + binding; + + if (prevIndex !== -1) { + binding = this._bindings[prevIndex]; + if (binding.isOnce() !== isOnce) { + throw new Error('You cannot add'+ (isOnce? '' : 'Once') +'() then add'+ (!isOnce? '' : 'Once') +'() the same listener without removing the relationship first.'); + } + } else { + binding = new Phaser.SignalBinding(this, listener, isOnce, listenerContext, priority); + this._addBinding(binding); + } + + if (this.memorize && this._prevParams){ + binding.execute(this._prevParams); + } + + return binding; + }, + + /** + * @method Phaser.Signal#_addBinding + * @param {Phaser.SignalBinding} binding - An Object representing the binding between the Signal and listener. + * @private + */ + _addBinding: function (binding) { + //simplified insertion sort + var n = this._bindings.length; + do { --n; } while (this._bindings[n] && binding._priority <= this._bindings[n]._priority); + this._bindings.splice(n + 1, 0, binding); + }, + + /** + * @method Phaser.Signal#_indexOfListener + * @param {function} listener - Signal handler function. + * @return {number} Description. + * @private + */ + _indexOfListener: function (listener, context) { + var n = this._bindings.length, + cur; + while (n--) { + cur = this._bindings[n]; + if (cur._listener === listener && cur.context === context) { + return n; + } + } + return -1; + }, + + /** + * Check if listener was attached to Signal. + * + * @method Phaser.Signal#has + * @param {Function} listener - Signal handler function. + * @param {Object} [context] - Context on which listener will be executed (object that should represent the `this` variable inside listener function). + * @return {boolean} If Signal has the specified listener. + */ + has: function (listener, context) { + return this._indexOfListener(listener, context) !== -1; + }, + + /** + * Add a listener to the signal. + * + * @method Phaser.Signal#add + * @param {function} listener - Signal handler function. + * @param {object} [listenerContext] Context on which listener will be executed (object that should represent the `this` variable inside listener function). + * @param {number} [priority] The priority level of the event listener. Listeners with higher priority will be executed before listeners with lower priority. Listeners with same priority level will be executed at the same order as they were added. (default = 0). + * @return {Phaser.SignalBinding} An Object representing the binding between the Signal and listener. + */ + add: function (listener, listenerContext, priority) { + this.validateListener(listener, 'add'); + return this._registerListener(listener, false, listenerContext, priority); + }, + + /** + * Add listener to the signal that should be removed after first execution (will be executed only once). + * + * @method Phaser.Signal#addOnce + * @param {function} listener Signal handler function. + * @param {object} [listenerContext] Context on which listener will be executed (object that should represent the `this` variable inside listener function). + * @param {number} [priority] The priority level of the event listener. Listeners with higher priority will be executed before listeners with lower priority. Listeners with same priority level will be executed at the same order as they were added. (default = 0) + * @return {Phaser.SignalBinding} An Object representing the binding between the Signal and listener. + */ + addOnce: function (listener, listenerContext, priority) { + this.validateListener(listener, 'addOnce'); + return this._registerListener(listener, true, listenerContext, priority); + }, + + /** + * Remove a single listener from the dispatch queue. + * + * @method Phaser.Signal#remove + * @param {function} listener Handler function that should be removed. + * @param {object} [context] Execution context (since you can add the same handler multiple times if executing in a different context). + * @return {function} Listener handler function. + */ + remove: function (listener, context) { + + this.validateListener(listener, 'remove'); + + var i = this._indexOfListener(listener, context); + + if (i !== -1) + { + this._bindings[i]._destroy(); //no reason to a Phaser.SignalBinding exist if it isn't attached to a signal + this._bindings.splice(i, 1); + } + + return listener; - /** - * @method Phaser.Signal#validateListener - * @param {function} listener - Signal handler function. - * @param {Description} fnName - Description. - * @private + }, + + /** + * Remove all listeners from the Signal. + * + * @method Phaser.Signal#removeAll + */ + removeAll: function () { + var n = this._bindings.length; + while (n--) { + this._bindings[n]._destroy(); + } + this._bindings.length = 0; + }, + + /** + * Gets the total number of listeneres attached to ths Signal. + * + * @method Phaser.Signal#getNumListeners + * @return {number} Number of listeners attached to the Signal. + */ + getNumListeners: function () { + return this._bindings.length; + }, + + /** + * Stop propagation of the event, blocking the dispatch to next listeners on the queue. + * IMPORTANT: should be called only during signal dispatch, calling it before/after dispatch won't affect signal broadcast. + * @see Signal.prototype.disable + * + * @method Phaser.Signal#halt + */ + halt: function () { + this._shouldPropagate = false; + }, + + /** + * Dispatch/Broadcast Signal to all listeners added to the queue. + * + * @method Phaser.Signal#dispatch + * @param {any} [params] - Parameters that should be passed to each handler. + */ + dispatch: function () { + + if (!this.active) + { + return; + } + + var paramsArr = Array.prototype.slice.call(arguments); + var n = this._bindings.length; + var bindings; + + if (this.memorize) + { + this._prevParams = paramsArr; + } + + if (!n) + { + // Should come after memorize + return; + } + + bindings = this._bindings.slice(); //clone array in case add/remove items during dispatch + this._shouldPropagate = true; //in case `halt` was called before dispatch or during the previous dispatch. + + //execute all callbacks until end of the list or until a callback returns `false` or stops propagation + //reverse loop since listeners with higher priority will be added at the end of the list + do { n--; } while (bindings[n] && this._shouldPropagate && bindings[n].execute(paramsArr) !== false); + + }, + + /** + * Forget memorized arguments. + * @see Signal.memorize + * + * @method Phaser.Signal#forget + */ + forget: function(){ + this._prevParams = null; + }, + + /** + * Remove all bindings from signal and destroy any reference to external objects (destroy Signal object). + * IMPORTANT: calling any method on the signal instance after calling dispose will throw errors. + * + * @method Phaser.Signal#dispose + */ + dispose: function () { + this.removeAll(); + delete this._bindings; + delete this._prevParams; + }, + + /** + * + * @method Phaser.Signal#toString + * @return {string} String representation of the object. */ - validateListener: function (listener, fnName) { - if (typeof listener !== 'function') { - throw new Error( 'listener is a required param of {fn}() and should be a Function.'.replace('{fn}', fnName) ); - } - }, - - /** - * @method Phaser.Signal#_registerListener - * @param {function} listener - Signal handler function. - * @param {boolean} isOnce - Description. - * @param {object} [listenerContext] - Description. - * @param {number} [priority] - The priority level of the event listener. Listeners with higher priority will be executed before listeners with lower priority. Listeners with same priority level will be executed at the same order as they were added. (default = 0). - * @return {Phaser.SignalBinding} An Object representing the binding between the Signal and listener. - * @private - */ - _registerListener: function (listener, isOnce, listenerContext, priority) { - - var prevIndex = this._indexOfListener(listener, listenerContext), - binding; - - if (prevIndex !== -1) { - binding = this._bindings[prevIndex]; - if (binding.isOnce() !== isOnce) { - throw new Error('You cannot add'+ (isOnce? '' : 'Once') +'() then add'+ (!isOnce? '' : 'Once') +'() the same listener without removing the relationship first.'); - } - } else { - binding = new Phaser.SignalBinding(this, listener, isOnce, listenerContext, priority); - this._addBinding(binding); - } - - if (this.memorize && this._prevParams){ - binding.execute(this._prevParams); - } - - return binding; - }, - - /** - * @method Phaser.Signal#_addBinding - * @param {Phaser.SignalBinding} binding - An Object representing the binding between the Signal and listener. - * @private - */ - _addBinding: function (binding) { - //simplified insertion sort - var n = this._bindings.length; - do { --n; } while (this._bindings[n] && binding._priority <= this._bindings[n]._priority); - this._bindings.splice(n + 1, 0, binding); - }, - - /** - * @method Phaser.Signal#_indexOfListener - * @param {function} listener - Signal handler function. - * @return {number} Description. - * @private - */ - _indexOfListener: function (listener, context) { - var n = this._bindings.length, - cur; - while (n--) { - cur = this._bindings[n]; - if (cur._listener === listener && cur.context === context) { - return n; - } - } - return -1; - }, - - /** - * Check if listener was attached to Signal. - * - * @method Phaser.Signal#has - * @param {Function} listener - Signal handler function. - * @param {Object} [context] - Context on which listener will be executed (object that should represent the `this` variable inside listener function). - * @return {boolean} If Signal has the specified listener. - */ - has: function (listener, context) { - return this._indexOfListener(listener, context) !== -1; - }, - - /** - * Add a listener to the signal. - * - * @method Phaser.Signal#add - * @param {function} listener - Signal handler function. - * @param {object} [listenerContext] Context on which listener will be executed (object that should represent the `this` variable inside listener function). - * @param {number} [priority] The priority level of the event listener. Listeners with higher priority will be executed before listeners with lower priority. Listeners with same priority level will be executed at the same order as they were added. (default = 0). - * @return {Phaser.SignalBinding} An Object representing the binding between the Signal and listener. - */ - add: function (listener, listenerContext, priority) { - this.validateListener(listener, 'add'); - return this._registerListener(listener, false, listenerContext, priority); - }, - - /** - * Add listener to the signal that should be removed after first execution (will be executed only once). - * - * @method Phaser.Signal#addOnce - * @param {function} listener Signal handler function. - * @param {object} [listenerContext] Context on which listener will be executed (object that should represent the `this` variable inside listener function). - * @param {number} [priority] The priority level of the event listener. Listeners with higher priority will be executed before listeners with lower priority. Listeners with same priority level will be executed at the same order as they were added. (default = 0) - * @return {Phaser.SignalBinding} An Object representing the binding between the Signal and listener. - */ - addOnce: function (listener, listenerContext, priority) { - this.validateListener(listener, 'addOnce'); - return this._registerListener(listener, true, listenerContext, priority); - }, - - /** - * Remove a single listener from the dispatch queue. - * - * @method Phaser.Signal#remove - * @param {function} listener Handler function that should be removed. - * @param {object} [context] Execution context (since you can add the same handler multiple times if executing in a different context). - * @return {function} Listener handler function. - */ - remove: function (listener, context) { - - this.validateListener(listener, 'remove'); - - var i = this._indexOfListener(listener, context); - - if (i !== -1) - { - this._bindings[i]._destroy(); //no reason to a Phaser.SignalBinding exist if it isn't attached to a signal - this._bindings.splice(i, 1); - } - - return listener; - - }, - - /** - * Remove all listeners from the Signal. - * - * @method Phaser.Signal#removeAll - */ - removeAll: function () { - var n = this._bindings.length; - while (n--) { - this._bindings[n]._destroy(); - } - this._bindings.length = 0; - }, - - /** - * Gets the total number of listeneres attached to ths Signal. - * - * @method Phaser.Signal#getNumListeners - * @return {number} Number of listeners attached to the Signal. - */ - getNumListeners: function () { - return this._bindings.length; - }, - - /** - * Stop propagation of the event, blocking the dispatch to next listeners on the queue. - * <p><strong>IMPORTANT:</strong> should be called only during signal dispatch, calling it before/after dispatch won't affect signal broadcast.</p> - * @see Signal.prototype.disable - * - * @method Phaser.Signal#halt - */ - halt: function () { - this._shouldPropagate = false; - }, - - /** - * Dispatch/Broadcast Signal to all listeners added to the queue. - * - * @method Phaser.Signal#dispatch - * @param {any} [params] - Parameters that should be passed to each handler. - */ - dispatch: function (params) { - if (! this.active) { - return; - } - - var paramsArr = Array.prototype.slice.call(arguments), - n = this._bindings.length, - bindings; - - if (this.memorize) { - this._prevParams = paramsArr; - } - - if (! n) { - //should come after memorize - return; - } - - bindings = this._bindings.slice(); //clone array in case add/remove items during dispatch - this._shouldPropagate = true; //in case `halt` was called before dispatch or during the previous dispatch. - - //execute all callbacks until end of the list or until a callback returns `false` or stops propagation - //reverse loop since listeners with higher priority will be added at the end of the list - do { n--; } while (bindings[n] && this._shouldPropagate && bindings[n].execute(paramsArr) !== false); - }, - - /** - * Forget memorized arguments. - * @see Signal.memorize - * - * @method Phaser.Signal#forget - */ - forget: function(){ - this._prevParams = null; - }, - - /** - * Remove all bindings from signal and destroy any reference to external objects (destroy Signal object). - * <p><strong>IMPORTANT:</strong> calling any method on the signal instance after calling dispose will throw errors.</p> - * - * @method Phaser.Signal#dispose - */ - dispose: function () { - this.removeAll(); - delete this._bindings; - delete this._prevParams; - }, - - /** - * - * @method Phaser.Signal#toString - * @return {string} String representation of the object. - */ - toString: function () { - return '[Phaser.Signal active:'+ this.active +' numListeners:'+ this.getNumListeners() +']'; - } + toString: function () { + return '[Phaser.Signal active:'+ this.active +' numListeners:'+ this.getNumListeners() +']'; + } }; @@ -699,7 +744,7 @@

    Source: core/Signal.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/SignalBinding.html b/docs/SignalBinding.html index 7a2181781b..08019875d7 100644 --- a/docs/SignalBinding.html +++ b/docs/SignalBinding.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -406,8 +446,8 @@

    new Sign

    Phaser.SignalBinding

    Object that represents a binding between a Signal and a listener function. -<br />- <strong>This is an internal constructor and shouldn't be called by regular users.</strong> -<br />- inspired by Joa Ebert AS3 SignalBinding and Robert Penner's Slot classes.

    +This is an internal constructor and shouldn't be called by regular users. +Inspired by Joa Ebert AS3 SignalBinding and Robert Penner's Slot classes.

    @@ -449,7 +489,7 @@

    Parameters:
    -Signal +Phaser.Signal @@ -699,7 +739,7 @@
    Parameters:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:42 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:36 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/SignalBinding.js.html b/docs/SignalBinding.js.html index 195dd80768..795bcae8d5 100644 --- a/docs/SignalBinding.js.html +++ b/docs/SignalBinding.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -391,15 +431,15 @@

    Source: core/SignalBinding.js

    * Phaser.SignalBinding * * Object that represents a binding between a Signal and a listener function. -* <br />- <strong>This is an internal constructor and shouldn't be called by regular users.</strong> -* <br />- inspired by Joa Ebert AS3 SignalBinding and Robert Penner's Slot classes. +* This is an internal constructor and shouldn't be called by regular users. +* Inspired by Joa Ebert AS3 SignalBinding and Robert Penner's Slot classes. * * @class Phaser.SignalBinding * @name SignalBinding * @author Miller Medeiros http://millermedeiros.github.com/js-signals/ * @constructor * @inner -* @param {Signal} signal - Reference to Signal object that listener is currently bound to. +* @param {Phaser.Signal} signal - Reference to Signal object that listener is currently bound to. * @param {function} listener - Handler function bound to the signal. * @param {boolean} isOnce - If binding should be executed just once. * @param {object} [listenerContext] - Context on which listener will be executed (object that should represent the `this` variable inside listener function). @@ -408,33 +448,33 @@

    Source: core/SignalBinding.js

    Phaser.SignalBinding = function (signal, listener, isOnce, listenerContext, priority) { /** - * @property {Phaser.Game} _listener - Handler function bound to the signal. - * @private - */ + * @property {Phaser.Game} _listener - Handler function bound to the signal. + * @private + */ this._listener = listener; /** - * @property {boolean} _isOnce - If binding should be executed just once. - * @private - */ + * @property {boolean} _isOnce - If binding should be executed just once. + * @private + */ this._isOnce = isOnce; /** - * @property {object|undefined|null} context - Context on which listener will be executed (object that should represent the `this` variable inside listener function). - * @memberof SignalBinding.prototype - */ + * @property {object|undefined|null} context - Context on which listener will be executed (object that should represent the `this` variable inside listener function). + * @memberof SignalBinding.prototype + */ this.context = listenerContext; /** - * @property {Signal} _signal - Reference to Signal object that listener is currently bound to. - * @private - */ + * @property {Phaser.Signal} _signal - Reference to Signal object that listener is currently bound to. + * @private + */ this._signal = signal; /** - * @property {number} _priority - Listener priority. - * @private - */ + * @property {number} _priority - Listener priority. + * @private + */ this._priority = priority || 0; }; @@ -445,7 +485,7 @@

    Source: core/SignalBinding.js

    * If binding is active and should be executed. * @property {boolean} active * @default - */ + */ active: true, /** @@ -457,10 +497,10 @@

    Source: core/SignalBinding.js

    /** * Call listener passing arbitrary parameters. - * <p>If binding was added using `Signal.addOnce()` it will be automatically removed from signal dispatch queue, this method is used internally for the signal dispatch.</p> + * If binding was added using `Signal.addOnce()` it will be automatically removed from signal dispatch queue, this method is used internally for the signal dispatch. * @method Phaser.SignalBinding#execute * @param {array} [paramsArr] - Array of parameters that should be passed to the listener. - * @return {Description} Value returned by the listener. + * @return {any} Value returned by the listener. */ execute: function (paramsArr) { @@ -483,7 +523,7 @@

    Source: core/SignalBinding.js

    /** * Detach binding from signal. - * <p>alias to: @see mySignal.remove(myBinding.getListener()); + * alias to: @see mySignal.remove(myBinding.getListener()); * @method Phaser.SignalBinding#detach * @return {function|null} Handler function bound to the signal or `null` if binding was previously detached. */ @@ -564,7 +604,7 @@

    Source: core/SignalBinding.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Sound.js.html b/docs/Sound.js.html index 40fd3466f3..7db91a136d 100644 --- a/docs/Sound.js.html +++ b/docs/Sound.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -398,10 +438,11 @@

    Source: sound/Sound.js

    * @param {number} [volume=1] - Default value for the volume, between 0 and 1. * @param {boolean} [loop=false] - Whether or not the sound will loop. */ -Phaser.Sound = function (game, key, volume, loop) { - - volume = volume || 1; - if (typeof loop == 'undefined') { loop = false; } +Phaser.Sound = function (game, key, volume, loop, connect) { + + if (typeof volume == 'undefined') { volume = 1; } + if (typeof loop == 'undefined') { loop = false; } + if (typeof connect === 'undefined') { connect = game.sound.connectToMaster; } /** * A reference to the currently running Game. @@ -410,160 +451,136 @@

    Source: sound/Sound.js

    this.game = game; /** - * Name of the sound. - * @property {string} name - * @default + * @property {string} name - Name of the sound. */ this.name = key; /** - * Asset key for the sound. - * @property {string} key + * @property {string} key - Asset key for the sound. */ this.key = key; /** - * Whether or not the sound will loop. - * @property {boolean} loop + * @property {boolean} loop - Whether or not the sound will loop. */ this.loop = loop; /** - * The global audio volume. A value between 0 (silence) and 1 (full volume). - * @property {number} _volume + * @property {number} _volume - The global audio volume. A value between 0 (silence) and 1 (full volume). * @private */ this._volume = volume; /** - * The sound markers, empty by default. - * @property {object} markers + * @property {object} markers - The sound markers. */ this.markers = {}; - /** - * Reference to AudioContext instance. - * @property {AudioContext} context - * @default + * @property {AudioContext} context - Reference to the AudioContext instance. */ this.context = null; /** - * Decoded data buffer / Audio tag. - * @property {Description} _buffer + * @property {Description} _buffer - Decoded data buffer / Audio tag. * @private */ this._buffer = null; /** - * Boolean indicating whether the game is on "mute". - * @property {boolean} _muted + * @property {boolean} _muted - Boolean indicating whether the sound is muted or not. * @private * @default */ this._muted = false; /** - * Boolean indicating whether the sound should start automatically. - * @property {boolean} autoplay - * @private + * @property {boolean} autoplay - Boolean indicating whether the sound should start automatically. */ this.autoplay = false; /** - * The total duration of the sound, in milliseconds - * @property {number} totalDuration - * @default + * @property {number} totalDuration - The total duration of the sound, in milliseconds */ this.totalDuration = 0; /** - * Description. - * @property {number} startTime + * @property {number} startTime - The time the Sound starts at (typically 0 unless starting from a marker) * @default */ this.startTime = 0; /** - * Description. - * @property {number} currentTime - * @default + * @property {number} currentTime - The current time the sound is at. */ this.currentTime = 0; /** - * Description. - * @property {number} duration - * @default + * @property {number} duration - The duration of the sound. */ this.duration = 0; /** - * Description. - * @property {number} stopTime + * @property {number} stopTime - The time the sound stopped. */ this.stopTime = 0; /** - * Description. - * @property {boolean} paused + * @property {boolean} paused - true if the sound is paused, otherwise false. * @default */ this.paused = false; /** - * Description. - * @property {number} pausedPosition + * @property {number} pausedPosition - The position the sound had reached when it was paused. */ this.pausedPosition = 0; /** - * Description. - * @property {number} pausedTime + * @property {number} pausedTime - The game time at which the sound was paused. */ this.pausedTime = 0; /** - * Description. - * @property {boolean} isPlaying + * @property {boolean} isPlaying - true if the sound is currently playing, otherwise false. * @default */ this.isPlaying = false; /** - * Description. - * @property {string} currentMarker + * @property {string} currentMarker - The string ID of the currently playing marker, if any. * @default */ this.currentMarker = ''; /** - * Description. - * @property {boolean} pendingPlayback - * @default + * @property {boolean} pendingPlayback - true if the sound file is pending playback + * @readonly */ this.pendingPlayback = false; /** - * Description. - * @property {boolean} override + * @property {boolean} override - if true when you play this sound it will always start from the beginning. * @default */ this.override = false; /** - * Description. - * @property {boolean} usingWebAudio + * @property {boolean} usingWebAudio - true if this sound is being played with Web Audio. + * @readonly */ this.usingWebAudio = this.game.sound.usingWebAudio; /** - * Description. - * @property {Description} usingAudioTag + * @property {boolean} usingAudioTag - true if the sound is being played via the Audio tag. */ this.usingAudioTag = this.game.sound.usingAudioTag; + /** + * @property {object} externalNode - If defined this Sound won't connect to the SoundManager master gain node, but will instead connect to externalNode.input. + */ + this.externalNode = null; + if (this.usingWebAudio) { this.context = this.game.sound.context; @@ -579,7 +596,11 @@

    Source: sound/Sound.js

    } this.gainNode.gain.value = volume * this.game.sound.volume; - this.gainNode.connect(this.masterGainNode); + + if (connect) + { + this.gainNode.connect(this.masterGainNode); + } } else { @@ -600,63 +621,55 @@

    Source: sound/Sound.js

    } /** - * Description. - * @property {Phaser.Signal} onDecoded + * @property {Phaser.Signal} onDecoded - The onDecoded event is dispatched when the sound has finished decoding (typically for mp3 files) */ - this.onDecoded = new Phaser.Signal; + this.onDecoded = new Phaser.Signal(); /** - * Description. - * @property {Phaser.Signal} onPlay + * @property {Phaser.Signal} onPlay - The onPlay event is dispatched each time this sound is played. */ - this.onPlay = new Phaser.Signal; + this.onPlay = new Phaser.Signal(); /** - * Description. - * @property {Phaser.Signal} onPause + * @property {Phaser.Signal} onPause - The onPause event is dispatched when this sound is paused. */ - this.onPause = new Phaser.Signal; + this.onPause = new Phaser.Signal(); /** - * Description. - * @property {Phaser.Signal} onResume + * @property {Phaser.Signal} onResume - The onResume event is dispatched when this sound is resumed from a paused state. */ - this.onResume = new Phaser.Signal; + this.onResume = new Phaser.Signal(); /** - * Description. - * @property {Phaser.Signal} onLoop + * @property {Phaser.Signal} onLoop - The onLoop event is dispatched when this sound loops during playback. */ - this.onLoop = new Phaser.Signal; + this.onLoop = new Phaser.Signal(); /** - * Description. - * @property {Phaser.Signal} onStop + * @property {Phaser.Signal} onStop - The onStop event is dispatched when this sound stops playback. */ - this.onStop = new Phaser.Signal; + this.onStop = new Phaser.Signal(); /** - * Description. - * @property {Phaser.Signal} onMute + * @property {Phaser.Signal} onMute - The onMouse event is dispatched when this sound is muted. */ - this.onMute = new Phaser.Signal; + this.onMute = new Phaser.Signal(); /** - * Description. - * @property {Phaser.Signal} onMarkerComplete + * @property {Phaser.Signal} onMarkerComplete - The onMarkerComplete event is dispatched when a marker within this sound completes playback. */ - this.onMarkerComplete = new Phaser.Signal; + this.onMarkerComplete = new Phaser.Signal(); }; Phaser.Sound.prototype = { - /** + /** * Called automatically when this sound is unlocked. - * @method Phaser.Sound#soundHasUnlocked - * @param {string} key - Description. + * @method Phaser.Sound#soundHasUnlocked + * @param {string} key - The Phaser.Cache key of the sound file to check for decoding. * @protected - */ + */ soundHasUnlocked: function (key) { if (key == this.key) @@ -664,22 +677,22 @@

    Source: sound/Sound.js

    this._sound = this.game.cache.getSoundData(this.key); this.totalDuration = this._sound.duration; // console.log('sound has unlocked' + this._sound); - } - - }, - - /** - * Description. - * @method Phaser.Sound#addMarker - * @param {string} name - Description. - * @param {Description} start - Description. - * @param {Description} stop - Description. - * @param {Description} volume - Description. - * @param {Description} loop - Description. + } + + }, + + /** + * Description. + * @method Phaser.Sound#addMarker + * @param {string} name - Description. + * @param {Description} start - Description. + * @param {Description} stop - Description. + * @param {Description} volume - Description. + * @param {Description} loop - Description. addMarker: function (name, start, stop, volume, loop) { - volume = volume || 1; - if (typeof loop == 'undefined') { loop = false; } + volume = volume || 1; + if (typeof loop == 'undefined') { loop = false; } this.markers[name] = { name: name, @@ -721,22 +734,22 @@

    Source: sound/Sound.js

    }, - /** - * Removes a marker from the sound. - * @method Phaser.Sound#removeMarker - * @param {string} name - The key of the marker to remove. - */ + /** + * Removes a marker from the sound. + * @method Phaser.Sound#removeMarker + * @param {string} name - The key of the marker to remove. + */ removeMarker: function (name) { delete this.markers[name]; }, - /** - * Called automatically by Phaser.SoundManager. - * @method Phaser.Sound#update + /** + * Called automatically by Phaser.SoundManager. + * @method Phaser.Sound#update * @protected - */ + */ update: function () { if (this.pendingPlayback && this.game.cache.isSoundReady(this.key)) @@ -760,7 +773,7 @@

    Source: sound/Sound.js

    // won't work with markers, needs to reset the position this.onLoop.dispatch(this); - if (this.currentMarker == '') + if (this.currentMarker === '') { //console.log('loop2'); this.currentTime = 0; @@ -794,27 +807,28 @@

    Source: sound/Sound.js

    } }, - /** + /** * Play this sound, or a marked section of it. * @method Phaser.Sound#play * @param {string} [marker=''] - If you want to play a marker then give the key here, otherwise leave blank to play the full sound. * @param {number} [position=0] - The starting position to play the sound from - this is ignored if you provide a marker. - * @param {number} [volume=1] - Volume of the sound you want to play. + * @param {number} [volume=1] - Volume of the sound you want to play. If none is given it will use the volume given to the Sound when it was created (which defaults to 1 if none was specified). * @param {boolean} [loop=false] - Loop when it finished playing? * @param {boolean} [forceRestart=true] - If the sound is already playing you can set forceRestart to restart it from the beginning. - * @return {Sound} The playing sound object. + * @return {Phaser.Sound} This sound instance. */ play: function (marker, position, volume, loop, forceRestart) { - marker = marker || ''; - position = position || 0; - volume = volume || 1; - if (typeof loop == 'undefined') { loop = false; } - if (typeof forceRestart == 'undefined') { forceRestart = true; } + marker = marker || ''; + position = position || 0; + + if (typeof volume === 'undefined') { volume = this._volume; } + if (typeof loop === 'undefined') { loop = false; } + if (typeof forceRestart === 'undefined') { forceRestart = true; } // console.log(this.name + ' play ' + marker + ' position ' + position + ' volume ' + volume + ' loop ' + loop, 'force', forceRestart); - if (this.isPlaying == true && forceRestart == false && this.override == false) + if (this.isPlaying === true && forceRestart === false && this.override === false) { // Use Restart instead return; @@ -896,17 +910,26 @@

    Source: sound/Sound.js

    this._sound = this.context.createBufferSource(); this._sound.buffer = this._buffer; - this._sound.connect(this.gainNode); + + if (this.externalNode) + { + this._sound.connect(this.externalNode.input); + } + else + { + this._sound.connect(this.gainNode); + } + this.totalDuration = this._sound.buffer.duration; - if (this.duration == 0) + if (this.duration === 0) { // console.log('duration reset'); this.duration = this.totalDuration; this.durationMS = this.totalDuration * 1000; } - if (this.loop && marker == '') + if (this.loop && marker === '') { this._sound.loop = true; } @@ -917,9 +940,9 @@

    Source: sound/Sound.js

    this._sound.noteGrainOn(0, this.position, this.duration); // this._sound.noteGrainOn(0, this.position, this.duration / 1000); //this._sound.noteOn(0); // the zero is vitally important, crashes iOS6 without it - } - else - { + } + else + { // this._sound.start(0, this.position, this.duration / 1000); this._sound.start(0, this.position, this.duration); } @@ -929,12 +952,12 @@

    Source: sound/Sound.js

    this.currentTime = 0; this.stopTime = this.startTime + this.durationMS; this.onPlay.dispatch(this); - } - else - { + } + else + { this.pendingPlayback = true; - if (this.game.cache.getSound(this.key) && this.game.cache.getSound(this.key).isDecoding == false) + if (this.game.cache.getSound(this.key) && this.game.cache.getSound(this.key).isDecoding === false) { this.game.sound.decode(this.key, this); } @@ -958,7 +981,7 @@

    Source: sound/Sound.js

    // This doesn't become available until you call play(), wonderful ... this.totalDuration = this._sound.duration; - if (this.duration == 0) + if (this.duration === 0) { this.duration = this.totalDuration; this.durationMS = this.totalDuration * 1000; @@ -1001,10 +1024,10 @@

    Source: sound/Sound.js

    */ restart: function (marker, position, volume, loop) { - marker = marker || ''; - position = position || 0; - volume = volume || 1; - if (typeof loop == 'undefined') { loop = false; } + marker = marker || ''; + position = position || 0; + volume = volume || 1; + if (typeof loop == 'undefined') { loop = false; } this.play(marker, position, volume, loop, true); @@ -1048,9 +1071,9 @@

    Source: sound/Sound.js

    { this._sound.noteGrainOn(0, p, this.duration); //this._sound.noteOn(0); // the zero is vitally important, crashes iOS6 without it - } - else - { + } + else + { this._sound.start(0, p, this.duration); } } @@ -1067,7 +1090,7 @@

    Source: sound/Sound.js

    }, - /** + /** * Stop playing this sound. * @method Phaser.Sound#stop */ @@ -1134,14 +1157,14 @@

    Source: sound/Sound.js

    * @property {boolean} mute - Gets or sets the muted state of this sound. */ Object.defineProperty(Phaser.Sound.prototype, "mute", { - + get: function () { return this._muted; }, set: function (value) { - value = value || null; + value = value || null; if (value) { @@ -1229,7 +1252,7 @@

    Source: sound/Sound.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/SoundManager.js.html b/docs/SoundManager.js.html index 6d6298fcf4..ef9762a0e1 100644 --- a/docs/SoundManager.js.html +++ b/docs/SoundManager.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -389,6 +429,8 @@

    Source: sound/SoundManager.js

    /** * Sound Manager constructor. +* The Sound Manager is responsible for playing back audio via either the Legacy HTML Audio tag or via Web Audio if the browser supports it. +* Note: On Firefox 25+ on Linux if you have media.gstreamer disabled in about:config then it cannot play back mp3 or m4a files. * * @class Phaser.SoundManager * @classdesc Phaser Sound Manager. @@ -397,28 +439,28 @@

    Source: sound/SoundManager.js

    */ Phaser.SoundManager = function (game) { - /** - * @property {Phaser.Game} game - Local reference to game. - */ - this.game = game; - - /** - * @property {Phaser.Signal} onSoundDecode - Description. - */ - this.onSoundDecode = new Phaser.Signal; - - /** - * @property {boolean} _muted - Description. - * @private - * @default - */ + /** + * @property {Phaser.Game} game - Local reference to game. + */ + this.game = game; + + /** + * @property {Phaser.Signal} onSoundDecode - The event dispatched when a sound decodes (typically only for mp3 files) + */ + this.onSoundDecode = new Phaser.Signal(); + + /** + * @property {boolean} _muted - Internal mute tracking var. + * @private + * @default + */ this._muted = false; - /** - * @property {Description} _unlockSource - Description. - * @private - * @default - */ + /** + * @property {Description} _unlockSource - Internal unlock tracking var. + * @private + * @default + */ this._unlockSource = null; /** @@ -436,41 +478,47 @@

    Source: sound/SoundManager.js

    this._sounds = []; /** - * @property {Description} context - Description. + * @property {AudioContext} context - The AudioContext being used for playback. * @default */ this.context = null; - /** - * @property {boolean} usingWebAudio - Description. - * @default - */ + /** + * @property {boolean} usingWebAudio - true if this sound is being played with Web Audio. + * @readonly + */ this.usingWebAudio = true; - /** - * @property {boolean} usingAudioTag - Description. - * @default - */ + /** + * @property {boolean} usingAudioTag - true if the sound is being played via the Audio tag. + * @readonly + */ this.usingAudioTag = false; - /** - * @property {boolean} noAudio - Description. - * @default - */ + /** + * @property {boolean} noAudio - Has audio been disabled via the PhaserGlobal object? Useful if you need to use a 3rd party audio library instead. + * @default + */ this.noAudio = false; - /** - * @property {boolean} touchLocked - Description. - * @default - */ + /** + * @property {boolean} connectToMaster - Used in conjunction with Sound.externalNode this allows you to stop a Sound node being connected to the SoundManager master gain node. + * @default + */ + this.connectToMaster = true; + + /** + * @property {boolean} touchLocked - true if the audio system is currently locked awaiting a touch event. + * @default + */ this.touchLocked = false; - /** - * @property {number} channels - Description. - * @default - */ + /** + * @property {number} channels - The number of audio channels to use in playback. + * @default + */ this.channels = 32; - + }; Phaser.SoundManager.prototype = { @@ -482,7 +530,7 @@

    Source: sound/SoundManager.js

    */ boot: function () { - if (this.game.device.iOS && this.game.device.webAudio == false) + if (this.game.device.iOS && this.game.device.webAudio === false) { this.channels = 1; } @@ -504,7 +552,7 @@

    Source: sound/SoundManager.js

    if (window['PhaserGlobal']) { // Check to see if all audio playback is disabled (i.e. handled by a 3rd party class) - if (window['PhaserGlobal'].disableAudio == true) + if (window['PhaserGlobal'].disableAudio === true) { this.usingWebAudio = false; this.noAudio = true; @@ -512,7 +560,7 @@

    Source: sound/SoundManager.js

    } // Check if the Web Audio API is disabled (for testing Audio Tag playback during development) - if (window['PhaserGlobal'].disableWebAudio == true) + if (window['PhaserGlobal'].disableWebAudio === true) { this.usingWebAudio = false; this.usingAudioTag = true; @@ -555,7 +603,6 @@

    Source: sound/SoundManager.js

    this.masterGain.connect(this.context.destination); } - }, /** @@ -564,13 +611,13 @@

    Source: sound/SoundManager.js

    */ unlock: function () { - if (this.touchLocked == false) + if (this.touchLocked === false) { return; } // Global override (mostly for Audio Tag testing) - if (this.game.device.webAudio == false || (window['PhaserGlobal'] && window['PhaserGlobal'].disableWebAudio == true)) + if (this.game.device.webAudio === false || (window['PhaserGlobal'] && window['PhaserGlobal'].disableWebAudio === true)) { // Create an Audio tag? this.touchLocked = false; @@ -638,9 +685,9 @@

    Source: sound/SoundManager.js

    } } - }, + }, - /** + /** * Decode a sound by its assets key. * @method Phaser.SoundManager#decode * @param {string} key - Assets key of the sound to be decoded. @@ -705,18 +752,42 @@

    Source: sound/SoundManager.js

    * @param {string} key - Asset key for the sound. * @param {number} [volume=1] - Default value for the volume. * @param {boolean} [loop=false] - Whether or not the sound will loop. + * @param {boolean} [connect=true] - Controls if the created Sound object will connect to the master gainNode of the SoundManager when running under WebAudio. + * @return {Phaser.Sound} The new sound instance. */ - add: function (key, volume, loop) { + add: function (key, volume, loop, connect) { - volume = volume || 1; - if (typeof loop == 'undefined') { loop = false; } + if (typeof volume === 'undefined') { volume = 1; } + if (typeof loop === 'undefined') { loop = false; } + if (typeof connect === 'undefined') { connect = this.connectToMaster; } - var sound = new Phaser.Sound(this.game, key, volume, loop); + var sound = new Phaser.Sound(this.game, key, volume, loop, connect); this._sounds.push(sound); return sound; + }, + + /** + * Adds a new Sound into the SoundManager and starts it playing. + * @method Phaser.SoundManager#play + * @param {string} key - Asset key for the sound. + * @param {number} [volume=1] - Default value for the volume. + * @param {boolean} [loop=false] - Whether or not the sound will loop. + * @param {boolean} [destroyOnComplete=false] - If true the Sound will destroy itself once it has finished playing, or is stopped. + * @return {Phaser.Sound} The new sound instance. + */ + play: function (key, volume, loop, destroyOnComplete) { + + if (typeof destroyOnComplete == 'undefined') { destroyOnComplete = false; } + + var sound = this.add(key, volume, loop); + + sound.play(); + + return sound; + } }; @@ -763,7 +834,7 @@

    Source: sound/SoundManager.js

    } else { - if (this._muted == false) + if (this._muted === false) { return; } @@ -851,7 +922,7 @@

    Source: sound/SoundManager.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Sprite.js.html b/docs/Sprite.js.html index 2c5121a2e9..41ff5ec3bc 100644 --- a/docs/Sprite.js.html +++ b/docs/Sprite.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -388,17 +428,19 @@

    Source: gameobjects/Sprite.js

    */ /** -* Create a new `Sprite` object. Sprites are the lifeblood of your game, used for nearly everything visual. +* @class Phaser.Sprite +* +* @classdesc Create a new `Sprite` object. Sprites are the lifeblood of your game, used for nearly everything visual. +* * At its most basic a Sprite consists of a set of coordinates and a texture that is rendered to the canvas. * They also contain additional properties allowing for physics motion (via Sprite.body), input handling (via Sprite.input), * events (via Sprite.events), animation (via Sprite.animations), camera culling and more. Please see the Examples for use cases. * -* @class Phaser.Sprite * @constructor * @param {Phaser.Game} game - A reference to the currently running game. * @param {number} x - The x coordinate (in world space) to position the Sprite at. * @param {number} y - The y coordinate (in world space) to position the Sprite at. -* @param {string|Phaser.RenderTexture|PIXI.Texture} key - This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture. +* @param {string|Phaser.RenderTexture|Phaser.BitmapData|PIXI.Texture} key - This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture. * @param {string|number} frame - If this Sprite is using part of a sprite sheet or texture atlas you can specify the exact frame to use by giving a string or numeric index. */ Phaser.Sprite = function (game, x, y, key, frame) { @@ -409,55 +451,55 @@

    Source: gameobjects/Sprite.js

    frame = frame || null; /** - * @property {Phaser.Game} game - A reference to the currently running Game. - */ - this.game = game; + * @property {Phaser.Game} game - A reference to the currently running Game. + */ + this.game = game; - /** - * @property {boolean} exists - If exists = false then the Sprite isn't updated by the core game loop or physics subsystem at all. - * @default - */ + /** + * @property {boolean} exists - If exists = false then the Sprite isn't updated by the core game loop or physics subsystem at all. + * @default + */ this.exists = true; - /** + /** * @property {boolean} alive - This is a handy little var your game can use to determine if a sprite is alive or not, it doesn't effect rendering. - * @default - */ + * @default + */ this.alive = true; - /** + /** * @property {Phaser.Group} group - The parent Group of this Sprite. This is usually set after Sprite instantiation by the parent. - */ + */ this.group = null; /** - * @property {string} name - The user defined name given to this Sprite. - * @default - */ + * @property {string} name - The user defined name given to this Sprite. + * @default + */ this.name = ''; /** - * @property {number} type - The const type of this object. - * @default - */ + * @property {number} type - The const type of this object. + * @readonly + */ this.type = Phaser.SPRITE; /** - * @property {number} renderOrderID - Used by the Renderer and Input Manager to control picking order. - * @default - */ + * @property {number} renderOrderID - Used by the Renderer and Input Manager to control picking order. + * @default + */ this.renderOrderID = -1; /** * If you would like the Sprite to have a lifespan once 'born' you can set this to a positive value. Handy for particles, bullets, etc. - * The lifespan is decremented by game.time.elapsed each update, once it reaches zero the kill() function is called. - * @property {number} lifespan - The lifespan of the Sprite (in ms) before it will be killed. - * @default - */ + * The lifespan is decremented by game.time.elapsed each update, once it reaches zero the kill() function is called. + * @property {number} lifespan - The lifespan of the Sprite (in ms) before it will be killed. + * @default + */ this.lifespan = 0; /** - * @property {Events} events - The Events you can subscribe to that are dispatched when certain things happen on this Sprite or its components. + * @property {Phaser.Events} events - The Events you can subscribe to that are dispatched when certain things happen on this Sprite or its components. */ this.events = new Phaser.Events(this); @@ -467,12 +509,12 @@

    Source: gameobjects/Sprite.js

    this.animations = new Phaser.AnimationManager(this); /** - * @property {InputHandler} input - The Input Handler Component. + * @property {Phaser.InputHandler} input - The Input Handler Component. */ this.input = new Phaser.InputHandler(this); /** - * @property {string|Phaser.RenderTexture|PIXI.Texture} key - This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture. + * @property {string|Phaser.RenderTexture|Phaser.BitmapData|PIXI.Texture} key - This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture, BitmapData or PIXI.Texture. */ this.key = key; @@ -487,6 +529,12 @@

    Source: gameobjects/Sprite.js

    this.currentFrame = this.game.cache.getTextureFrame(key.name); } + else if (key instanceof Phaser.BitmapData) + { + PIXI.Sprite.call(this, key.texture, key.textureFrame); + + this.currentFrame = key.textureFrame; + } else if (key instanceof PIXI.Texture) { PIXI.Sprite.call(this, key); @@ -495,11 +543,16 @@

    Source: gameobjects/Sprite.js

    } else { - if (key == null || this.game.cache.checkImageKey(key) == false) + if (key === null || typeof key === 'undefined') { key = '__default'; this.key = key; } + else if (typeof key === 'string' && this.game.cache.checkImageKey(key) === false) + { + key = '__missing'; + this.key = key; + } PIXI.Sprite.call(this, PIXI.TextureCache[key]); @@ -537,22 +590,22 @@

    Source: gameobjects/Sprite.js

    * Setting than anchor to 0.5,0.5 means the textures origin is centered * Setting the anchor to 1,1 would mean the textures origin points will be the bottom right * - * @property {Phaser.Point} anchor - The anchor around with Sprite rotation and scaling takes place. + * @property {Phaser.Point} anchor - The anchor around which rotation and scaling takes place. */ this.anchor = new Phaser.Point(); /** - * @property {number} x - The x coordinate (in world space) of this Sprite. + * @property {number} x - The x coordinate in world space of this Sprite. */ this.x = x; /** - * @property {number} y - The y coordinate (in world space) of this Sprite. + * @property {number} y - The y coordinate in world space of this Sprite. */ this.y = y; - this.position.x = x; - this.position.y = y; + this.position.x = x; + this.position.y = y; /** * @property {Phaser.Point} world - The world coordinates of this Sprite. This differs from the x/y coordinates which are relative to the Sprites container. @@ -570,60 +623,82 @@

    Source: gameobjects/Sprite.js

    /** * @property {Phaser.Point} scale - The scale of the Sprite when rendered. By default it's set to 1 (no scale). You can modify it via scale.x or scale.y or scale.setTo(x, y). A value of 1 means no change to the scale, 0.5 means "half the size", 2 means "twice the size", etc. - */ + */ this.scale = new Phaser.Point(1, 1); /** - * @property {Phaser.Point} _cache - A mini cache for storing all of the calculated values. + * @property {object} _cache - A mini cache for storing all of the calculated values. * @private */ - this._cache = { + this._cache = { dirty: false, // Transform cache - a00: -1, a01: -1, a02: -1, a10: -1, a11: -1, a12: -1, id: -1, + a00: -1, + a01: -1, + a02: -1, + a10: -1, + a11: -1, + a12: -1, + id: -1, // Input specific transform cache - i01: -1, i10: -1, idi: -1, + i01: -1, + i10: -1, + idi: -1, // Bounds check - left: null, right: null, top: null, bottom: null, + left: null, + right: null, + top: null, + bottom: null, // delta cache - prevX: x, prevY: y, + prevX: x, + prevY: y, // The previous calculated position - x: -1, y: -1, + x: -1, + y: -1, // The actual scale values based on the worldTransform - scaleX: 1, scaleY: 1, + scaleX: 1, + scaleY: 1, // The width/height of the image, based on the un-modified frame size multiplied by the final calculated scale size - width: this.currentFrame.sourceSizeW, height: this.currentFrame.sourceSizeH, + width: this.currentFrame.sourceSizeW, + height: this.currentFrame.sourceSizeH, // The actual width/height of the image if from a trimmed atlas, multiplied by the final calculated scale size - halfWidth: Math.floor(this.currentFrame.sourceSizeW / 2), halfHeight: Math.floor(this.currentFrame.sourceSizeH / 2), + halfWidth: Math.floor(this.currentFrame.sourceSizeW / 2), + halfHeight: Math.floor(this.currentFrame.sourceSizeH / 2), // The width/height of the image, based on the un-modified frame size multiplied by the final calculated scale size - calcWidth: -1, calcHeight: -1, + calcWidth: -1, + calcHeight: -1, // The current frame details // frameID: this.currentFrame.uuid, frameWidth: this.currentFrame.width, frameHeight: this.currentFrame.height, - frameID: -1, frameWidth: this.currentFrame.width, frameHeight: this.currentFrame.height, + frameID: -1, + frameWidth: this.currentFrame.width, + frameHeight: this.currentFrame.height, // If this sprite visible to the camera (regardless of being set to visible or not) cameraVisible: true, // Crop cache - cropX: 0, cropY: 0, cropWidth: this.currentFrame.sourceSizeW, cropHeight: this.currentFrame.sourceSizeH + cropX: 0, + cropY: 0, + cropWidth: this.currentFrame.sourceSizeW, + cropHeight: this.currentFrame.sourceSizeH }; /** * @property {Phaser.Point} offset - Corner point defaults. Should not typically be modified. - */ - this.offset = new Phaser.Point; + */ + this.offset = new Phaser.Point(); /** * @property {Phaser.Point} center - A Point containing the center coordinate of the Sprite. Takes rotation and scale into account. @@ -665,7 +740,7 @@

    Source: gameobjects/Sprite.js

    /** * @property {number} health - Health value. Used in combination with damage() to allow for quick killing of Sprites. - */ + */ this.health = 1; /** @@ -702,7 +777,7 @@

    Source: gameobjects/Sprite.js

    /** * @property {Phaser.Point} cameraOffset - If this Sprite is fixed to the camera then use this Point to specify how far away from the Camera x/y it's rendered. */ - this.cameraOffset = new Phaser.Point; + this.cameraOffset = new Phaser.Point(); /** * You can crop the Sprites texture by modifying the crop properties. For example crop.width = 50 would set the Sprite to only render 50px wide. @@ -735,10 +810,12 @@

    Source: gameobjects/Sprite.js

    */ Phaser.Sprite.prototype.preUpdate = function() { - if (!this.exists) + if (!this.exists || (this.group && !this.group.exists)) { this.renderOrderID = -1; - return; + + // Skip children if not exists + return false; } if (this.lifespan > 0) @@ -748,7 +825,7 @@

    Source: gameobjects/Sprite.js

    if (this.lifespan <= 0) { this.kill(); - return; + return false; } } @@ -776,6 +853,8 @@

    Source: gameobjects/Sprite.js

    this.body.preUpdate(); } + return true; + }; /** @@ -905,7 +984,7 @@

    Source: gameobjects/Sprite.js

    this.updateFrame = true; - if (this.inWorld == false) + if (this.inWorld === false) { // Sprite WAS out of the screen, is it still? this.inWorld = Phaser.Rectangle.intersects(this.bounds, this.game.world.bounds, this.inWorldThreshold); @@ -921,7 +1000,7 @@

    Source: gameobjects/Sprite.js

    // Sprite WAS in the screen, has it now left? this.inWorld = Phaser.Rectangle.intersects(this.bounds, this.game.world.bounds, this.inWorldThreshold); - if (this.inWorld == false) + if (this.inWorld === false) { this.events.onOutOfBounds.dispatch(this); this._outOfBoundsFired = true; @@ -1013,6 +1092,11 @@

    Source: gameobjects/Sprite.js

    */ Phaser.Sprite.prototype.postUpdate = function() { + if (this.key instanceof Phaser.BitmapData && this.key._dirty) + { + this.key.render(); + } + if (this.exists) { // The sprite is positioned in this call, after taking into consideration motion updates and collision @@ -1046,7 +1130,7 @@

    Source: gameobjects/Sprite.js

    * * @method Phaser.Sprite#loadTexture * @memberof Phaser.Sprite -* @param {string|Phaser.RenderTexture|PIXI.Texture} key - This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture or PIXI.Texture. +* @param {string|Phaser.RenderTexture|Phaser.BitmapData|PIXI.Texture} key - This is the image or texture used by the Sprite during rendering. It can be a string which is a reference to the Cache entry, or an instance of a RenderTexture, BitmapData or PIXI.Texture. * @param {string|number} frame - If this Sprite is using part of a sprite sheet or texture atlas you can specify the exact frame to use by giving a string or numeric index. */ Phaser.Sprite.prototype.loadTexture = function (key, frame) { @@ -1057,6 +1141,11 @@

    Source: gameobjects/Sprite.js

    { this.currentFrame = this.game.cache.getTextureFrame(key.name); } + else if (key instanceof Phaser.BitmapData) + { + this.setTexture(key.texture); + this.currentFrame = key.textureFrame; + } else if (key instanceof PIXI.Texture) { this.currentFrame = frame; @@ -1435,9 +1524,11 @@

    Source: gameobjects/Sprite.js

    set: function (value) { + console.log('inputEnabled', value, this.input); + if (value) { - if (this.input.enabled == false) + if (this.input.enabled === false) { this.input.start(); } @@ -1474,7 +1565,7 @@

    Source: gameobjects/Sprite.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Stage.js.html b/docs/Stage.js.html index 88a5be02d7..ea337d271e 100644 --- a/docs/Stage.js.html +++ b/docs/Stage.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -400,26 +440,26 @@

    Source: core/Stage.js

    Phaser.Stage = function (game, width, height) { /** - * @property {Phaser.Game} game - A reference to the currently running Game. - */ - this.game = game; + * @property {Phaser.Game} game - A reference to the currently running Game. + */ + this.game = game; /** - * @property {string} game - Background color of the stage (defaults to black). Set via the public backgroundColor property. - * @private - * @default 'rgb(0,0,0)' - */ + * @property {string} game - Background color of the stage (defaults to black). Set via the public backgroundColor property. + * @private + * @default 'rgb(0,0,0)' + */ this._backgroundColor = 'rgb(0,0,0)'; /** - * @property {Phaser.Point} offset - Get the offset values (for input and other things). - */ - this.offset = new Phaser.Point; + * @property {Phaser.Point} offset - Get the offset values (for input and other things). + */ + this.offset = new Phaser.Point(); /** * @property {HTMLCanvasElement} canvas - Reference to the newly created <canvas> element. */ - this.canvas = Phaser.Canvas.create(width, height); + this.canvas = Phaser.Canvas.create(width, height); this.canvas.style['-webkit-full-screen'] = 'width: 100%; height: 100%'; /** @@ -432,7 +472,7 @@

    Source: core/Stage.js

    /** * @property {number} scaleMode - The current scaleMode. - */ + */ this.scaleMode = Phaser.StageScaleMode.NO_SCALE; /** @@ -441,8 +481,8 @@

    Source: core/Stage.js

    this.scale = new Phaser.StageScaleMode(this.game, width, height); /** - * @property {number} aspectRatio - Aspect ratio. - */ + * @property {number} aspectRatio - Aspect ratio. + */ this.aspectRatio = width / height; /** @@ -481,6 +521,8 @@

    Source: core/Stage.js

    Phaser.Canvas.setUserSelect(this.canvas, 'none'); Phaser.Canvas.setTouchAction(this.canvas, 'none'); + this.backgroundColor = '#000'; + document.addEventListener('visibilitychange', this._onChange, false); document.addEventListener('webkitvisibilitychange', this._onChange, false); document.addEventListener('pagehide', this._onChange, false); @@ -509,7 +551,7 @@

    Source: core/Stage.js

    }, - /** + /** * This method is called when the document visibility is changed. * @method Phaser.Stage#visibilityChange * @param {Event} event - Its type will be used to decide whether the game should be paused or not. @@ -521,16 +563,16 @@

    Source: core/Stage.js

    return; } - if (event.type == 'pagehide' || event.type == 'blur' || document['hidden'] == true || document['webkitHidden'] == true) + if (event.type == 'pagehide' || event.type == 'blur' || document['hidden'] === true || document['webkitHidden'] === true) { - this.game.paused = true; + this.game.paused = true; } else { - this.game.paused = false; + this.game.paused = false; } - }, + } }; @@ -548,19 +590,23 @@

    Source: core/Stage.js

    this._backgroundColor = color; - if (this.game.renderType == Phaser.CANVAS) + if (this.game.transparent === false) { - // Set it directly, this allows us to use rgb alpha values in Canvas mode. - this._stage.backgroundColorString = color; - } - else - { - if (typeof color === 'string') + if (this.game.renderType == Phaser.CANVAS) { - color = Phaser.Color.hexToRGB(color); + // Set it directly, this allows us to use rgb alpha values in Canvas mode. + this.game.canvas.style.backgroundColor = color; + } + else + { + if (typeof color === 'string') + { + color = Phaser.Color.hexToRGB(color); + } + + this._stage.setBackgroundColor(color); } - this._stage.setBackgroundColor(color); } } @@ -587,7 +633,7 @@

    Source: core/Stage.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/StageScaleMode.js.html b/docs/StageScaleMode.js.html index 44e9616961..93f2d900e2 100644 --- a/docs/StageScaleMode.js.html +++ b/docs/StageScaleMode.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -388,14 +428,13 @@

    Source: system/StageScaleMode.js

    */ /** -* An Animation instance contains a single animation and the controls to play it. -* It is created by the AnimationManager, consists of Animation.Frame objects and belongs to a single Game Object such as a Sprite. +* The StageScaleMode object is responsible for helping you manage the scaling, resizing and alignment of your game within the browser. * * @class Phaser.StageScaleMode * @constructor * @param {Phaser.Game} game - A reference to the currently running game. -* @param {number} width - Description. -* @param {number} height - Description. +* @param {number} width - The native width of the game. +* @param {number} height - The native height of the game. */ Phaser.StageScaleMode = function (game, width, height) { @@ -457,7 +496,7 @@

    Source: system/StageScaleMode.js

    * @property {boolean} forcePortrait - If the game should be forced to use Portrait mode, this is set to true by Game.Stage * @default */ - this.forcePortrait = false; + this.forcePortrait = false; /** * @property {boolean} incorrectOrientation - If the game should be forced to use a specific orientation and the device currently isn't in that orientation this is set to true. @@ -500,7 +539,6 @@

    Source: system/StageScaleMode.js

    * @default */ this.maxIterations = 5; - /** * @property {PIXI.Sprite} orientationSprite - The Sprite that is optionally displayed if the browser enters an unsupported orientation. @@ -518,6 +556,21 @@

    Source: system/StageScaleMode.js

    */ this.enterPortrait = new Phaser.Signal(); + /** + * @property {Phaser.Signal} enterIncorrectOrientation - The event that is dispatched when the browser enters an incorrect orientation, as defined by forceOrientation. + */ + this.enterIncorrectOrientation = new Phaser.Signal(); + + /** + * @property {Phaser.Signal} leaveIncorrectOrientation - The event that is dispatched when the browser leaves an incorrect orientation, as defined by forceOrientation. + */ + this.leaveIncorrectOrientation = new Phaser.Signal(); + + /** + * @property {Phaser.Signal} hasResized - The event that is dispatched when the game scale changes. + */ + this.hasResized = new Phaser.Signal(); + if (window['orientation']) { this.orientation = window['orientation']; @@ -536,15 +589,33 @@

    Source: system/StageScaleMode.js

    /** * @property {Phaser.Point} scaleFactor - The scale factor based on the game dimensions vs. the scaled dimensions. + * @readonly */ this.scaleFactor = new Phaser.Point(1, 1); + /** + * @property {Phaser.Point} scaleFactorInversed - The inversed scale factor. The displayed dimensions divided by the game dimensions. + * @readonly + */ + this.scaleFactorInversed = new Phaser.Point(1, 1); + + /** + * @property {Phaser.Point} margin - If the game canvas is seto to align by adjusting the margin, the margin calculation values are stored in this Point. + * @readonly + */ + this.margin = new Phaser.Point(0, 0); + /** * @property {number} aspectRatio - Aspect ratio. * @default */ this.aspectRatio = 0; + /** + * @property {any} event- The native browser events from full screen API changes. + */ + this.event = null; + var _this = this; window.addEventListener('orientationchange', function (event) { @@ -566,7 +637,7 @@

    Source: system/StageScaleMode.js

    document.addEventListener('fullscreenchange', function (event) { return _this.fullScreenChange(event); }, false); - + }; /** @@ -658,6 +729,8 @@

    Source: system/StageScaleMode.js

    */ fullScreenChange: function (event) { + this.event = event; + if (this.isFullScreen) { this.game.stage.canvas.style['width'] = '100%'; @@ -693,21 +766,19 @@

    Source: system/StageScaleMode.js

    * The optional orientationImage is displayed when the game is in the incorrect orientation. * @method Phaser.StageScaleMode#forceOrientation * @param {boolean} forceLandscape - true if the game should run in landscape mode only. - * @param {boolean} forcePortrait - true if the game should run in portrait mode only. - * @param {string} [forcePortrait=''] - The string of an image in the Phaser.Cache to display when this game is in the incorrect orientation. + * @param {boolean} [forcePortrait=false] - true if the game should run in portrait mode only. + * @param {string} [orientationImage=''] - The string of an image in the Phaser.Cache to display when this game is in the incorrect orientation. */ forceOrientation: function (forceLandscape, forcePortrait, orientationImage) { - this.forceLandscape = forceLandscape; + if (typeof forcePortrait === 'undefined') { forcePortrait = false; } - if (typeof forcePortrait === 'undefined') - { - this.forcePortrait = false; - } + this.forceLandscape = forceLandscape; + this.forcePortrait = forcePortrait; if (typeof orientationImage !== 'undefined') { - if (orientationImage == null || this.game.cache.checkImageKey(orientationImage) == false) + if (orientationImage == null || this.game.cache.checkImageKey(orientationImage) === false) { orientationImage = '__default'; } @@ -750,6 +821,7 @@

    Source: system/StageScaleMode.js

    // Back to normal this.game.paused = false; this.incorrectOrientation = false; + this.leaveIncorrectOrientation.dispatch(); if (this.orientationSprite) { @@ -767,8 +839,9 @@

    Source: system/StageScaleMode.js

    // Show orientation screen this.game.paused = true; this.incorrectOrientation = true; + this.enterIncorrectOrientation.dispatch(); - if (this.orientationSprite && this.orientationSprite.visible == false) + if (this.orientationSprite && this.orientationSprite.visible === false) { this.orientationSprite.visible = true; this.game.world.visible = false; @@ -786,6 +859,8 @@

    Source: system/StageScaleMode.js

    */ checkOrientation: function (event) { + this.event = event; + this.orientation = window['orientation']; if (this.isLandscape) @@ -811,6 +886,8 @@

    Source: system/StageScaleMode.js

    */ checkResize: function (event) { + this.event = event; + if (window.outerWidth > window.outerHeight) { this.orientation = 90; @@ -844,15 +921,10 @@

    Source: system/StageScaleMode.js

    */ refresh: function () { - var _this = this; - // We can't do anything about the status bars in iPads, web apps or desktops - if (this.game.device.iPad == false && this.game.device.webApp == false && this.game.device.desktop == false) + if (this.game.device.iPad === false && this.game.device.webApp === false && this.game.device.desktop === false) { - // document.documentElement['style'].minHeight = '2000px'; - // this._startHeight = window.innerHeight; - - if (this.game.device.android && this.game.device.chrome == false) + if (this.game.device.android && this.game.device.chrome === false) { window.scrollTo(0, 1); } @@ -865,9 +937,13 @@

    Source: system/StageScaleMode.js

    if (this._check == null && this.maxIterations > 0) { this._iterations = this.maxIterations; + + var _this = this; + this._check = window.setInterval(function () { return _this.setScreenSize(); }, 10); + this.setScreenSize(); } @@ -884,9 +960,9 @@

    Source: system/StageScaleMode.js

    force = false; } - if (this.game.device.iPad == false && this.game.device.webApp == false && this.game.device.desktop == false) + if (this.game.device.iPad === false && this.game.device.webApp === false && this.game.device.desktop === false) { - if (this.game.device.android && this.game.device.chrome == false) + if (this.game.device.android && this.game.device.chrome === false) { window.scrollTo(0, 1); } @@ -903,7 +979,7 @@

    Source: system/StageScaleMode.js

    // Set minimum height of content to new window height document.documentElement['style'].minHeight = window.innerHeight + 'px'; - if (this.incorrectOrientation == true) + if (this.incorrectOrientation === true) { this.setMaximum(); } @@ -929,7 +1005,7 @@

    Source: system/StageScaleMode.js

    */ setSize: function () { - if (this.incorrectOrientation == false) + if (this.incorrectOrientation === false) { if (this.maxWidth && this.width > this.maxWidth) { @@ -959,24 +1035,28 @@

    Source: system/StageScaleMode.js

    if (this.pageAlignHorizontally) { - if (this.width < window.innerWidth && this.incorrectOrientation == false) + if (this.width < window.innerWidth && this.incorrectOrientation === false) { - this.game.canvas.style.marginLeft = Math.round((window.innerWidth - this.width) / 2) + 'px'; + this.margin.x = Math.round((window.innerWidth - this.width) / 2); + this.game.canvas.style.marginLeft = this.margin.x + 'px'; } else { + this.margin.x = 0; this.game.canvas.style.marginLeft = '0px'; } } if (this.pageAlignVertically) { - if (this.height < window.innerHeight && this.incorrectOrientation == false) + if (this.height < window.innerHeight && this.incorrectOrientation === false) { - this.game.canvas.style.marginTop = Math.round((window.innerHeight - this.height) / 2) + 'px'; + this.margin.y = Math.round((window.innerHeight - this.height) / 2); + this.game.canvas.style.marginTop = this.margin.y + 'px'; } else { + this.margin.y = 0; this.game.canvas.style.marginTop = '0px'; } } @@ -988,6 +1068,11 @@

    Source: system/StageScaleMode.js

    this.scaleFactor.x = this.game.width / this.width; this.scaleFactor.y = this.game.height / this.height; + this.scaleFactorInversed.x = this.width / this.game.width; + this.scaleFactorInversed.y = this.height / this.game.height; + + this.hasResized.dispatch(this.width, this.height); + this.checkOrientationState(); }, @@ -1072,7 +1157,7 @@

    Source: system/StageScaleMode.js

    Object.defineProperty(Phaser.StageScaleMode.prototype, "isPortrait", { get: function () { - return this.orientation == 0 || this.orientation == 180; + return this.orientation === 0 || this.orientation == 180; } }); @@ -1110,7 +1195,7 @@

    Source: system/StageScaleMode.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/State.js.html b/docs/State.js.html index 86321a5ed3..db95688b34 100644 --- a/docs/State.js.html +++ b/docs/State.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -398,86 +438,86 @@

    Source: core/State.js

    Phaser.State = function () { /** - * @property {Phaser.Game} game - A reference to the currently running Game. - */ + * @property {Phaser.Game} game - A reference to the currently running Game. + */ this.game = null; - /** - * @property {Phaser.GameObjectFactory} add - Reference to the GameObjectFactory. - * @default - */ + /** + * @property {Phaser.GameObjectFactory} add - Reference to the GameObjectFactory. + * @default + */ this.add = null; /** - * @property {Phaser.Physics.PhysicsManager} camera - A handy reference to world.camera. - * @default - */ + * @property {Phaser.Camera} camera - A handy reference to world.camera. + * @default + */ this.camera = null; /** - * @property {Phaser.Cache} cache - Reference to the assets cache. - * @default - */ + * @property {Phaser.Cache} cache - Reference to the assets cache. + * @default + */ this.cache = null; /** - * @property {Phaser.Input} input - Reference to the input manager - * @default - */ + * @property {Phaser.Input} input - Reference to the input manager + * @default + */ this.input = null; /** - * @property {Phaser.Loader} load - Reference to the assets loader. - * @default - */ + * @property {Phaser.Loader} load - Reference to the assets loader. + * @default + */ this.load = null; /** - * @property {Phaser.GameMath} math - Reference to the math helper. - * @default - */ + * @property {Phaser.Math} math - Reference to the math helper. + * @default + */ this.math = null; /** - * @property {Phaser.SoundManager} sound - Reference to the sound manager. - * @default - */ + * @property {Phaser.SoundManager} sound - Reference to the sound manager. + * @default + */ this.sound = null; /** - * @property {Phaser.Stage} stage - Reference to the stage. - * @default - */ + * @property {Phaser.Stage} stage - Reference to the stage. + * @default + */ this.stage = null; /** - * @property {Phaser.TimeManager} time - Reference to game clock. - * @default - */ + * @property {Phaser.TimeManager} time - Reference to game clock. + * @default + */ this.time = null; /** - * @property {Phaser.TweenManager} tweens - Reference to the tween manager. - * @default - */ + * @property {Phaser.TweenManager} tweens - Reference to the tween manager. + * @default + */ this.tweens = null; /** - * @property {Phaser.World} world - Reference to the world. - * @default - */ + * @property {Phaser.World} world - Reference to the world. + * @default + */ this.world = null; - /** - * @property {Description} add - Description. - * @default - */ + /** + * @property {Phaser.Particles} particles - The Particle Manager for the game. It is called during the game update loop and in turn updates any Emitters attached to it. + * @default + */ this.particles = null; /** - * @property {Phaser.Physics.PhysicsManager} physics - Reference to the physics manager. - * @default - */ + * @property {Phaser.Physics.PhysicsManager} physics - Reference to the physics manager. + * @default + */ this.physics = null; }; @@ -571,7 +611,7 @@

    Source: core/State.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/StateManager.js.html b/docs/StateManager.js.html index 936996bc4e..aa2184db4e 100644 --- a/docs/StateManager.js.html +++ b/docs/StateManager.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -381,7 +421,9 @@

    Source: core/StateManager.js

    -
    /**
    +            
    /* jshint newcap: false */
    +
    +/**
     * @author       Richard Davey <rich@photonstorm.com>
     * @copyright    2013 Photon Storm Ltd.
     * @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
    @@ -397,148 +439,120 @@ 

    Source: core/StateManager.js

    */ Phaser.StateManager = function (game, pendingState) { - /** - * A reference to the currently running game. - * @property {Phaser.Game} game. - */ - this.game = game; + /** + * @property {Phaser.Game} game - A reference to the currently running game. + */ + this.game = game; + + /** + * @property {Object} states - The object containing Phaser.States. + */ + this.states = {}; + + /** + * @property {Phaser.State} _pendingState - The state to be switched to in the next frame. + * @private + */ + this._pendingState = null; + + if (pendingState !== null) + { + this._pendingState = pendingState; + } + + /** + * @property {boolean} _created - Flag that sets if the State has been created or not. + * @private + */ + this._created = false; + + /** + * @property {string} current - The current active State object (defaults to null). + */ + this.current = ''; + + /** + * @property {function} onInitCallback - This will be called when the state is started (i.e. set as the current active state). + */ + this.onInitCallback = null; + + /** + * @property {function} onPreloadCallback - This will be called when init states (loading assets...). + */ + this.onPreloadCallback = null; + + /** + * @property {function} onCreateCallback - This will be called when create states (setup states...). + */ + this.onCreateCallback = null; + + /** + * @property {function} onUpdateCallback - This will be called when State is updated, this doesn't happen during load (@see onLoadUpdateCallback). + */ + this.onUpdateCallback = null; + + /** + * @property {function} onRenderCallback - This will be called when the State is rendered, this doesn't happen during load (see onLoadRenderCallback). + */ + this.onRenderCallback = null; - /** - * Description. - * @property {Description} states. - */ - this.states = {}; + /** + * @property {function} onPreRenderCallback - This will be called before the State is rendered and before the stage is cleared. + */ + this.onPreRenderCallback = null; + + /** + * @property {function} onLoadUpdateCallback - This will be called when the State is updated but only during the load process. + */ + this.onLoadUpdateCallback = null; + + /** + * @property {function} onLoadRenderCallback - This will be called when the State is rendered but only during the load process. + */ + this.onLoadRenderCallback = null; + + /** + * @property {function} onPausedCallback - This will be called when the state is paused. + */ + this.onPausedCallback = null; + + /** + * @property {function} onShutDownCallback - This will be called when the state is shut down (i.e. swapped to another state). + */ + this.onShutDownCallback = null; - if (pendingState !== null) - { - this._pendingState = pendingState; - } }; Phaser.StateManager.prototype = { - - /** - * A reference to the currently running game. - * @property {Phaser.Game} game. - */ - game: null, - - /** - * The state to be switched to in the next frame. - * @property {State} _pendingState - * @private - */ - _pendingState: null, - - /** - * Flag that sets if the State has been created or not. - * @property {boolean}_created - * @private - */ - _created: false, - - /** - * The state to be switched to in the next frame. - * @property {Description} states - */ - states: {}, - - /** - * The current active State object (defaults to null). - * @property {string} current - */ - current: '', - - /** - * This will be called when the state is started (i.e. set as the current active state). - * @property {function} onInitCallback - */ - onInitCallback: null, - - /** - * This will be called when init states (loading assets...). - * @property {function} onPreloadCallback - */ - onPreloadCallback: null, - - /** - * This will be called when create states (setup states...). - * @property {function} onCreateCallback - */ - onCreateCallback: null, - - /** - * This will be called when State is updated, this doesn't happen during load (@see onLoadUpdateCallback). - * @property {function} onUpdateCallback - */ - onUpdateCallback: null, - - /** - * This will be called when the State is rendered, this doesn't happen during load (see onLoadRenderCallback). - * @property {function} onRenderCallback - */ - onRenderCallback: null, - - /** - * This will be called before the State is rendered and before the stage is cleared. - * @property {function} onPreRenderCallback - */ - onPreRenderCallback: null, - - /** - * This will be called when the State is updated but only during the load process. - * @property {function} onLoadUpdateCallback - */ - onLoadUpdateCallback: null, - - /** - * This will be called when the State is rendered but only during the load process. - * @property {function} onLoadRenderCallback - */ - onLoadRenderCallback: null, - - /** - * This will be called when states paused. - * @property {function} onPausedCallback - */ - onPausedCallback: null, - - /** - * This will be called when the state is shut down (i.e. swapped to another state). - * @property {function} onShutDownCallback - */ - onShutDownCallback: null, - - /** - * Description. - * @method Phaser.StateManager#boot - * @private - */ - boot: function () { - - // console.log('Phaser.StateManager.boot'); - - if (this._pendingState !== null) - { - // console.log('_pendingState found'); - // console.log(typeof this._pendingState); - - if (typeof this._pendingState === 'string') - { - // State was already added, so just start it - this.start(this._pendingState, false, false); - } - else - { - this.add('default', this._pendingState, true); - } - - } - - }, - - /** + + /** + * The Boot handler is called by Phaser.Game when it first starts up. + * @method Phaser.StateManager#boot + * @private + */ + boot: function () { + + this.game.onPause.add(this.pause, this); + this.game.onResume.add(this.resume, this); + + if (this._pendingState !== null) + { + if (typeof this._pendingState === 'string') + { + // State was already added, so just start it + this.start(this._pendingState, false, false); + } + else + { + this.add('default', this._pendingState, true); + } + + } + + }, + + /** * Add a new State. * @method Phaser.StateManager#add * @param key {string} - A unique key you use to reference this state, i.e. "MainMenu", "Level1". @@ -549,78 +563,69 @@

    Source: core/StateManager.js

    if (typeof autoStart === "undefined") { autoStart = false; } - // console.log('Phaser.StateManager.addState', key); - // console.log(typeof state); - // console.log('autoStart?', autoStart); - - var newState; - - if (state instanceof Phaser.State) - { - // console.log('Phaser.StateManager.addState: Phaser.State given'); - newState = state; - } - else if (typeof state === 'object') - { - // console.log('Phaser.StateManager.addState: Object given'); - newState = state; - newState.game = this.game; - } - else if (typeof state === 'function') - { - // console.log('Phaser.StateManager.addState: Function given'); - newState = new state(this.game); - } - - this.states[key] = newState; - - if (autoStart) - { - if (this.game.isBooted) - { - // console.log('Game is booted, so we can start the state now'); - this.start(key); - } - else - { - // console.log('Game is NOT booted, so set the current state as pending'); - this._pendingState = key; - } - } - - return newState; + var newState; - }, + if (state instanceof Phaser.State) + { + newState = state; + } + else if (typeof state === 'object') + { + newState = state; + newState.game = this.game; + } + else if (typeof state === 'function') + { + newState = new state(this.game); + } - /** - * Delete the given state. - * @method Phaser.StateManager#remove - * @param {string} key - A unique key you use to reference this state, i.e. "MainMenu", "Level1". - */ - remove: function (key) { + this.states[key] = newState; + + if (autoStart) + { + if (this.game.isBooted) + { + this.start(key); + } + else + { + this._pendingState = key; + } + } - if (this.current == key) - { - this.callbackContext = null; + return newState; - this.onInitCallback = null; - this.onShutDownCallback = null; + }, + + /** + * Delete the given state. + * @method Phaser.StateManager#remove + * @param {string} key - A unique key you use to reference this state, i.e. "MainMenu", "Level1". + */ + remove: function (key) { - this.onPreloadCallback = null; - this.onLoadRenderCallback = null; - this.onLoadUpdateCallback = null; - this.onCreateCallback = null; - this.onUpdateCallback = null; - this.onRenderCallback = null; - this.onPausedCallback = null; - this.onDestroyCallback = null; - } + if (this.current == key) + { + this.callbackContext = null; + + this.onInitCallback = null; + this.onShutDownCallback = null; + + this.onPreloadCallback = null; + this.onLoadRenderCallback = null; + this.onLoadUpdateCallback = null; + this.onCreateCallback = null; + this.onUpdateCallback = null; + this.onRenderCallback = null; + this.onPausedCallback = null; + this.onDestroyCallback = null; + } - delete this.states[key]; + delete this.states[key]; }, - /** + /** * Start the given state * @method Phaser.StateManager#start * @param {string} key - The key of the state you want to start. @@ -629,84 +634,75 @@

    Source: core/StateManager.js

    */ start: function (key, clearWorld, clearCache) { - // console.log('Phaser.StateManager.start', key); - // console.log(this); - // console.log(this.callbackContext); - if (typeof clearWorld === "undefined") { clearWorld = true; } if (typeof clearCache === "undefined") { clearCache = false; } - if (this.game.isBooted == false) + if (this.game.isBooted === false) { - // console.log('Game is NOT booted, so set the requested state as pending'); - this._pendingState = key; - return; + this._pendingState = key; + return; } - if (this.checkState(key) == false) - { - return; - } - else - { - // Already got a state running? - if (this.current) - { - this.onShutDownCallback.call(this.callbackContext, this.game); - } - - if (clearWorld) - { - this.game.tweens.removeAll(); - - this.game.world.destroy(); - - if (clearCache == true) - { - this.game.cache.destroy(); - } - } - - this.setCurrentState(key); - } + if (this.checkState(key) === false) + { + return; + } + else + { + // Already got a state running? + if (this.current) + { + this.onShutDownCallback.call(this.callbackContext, this.game); + } + + if (clearWorld) + { + this.game.tweens.removeAll(); + + this.game.world.destroy(); + + if (clearCache === true) + { + this.game.cache.destroy(); + } + } + + this.setCurrentState(key); + } if (this.onPreloadCallback) { - // console.log('Preload Callback found'); this.game.load.reset(); this.onPreloadCallback.call(this.callbackContext, this.game); // Is the loader empty? - if (this.game.load.queueSize == 0) + if (this.game.load.totalQueuedFiles() === 0) { - // console.log('Loader queue empty'); this.game.loadComplete(); } else { - // console.log('Loader started'); // Start the loader going as we have something in the queue this.game.load.start(); } } else { - // console.log('Preload callback not found'); // No init? Then there was nothing to load either this.game.loadComplete(); } }, - - /** - * Used by onInit and onShutdown when those functions don't exist on the state + + /** + * Used by onInit and onShutdown when those functions don't exist on the state * @method Phaser.StateManager#dummy * @private */ dummy: function () { }, - /** + /** * Description. * @method Phaser.StateManager#checkState * @param {string} key - The key of the state you want to check. @@ -714,37 +710,37 @@

    Source: core/StateManager.js

    */ checkState: function (key) { - if (this.states[key]) - { - var valid = false; - - if (this.states[key]['preload']) { valid = true; } - - if (valid == false && this.states[key]['loadRender']) { valid = true; } - if (valid == false && this.states[key]['loadUpdate']) { valid = true; } - if (valid == false && this.states[key]['create']) { valid = true; } - if (valid == false && this.states[key]['update']) { valid = true; } - if (valid == false && this.states[key]['preRender']) { valid = true; } - if (valid == false && this.states[key]['render']) { valid = true; } - if (valid == false && this.states[key]['paused']) { valid = true; } - - if (valid == false) - { - console.warn("Invalid Phaser State object given. Must contain at least a one of the required functions."); - return false; - } - - return true; - } - else - { - console.warn("Phaser.StateManager - No state found with the key: " + key); - return false; - } + if (this.states[key]) + { + var valid = false; + + if (this.states[key]['preload']) { valid = true; } + + if (valid === false && this.states[key]['loadRender']) { valid = true; } + if (valid === false && this.states[key]['loadUpdate']) { valid = true; } + if (valid === false && this.states[key]['create']) { valid = true; } + if (valid === false && this.states[key]['update']) { valid = true; } + if (valid === false && this.states[key]['preRender']) { valid = true; } + if (valid === false && this.states[key]['render']) { valid = true; } + if (valid === false && this.states[key]['paused']) { valid = true; } + + if (valid === false) + { + console.warn("Invalid Phaser State object given. Must contain at least a one of the required functions."); + return false; + } + + return true; + } + else + { + console.warn("Phaser.StateManager - No state found with the key: " + key); + return false; + } }, - /** + /** * Links game properties to the State given by the key. * @method Phaser.StateManager#link * @param {string} key - State key. @@ -752,7 +748,6 @@

    Source: core/StateManager.js

    */ link: function (key) { - // console.log('linked'); this.states[key].game = this.game; this.states[key].add = this.game.add; this.states[key].camera = this.game.camera; @@ -771,19 +766,19 @@

    Source: core/StateManager.js

    }, - /** + /** * Sets the current State. Should not be called directly (use StateManager.start) * @method Phaser.StateManager#setCurrentState * @param {string} key - State key. * @protected */ - setCurrentState: function (key) { + setCurrentState: function (key) { this.callbackContext = this.states[key]; this.link(key); - // Used when the state is set as being the current active state + // Used when the state is set as being the current active state this.onInitCallback = this.states[key]['init'] || this.dummy; this.onPreloadCallback = this.states[key]['preload'] || null; @@ -795,91 +790,125 @@

    Source: core/StateManager.js

    this.onRenderCallback = this.states[key]['render'] || null; this.onPausedCallback = this.states[key]['paused'] || null; - // Used when the state is no longer the current active state + // Used when the state is no longer the current active state this.onShutDownCallback = this.states[key]['shutdown'] || this.dummy; - this.current = key; - this._created = false; + this.current = key; + this._created = false; - this.onInitCallback.call(this.callbackContext, this.game); + this.onInitCallback.call(this.callbackContext, this.game); - }, + }, - /** - * @method Phaser.StateManager#loadComplete + /** + * @method Phaser.StateManager#loadComplete * @protected - */ + */ loadComplete: function () { - // console.log('Phaser.StateManager.loadComplete'); - - if (this._created == false && this.onCreateCallback) + if (this._created === false && this.onCreateCallback) { - // console.log('Create callback found'); - this._created = true; + this._created = true; this.onCreateCallback.call(this.callbackContext, this.game); } else { - this._created = true; + this._created = true; + } + + }, + + /** + * @method Phaser.StateManager#pause + * @protected + */ + pause: function () { + + if (this._created && this.onPausedCallback) + { + this.onPausedCallback.call(this.callbackContext, this.game, true); } }, - /** - * @method Phaser.StateManager#update + /** + * @method Phaser.StateManager#resume * @protected - */ + */ + resume: function () { + + if (this._created && this.onre) + { + this.onPausedCallback.call(this.callbackContext, this.game, false); + } + + }, + + /** + * @method Phaser.StateManager#update + * @protected + */ update: function () { - if (this._created && this.onUpdateCallback) - { - this.onUpdateCallback.call(this.callbackContext, this.game); - } - else - { - if (this.onLoadUpdateCallback) - { - this.onLoadUpdateCallback.call(this.callbackContext, this.game); - } - } + if (this._created && this.onUpdateCallback) + { + this.onUpdateCallback.call(this.callbackContext, this.game); + } + else + { + if (this.onLoadUpdateCallback) + { + this.onLoadUpdateCallback.call(this.callbackContext, this.game); + } + } }, - /** - * @method Phaser.StateManager#preRender + /** + * @method Phaser.StateManager#preRender * @protected - */ + */ preRender: function () { - if (this.onPreRenderCallback) - { - this.onPreRenderCallback.call(this.callbackContext, this.game); - } + if (this.onPreRenderCallback) + { + this.onPreRenderCallback.call(this.callbackContext, this.game); + } }, - /** - * @method Phaser.StateManager#render + /** + * @method Phaser.StateManager#render * @protected - */ + */ render: function () { - if (this._created && this.onRenderCallback) - { - this.onRenderCallback.call(this.callbackContext, this.game); - } - else - { - if (this.onLoadRenderCallback) - { - this.onLoadRenderCallback.call(this.callbackContext, this.game); - } - } + if (this._created && this.onRenderCallback) + { + if (this.game.renderType === Phaser.CANVAS) + { + this.game.context.save(); + this.game.context.setTransform(1, 0, 0, 1, 0, 0); + } + + this.onRenderCallback.call(this.callbackContext, this.game); + + if (this.game.renderType === Phaser.CANVAS) + { + this.game.context.restore(); + } + } + else + { + if (this.onLoadRenderCallback) + { + this.onLoadRenderCallback.call(this.callbackContext, this.game); + } + } }, - /** + /** * Nuke the entire game from orbit * @method Phaser.StateManager#destroy */ @@ -927,7 +956,7 @@

    Source: core/StateManager.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Text.js.html b/docs/Text.js.html index b527958772..84b4a4f719 100644 --- a/docs/Text.js.html +++ b/docs/Text.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -404,81 +444,99 @@

    Source: gameobjects/Text.js

    text = text || ''; style = style || ''; - // If exists = false then the Sprite isn't updated by the core game loop or physics subsystem at all - /** - * @property {boolean} exists - Description. - * @default - */ + /** + * @property {Phaser.Game} game - A reference to the currently running Game. + */ + this.game = game; + + /** + * @property {boolean} exists - If exists = false then the Text isn't updated by the core game loop. + * @default + */ this.exists = true; - // This is a handy little var your game can use to determine if a sprite is alive or not, it doesn't effect rendering - /** - * @property {boolean} alive - Description. - * @default - */ + /** + * @property {boolean} alive - This is a handy little var your game can use to determine if an object is alive or not, it doesn't effect rendering. + * @default + */ this.alive = true; - /** - * @property {Description} group - Description. - * @default - */ + /** + * @property {Phaser.Group} group - The parent Group of this Text object. + */ this.group = null; - /** - * @property {string} name - Description. - * @default - */ + /** + * @property {string} name - The user defined name given to this object. + * @default + */ this.name = ''; /** - * @property {Phaser.Game} game - A reference to the currently running game. + * @property {number} type - The const type of this object. + * @default */ - this.game = game; + this.type = Phaser.TEXT; + /** + * @property {string} _text - Internal value. + * @private + */ this._text = text; + + /** + * @property {string} _style - Internal value. + * @private + */ this._style = style; PIXI.Text.call(this, text, style); /** - * @property {Description} type - Description. - */ - this.type = Phaser.TEXT; - - /** - * @property {Description} position - Description. - */ + * @property {Phaser.Point} position - The position of this Text object in world space. + */ this.position.x = this.x = x; this.position.y = this.y = y; - // Replaces the PIXI.Point with a slightly more flexible one /** - * @property {Phaser.Point} anchor - Description. - */ + * The anchor sets the origin point of the texture. + * The default is 0,0 this means the textures origin is the top left + * Setting than anchor to 0.5,0.5 means the textures origin is centered + * Setting the anchor to 1,1 would mean the textures origin points will be the bottom right + * + * @property {Phaser.Point} anchor - The anchor around which rotation and scaling takes place. + */ this.anchor = new Phaser.Point(); /** - * @property {Phaser.Point} scale - Description. - */ + * @property {Phaser.Point} scale - The scale of the object when rendered. By default it's set to 1 (no scale). You can modify it via scale.x or scale.y or scale.setTo(x, y). A value of 1 means no change to the scale, 0.5 means "half the size", 2 means "twice the size", etc. + */ this.scale = new Phaser.Point(1, 1); - // A mini cache for storing all of the calculated values /** - * @property {Description} _cache - Description. + * @property {object} _cache - A mini cache for storing all of the calculated values. * @private */ - this._cache = { + this._cache = { dirty: false, // Transform cache - a00: 1, a01: 0, a02: x, a10: 0, a11: 1, a12: y, id: 1, + a00: 1, + a01: 0, + a02: x, + a10: 0, + a11: 1, + a12: y, + id: 1, // The previous calculated position - x: -1, y: -1, + x: -1, + y: -1, // The actual scale values based on the worldTransform - scaleX: 1, scaleY: 1 + scaleX: 1, + scaleY: 1 }; @@ -486,7 +544,7 @@

    Source: gameobjects/Text.js

    this._cache.y = this.y; /** - * @property {boolean} renderable - Description. + * @property {boolean} renderable - A renderable object will be rendered to the context each frame. */ this.renderable = true; @@ -547,11 +605,11 @@

    Source: gameobjects/Text.js

    } /** -* Get -* @returns {Description} -*//** -* Set -* @param {Description} value - Description +* Indicates the rotation of the Text, in degrees, from its original orientation. Values from 0 to 180 represent clockwise rotation; values from 0 to -180 represent counterclockwise rotation. +* Values outside this range are added to or subtracted from 360 to obtain a value within the range. For example, the statement player.angle = 450 is the same as player.angle = 90. +* If you wish to work in radians instead of degrees use the property Sprite.rotation instead. +* @name Phaser.Text#angle +* @property {number} angle - Gets or sets the angle of rotation in degrees. */ Object.defineProperty(Phaser.Text.prototype, 'angle', { @@ -565,6 +623,45 @@

    Source: gameobjects/Text.js

    }); +/** +* The x coordinate of this object in world space. +* @name Phaser.Text#x +* @property {number} x - The x coordinate of this object in world space. +*/ +Object.defineProperty(Phaser.Text.prototype, 'x', { + + get: function() { + return this.position.x; + }, + + set: function(value) { + this.position.x = value; + } + +}); + +/** +* The y coordinate of this object in world space. +* @name Phaser.Text#y +* @property {number} y - The y coordinate of this object in world space. +*/ +Object.defineProperty(Phaser.Text.prototype, 'y', { + + get: function() { + return this.position.y; + }, + + set: function(value) { + this.position.y = value; + } + +}); + +/** +* The string to be rendered by this Text object. +* @name Phaser.Text#content +* @property {string} content - The string to be rendered by this Text object. +*/ Object.defineProperty(Phaser.Text.prototype, 'content', { get: function() { @@ -584,6 +681,11 @@

    Source: gameobjects/Text.js

    }); +/** +* The font the text will be rendered in. +* @name Phaser.Text#font +* @property {string} font - The font the text will be rendered in. +*/ Object.defineProperty(Phaser.Text.prototype, 'font', { get: function() { @@ -623,7 +725,7 @@

    Source: gameobjects/Text.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Tile.js.html b/docs/Tile.js.html new file mode 100644 index 0000000000..548be9673f --- /dev/null +++ b/docs/Tile.js.html @@ -0,0 +1,693 @@ + + + + + + Phaser Source: tilemap/Tile.js + + + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Source: tilemap/Tile.js

    + +
    +
    +
    /**
    +* @author       Richard Davey <rich@photonstorm.com>
    +* @copyright    2013 Photon Storm Ltd.
    +* @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
    +*/
    +
    +/**
    +* Create a new `Tile` object. Tiles live inside of Tilesets and are rendered via TilemapLayers.
    +*
    +* @class Phaser.Tile
    +* @classdesc A Tile is a single representation of a tile within a Tilemap.
    +* @constructor
    +* @param {Phaser.Tileset} tileset - The tileset this tile belongs to.
    +* @param {number} index - The index of this tile type in the core map data.
    +* @param {number} x - The x coordinate of this tile.
    +* @param {number} y - The y coordinate of this tile.
    +* @param {number} width - Width of the tile.
    +* @param {number} height - Height of the tile.
    +*/
    +Phaser.Tile = function (tileset, index, x, y, width, height) {
    +
    +    /**
    +    * @property {Phaser.Tileset} tileset - The tileset this tile belongs to.
    +    */
    +    this.tileset = tileset;
    +    
    +    /**
    +    * @property {number} index - The index of this tile within the tileset.
    +    */
    +    this.index = index;
    +    
    +    /**
    +    * @property {number} width - The width of the tile in pixels.
    +    */
    +    this.width = width;
    +    
    +    /**
    +    * @property {number} height - The height of the tile in pixels.
    +    */
    +    this.height = height;
    +
    +    /**
    +    * @property {number} x - The top-left corner of the tile within the tileset.
    +    */
    +    this.x = x;
    +    
    +    /**
    +    * @property {number} y - The top-left corner of the tile within the tileset.
    +    */
    +    this.y = y;
    +
    +    //  Any extra meta data info we need here
    +
    +    /**
    +    * @property {number} mass - The virtual mass of the tile.
    +    * @default
    +    */
    +    this.mass = 1.0;
    +
    +    /**
    +    * @property {boolean} collideNone - Indicating this Tile doesn't collide at all.
    +    * @default
    +    */
    +    this.collideNone = true;
    +
    +    /**
    +    * @property {boolean} collideLeft - Indicating collide with any object on the left.
    +    * @default
    +    */
    +    this.collideLeft = false;
    +
    +    /**
    +    * @property {boolean} collideRight - Indicating collide with any object on the right.
    +    * @default
    +    */
    +    this.collideRight = false;
    +
    +    /**
    +    * @property {boolean} collideUp - Indicating collide with any object on the top.
    +    * @default
    +    */
    +    this.collideUp = false;
    +
    +    /**
    +    * @property {boolean} collideDown - Indicating collide with any object on the bottom.
    +    * @default
    +    */
    +    this.collideDown = false;
    +
    +    /**
    +    * @property {boolean} separateX - Enable separation at x-axis. 
    +    * @default
    +    */
    +    this.separateX = true;
    +
    +    /**
    +    * @property {boolean} separateY - Enable separation at y-axis. 
    +    * @default
    +    */
    +    this.separateY = true;
    +
    +    /**
    +    * @property {boolean} collisionCallback - Tilemap collision callback.
    +    * @default
    +    */
    +    this.collisionCallback = null;
    +
    +    /**
    +    * @property {boolean} collisionCallback - Tilemap collision callback.
    +    * @default
    +    */
    +    this.collisionCallbackContext = this;
    +
    +};
    +
    +Phaser.Tile.prototype = {
    +
    +    /**
    +    * Set callback to be called when this tilemap collides.
    +    * 
    +    * @method Phaser.Tile#setCollisionCallback
    +    * @param {Function} callback - Callback function.
    +    * @param {object} context - Callback will be called with this context.
    +    */
    +    setCollisionCallback: function (callback, context) {
    +
    +        this.collisionCallbackContext = context;
    +        this.collisionCallback = callback;
    +
    +    },
    +
    +    /**
    +    * Clean up memory.
    +    * @method Phaser.Tile#destroy
    +    */
    +    destroy: function () {
    +
    +        this.tileset = null;
    +        
    +    },
    +
    +    /**
    +    * Set collision settings on this tile.
    +    * @method Phaser.Tile#setCollision
    +    * @param {boolean} left - Indicating collide with any object on the left.
    +    * @param {boolean} right - Indicating collide with any object on the right.
    +    * @param {boolean} up - Indicating collide with any object on the top.
    +    * @param {boolean} down - Indicating collide with any object on the bottom.
    +    */
    +    setCollision: function (left, right, up, down) {
    +
    +        this.collideLeft = left;
    +        this.collideRight = right;
    +        this.collideUp = up;
    +        this.collideDown = down;
    +
    +        if (left || right || up || down)
    +        {
    +            this.collideNone = false;
    +        }
    +        else
    +        {
    +            this.collideNone = true;
    +        }
    +
    +    },
    +
    +    /**
    +    * Reset collision status flags.
    +    * @method Phaser.Tile#resetCollision
    +    */
    +    resetCollision: function () {
    +
    +        this.collideNone = true;
    +        this.collideLeft = false;
    +        this.collideRight = false;
    +        this.collideUp = false;
    +        this.collideDown = false;
    +
    +    }
    +
    +};
    +
    +/**
    +* @name Phaser.Tile#bottom
    +* @property {number} bottom - The sum of the y and height properties.
    +* @readonly
    +*/
    +Object.defineProperty(Phaser.Tile.prototype, "bottom", {
    +    
    +    get: function () {
    +        return this.y + this.height;
    +    }
    +
    +});
    +
    +/**
    +* @name Phaser.Tile#right
    +* @property {number} right - The sum of the x and width properties.
    +* @readonly
    +*/
    +Object.defineProperty(Phaser.Tile.prototype, "right", {
    +    
    +    get: function () {
    +        return this.x + this.width;
    +    }
    +
    +});
    +
    +
    +
    + + + + + +
    + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. + +
    +
    + + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + diff --git a/docs/TileSprite.js.html b/docs/TileSprite.js.html index 65631de4e5..ac778ade6a 100644 --- a/docs/TileSprite.js.html +++ b/docs/TileSprite.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -388,8 +428,9 @@

    Source: gameobjects/TileSprite.js

    */ /** -* Create a new <code>TileSprite</code>. +* A TileSprite is a Sprite whos texture is set to repeat and can be scrolled. As it scrolls the texture repeats (wraps) on the edges. * @class Phaser.Tilemap +* @extends Phaser.Sprite * @constructor * @param {Phaser.Game} game - Current game instance. * @param {number} x - X position of the new tileSprite. @@ -408,36 +449,36 @@

    Source: gameobjects/TileSprite.js

    key = key || null; frame = frame || null; - Phaser.Sprite.call(this, game, x, y, key, frame); + Phaser.Sprite.call(this, game, x, y, key, frame); - /** - * @property {Description} texture - Description. + /** + * @property {PIXI.Texture} texture - The texture that the sprite renders with. */ this.texture = PIXI.TextureCache[key]; - PIXI.TilingSprite.call(this, this.texture, width, height); + PIXI.TilingSprite.call(this, this.texture, width, height); - /** - * @property {Description} type - Description. + /** + * @property {number} type - The const type of this object. + * @readonly */ - this.type = Phaser.TILESPRITE; + this.type = Phaser.TILESPRITE; - /** - * @property {Point} tileScale - The scaling of the image that is being tiled. - */ - this.tileScale = new Phaser.Point(1, 1); + /** + * @property {Phaser.Point} tileScale - The scaling of the image that is being tiled. + */ + this.tileScale = new Phaser.Point(1, 1); - /** - * @property {Point} tilePosition - The offset position of the image that is being tiled. - */ - this.tilePosition = new Phaser.Point(0, 0); + /** + * @property {Phaser.Point} tilePosition - The offset position of the image that is being tiled. + */ + this.tilePosition = new Phaser.Point(0, 0); }; Phaser.TileSprite.prototype = Phaser.Utils.extend(true, PIXI.TilingSprite.prototype, Phaser.Sprite.prototype); Phaser.TileSprite.prototype.constructor = Phaser.TileSprite; -// Add our own custom methods
    @@ -459,7 +500,7 @@

    Source: gameobjects/TileSprite.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Tilemap.js.html b/docs/Tilemap.js.html new file mode 100644 index 0000000000..e82c265574 --- /dev/null +++ b/docs/Tilemap.js.html @@ -0,0 +1,1111 @@ + + + + + + Phaser Source: tilemap/Tilemap.js + + + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Source: tilemap/Tilemap.js

    + +
    +
    +
    /**
    +* @author       Richard Davey <rich@photonstorm.com>
    +* @copyright    2013 Photon Storm Ltd.
    +* @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
    +*/
    +
    +/**
    +* A Tile Map object. A Tile map consists of a set of tile data and tile sets. It is rendered to the display using a TilemapLayer.
    +* A map may have multiple layers. You can perform operations on the map data such as copying, pasting, filling and shuffling the tiles around.
    +*
    +* @class Phaser.Tilemap
    +* @constructor
    +* @param {Phaser.Game} game - Game reference to the currently running game.
    +* @param {string} [key] - The key of the tilemap data as stored in the Cache.
    +*/
    +Phaser.Tilemap = function (game, key) {
    +
    +    /**
    +    * @property {Phaser.Game} game - A reference to the currently running Game.
    +    */
    +    this.game = game;
    +
    +    /**
    +    * @property {array} layers - An array of Tilemap layers.
    +    */
    +    this.layers = null;
    +
    +    if (typeof key === 'string')
    +    {
    +        this.key = key;
    +
    +        this.layers = game.cache.getTilemapData(key).layers;
    +        this.calculateIndexes();
    +    }
    +    else
    +    {
    +        this.layers = [];
    +    }
    +
    +    /**
    +    * @property {number} currentLayer - The current layer.
    +    */
    +    this.currentLayer = 0;
    +
    +    /**
    +    * @property {array} debugMap - Map data used for debug values only.
    +    */
    +
    +    this.debugMap = [];
    +
    +    /**
    +    * @property {boolean} dirty - Internal rendering related flag.
    +    */
    +    this.dirty = false;
    +
    +    /**
    +    * @property {array} _results - Internal var.
    +    * @private
    +    */
    +    this._results = [];
    +
    +    /**
    +    * @property {number} _tempA - Internal var.
    +    * @private
    +    */
    +    this._tempA = 0;
    +
    +    /**
    +    * @property {number} _tempB - Internal var.
    +    * @private
    +    */
    +    this._tempB = 0;
    +
    +};
    +
    +/**
    +* @constant
    +* @type {number}
    +*/
    +Phaser.Tilemap.CSV = 0;
    +
    +/**
    +* @constant
    +* @type {number}
    +*/
    +Phaser.Tilemap.TILED_JSON = 1;
    +
    +Phaser.Tilemap.prototype = {
    +
    +    /**
    +    * Creates an empty map of the given dimensions.
    +    *
    +    * @method Phaser.Tilemap#create
    +    * @param {string} name - The name of the map (mostly used for debugging)
    +    * @param {number} width - The width of the map in tiles.
    +    * @param {number} height - The height of the map in tiles.
    +    */
    +    create: function (name, width, height) {
    +
    +        var data = [];
    +
    +        for (var y = 0; y < height; y++)
    +        {
    +            data[y] = [];
    +
    +            for (var x = 0; x < width; x++)
    +            {
    +                data[y][x] = 0;
    +            }
    +        }
    +
    +        this.layers.push({
    +
    +            name: name,
    +            width: width,
    +            height: height,
    +            alpha: 1,
    +            visible: true,
    +            tileMargin: 0,
    +            tileSpacing: 0,
    +            format: Phaser.Tilemap.CSV,
    +            data: data,
    +            indexes: []
    +
    +        });
    +
    +        this.currentLayer = this.layers.length - 1;
    +
    +        this.dirty = true;
    +
    +    },
    +
    +    /**
    +    * Internal function that calculates the tile indexes for the map data.
    +    *
    +    * @method Phaser.Tilemap#calculateIndexes
    +    */
    +    calculateIndexes: function () {
    +
    +        for (var layer = 0; layer < this.layers.length; layer++)
    +        {
    +            this.layers[layer].indexes = [];
    +
    +            for (var y = 0; y < this.layers[layer].height ; y++)
    +            {
    +                for (var x = 0; x < this.layers[layer].width; x++)
    +                {
    +                    var idx = this.layers[layer].data[y][x];
    +
    +                    if (this.layers[layer].indexes.indexOf(idx) === -1)
    +                    {
    +                        this.layers[layer].indexes.push(idx);
    +                    }
    +                }
    +            }
    +        }
    +
    +    },
    +
    +    /**
    +    * Sets the current layer to the given index.
    +    *
    +    * @method Phaser.Tilemap#setLayer
    +    * @param {number} layer - Sets the current layer to the given index.
    +    */
    +    setLayer: function (layer) {
    +
    +        if (this.layers[layer])
    +        {
    +            this.currentLayer = layer;
    +        }
    +
    +    },
    +
    +    /**
    +    * Puts a tile of the given index value at the coordinate specified.
    +    * @method Phaser.Tilemap#putTile
    +    * @param {number} index - The index of this tile to set.
    +    * @param {number} x - X position to place the tile (given in tile units, not pixels)
    +    * @param {number} y - Y position to place the tile (given in tile units, not pixels)
    +    * @param {number} [layer] - The Tilemap Layer to operate on.
    +    */
    +    putTile: function (index, x, y, layer) {
    +
    +        if (typeof layer === "undefined") { layer = this.currentLayer; }
    +
    +        if (x >= 0 && x < this.layers[layer].width && y >= 0 && y < this.layers[layer].height)
    +        {
    +            this.layers[layer].data[y][x] = index;
    +        }
    +
    +        this.dirty = true;
    +
    +    },
    +
    +    /**
    +    * Gets a tile from the Tilemap Layer. The coordinates are given in tile values.
    +    * @method Phaser.Tilemap#getTile
    +    * @param {number} x - X position to get the tile from (given in tile units, not pixels)
    +    * @param {number} y - Y position to get the tile from (given in tile units, not pixels)
    +    * @param {number} [layer] - The Tilemap Layer to operate on.
    +    * @return {number} The index of the tile at the given coordinates.
    +    */
    +    getTile: function (x, y, layer) {
    +
    +        if (typeof layer === "undefined") { layer = this.currentLayer; }
    +
    +        if (x >= 0 && x < this.layers[layer].width && y >= 0 && y < this.layers[layer].height)
    +        {
    +            return this.layers[layer].data[y][x];
    +        }
    +
    +    },
    +
    +    /**
    +    * Gets a tile from the Tilemap layer. The coordinates are given in pixel values.
    +    * @method Phaser.Tilemap#getTileWorldXY
    +    * @param {number} x - X position to get the tile from (given in pixels)
    +    * @param {number} y - Y position to get the tile from (given in pixels)
    +    * @param {number} [layer] - The Tilemap Layer to operate on.
    +    * @return {number} The index of the tile at the given coordinates.
    +    */
    +    getTileWorldXY: function (x, y, tileWidth, tileHeight, layer) {
    +
    +        if (typeof layer === "undefined") { layer = this.currentLayer; }
    +
    +        x = this.game.math.snapToFloor(x, tileWidth) / tileWidth;
    +        y = this.game.math.snapToFloor(y, tileHeight) / tileHeight;
    +
    +        if (x >= 0 && x < this.layers[layer].width && y >= 0 && y < this.layers[layer].height)
    +        {
    +            return this.layers[layer].data[y][x];
    +        }
    +
    +    },
    +
    +    /**
    +    * Puts a tile into the Tilemap layer. The coordinates are given in pixel values.
    +    * @method Phaser.Tilemap#putTileWorldXY
    +    * @param {number} index - The index of the tile to put into the layer.
    +    * @param {number} x - X position to insert the tile (given in pixels)
    +    * @param {number} y - Y position to insert the tile (given in pixels)
    +    * @param {number} tileWidth - The width of the tile in pixels.
    +    * @param {number} tileHeight - The height of the tile in pixels.
    +    * @param {number} [layer] - The Tilemap Layer to operate on.
    +    */
    +    putTileWorldXY: function (index, x, y, tileWidth, tileHeight, layer) {
    +
    +        if (typeof layer === "undefined") { layer = this.currentLayer; }
    +
    +        x = this.game.math.snapToFloor(x, tileWidth) / tileWidth;
    +        y = this.game.math.snapToFloor(y, tileHeight) / tileHeight;
    +
    +        if (x >= 0 && x < this.layers[layer].width && y >= 0 && y < this.layers[layer].height)
    +        {
    +            this.layers[layer].data[y][x] = index;
    +        }
    +
    +        this.dirty = true;
    +
    +    },
    +
    +    /**
    +    * Copies all of the tiles in the given rectangular block into the tilemap data buffer.
    +    * @method Phaser.Tilemap#copy
    +    * @param {number} x - X position of the top left of the area to copy (given in tiles, not pixels)
    +    * @param {number} y - Y position of the top left of the area to copy (given in tiles, not pixels)
    +    * @param {number} width - The width of the area to copy (given in tiles, not pixels)
    +    * @param {number} height - The height of the area to copy (given in tiles, not pixels)
    +    * @param {number} [layer] - The Tilemap Layer to operate on.
    +    * @return {array} An array of the tiles that were copied.
    +    */
    +    copy: function (x, y, width, height, layer) {
    +
    +        if (typeof layer === "undefined") { layer = this.currentLayer; }
    +
    +        if (!this.layers[layer])
    +        {
    +            this._results.length = 0;
    +            return;
    +        }
    +
    +        if (typeof x === "undefined") { x = 0; }
    +        if (typeof y === "undefined") { y = 0; }
    +        if (typeof width === "undefined") { width = this.layers[layer].width; }
    +        if (typeof height === "undefined") { height = this.layers[layer].height; }
    +
    +        if (x < 0)
    +        {
    +            x = 0;
    +        }
    +
    +        if (y < 0)
    +        {
    +            y = 0;
    +        }
    +
    +        if (width > this.layers[layer].width)
    +        {
    +            width = this.layers[layer].width;
    +        }
    +
    +        if (height > this.layers[layer].height)
    +        {
    +            height = this.layers[layer].height;
    +        }
    +
    +        this._results.length = 0;
    +
    +        this._results.push( { x: x, y: y, width: width, height: height, layer: layer });
    +
    +        for (var ty = y; ty < y + height; ty++)
    +        {
    +            for (var tx = x; tx < x + width; tx++)
    +            {
    +                this._results.push({ x: tx, y: ty, index: this.layers[layer].data[ty][tx] });
    +            }
    +        }
    +
    +        return this._results;
    +
    +    },
    +
    +    /**
    +    * Pastes a previously copied block of tile data into the given x/y coordinates. Data should have been prepared with Tilemap.copy.
    +    * @method Phaser.Tilemap#paste
    +    * @param {number} x - X position of the top left of the area to paste to (given in tiles, not pixels)
    +    * @param {number} y - Y position of the top left of the area to paste to (given in tiles, not pixels)
    +    * @param {array} tileblock - The block of tiles to paste.
    +    * @param {number} layer - The Tilemap Layer to operate on.
    +    */
    +    paste: function (x, y, tileblock, layer) {
    +
    +        if (typeof x === "undefined") { x = 0; }
    +        if (typeof y === "undefined") { y = 0; }
    +        if (typeof layer === "undefined") { layer = this.currentLayer; }
    +
    +        if (!tileblock || tileblock.length < 2)
    +        {
    +            return;
    +        }
    +
    +        //  Find out the difference between tileblock[1].x/y and x/y and use it as an offset, as it's the top left of the block to paste
    +        var diffX = tileblock[1].x - x;
    +        var diffY = tileblock[1].y - y;
    +
    +        for (var i = 1; i < tileblock.length; i++)
    +        {
    +            this.layers[layer].data[ diffY + tileblock[i].y ][ diffX + tileblock[i].x ] = tileblock[i].index;
    +        }
    +
    +        this.dirty = true;
    +
    +    },
    +
    +    /**
    +    * Swap tiles with 2 kinds of indexes.
    +    * @method Phaser.Tilemap#swapTile
    +    * @param {number} tileA - First tile index.
    +    * @param {number} tileB - Second tile index.
    +    * @param {number} x - X position of the top left of the area to operate one, given in tiles, not pixels.
    +    * @param {number} y - Y position of the top left of the area to operate one, given in tiles, not pixels.
    +    * @param {number} width - The width in tiles of the area to operate on.
    +    * @param {number} height - The height in tiles of the area to operate on.
    +    */
    +    swap: function (tileA, tileB, x, y, width, height, layer) {
    +
    +        this.copy(x, y, width, height, layer);
    +
    +        if (this._results.length < 2)
    +        {
    +            return;
    +        }
    +
    +        this._tempA = tileA;
    +        this._tempB = tileB;
    +
    +        this._results.forEach(this.swapHandler, this);
    +
    +        this.paste(x, y, this._results);
    +
    +    },
    +
    +    /**
    +    * Internal function that handles the swapping of tiles.
    +    * @method Phaser.Tilemap#swapHandler
    +    * @param {number} value
    +    * @param {number} index
    +    */
    +    swapHandler: function (value, index) {
    +
    +        if (value.index === this._tempA)
    +        {
    +            this._results[index].index = this._tempB;
    +        }
    +        else if (value.index === this._tempB)
    +        {
    +            this._results[index].index = this._tempA;
    +        }
    +
    +    },
    +
    +    /**
    +    * For each tile in the given area (defined by x/y and width/height) run the given callback.
    +    * @method Phaser.Tilemap#forEach
    +    * @param {number} callback - The callback. Each tile in the given area will be passed to this callback as the first and only parameter.
    +    * @param {number} context - The context under which the callback should be run.
    +    * @param {number} x - X position of the top left of the area to operate one, given in tiles, not pixels.
    +    * @param {number} y - Y position of the top left of the area to operate one, given in tiles, not pixels.
    +    * @param {number} width - The width in tiles of the area to operate on.
    +    * @param {number} height - The height in tiles of the area to operate on.
    +    * @param {number} [layer] - The Tilemap Layer to operate on.
    +    */
    +    forEach: function (callback, context, x, y, width, height, layer) {
    +
    +        this.copy(x, y, width, height, layer);
    +
    +        if (this._results.length < 2)
    +        {
    +            return;
    +        }
    +
    +        this._results.forEach(callback, context);
    +
    +        this.paste(x, y, this._results);
    +
    +    },
    +
    +    /**
    +    * Replaces one type of tile with another in the given area (defined by x/y and width/height).
    +    * @method Phaser.Tilemap#replace
    +    * @param {number} tileA - First tile index.
    +    * @param {number} tileB - Second tile index.
    +    * @param {number} x - X position of the top left of the area to operate one, given in tiles, not pixels.
    +    * @param {number} y - Y position of the top left of the area to operate one, given in tiles, not pixels.
    +    * @param {number} width - The width in tiles of the area to operate on.
    +    * @param {number} height - The height in tiles of the area to operate on.
    +    * @param {number} [layer] - The Tilemap Layer to operate on.
    +    */
    +    replace: function (tileA, tileB, x, y, width, height, layer) {
    +
    +        this.copy(x, y, width, height, layer);
    +
    +        if (this._results.length < 2)
    +        {
    +            return;
    +        }
    +
    +        for (var i = 1; i < this._results.length; i++)
    +        {
    +            if (this._results[i].index === tileA)
    +            {
    +                this._results[i].index = tileB;
    +            }
    +        }
    +
    +        this.paste(x, y, this._results);
    +
    +    },
    +
    +    /**
    +    * Randomises a set of tiles in a given area.
    +    * @method Phaser.Tilemap#random
    +    * @param {number} tileA - First tile index.
    +    * @param {number} tileB - Second tile index.
    +    * @param {number} x - X position of the top left of the area to operate one, given in tiles, not pixels.
    +    * @param {number} y - Y position of the top left of the area to operate one, given in tiles, not pixels.
    +    * @param {number} width - The width in tiles of the area to operate on.
    +    * @param {number} height - The height in tiles of the area to operate on.
    +    * @param {number} [layer] - The Tilemap Layer to operate on.
    +    */
    +    random: function (x, y, width, height, layer) {
    +
    +        if (typeof layer === "undefined") { layer = this.currentLayer; }
    +
    +        this.copy(x, y, width, height, layer);
    +
    +        if (this._results.length < 2)
    +        {
    +            return;
    +        }
    +
    +        var indexes = [];
    +
    +        for (var t = 1; t < this._results.length; t++)
    +        {
    +            var idx = this._results[t].index;
    +
    +            if (indexes.indexOf(idx) === -1)
    +            {
    +                indexes.push(idx);
    +            }
    +        }
    +
    +        for (var i = 1; i < this._results.length; i++)
    +        {
    +            this._results[i].index = this.game.rnd.pick(indexes);
    +        }
    +
    +        this.paste(x, y, this._results);
    +
    +    },
    +
    +    /**
    +    * Shuffles a set of tiles in a given area. It will only randomise the tiles in that area, so if they're all the same nothing will appear to have changed!
    +    * @method Phaser.Tilemap#shuffle
    +    * @param {number} tileA - First tile index.
    +    * @param {number} tileB - Second tile index.
    +    * @param {number} x - X position of the top left of the area to operate one, given in tiles, not pixels.
    +    * @param {number} y - Y position of the top left of the area to operate one, given in tiles, not pixels.
    +    * @param {number} width - The width in tiles of the area to operate on.
    +    * @param {number} height - The height in tiles of the area to operate on.
    +    * @param {number} [layer] - The Tilemap Layer to operate on.
    +    */
    +    shuffle: function (x, y, width, height, layer) {
    +
    +        if (typeof layer === "undefined") { layer = this.currentLayer; }
    +
    +        this.copy(x, y, width, height, layer);
    +
    +        if (this._results.length < 2)
    +        {
    +            return;
    +        }
    +
    +        var header = this._results.shift();
    +
    +        Phaser.Utils.shuffle(this._results);
    +
    +        this._results.unshift(header);
    +
    +        this.paste(x, y, this._results);
    +
    +    },
    +
    +    /**
    +    * Fill a block with a specific tile index.
    +    * @method Phaser.Tilemap#fill
    +    * @param {number} index - Index of tiles you want to fill with.
    +    * @param {number} x - X position of the top left of the area to operate one, given in tiles, not pixels.
    +    * @param {number} y - Y position of the top left of the area to operate one, given in tiles, not pixels.
    +    * @param {number} width - The width in tiles of the area to operate on.
    +    * @param {number} height - The height in tiles of the area to operate on.
    +    * @param {number} [layer] - The Tilemap Layer to operate on.
    +    */
    +    fill: function (index, x, y, width, height, layer) {
    +
    +        this.copy(x, y, width, height, layer);
    +
    +        if (this._results.length < 2)
    +        {
    +            return;
    +        }
    +
    +        for (var i = 1; i < this._results.length; i++)
    +        {
    +            this._results[i].index = index;
    +        }
    +
    +        this.paste(x, y, this._results);
    +
    +    },
    +
    +    /**
    +    * Removes all layers from this tile map.
    +    * @method Phaser.Tilemap#removeAllLayers
    +    */
    +    removeAllLayers: function () {
    +
    +        this.layers.length = 0;
    +        this.currentLayer = 0;
    +
    +    },
    +
    +    /**
    +    * Dumps the tilemap data out to the console.
    +    * @method Phaser.Tilemap#dump
    +    */
    +    dump: function () {
    +
    +        var txt = '';
    +        var args = [''];
    +
    +        for (var y = 0; y < this.layers[this.currentLayer].height; y++)
    +        {
    +            for (var x = 0; x < this.layers[this.currentLayer].width; x++)
    +            {
    +                txt += "%c  ";
    +
    +                if (this.layers[this.currentLayer].data[y][x] > 1)
    +                {
    +                    if (this.debugMap[this.layers[this.currentLayer].data[y][x]])
    +                    {
    +                        args.push("background: " + this.debugMap[this.layers[this.currentLayer].data[y][x]]);
    +                    }
    +                    else
    +                    {
    +                        args.push("background: #ffffff");
    +                    }
    +                }
    +                else
    +                {
    +                    args.push("background: rgb(0, 0, 0)");
    +                }
    +            }
    +
    +            txt += "\n";
    +        }
    +
    +        args[0] = txt;
    +        console.log.apply(console, args);
    +
    +    },
    +
    +    /**
    +    * Removes all layers from this tile map and nulls the game reference.
    +    * @method Phaser.Tilemap#destroy
    +    */
    +    destroy: function () {
    +
    +        this.removeAllLayers();
    +        this.game = null;
    +
    +    }
    +
    +};
    +
    +
    +
    + + + + + +
    + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. + +
    +
    + + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + diff --git a/docs/TilemapLayer.js.html b/docs/TilemapLayer.js.html new file mode 100644 index 0000000000..88cf9a5730 --- /dev/null +++ b/docs/TilemapLayer.js.html @@ -0,0 +1,1307 @@ + + + + + + Phaser Source: tilemap/TilemapLayer.js + + + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Source: tilemap/TilemapLayer.js

    + +
    +
    +
    /**
    +* @author       Richard Davey <rich@photonstorm.com>
    +* @copyright    2013 Photon Storm Ltd.
    +* @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
    +*/
    +
    +/**
    +* A Tilemap Layer is a set of map data combined with a Tileset in order to render that data to the game.
    +*
    +* @class Phaser.TilemapLayer
    +* @constructor
    +* @param {Phaser.Game} game - Game reference to the currently running game.
    +* @param {number} x - The x coordinate of this layer.
    +* @param {number} y - The y coordinate of this layer.
    +* @param {number} renderWidth - Width of the layer.
    +* @param {number} renderHeight - Height of the layer.
    +* @param {Phaser.Tileset|string} tileset - The tile set used for rendering.
    +* @param {Phaser.Tilemap} tilemap - The tilemap to which this layer belongs.
    +* @param {number} layer - The layer index within the map.
    +*/
    +Phaser.TilemapLayer = function (game, x, y, renderWidth, renderHeight, tileset, tilemap, layer) {
    +
    +    /**
    +    * @property {Phaser.Game} game - A reference to the currently running Game.
    +    */
    +    this.game = game;
    +    
    +    /**
    +    * @property {HTMLCanvasElement} canvas - The canvas to which this BitmapData draws.
    +    */
    +    this.canvas = Phaser.Canvas.create(renderWidth, renderHeight);
    +    
    +    /**
    +    * @property {CanvasRenderingContext2D} context - The 2d context of the canvas.
    +    */
    +    this.context = this.canvas.getContext('2d');
    +    
    +    /**
    +    * @property {PIXI.BaseTexture} baseTexture - Required Pixi var.
    +    */
    +    this.baseTexture = new PIXI.BaseTexture(this.canvas);
    +    
    +    /**
    +    * @property {PIXI.Texture} texture - Required Pixi var.
    +    */
    +    this.texture = new PIXI.Texture(this.baseTexture);
    +    
    +    /**
    +    * @property {Phaser.Frame} textureFrame - Dimensions of the renderable area.
    +    */
    +    this.textureFrame = new Phaser.Frame(0, 0, 0, renderWidth, renderHeight, 'tilemaplayer', game.rnd.uuid());
    +
    +    Phaser.Sprite.call(this, this.game, x, y, this.texture, this.textureFrame);
    +
    +    /**
    +    * @property {number} type - The const type of this object.
    +    * @default
    +    */
    +    this.type = Phaser.TILEMAPLAYER;
    +
    +    /**
    +    * A layer that is fixed to the camera ignores the position of any ancestors in the display list and uses its x/y coordinates as offsets from the top left of the camera.
    +    * @property {boolean} fixedToCamera - Fixes this layer to the Camera.
    +    * @default
    +    */
    +    this.fixedToCamera = true;
    +
    +    /**
    +    * @property {Phaser.Tileset} tileset - The tile set used for rendering.
    +    */
    +    this.tileset = null;
    +
    +    /**
    +    * @property {number} tileWidth - The width of a single tile in pixels.
    +    */
    +    this.tileWidth = 0;
    +
    +    /**
    +    * @property {number} tileHeight - The height of a single tile in pixels.
    +    */
    +    this.tileHeight = 0;
    +
    +    /**
    +    * @property {number} tileMargin - The margin around the tiles.
    +    */
    +    this.tileMargin = 0;
    +
    +    /**
    +    * @property {number} tileSpacing - The spacing around the tiles.
    +    */
    +    this.tileSpacing = 0;
    +
    +    /**
    +    * @property {number} widthInPixels - Do NOT recommend changing after the map is loaded!
    +    * @readonly
    +    */
    +    this.widthInPixels = 0;
    +
    +    /**
    +    * @property {number} heightInPixels - Do NOT recommend changing after the map is loaded!
    +    * @readonly
    +    */
    +    this.heightInPixels = 0;
    +
    +    /**
    +    * @property {number} renderWidth - The width of the area being rendered.
    +    */
    +    this.renderWidth = renderWidth;
    +
    +    /**
    +    * @property {number} renderHeight - The height of the area being rendered.
    +    */
    +    this.renderHeight = renderHeight;
    +
    +    /**
    +    * @property {number} _ga - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._ga = 1;
    +    
    +    /**
    +    * @property {number} _dx - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._dx = 0;
    +    
    +    /**
    +    * @property {number} _dy - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._dy = 0;
    +    
    +    /**
    +    * @property {number} _dw - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._dw = 0;
    +    
    +    /**
    +    * @property {number} _dh - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._dh = 0;
    +    
    +    /**
    +    * @property {number} _tx - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._tx = 0;
    +    
    +    /**
    +    * @property {number} _ty - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._ty = 0;
    +
    +    /**
    +    * @property {number} _tw - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._tw = 0;
    +
    +    /**
    +    * @property {number} _th - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._th = 0;
    +    
    +    /**
    +    * @property {number} _tl - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._tl = 0;
    +    
    +    /**
    +    * @property {number} _maxX - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._maxX = 0;
    +    
    +    /**
    +    * @property {number} _maxY - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._maxY = 0;
    +    
    +    /**
    +    * @property {number} _startX - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._startX = 0;
    +    
    +    /**
    +    * @property {number} _startY - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._startY = 0;
    +
    +    /**
    +    * @property {array} _results - Local render loop var to help avoid gc spikes.
    +    * @private 
    +    */
    +    this._results = [];
    +
    +    /**
    +    * @property {number} _x - Private var.
    +    * @private 
    +    */
    +    this._x = 0;
    +
    +    /**
    +    * @property {number} _y - Private var.
    +    * @private 
    +    */
    +    this._y = 0;
    +
    +    /**
    +    * @property {number} _prevX - Private var.
    +    * @private 
    +    */
    +    this._prevX = 0;
    +
    +    /**
    +    * @property {number} _prevY - Private var.
    +    * @private 
    +    */
    +    this._prevY = 0;
    +
    +    /**
    +    * @property {number} scrollFactorX - speed at which this layer scrolls
    +    * horizontally, relative to the camera (e.g. scrollFactorX of 0.5 scrolls
    +    * half as quickly as the 'normal' camera-locked layers do)
    +    * @default 1
    +    */
    +    this.scrollFactorX = 1;
    +
    +    /**
    +    * @property {number} scrollFactorY - speed at which this layer scrolls
    +    * vertically, relative to the camera (e.g. scrollFactorY of 0.5 scrolls
    +    * half as quickly as the 'normal' camera-locked layers do)
    +    * @default 1
    +    */
    +    this.scrollFactorY = 1;
    +
    +    /**
    +    * @property {Phaser.Tilemap} tilemap - The Tilemap to which this layer is bound.
    +    */
    +    this.tilemap = null;
    +
    +    /**
    +    * @property {number} layer - Tilemap layer index.
    +    */
    +    this.layer = null;
    +
    +    /**
    +    * @property {number} index
    +    */
    +    this.index = 0;
    +
    +    /**
    +    * @property {boolean} dirty - Flag controlling when to re-render the layer.
    +    */
    +    this.dirty = true;
    +
    +    if (tileset instanceof Phaser.Tileset || typeof tileset === 'string')
    +    {
    +        this.updateTileset(tileset);
    +    }
    +
    +    if (tilemap instanceof Phaser.Tilemap)
    +    {
    +        this.updateMapData(tilemap, layer);
    +    }
    +
    +};
    +
    +Phaser.TilemapLayer.prototype = Object.create(Phaser.Sprite.prototype);
    +Phaser.TilemapLayer.prototype = Phaser.Utils.extend(true, Phaser.TilemapLayer.prototype, Phaser.Sprite.prototype, PIXI.Sprite.prototype);
    +Phaser.TilemapLayer.prototype.constructor = Phaser.TilemapLayer;
    +
    +/**
    +* Automatically called by World.preUpdate. Handles cache updates.
    +*
    +* @method Phaser.TilemapLayer#update
    +* @memberof Phaser.TilemapLayer
    +*/
    +Phaser.TilemapLayer.prototype.update = function () {
    +
    +    this.scrollX = this.game.camera.x * this.scrollFactorX;
    +    this.scrollY = this.game.camera.y * this.scrollFactorY;
    +
    +    this.render();
    +
    +}
    +
    +/**
    +* Sets the world size to match the size of this layer.
    +*
    +* @method Phaser.TilemapLayer#resizeWorld
    +* @memberof Phaser.TilemapLayer
    +*/
    +Phaser.TilemapLayer.prototype.resizeWorld = function () {
    +
    +    this.game.world.setBounds(0, 0, this.widthInPixels, this.heightInPixels);
    +
    +}
    +
    +/**
    +* Updates the Tileset data.
    +*
    +* @method Phaser.TilemapLayer#updateTileset
    +* @memberof Phaser.TilemapLayer
    +* @param {Phaser.Tileset|string} tileset - The tileset to use for this layer.
    +*/
    +Phaser.TilemapLayer.prototype.updateTileset = function (tileset) {
    +
    +    if (tileset instanceof Phaser.Tileset)
    +    {
    +        this.tileset = tileset;
    +    }
    +    else if (typeof tileset === 'string')
    +    {
    +        this.tileset = this.game.cache.getTileset('tiles');
    +    }
    +    else
    +    {
    +        return;
    +    }
    +
    +    this.tileWidth = this.tileset.tileWidth;
    +    this.tileHeight = this.tileset.tileHeight;
    +    this.tileMargin = this.tileset.tileMargin;
    +    this.tileSpacing = this.tileset.tileSpacing;
    +
    +    this.updateMax();
    +
    +}
    +
    +/**
    +* Updates the Tilemap data.
    +*
    +* @method Phaser.TilemapLayer#updateMapData
    +* @memberof Phaser.TilemapLayer
    +* @param {Phaser.Tilemap} tilemap - The tilemap to which this layer belongs.
    +* @param {number} layer - The layer index within the map.
    +*/
    +Phaser.TilemapLayer.prototype.updateMapData = function (tilemap, layer) {
    +
    +    if (typeof layer === 'undefined')
    +    {
    +        layer = 0;
    +    }
    +
    +    if (tilemap instanceof Phaser.Tilemap)
    +    {
    +        this.tilemap = tilemap;
    +        this.layer = this.tilemap.layers[layer];
    +        this.index = layer;
    +        this.updateMax();
    +        this.tilemap.dirty = true;
    +    }
    +
    +}
    +
    +/**
    +* Take an x coordinate that doesn't account for scrollFactorY and 'fix' it 
    +* into a scrolled local space. Used primarily internally
    +* @method Phaser.TilemapLayer#_fixX
    +* @memberof Phaser.TilemapLayer
    +* @private
    +* @param {number} x - x coordinate in camera space
    +* @return {number} x coordinate in scrollFactor-adjusted dimensions
    +*/
    +Phaser.TilemapLayer.prototype._fixX = function(x) {
    +
    +    if (this.scrollFactorX === 1)
    +    {
    +        return x;
    +    }
    +
    +    var leftEdge = x - (this._x / this.scrollFactorX);
    +
    +    return this._x + leftEdge;
    +
    +}
    +
    +/**
    +* Take an x coordinate that _does_ account for scrollFactorY and 'unfix' it 
    +* back to camera space. Used primarily internally
    +* @method Phaser.TilemapLayer#_unfixX
    +* @memberof Phaser.TilemapLayer
    +* @private
    +* @param {number} x - x coordinate in scrollFactor-adjusted dimensions
    +* @return {number} x coordinate in camera space
    +*/
    +Phaser.TilemapLayer.prototype._unfixX = function(x) {
    +
    +    if (this.scrollFactorX === 1)
    +    {
    +        return x;
    +    }
    +
    +    var leftEdge = x - this._x;
    +
    +    return (this._x / this.scrollFactorX) + leftEdge;
    +
    +}
    +
    +/**
    +* Take a y coordinate that doesn't account for scrollFactorY and 'fix' it 
    +* into a scrolled local space. Used primarily internally
    +* @method Phaser.TilemapLayer#_fixY
    +* @memberof Phaser.TilemapLayer
    +* @private
    +* @param {number} y - y coordinate in camera space
    +* @return {number} y coordinate in scrollFactor-adjusted dimensions
    +*/
    +Phaser.TilemapLayer.prototype._fixY = function(y) {
    +
    +    if (this.scrollFactorY === 1)
    +    {
    +        return y;
    +    }
    +
    +    var topEdge = y - (this._y / this.scrollFactorY);
    +
    +    return this._y + topEdge;
    +
    +}
    +
    +/**
    +* Take a y coordinate that _does_ account for scrollFactorY and 'unfix' it 
    +* back to camera space. Used primarily internally
    +* @method Phaser.TilemapLayer#_unfixY
    +* @memberof Phaser.TilemapLayer
    +* @private
    +* @param {number} y - y coordinate in scrollFactor-adjusted dimensions
    +* @return {number} y coordinate in camera space
    +*/
    +Phaser.TilemapLayer.prototype._unfixY = function(y) {
    +
    +    if (this.scrollFactorY === 1)
    +    {
    +        return y;
    +    }
    +
    +    var topEdge = y - this._y;
    +
    +    return (this._y / this.scrollFactorY) + topEdge;
    +
    +}
    +
    +/**
    +* Convert a pixel value to a tile coordinate.
    +* @method Phaser.TilemapLayer#getTileX
    +* @memberof Phaser.TilemapLayer
    +* @param {number} x - X position of the point in target tile.
    +* @return {Phaser.Tile} The tile with specific properties.
    +*/
    +Phaser.TilemapLayer.prototype.getTileX = function (x) {
    +
    +    var tileWidth = this.tileWidth * this.scale.x;
    +
    +    return this.game.math.snapToFloor(this._fixX(x), tileWidth) / tileWidth;
    +
    +}
    +
    +/**
    +* Convert a pixel value to a tile coordinate.
    +* @method Phaser.TilemapLayer#getTileY
    +* @memberof Phaser.TilemapLayer
    +* @param {number} y - Y position of the point in target tile.
    +* @return {Phaser.Tile} The tile with specific properties.
    +*/
    +Phaser.TilemapLayer.prototype.getTileY = function (y) {
    +
    +    var tileHeight = this.tileHeight * this.scale.y;
    +
    +    return this.game.math.snapToFloor(this._fixY(y), tileHeight) / tileHeight;
    +
    +}
    +
    +/**
    +* Convert a pixel value to a tile coordinate.
    +* @method Phaser.TilemapLayer#getTileXY
    +* @memberof Phaser.TilemapLayer
    +* @param {number} x - X position of the point in target tile.
    +* @param {number} y - Y position of the point in target tile.
    +* @return {Phaser.Tile} The tile with specific properties.
    +*/
    +Phaser.TilemapLayer.prototype.getTileXY = function (x, y, point) {
    +
    +    point.x = this.getTileX(x);
    +    point.y = this.getTileY(y);
    +
    +    return point;
    +
    +}
    +
    +/**
    +* Get the tiles within the given area.
    +* @method Phaser.TilemapLayer#getTiles
    +* @memberof Phaser.TilemapLayer
    +* @param {number} x - X position of the top left of the area to copy (given in tiles, not pixels)
    +* @param {number} y - Y position of the top left of the area to copy (given in tiles, not pixels)
    +* @param {number} width - The width of the area to copy (given in tiles, not pixels)
    +* @param {number} height - The height of the area to copy (given in tiles, not pixels)
    +* @param {boolean} collides - If true only return tiles that collide on one or more faces.
    +* @return {array} Array with tiles informations (each contains x, y, and the tile).
    +*/
    +Phaser.TilemapLayer.prototype.getTiles = function (x, y, width, height, collides) {
    +
    +    if (this.tilemap === null)
    +    {
    +        return;
    +    }
    +
    +    //  Should we only get tiles that have at least one of their collision flags set? (true = yes, false = no just get them all)
    +    if (typeof collides === 'undefined') { collides = false; }
    +
    +    //  Cap the values
    +
    +    if (x < 0)
    +    {
    +        x = 0;
    +    }
    +
    +    if (y < 0)
    +    {
    +        y = 0;
    +    }
    +
    +    // adjust the x,y coordinates for scrollFactor
    +    x = this._fixX( x );
    +    y = this._fixY( y );
    +
    +    if (width > this.widthInPixels)
    +    {
    +        width = this.widthInPixels;
    +    }
    +
    +    if (height > this.heightInPixels)
    +    {
    +        height = this.heightInPixels;
    +    }
    +
    +    var tileWidth = this.tileWidth * this.scale.x;
    +    var tileHeight = this.tileHeight * this.scale.y;
    +
    +    //  Convert the pixel values into tile coordinates
    +    this._tx = this.game.math.snapToFloor(x, tileWidth) / tileWidth;
    +    this._ty = this.game.math.snapToFloor(y, tileHeight) / tileHeight;
    +    this._tw = (this.game.math.snapToCeil(width, tileWidth) + tileWidth) / tileWidth;
    +    this._th = (this.game.math.snapToCeil(height, tileHeight) + tileHeight) / tileHeight;
    +
    +    //  This should apply the layer x/y here
    +
    +    // this._results.length = 0;
    +    this._results = [];
    +
    +    //  pretty sure we don't use this any more?
    +    // this._results.push( { x: x, y: y, width: width, height: height, tx: this._tx, ty: this._ty, tw: this._tw, th: this._th });
    +
    +    var _index = 0;
    +    var _tile = null;
    +    var sx = 0;
    +    var sy = 0;
    +
    +    for (var wy = this._ty; wy < this._ty + this._th; wy++)
    +    {
    +        for (var wx = this._tx; wx < this._tx + this._tw; wx++)
    +        {
    +            if (this.layer.data[wy] && this.layer.data[wy][wx])
    +            {
    +                //  Could combine
    +                _index = this.layer.data[wy][wx] - 1;
    +                _tile = this.tileset.getTile(_index);
    +
    +                sx = _tile.width * this.scale.x;
    +                sy = _tile.height * this.scale.y;
    +
    +                if (collides === false || (collides && _tile.collideNone === false))
    +                {
    +                    // convert tile coordinates back to camera space for return
    +                    var _wx = this._unfixX( wx*sx ) / tileWidth;
    +                    var _wy = this._unfixY( wy*sy ) / tileHeight;
    +                    this._results.push({ x: _wx * sx, right: (_wx * sx) + sx, y: _wy * sy, bottom: (_wy * sy) + sy, width: sx, height: sy, tx: _wx, ty: _wy, tile: _tile });
    +                }
    +            }
    +        }
    +    }
    +
    +    return this._results;
    +
    +}
    +
    +/**
    +* Internal function to update maximum values.
    +* @method Phaser.TilemapLayer#updateMax
    +* @memberof Phaser.TilemapLayer
    +*/
    +Phaser.TilemapLayer.prototype.updateMax = function () {
    +
    +    this._maxX = this.game.math.ceil(this.canvas.width / this.tileWidth) + 1;
    +    this._maxY = this.game.math.ceil(this.canvas.height / this.tileHeight) + 1;
    +
    +    if (this.layer)
    +    {
    +        if (this._maxX > this.layer.width)
    +        {
    +            this._maxX = this.layer.width;
    +        }
    +
    +        if (this._maxY > this.layer.height)
    +        {
    +            this._maxY = this.layer.height;
    +        }
    +
    +        this.widthInPixels = this.layer.width * this.tileWidth;
    +        this.heightInPixels = this.layer.height * this.tileHeight;
    +    }
    +
    +    this.dirty = true;
    +
    +}
    +
    +/**
    +* Renders the tiles to the layer canvas and pushes to the display.
    +* @method Phaser.TilemapLayer#render
    +* @memberof Phaser.TilemapLayer
    +*/
    +Phaser.TilemapLayer.prototype.render = function () {
    +
    +    if (this.tilemap && this.tilemap.dirty)
    +    {
    +        this.dirty = true;
    +    }
    +
    +    if (!this.dirty || !this.tileset || !this.tilemap || !this.visible)
    +    {
    +        return;
    +    }
    +
    +    this._prevX = this._dx;
    +    this._prevY = this._dy;
    +
    +    this._dx = -(this._x - (this._startX * this.tileWidth));
    +    this._dy = -(this._y - (this._startY * this.tileHeight));
    +
    +    this._tx = this._dx;
    +    this._ty = this._dy;
    +
    +    this.context.clearRect(0, 0, this.canvas.width, this.canvas.height);
    +
    +    for (var y = this._startY; y < this._startY + this._maxY; y++)
    +    {
    +        this._column = this.layer.data[y];
    +
    +        for (var x = this._startX; x < this._startX + this._maxX; x++)
    +        {
    +            //  only -1 on TILED maps, not CSV
    +            var tile = this.tileset.tiles[this._column[x]-1];
    +
    +            if (tile)
    +            {
    +                this.context.drawImage(
    +                    this.tileset.image,
    +                    tile.x,
    +                    tile.y,
    +                    this.tileWidth,
    +                    this.tileHeight,
    +                    Math.floor(this._tx),
    +                    Math.floor(this._ty),
    +                    this.tileWidth,
    +                    this.tileHeight
    +                );
    +            }
    +
    +            this._tx += this.tileWidth;
    +
    +        }
    +
    +        this._tx = this._dx;
    +        this._ty += this.tileHeight;
    +    }
    +
    +    //  Only needed if running in WebGL, otherwise this array will never get cleared down I don't think!
    +    if (this.game.renderType == Phaser.WEBGL)
    +    {
    +        PIXI.texturesToUpdate.push(this.baseTexture);
    +    }
    +
    +    this.dirty = false;
    +
    +    if (this.tilemap.dirty)
    +    {
    +        this.tilemap.dirty = false;
    +    }
    +
    +    return true;
    +
    +}
    +
    +/**
    +* Returns the absolute delta x value.
    +* @method Phaser.TilemapLayer#deltaAbsX
    +* @memberof Phaser.TilemapLayer
    +* @return {number} Absolute delta X value
    +*/
    +Phaser.TilemapLayer.prototype.deltaAbsX = function () {
    +    return (this.deltaX() > 0 ? this.deltaX() : -this.deltaX());
    +}
    +
    +/**
    +* Returns the absolute delta y value.
    +* @method Phaser.TilemapLayer#deltaAbsY
    +* @memberof Phaser.TilemapLayer
    +* @return {number} Absolute delta Y value
    +*/
    +Phaser.TilemapLayer.prototype.deltaAbsY = function () {
    +    return (this.deltaY() > 0 ? this.deltaY() : -this.deltaY());
    +}
    +
    +/**
    +* Returns the delta x value.
    +* @method Phaser.TilemapLayer#deltaX
    +* @memberof Phaser.TilemapLayer
    +* @return {number} Delta X value
    +*/
    +Phaser.TilemapLayer.prototype.deltaX = function () {
    +    return this._dx - this._prevX;
    +}
    +
    +/**
    +* Returns the delta y value.
    +* @method Phaser.TilemapLayer#deltaY
    +* @memberof Phaser.TilemapLayer
    +* @return {number} Delta Y value
    +*/
    +Phaser.TilemapLayer.prototype.deltaY = function () {
    +    return this._dy - this._prevY;
    +}
    +
    +/**
    +* @name Phaser.TilemapLayer#scrollX
    +* @property {number} scrollX - Scrolls the map horizontally or returns the current x position.
    +*/
    +Object.defineProperty(Phaser.TilemapLayer.prototype, "scrollX", {
    +    
    +    get: function () {
    +        return this._x;
    +    },
    +
    +    set: function (value) {
    +
    +        if (value !== this._x && value >= 0 && this.layer)
    +        {
    +            this._x = value;
    +
    +            if (this._x > (this.widthInPixels - this.renderWidth))
    +            {
    +                this._x = this.widthInPixels - this.renderWidth;
    +            }
    +
    +            this._startX = this.game.math.floor(this._x / this.tileWidth);
    +
    +            if (this._startX < 0)
    +            {
    +                this._startX = 0;
    +            }
    +
    +            if (this._startX + this._maxX > this.layer.width)
    +            {
    +                this._startX = this.layer.width - this._maxX;
    +            }
    +
    +            this.dirty = true;
    +        }
    +
    +    }
    +
    +});
    +
    +/**
    +* @name Phaser.TilemapLayer#scrollY
    +* @property {number} scrollY - Scrolls the map vertically or returns the current y position.
    +*/
    +Object.defineProperty(Phaser.TilemapLayer.prototype, "scrollY", {
    +    
    +    get: function () {
    +        return this._y;
    +    },
    +
    +    set: function (value) {
    +
    +        if (value !== this._y && value >= 0 && this.layer)
    +        {
    +            this._y = value;
    +
    +            if (this._y > (this.heightInPixels - this.renderHeight))
    +            {
    +                this._y = this.heightInPixels - this.renderHeight;
    +            }
    +
    +            this._startY = this.game.math.floor(this._y / this.tileHeight);
    +
    +            if (this._startY < 0)
    +            {
    +                this._startY = 0;
    +            }
    +
    +            if (this._startY + this._maxY > this.layer.height)
    +            {
    +                this._startY = this.layer.height - this._maxY;
    +            }
    +
    +            this.dirty = true;
    +        }
    +
    +    }
    +
    +});
    +
    +
    +
    + + + + + +
    + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. + +
    +
    + + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + diff --git a/docs/TilemapParser.js.html b/docs/TilemapParser.js.html new file mode 100644 index 0000000000..c4f1ddb24f --- /dev/null +++ b/docs/TilemapParser.js.html @@ -0,0 +1,698 @@ + + + + + + Phaser Source: tilemap/TilemapParser.js + + + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Source: tilemap/TilemapParser.js

    + +
    +
    +
    /**
    +* @author       Richard Davey <rich@photonstorm.com>
    +* @copyright    2013 Photon Storm Ltd.
    +* @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
    +*/
    +
    +/**
    +* Phaser.TilemapParser parses data objects from Phaser.Loader that need more preparation before they can be inserted into a Tilemap.
    +*
    +* @class Phaser.TilemapParser
    +*/
    +Phaser.TilemapParser = {
    +
    +    /**
    +    * Creates a Tileset object.
    +    * @method Phaser.TilemapParser.tileset
    +    * @param {Phaser.Game} game - Game reference to the currently running game.
    +    * @param {string} key
    +    * @param {number} tileWidth
    +    * @param {number} tileHeight
    +    * @param {number} tileMax
    +    * @param {number} tileMargin
    +    * @param {number} tileSpacing
    +    * @return {Phaser.Tileset} Generated Tileset object.
    +    */
    +    tileset: function (game, key, tileWidth, tileHeight, tileMax, tileMargin, tileSpacing) {
    +
    +        //  How big is our image?
    +        var img = game.cache.getTilesetImage(key);
    +
    +        if (img == null)
    +        {
    +            return null;
    +        }
    +
    +        var width = img.width;
    +        var height = img.height;
    +
    +        //  If no tile width/height is given, try and figure it out (won't work if the tileset has margin/spacing)
    +        if (tileWidth <= 0)
    +        {
    +            tileWidth = Math.floor(-width / Math.min(-1, tileWidth));
    +        }
    +
    +        if (tileHeight <= 0)
    +        {
    +            tileHeight = Math.floor(-height / Math.min(-1, tileHeight));
    +        }
    +
    +        var row = Math.round(width / tileWidth);
    +        var column = Math.round(height / tileHeight);
    +        var total = row * column;
    +        
    +        if (tileMax !== -1)
    +        {
    +            total = tileMax;
    +        }
    +
    +        //  Zero or smaller than tile sizes?
    +        if (width === 0 || height === 0 || width < tileWidth || height < tileHeight || total === 0)
    +        {
    +            console.warn("Phaser.TilemapParser.tileSet: width/height zero or width/height < given tileWidth/tileHeight");
    +            return null;
    +        }
    +
    +        //  Let's create some tiles
    +        var x = tileMargin;
    +        var y = tileMargin;
    +
    +        var tileset = new Phaser.Tileset(img, key, tileWidth, tileHeight, tileMargin, tileSpacing);
    +
    +        for (var i = 0; i < total; i++)
    +        {
    +            tileset.addTile(new Phaser.Tile(tileset, i, x, y, tileWidth, tileHeight));
    +
    +            x += tileWidth + tileSpacing;
    +
    +            if (x === width)
    +            {
    +                x = tileMargin;
    +                y += tileHeight + tileSpacing;
    +            }
    +        }
    +
    +        return tileset;
    +
    +    },
    +
    +    /**
    +    * Parse tileset data from the cache and creates a Tileset object.
    +    * @method Phaser.TilemapParser.parse
    +    * @param {Phaser.Game} game - Game reference to the currently running game.
    +    * @param {object} data
    +    * @param {string} format
    +    * @return {Phaser.Tileset} Generated Tileset object.
    +    */
    +    parse: function (game, data, format) {
    +
    +        if (format === Phaser.Tilemap.CSV)
    +        {
    +            return this.parseCSV(data);
    +        }
    +        else if (format === Phaser.Tilemap.TILED_JSON)
    +        {
    +            return this.parseTiledJSON(data);
    +        }
    +
    +    },
    +
    +    /**
    +    * Parses a CSV file into valid map data.
    +    * @method Phaser.TilemapParser.parseCSV
    +    * @param {string} data - The CSV file data.
    +    * @return {object} Generated map data.
    +    */
    +    parseCSV: function (data) {
    +
    +        //  Trim any rogue whitespace from the data
    +        data = data.trim();
    +
    +        var output = [];
    +        var rows = data.split("\n");
    +        var height = rows.length;
    +        var width = 0;
    +
    +        for (var i = 0; i < rows.length; i++)
    +        {
    +            output[i] = [];
    +
    +            var column = rows[i].split(",");
    +
    +            for (var c = 0; c < column.length; c++)
    +            {
    +                output[i][c] = parseInt(column[c], 10);
    +            }
    +
    +            if (width === 0)
    +            {
    +                width = column.length;
    +            }
    +        }
    +
    +        return [{ name: 'csv', width: width, height: height, alpha: 1, visible: true, indexes: [], tileMargin: 0, tileSpacing: 0, data: output }];
    +
    +    },
    +
    +    /**
    +    * Parses a Tiled JSON file into valid map data.
    +    * @method Phaser.TilemapParser.parseJSON
    +    * @param {object} json- The Tiled JSON data.
    +    * @return {object} Generated map data.
    +    */
    +    parseTiledJSON: function (json) {
    +
    +        var layers = [];
    +
    +        for (var i = 0; i < json.layers.length; i++)
    +        {
    +            //  Check it's a data layer
    +            if (!json.layers[i].data)
    +            {
    +                continue;
    +            }
    +
    +            //  json.tilewidth
    +            //  json.tileheight
    +
    +            var layer = {
    +
    +                name: json.layers[i].name,
    +                width: json.layers[i].width,
    +                height: json.layers[i].height,
    +                alpha: json.layers[i].opacity,
    +                visible: json.layers[i].visible,
    +                indexes: [],
    +
    +                tileMargin: json.tilesets[0].margin,
    +                tileSpacing: json.tilesets[0].spacing
    +
    +            };
    +
    +            var output = [];
    +            var c = 0;
    +            var row;
    +
    +            for (var t = 0; t < json.layers[i].data.length; t++)
    +            {
    +                if (c === 0)
    +                {
    +                    row = [];
    +                }
    +
    +                row.push(json.layers[i].data[t]);
    +                c++;
    +
    +                if (c == json.layers[i].width)
    +                {
    +                    output.push(row);
    +                    c = 0;
    +                }
    +            }
    +
    +            layer.data = output;
    +            
    +            layers.push(layer);
    +
    +        }
    +
    +        return layers;
    +
    +    }
    +
    +}
    +
    +
    +
    + + + + + +
    + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. + +
    +
    + + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + diff --git a/docs/Tileset.js.html b/docs/Tileset.js.html new file mode 100644 index 0000000000..faf94c4d4c --- /dev/null +++ b/docs/Tileset.js.html @@ -0,0 +1,680 @@ + + + + + + Phaser Source: tilemap/Tileset.js + + + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Source: tilemap/Tileset.js

    + +
    +
    +
    /**
    +* @author       Richard Davey <rich@photonstorm.com>
    +* @copyright    2013 Photon Storm Ltd.
    +* @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
    +*/
    +
    +/**
    +* A Tile set is a combination of an image containing the tiles and collision data per tile.
    +*
    +* @class Phaser.Tileset
    +* @constructor
    +* @param {Image} image - The Image object from the Cache.
    +* @param {string} key - The key of the tileset in the cache.
    +* @param {number} tileWidth - The width of the tile in pixels.
    +* @param {number} tileHeight - The height of the tile in pixels.
    +* @param {number} [tileMargin] - The margin around the tiles in the sheet.
    +* @param {number} [tileSpacing] - The spacing between the tiles in the sheet.
    +*/
    +Phaser.Tileset = function (image, key, tileWidth, tileHeight, tileMargin, tileSpacing) {
    +
    +    if (typeof tileMargin === "undefined") { tileMargin = 0; }
    +    if (typeof tileSpacing === "undefined") { tileSpacing = 0; }
    +
    +    /**
    +    * @property {string} key - The cache ID.
    +    */
    +    this.key = key;
    +
    +    /**
    +    * @property {object} image - The image used for rendering.
    +    */
    +    this.image = image;
    +
    +    /**
    +    * @property {number} tileWidth - The width of a tile in pixels.
    +    */
    +    this.tileWidth = tileWidth;
    +
    +    /**
    +    * @property {number} tileHeight - The height of a tile in pixels.
    +    */
    +    this.tileHeight = tileHeight;
    +
    +    /**
    +    * @property {number} tileMargin - The margin around the tiles in the sheet.
    +    */
    +    this.margin = tileMargin;
    +
    +    /**
    +    * @property {number} tileSpacing - The margin around the tiles in the sheet.
    +    */
    +    this.spacing = tileSpacing;
    +
    +    /**
    +    * @property {array} tiles - An array of the tile collision data.
    +    */
    +    this.tiles = [];
    +
    +}
    +
    +Phaser.Tileset.prototype = {
    +
    +    /**
    +    * Adds a Tile into this set.
    +    *
    +    * @method Phaser.Tileset#addTile
    +    * @param {Phaser.Tile} tile - The tile to add to this set.
    +    */
    +    addTile: function (tile) {
    +
    +        this.tiles.push(tile);
    +
    +        return tile;
    +
    +    },
    +
    +    /**
    +    * Gets a Tile from this set.
    +    *
    +    * @method Phaser.Tileset#getTile
    +    * @param {number} index - The index of the tile within the set.
    +    * @return {Phaser.Tile} The tile.
    +    */
    +    getTile: function (index) {
    +
    +        if (this.tiles[index])
    +        {
    +            return this.tiles[index];
    +        }
    +
    +        return null;
    +
    +    },
    +
    +    /**
    +    * Sets tile spacing and margins.
    +    *
    +    * @method Phaser.Tileset#setSpacing
    +    * @param {number} [tileMargin] - The margin around the tiles in the sheet.
    +    * @param {number} [tileSpacing] - The spacing between the tiles in the sheet.
    +    */
    +    setSpacing: function (margin, spacing) {
    +
    +        this.tileMargin = margin;
    +        this.tileSpacing = spacing;
    +
    +    },
    +
    +    /**
    +    * Checks if the tile at the given index can collide.
    +    *
    +    * @method Phaser.Tileset#canCollide
    +    * @param {number} index - The index of the tile within the set.
    +    * @return {boolean} True or false depending on the tile collision or null if no tile was found at the given index.
    +    */
    +    canCollide: function (index) {
    +
    +        if (this.tiles[index])
    +        {
    +            return this.tiles[index].collideNone;
    +        }
    +
    +        return null;
    +
    +    },
    +
    +    /**
    +    * Checks if the tile at the given index exists.
    +    *
    +    * @method Phaser.Tileset#checkTileIndex
    +    * @param {number} index - The index of the tile within the set.
    +    * @return {boolean} True if a tile exists at the given index otherwise false.
    +    */
    +    checkTileIndex: function (index) {
    +
    +        return (this.tiles[index]);
    +
    +    },
    +
    +    /**
    +    * Sets collision values on a range of tiles in the set.
    +    *
    +    * @method Phaser.Tileset#setCollisionRange
    +    * @param {number} start - The index to start setting the collision data on.
    +    * @param {number} stop - The index to stop setting the collision data on.
    +    * @param {boolean} left - Should the tile collide on the left?
    +    * @param {boolean} right - Should the tile collide on the right?
    +    * @param {boolean} up - Should the tile collide on the top?
    +    * @param {boolean} down - Should the tile collide on the bottom?
    +    */
    +    setCollisionRange: function (start, stop, left, right, up, down) {
    +
    +        if (this.tiles[start] && this.tiles[stop] && start < stop)
    +        {
    +            for (var i = start; i <= stop; i++)
    +            {
    +                this.tiles[i].setCollision(left, right, up, down);
    +            }
    +        }
    +
    +    },
    +
    +    /**
    +    * Sets collision values on a tile in the set.
    +    *
    +    * @method Phaser.Tileset#setCollision
    +    * @param {number} index - The index of the tile within the set.
    +    * @param {boolean} left - Should the tile collide on the left?
    +    * @param {boolean} right - Should the tile collide on the right?
    +    * @param {boolean} up - Should the tile collide on the top?
    +    * @param {boolean} down - Should the tile collide on the bottom?
    +    */
    +    setCollision: function (index, left, right, up, down) {
    +
    +        if (this.tiles[index])
    +        {
    +            this.tiles[index].setCollision(left, right, up, down);
    +        }
    +
    +    }
    +
    +}
    +
    +/**
    +* @name Phaser.Tileset#total
    +* @property {number} total - The total number of tiles in this Tileset.
    +* @readonly
    +*/
    +Object.defineProperty(Phaser.Tileset.prototype, "total", {
    +
    +    get: function () {
    +        return this.tiles.length;
    +    }
    +
    +});
    +
    +
    +
    + + + + + +
    + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. + +
    +
    + + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + diff --git a/docs/Time.js.html b/docs/Time.js.html index 8a8d63a6f2..07640993bf 100644 --- a/docs/Time.js.html +++ b/docs/Time.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -403,124 +443,91 @@

    Source: time/Time.js

    this.game = game; /** - * The time at which the Game instance started. - * @property {number} _started + * @property {number} _started - The time at which the Game instance started. * @private - * @default */ this._started = 0; /** - * The time (in ms) that the last second counter ticked over. - * @property {number} _timeLastSecond + * @property {number} _timeLastSecond - The time (in ms) that the last second counter ticked over. * @private - * @default */ this._timeLastSecond = 0; /** - * The time the game started being paused. - * @property {number} _pauseStarted + * @property {number} _pauseStarted - The time the game started being paused. * @private - * @default */ this._pauseStarted = 0; /** - * The elapsed time calculated for the physics motion updates. - * @property {number} physicsElapsed - * @default + * @property {number} physicsElapsed - The elapsed time calculated for the physics motion updates. */ this.physicsElapsed = 0; /** - * Game time counter. - * @property {number} time - * @default + * @property {number} time - Game time counter. */ this.time = 0; /** - * Records how long the game has been paused for. Is reset each time the game pauses. - * @property {number} pausedTime - * @default + * @property {number} pausedTime - Records how long the game has been paused for. Is reset each time the game pauses. */ this.pausedTime = 0; /** - * The time right now. - * @property {number} now - * @default + * @property {number} now - The time right now. */ this.now = 0; /** - * Elapsed time since the last frame. - * @property {number} elapsed - * @default + * @property {number} elapsed - Elapsed time since the last frame. */ this.elapsed = 0; /** - * Frames per second. - * @property {number} fps - * @default + * @property {number} fps - Frames per second. */ this.fps = 0; /** - * The lowest rate the fps has dropped to. - * @property {number} fpsMin - * @default + * @property {number} fpsMin - The lowest rate the fps has dropped to. */ this.fpsMin = 1000; /** - * The highest rate the fps has reached (usually no higher than 60fps). - * @property {number} fpsMax - * @default + * @property {number} fpsMax - The highest rate the fps has reached (usually no higher than 60fps). */ this.fpsMax = 0; /** - * The minimum amount of time the game has taken between two frames. - * @property {number} msMin + * @property {number} msMin - The minimum amount of time the game has taken between two frames. * @default */ this.msMin = 1000; /** - * The maximum amount of time the game has taken between two frames. - * @property {number} msMax - * @default + * @property {number} msMax - The maximum amount of time the game has taken between two frames. */ this.msMax = 0; /** - * The number of frames record in the last second. - * @property {number} frames - * @default + * @property {number} frames - The number of frames record in the last second. */ this.frames = 0; /** - * Records how long the game was paused for in miliseconds. - * @property {number} pauseDuration - * @default + * @property {number} pauseDuration - Records how long the game was paused for in miliseconds. */ this.pauseDuration = 0; /** - * The value that setTimeout needs to work out when to next update - * @property {number} timeToCall - * @default + * @property {number} timeToCall - The value that setTimeout needs to work out when to next update */ this.timeToCall = 0; /** - * Internal value used by timeToCall as part of the setTimeout loop - * @property {number} lastTime - * @default + * @property {number} lastTime - Internal value used by timeToCall as part of the setTimeout loop */ this.lastTime = 0; @@ -529,9 +536,8 @@

    Source: time/Time.js

    this.game.onResume.add(this.gameResumed, this); /** - * Description. - * @property {boolean} _justResumed - * @default + * @property {boolean} _justResumed - Internal value used to recover from the game pause state. + * @private */ this._justResumed = false; @@ -539,15 +545,6 @@

    Source: time/Time.js

    Phaser.Time.prototype = { - /** - * The number of seconds that have elapsed since the game was started. - * @method Phaser.Time#totalElapsedSeconds - * @return {number} - */ - totalElapsedSeconds: function() { - return (this.now - this._started) * 0.001; - }, - /** * Updates the game clock and calculate the fps. This is called automatically by Phaser.Game. * @method Phaser.Time#update @@ -624,6 +621,15 @@

    Source: time/Time.js

    }, + /** + * The number of seconds that have elapsed since the game was started. + * @method Phaser.Time#totalElapsedSeconds + * @return {number} + */ + totalElapsedSeconds: function() { + return (this.now - this._started) * 0.001; + }, + /** * How long has passed since the given time. * @method Phaser.Time#elapsedSince @@ -673,7 +679,7 @@

    Source: time/Time.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Timer.js.html b/docs/Timer.js.html new file mode 100644 index 0000000000..b61fefbe70 --- /dev/null +++ b/docs/Timer.js.html @@ -0,0 +1,601 @@ + + + + + + Phaser Source: time/Timer.js + + + + + + + + + + +
    + + +
    + + +
    + +
    + + + +

    Source: time/Timer.js

    + +
    +
    +
    /**
    +* @author       Richard Davey <rich@photonstorm.com>
    +* @copyright    2013 Photon Storm Ltd.
    +* @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
    +*/
    +
    +/**
    +* Timer constructor.
    +*
    +* @class Phaser.Timer
    +* @classdesc A Timer
    +* @constructor
    +* @param {Phaser.Game} game A reference to the currently running game.
    +*/
    +Phaser.Timer = function (game) {
    +
    +    /**
    +    * @property {Phaser.Game} game - Local reference to game.
    +    */
    +    this.game = game;
    +
    +    /**
    +    * The time at which this Timer instance started.
    +    * @property {number} _started
    +    * @private
    +    * @default
    +    */
    +    this._started = 0;
    +
    +    /**
    +    * The time (in ms) that the last second counter ticked over.
    +    * @property {number} _timeLastSecond
    +    * @private
    +    * @default
    +    */
    +    this._timeLastSecond = 0;
    +
    +    this.running = false;
    +
    +    this.events = [];
    +
    +    this.onEvent = new Phaser.Signal();
    +
    +    //  Need to add custom FPS rate, for now we'll just use seconds
    +
    +}
    +
    +Phaser.Timer.prototype = {
    +
    +    //  delay could be from now, when the timer is created, or relative to an already running timer
    +
    +    // add: function (delay, callback, callbackContext) {
    +    add: function (delay) {
    +
    +        this.events.push({
    +            delay: delay,
    +            dispatched: false,
    +            args: Array.prototype.splice.call(arguments, 1)
    +        });
    +
    +        // this.events.push({
    +        //  delay: delay,
    +        //  dispatched: false,
    +        //  callback: callback,
    +        //  callbackContext: callbackContext,
    +        //  args: Array.prototype.splice.call(arguments, 3)
    +        // });
    +
    +    },
    +
    +    start: function() {
    +
    +        this._started = this.game.time.now;
    +        this.running = true;
    +
    +        //  sort the events based on delay here, also don't run unless events is populated
    +        //  add ability to auto-stop once all events are done
    +        //  add support for maximum duration
    +        //  add support for delay before starting
    +        //  add signals?
    +
    +    },
    +
    +    stop: function() {
    +
    +        this.running = false;
    +        this.events.length = 0;
    +
    +    },
    +
    +    update: function() {
    +
    +        //  TODO: Game Paused support
    +
    +        if (this.running)
    +        {
    +            var seconds = this.seconds();
    +
    +            for (var i = 0, len = this.events.length; i < len; i++)
    +            {
    +                if (this.events[i].dispatched === false && seconds >= this.events[i].delay)
    +                {
    +                    this.events[i].dispatched = true;
    +                    // this.events[i].callback.apply(this.events[i].callbackContext, this.events[i].args);
    +                    this.onEvent.dispatch.apply(this, this.events[i].args);
    +                    //  ought to slice it now
    +                }
    +            }
    +        }
    +
    +    },
    +
    +    seconds: function() {
    +        return (this.game.time.now - this._started) * 0.001;
    +    }
    +
    +}
    +
    +
    + + + + + +
    + +
    +
    + + + + Phaser Copyright © 2012-2013 Photon Storm Ltd. + +
    + + + Documentation generated by JSDoc 3.3.0-dev + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. + +
    +
    + + +
    +
    + +
    + + + + + + + + + + + + + + + + + + + + diff --git a/docs/Touch.js.html b/docs/Touch.js.html index 3e898bc0f4..a03f5f9136 100644 --- a/docs/Touch.js.html +++ b/docs/Touch.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -398,70 +438,102 @@

    Source: input/Touch.js

    Phaser.Touch = function (game) { /** - * @property {Phaser.Game} game - Local reference to game. + * @property {Phaser.Game} game - A reference to the currently running game. */ this.game = game; /** - * You can disable all Input by setting disabled = true. While set all new input related events will be ignored. - * @method Phaser.Touch#disabled + * @property {boolean} disabled - You can disable all Touch events by setting disabled = true. While set all new touch events will be ignored. * @return {boolean} */ this.disabled = false; /** - * @property {Phaser.Game} callbackContext - Description. + * @property {Object} callbackContext - The context under which callbacks are called. */ this.callbackContext = this.game; /** - * @property {Phaser.Game} touchStartCallback - Description. - * @default + * @property {function} touchStartCallback - A callback that can be fired on a touchStart event. */ this.touchStartCallback = null; /** - * @property {Phaser.Game} touchMoveCallback - Description. - * @default + * @property {function} touchMoveCallback - A callback that can be fired on a touchMove event. */ this.touchMoveCallback = null; /** - * @property {Phaser.Game} touchEndCallback - Description. - * @default + * @property {function} touchEndCallback - A callback that can be fired on a touchEnd event. */ this.touchEndCallback = null; /** - * @property {Phaser.Game} touchEnterCallback - Description. - * @default + * @property {function} touchEnterCallback - A callback that can be fired on a touchEnter event. */ this.touchEnterCallback = null; /** - * @property {Phaser.Game} touchLeaveCallback - Description. - * @default + * @property {function} touchLeaveCallback - A callback that can be fired on a touchLeave event. */ this.touchLeaveCallback = null; /** - * @property {Description} touchCancelCallback - Description. - * @default + * @property {function} touchCancelCallback - A callback that can be fired on a touchCancel event. */ this.touchCancelCallback = null; /** - * @property {boolean} preventDefault - Description. + * @property {boolean} preventDefault - If true the TouchEvent will have prevent.default called on it. * @default */ this.preventDefault = true; + /** + * @property {TouchEvent} event - The browser touch event. + */ + this.event = null; + + /** + * @property {function} _onTouchStart - Internal event handler reference. + * @private + */ this._onTouchStart = null; + + /** + * @property {function} _onTouchMove - Internal event handler reference. + * @private + */ this._onTouchMove = null; + + /** + * @property {function} _onTouchEnd - Internal event handler reference. + * @private + */ this._onTouchEnd = null; + + /** + * @property {function} _onTouchEnter - Internal event handler reference. + * @private + */ this._onTouchEnter = null; + + /** + * @property {function} _onTouchLeave - Internal event handler reference. + * @private + */ this._onTouchLeave = null; + + /** + * @property {function} _onTouchCancel - Internal event handler reference. + * @private + */ this._onTouchCancel = null; + + /** + * @property {function} _onTouchMove - Internal event handler reference. + * @private + */ this._onTouchMove = null; }; @@ -527,12 +599,14 @@

    Source: input/Touch.js

    }, /** - * Description. + * The internal method that handles the touchstart event from the browser. * @method Phaser.Touch#onTouchStart - * @param {Any} event + * @param {TouchEvent} event - The native event from the browser. This gets stored in Touch.event. */ onTouchStart: function (event) { + this.event = event; + if (this.touchStartCallback) { this.touchStartCallback.call(this.callbackContext, event); @@ -562,10 +636,12 @@

    Source: input/Touch.js

    * Touch cancel - touches that were disrupted (perhaps by moving into a plugin or browser chrome). * Occurs for example on iOS when you put down 4 fingers and the app selector UI appears. * @method Phaser.Touch#onTouchCancel - * @param {Any} event + * @param {TouchEvent} event - The native event from the browser. This gets stored in Touch.event. */ onTouchCancel: function (event) { + this.event = event; + if (this.touchCancelCallback) { this.touchCancelCallback.call(this.callbackContext, event); @@ -594,10 +670,12 @@

    Source: input/Touch.js

    * For touch enter and leave its a list of the touch points that have entered or left the target. * Doesn't appear to be supported by most browsers on a canvas element yet. * @method Phaser.Touch#onTouchEnter - * @param {Any} event + * @param {TouchEvent} event - The native event from the browser. This gets stored in Touch.event. */ onTouchEnter: function (event) { + this.event = event; + if (this.touchEnterCallback) { this.touchEnterCallback.call(this.callbackContext, event); @@ -613,10 +691,12 @@

    Source: input/Touch.js

    event.preventDefault(); } + /* for (var i = 0; i < event.changedTouches.length; i++) { //console.log('touch enter'); } + */ }, @@ -624,10 +704,12 @@

    Source: input/Touch.js

    * For touch enter and leave its a list of the touch points that have entered or left the target. * Doesn't appear to be supported by most browsers on a canvas element yet. * @method Phaser.Touch#onTouchLeave - * @param {Any} event - */ + * @param {TouchEvent} event - The native event from the browser. This gets stored in Touch.event. + */ onTouchLeave: function (event) { + this.event = event; + if (this.touchLeaveCallback) { this.touchLeaveCallback.call(this.callbackContext, event); @@ -638,20 +720,24 @@

    Source: input/Touch.js

    event.preventDefault(); } + /* for (var i = 0; i < event.changedTouches.length; i++) { //console.log('touch leave'); } + */ }, /** - * Description. + * The handler for the touchmove events. * @method Phaser.Touch#onTouchMove - * @param {Any} event + * @param {TouchEvent} event - The native event from the browser. This gets stored in Touch.event. */ onTouchMove: function (event) { + this.event = event; + if (this.touchMoveCallback) { this.touchMoveCallback.call(this.callbackContext, event); @@ -670,12 +756,14 @@

    Source: input/Touch.js

    }, /** - * Description. + * The handler for the touchend events. * @method Phaser.Touch#onTouchEnd - * @param {Any} event + * @param {TouchEvent} event - The native event from the browser. This gets stored in Touch.event. */ onTouchEnd: function (event) { + this.event = event; + if (this.touchEndCallback) { this.touchEndCallback.call(this.callbackContext, event); @@ -735,7 +823,7 @@

    Source: input/Touch.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Tween.js.html b/docs/Tween.js.html index 7df0af1b23..352a9b051d 100644 --- a/docs/Tween.js.html +++ b/docs/Tween.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -403,7 +443,7 @@

    Source: tween/Tween.js

    * @property {object} _object * @private */ - this._object = object; + this._object = object; /** * @property {Phaser.Game} game - A reference to the currently running Game. @@ -537,7 +577,7 @@

    Source: tween/Tween.js

    // Set all starting values present on the target object for ( var field in object ) { - this._valuesStart[ field ] = parseFloat(object[field], 10); + this._valuesStart[ field ] = parseFloat(object[field], 10); } /** @@ -560,45 +600,45 @@

    Source: tween/Tween.js

    Phaser.Tween.prototype = { - /** - * Configure the Tween - * - * @method Phaser.Tween#to - * @param {object} properties - Properties you want to tween. - * @param {number} duration - Duration of this tween. - * @param {function} ease - Easing function. - * @param {boolean} autoStart - Whether this tween will start automatically or not. - * @param {number} delay - Delay before this tween will start, defaults to 0 (no delay). - * @param {boolean} repeat - Should the tween automatically restart once complete? (ignores any chained tweens). - * @param {Phaser.Tween} yoyo - Description. - * @return {Phaser.Tween} Itself. - */ - to: function ( properties, duration, ease, autoStart, delay, repeat, yoyo ) { - - duration = duration || 1000; - ease = ease || null; - autoStart = autoStart || false; - delay = delay || 0; - repeat = repeat || 0; - yoyo = yoyo || false; - - var self; - if (this._parent) - { - self = this._manager.create(this._object); - this._lastChild.chain(self); - this._lastChild = self; - } - else - { - self = this; - this._parent = this; - this._lastChild = this; - } - - self._repeat = repeat; + /** + * Configure the Tween + * + * @method Phaser.Tween#to + * @param {object} properties - Properties you want to tween. + * @param {number} duration - Duration of this tween. + * @param {function} ease - Easing function. + * @param {boolean} autoStart - Whether this tween will start automatically or not. + * @param {number} delay - Delay before this tween will start, defaults to 0 (no delay). + * @param {boolean} repeat - Should the tween automatically restart once complete? (ignores any chained tweens). + * @param {Phaser.Tween} yoyo - Description. + * @return {Phaser.Tween} Itself. + */ + to: function ( properties, duration, ease, autoStart, delay, repeat, yoyo ) { + + duration = duration || 1000; + ease = ease || null; + autoStart = autoStart || false; + delay = delay || 0; + repeat = repeat || 0; + yoyo = yoyo || false; + + var self; + if (this._parent) + { + self = this._manager.create(this._object); + this._lastChild.chain(self); + this._lastChild = self; + } + else + { + self = this; + this._parent = this; + this._lastChild = this; + } + + self._repeat = repeat; self._duration = duration; - self._valuesEnd = properties; + self._valuesEnd = properties; if (ease !== null) { @@ -618,256 +658,255 @@

    Source: tween/Tween.js

    return this; } - }, + }, - /** - * Starts the tween running. Can also be called by the autoStart parameter of Tween.to. - * - * @method Phaser.Tween#start - * @param {number} time - Description. - * @return {Phaser.Tween} Itself. - */ - start: function ( time ) { + /** + * Starts the tween running. Can also be called by the autoStart parameter of Tween.to. + * + * @method Phaser.Tween#start + * @return {Phaser.Tween} Itself. + */ + start: function () { if (this.game === null || this._object === null) { return; } - this._manager.add(this); + this._manager.add(this); - this.onStart.dispatch(this._object); + this.onStart.dispatch(this._object); this.isRunning = true; - this._onStartCallbackFired = false; + this._onStartCallbackFired = false; this._startTime = this.game.time.now + this._delayTime; - for ( var property in this._valuesEnd ) { + for ( var property in this._valuesEnd ) { - // check if an Array was provided as property value - if ( this._valuesEnd[ property ] instanceof Array ) { + // check if an Array was provided as property value + if ( this._valuesEnd[ property ] instanceof Array ) { - if ( this._valuesEnd[ property ].length === 0 ) { + if ( this._valuesEnd[ property ].length === 0 ) { - continue; + continue; - } + } - // create a local copy of the Array with the start value at the front - this._valuesEnd[ property ] = [ this._object[ property ] ].concat( this._valuesEnd[ property ] ); + // create a local copy of the Array with the start value at the front + this._valuesEnd[ property ] = [ this._object[ property ] ].concat( this._valuesEnd[ property ] ); - } + } - this._valuesStart[ property ] = this._object[ property ]; + this._valuesStart[ property ] = this._object[ property ]; - if ( ( this._valuesStart[ property ] instanceof Array ) === false ) { - this._valuesStart[ property ] *= 1.0; // Ensures we're using numbers, not strings - } + if ( ( this._valuesStart[ property ] instanceof Array ) === false ) { + this._valuesStart[ property ] *= 1.0; // Ensures we're using numbers, not strings + } - this._valuesStartRepeat[ property ] = this._valuesStart[ property ] || 0; + this._valuesStartRepeat[ property ] = this._valuesStart[ property ] || 0; - } + } - return this; + return this; - }, + }, - /** - * Stops the tween if running and removes it from the TweenManager. If there are any onComplete callbacks or events they are not dispatched. - * - * @method Phaser.Tween#stop - * @return {Phaser.Tween} Itself. - */ - stop: function () { + /** + * Stops the tween if running and removes it from the TweenManager. If there are any onComplete callbacks or events they are not dispatched. + * + * @method Phaser.Tween#stop + * @return {Phaser.Tween} Itself. + */ + stop: function () { this.isRunning = false; - this._manager.remove(this); - - return this; - - }, - - /** - * Sets a delay time before this tween will start. - * - * @method Phaser.Tween#delay - * @param {number} amount - The amount of the delay in ms. - * @return {Phaser.Tween} Itself. - */ - delay: function ( amount ) { - - this._delayTime = amount; - return this; - - }, - - /** - * Sets the number of times this tween will repeat. - * - * @method Phaser.Tween#repeat - * @param {number} times - How many times to repeat. - * @return {Phaser.Tween} Itself. - */ - repeat: function ( times ) { - - this._repeat = times; - return this; - - }, - - /** - * A tween that has yoyo set to true will run through from start to finish, then reverse from finish to start. - * Used in combination with repeat you can create endless loops. - * - * @method Phaser.Tween#yoyo - * @param {boolean} yoyo - Set to true to yoyo this tween. - * @return {Phaser.Tween} Itself. - */ - yoyo: function( yoyo ) { - - this._yoyo = yoyo; - return this; - - }, - - /** - * Set easing function this tween will use, i.e. Phaser.Easing.Linear.None. - * - * @method Phaser.Tween#easing - * @param {function} easing - The easing function this tween will use, i.e. Phaser.Easing.Linear.None. - * @return {Phaser.Tween} Itself. - */ - easing: function ( easing ) { - - this._easingFunction = easing; - return this; - - }, - - /** - * Set interpolation function the tween will use, by default it uses Phaser.Math.linearInterpolation. - * - * @method Phaser.Tween#interpolation - * @param {function} interpolation - The interpolation function to use (Phaser.Math.linearInterpolation by default) - * @return {Phaser.Tween} Itself. - */ - interpolation: function ( interpolation ) { - - this._interpolationFunction = interpolation; - return this; - - }, - - /** - * You can chain tweens together by passing a reference to the chain function. This enables one tween to call another on completion. - * You can pass as many tweens as you like to this function, they will each be chained in sequence. - * - * @method Phaser.Tween#chain - * @return {Phaser.Tween} Itself. - */ - chain: function () { - - this._chainedTweens = arguments; - return this; - - }, - - /** - * Loop a chain of tweens - * - * Usage: - * game.add.tween(p).to({ x: 700 }, 1000, Phaser.Easing.Linear.None, true) - * .to({ y: 300 }, 1000, Phaser.Easing.Linear.None) - * .to({ x: 0 }, 1000, Phaser.Easing.Linear.None) - * .to({ y: 0 }, 1000, Phaser.Easing.Linear.None) - * .loop(); - * @method Phaser.Tween#loop - * @return {Phaser.Tween} Itself. - */ - loop: function() { - - this._lastChild.chain(this); - return this; - - }, - - /** - * Sets a callback to be fired when the tween starts. Note: callback will be called in the context of the global scope. - * - * @method Phaser.Tween#onStartCallback - * @param {function} callback - The callback to invoke on start. - * @return {Phaser.Tween} Itself. - */ - onStartCallback: function ( callback ) { - - this._onStartCallback = callback; - return this; - - }, - - /** - * Sets a callback to be fired each time this tween updates. Note: callback will be called in the context of the global scope. - * - * @method Phaser.Tween#onUpdateCallback - * @param {function} callback - The callback to invoke each time this tween is updated. - * @return {Phaser.Tween} Itself. - */ - onUpdateCallback: function ( callback ) { - - this._onUpdateCallback = callback; - return this; - - }, - - /** - * Sets a callback to be fired when the tween completes. Note: callback will be called in the context of the global scope. - * - * @method Phaser.Tween#onCompleteCallback - * @param {function} callback - The callback to invoke on completion. - * @return {Phaser.Tween} Itself. - */ - onCompleteCallback: function ( callback ) { - - this._onCompleteCallback = callback; - return this; - - }, - - /** - * Pauses the tween. - * - * @method Phaser.Tween#pause - */ + this._manager.remove(this); + + return this; + + }, + + /** + * Sets a delay time before this tween will start. + * + * @method Phaser.Tween#delay + * @param {number} amount - The amount of the delay in ms. + * @return {Phaser.Tween} Itself. + */ + delay: function ( amount ) { + + this._delayTime = amount; + return this; + + }, + + /** + * Sets the number of times this tween will repeat. + * + * @method Phaser.Tween#repeat + * @param {number} times - How many times to repeat. + * @return {Phaser.Tween} Itself. + */ + repeat: function ( times ) { + + this._repeat = times; + return this; + + }, + + /** + * A tween that has yoyo set to true will run through from start to finish, then reverse from finish to start. + * Used in combination with repeat you can create endless loops. + * + * @method Phaser.Tween#yoyo + * @param {boolean} yoyo - Set to true to yoyo this tween. + * @return {Phaser.Tween} Itself. + */ + yoyo: function( yoyo ) { + + this._yoyo = yoyo; + return this; + + }, + + /** + * Set easing function this tween will use, i.e. Phaser.Easing.Linear.None. + * + * @method Phaser.Tween#easing + * @param {function} easing - The easing function this tween will use, i.e. Phaser.Easing.Linear.None. + * @return {Phaser.Tween} Itself. + */ + easing: function ( easing ) { + + this._easingFunction = easing; + return this; + + }, + + /** + * Set interpolation function the tween will use, by default it uses Phaser.Math.linearInterpolation. + * + * @method Phaser.Tween#interpolation + * @param {function} interpolation - The interpolation function to use (Phaser.Math.linearInterpolation by default) + * @return {Phaser.Tween} Itself. + */ + interpolation: function ( interpolation ) { + + this._interpolationFunction = interpolation; + return this; + + }, + + /** + * You can chain tweens together by passing a reference to the chain function. This enables one tween to call another on completion. + * You can pass as many tweens as you like to this function, they will each be chained in sequence. + * + * @method Phaser.Tween#chain + * @return {Phaser.Tween} Itself. + */ + chain: function () { + + this._chainedTweens = arguments; + return this; + + }, + + /** + * Loop a chain of tweens + * + * Usage: + * game.add.tween(p).to({ x: 700 }, 1000, Phaser.Easing.Linear.None, true) + * .to({ y: 300 }, 1000, Phaser.Easing.Linear.None) + * .to({ x: 0 }, 1000, Phaser.Easing.Linear.None) + * .to({ y: 0 }, 1000, Phaser.Easing.Linear.None) + * .loop(); + * @method Phaser.Tween#loop + * @return {Phaser.Tween} Itself. + */ + loop: function() { + + this._lastChild.chain(this); + return this; + + }, + + /** + * Sets a callback to be fired when the tween starts. Note: callback will be called in the context of the global scope. + * + * @method Phaser.Tween#onStartCallback + * @param {function} callback - The callback to invoke on start. + * @return {Phaser.Tween} Itself. + */ + onStartCallback: function ( callback ) { + + this._onStartCallback = callback; + return this; + + }, + + /** + * Sets a callback to be fired each time this tween updates. Note: callback will be called in the context of the global scope. + * + * @method Phaser.Tween#onUpdateCallback + * @param {function} callback - The callback to invoke each time this tween is updated. + * @return {Phaser.Tween} Itself. + */ + onUpdateCallback: function ( callback ) { + + this._onUpdateCallback = callback; + return this; + + }, + + /** + * Sets a callback to be fired when the tween completes. Note: callback will be called in the context of the global scope. + * + * @method Phaser.Tween#onCompleteCallback + * @param {function} callback - The callback to invoke on completion. + * @return {Phaser.Tween} Itself. + */ + onCompleteCallback: function ( callback ) { + + this._onCompleteCallback = callback; + return this; + + }, + + /** + * Pauses the tween. + * + * @method Phaser.Tween#pause + */ pause: function () { this._paused = true; this._pausedTime = this.game.time.now; }, - /** - * Resumes a paused tween. - * - * @method Phaser.Tween#resume - */ + /** + * Resumes a paused tween. + * + * @method Phaser.Tween#resume + */ resume: function () { this._paused = false; this._startTime += (this.game.time.now - this._pausedTime); }, - /** - * Core tween update function called by the TweenManager. Does not need to be invoked directly. - * - * @method Phaser.Tween#update - * @param {number} time - A timestamp passed in by the TweenManager. - * @return {boolean} false if the tween has completed and should be deleted from the manager, otherwise true (still active). - */ - update: function ( time ) { + /** + * Core tween update function called by the TweenManager. Does not need to be invoked directly. + * + * @method Phaser.Tween#update + * @param {number} time - A timestamp passed in by the TweenManager. + * @return {boolean} false if the tween has completed and should be deleted from the manager, otherwise true (still active). + */ + update: function ( time ) { - if (this.pendingDelete) - { - return false; - } + if (this.pendingDelete) + { + return false; + } if (this._paused || time < this._startTime) { @@ -875,121 +914,122 @@

    Source: tween/Tween.js

    } - var property; + var property; - if ( time < this._startTime ) { + if ( time < this._startTime ) { - return true; + return true; - } + } - if ( this._onStartCallbackFired === false ) { + if ( this._onStartCallbackFired === false ) { - if ( this._onStartCallback !== null ) { + if ( this._onStartCallback !== null ) { - this._onStartCallback.call( this._object ); + this._onStartCallback.call( this._object ); - } + } - this._onStartCallbackFired = true; + this._onStartCallbackFired = true; - } + } - var elapsed = ( time - this._startTime ) / this._duration; - elapsed = elapsed > 1 ? 1 : elapsed; + var elapsed = ( time - this._startTime ) / this._duration; + elapsed = elapsed > 1 ? 1 : elapsed; - var value = this._easingFunction( elapsed ); + var value = this._easingFunction( elapsed ); - for ( property in this._valuesEnd ) { + for ( property in this._valuesEnd ) { - var start = this._valuesStart[ property ] || 0; - var end = this._valuesEnd[ property ]; + var start = this._valuesStart[ property ] || 0; + var end = this._valuesEnd[ property ]; - if ( end instanceof Array ) { + if ( end instanceof Array ) { - this._object[ property ] = this._interpolationFunction( end, value ); + this._object[ property ] = this._interpolationFunction( end, value ); - } else { + } else { // Parses relative end values with start as base (e.g.: +10, -3) - if ( typeof(end) === "string" ) { - end = start + parseFloat(end, 10); - } + if ( typeof(end) === "string" ) { + end = start + parseFloat(end, 10); + } - // protect against non numeric properties. + // protect against non numeric properties. if ( typeof(end) === "number" ) { - this._object[ property ] = start + ( end - start ) * value; - } + this._object[ property ] = start + ( end - start ) * value; + } - } + } - } + } - if ( this._onUpdateCallback !== null ) { + if ( this._onUpdateCallback !== null ) { - this._onUpdateCallback.call( this._object, value ); + this._onUpdateCallback.call( this._object, value ); - } + } - if ( elapsed == 1 ) { + if ( elapsed == 1 ) { - if ( this._repeat > 0 ) { + if ( this._repeat > 0 ) { - if ( isFinite( this._repeat ) ) { - this._repeat--; - } + if ( isFinite( this._repeat ) ) { + this._repeat--; + } - // reassign starting values, restart by making startTime = now - for ( property in this._valuesStartRepeat ) { + // reassign starting values, restart by making startTime = now + for ( property in this._valuesStartRepeat ) { - if ( typeof( this._valuesEnd[ property ] ) === "string" ) { - this._valuesStartRepeat[ property ] = this._valuesStartRepeat[ property ] + parseFloat(this._valuesEnd[ property ], 10); - } + if ( typeof( this._valuesEnd[ property ] ) === "string" ) { + this._valuesStartRepeat[ property ] = this._valuesStartRepeat[ property ] + parseFloat(this._valuesEnd[ property ], 10); + } - if (this._yoyo) { - var tmp = this._valuesStartRepeat[ property ]; - this._valuesStartRepeat[ property ] = this._valuesEnd[ property ]; - this._valuesEnd[ property ] = tmp; - this._reversed = !this._reversed; - } - this._valuesStart[ property ] = this._valuesStartRepeat[ property ]; + if (this._yoyo) { + var tmp = this._valuesStartRepeat[ property ]; + this._valuesStartRepeat[ property ] = this._valuesEnd[ property ]; + this._valuesEnd[ property ] = tmp; + this._reversed = !this._reversed; + } + this._valuesStart[ property ] = this._valuesStartRepeat[ property ]; - } + } - this._startTime = time + this._delayTime; + this._startTime = time + this._delayTime; - this.onComplete.dispatch(this._object); + this.onComplete.dispatch(this._object); - if ( this._onCompleteCallback !== null ) { - this._onCompleteCallback.call( this._object ); - } + if ( this._onCompleteCallback !== null ) { + this._onCompleteCallback.call( this._object ); + } - return true; + return true; - } else { + } else { - this.onComplete.dispatch(this._object); + this.isRunning = false; + this.onComplete.dispatch(this._object); - if ( this._onCompleteCallback !== null ) { - this._onCompleteCallback.call( this._object ); - } + if ( this._onCompleteCallback !== null ) { + this._onCompleteCallback.call( this._object ); + } - for ( var i = 0, numChainedTweens = this._chainedTweens.length; i < numChainedTweens; i ++ ) { + for ( var i = 0, numChainedTweens = this._chainedTweens.length; i < numChainedTweens; i ++ ) { - this._chainedTweens[ i ].start( time ); + this._chainedTweens[ i ].start( time ); - } + } - return false; + return false; - } + } - } + } - return true; + return true; - } - + } + }; @@ -1012,7 +1052,7 @@

    Source: tween/Tween.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/TweenManager.js.html b/docs/TweenManager.js.html index d5ebbb4b97..b705ba693e 100644 --- a/docs/TweenManager.js.html +++ b/docs/TweenManager.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -405,180 +445,183 @@

    Source: tween/TweenManager.js

    */ Phaser.TweenManager = function (game) { - /** - * @property {Phaser.Game} game - Local reference to game. - */ - this.game = game; - - /** - * @property {array} _tweens - Description. - * @private - */ - this._tweens = []; - - /** - * @property {array} _add - Description. - * @private - */ - this._add = []; + /** + * @property {Phaser.Game} game - Local reference to game. + */ + this.game = game; + + /** + * @property {array} _tweens - Description. + * @private + */ + this._tweens = []; + + /** + * @property {array} _add - Description. + * @private + */ + this._add = []; - this.game.onPause.add(this.pauseAll, this); - this.game.onResume.add(this.resumeAll, this); + this.game.onPause.add(this.pauseAll, this); + this.game.onResume.add(this.resumeAll, this); }; Phaser.TweenManager.prototype = { - /** - * Version number of this library. - * @property {string} REVISION - * @default - */ - REVISION: '11dev', - - /** - * Get all the tween objects in an array. - * @method Phaser.TweenManager#getAll - * @returns {Phaser.Tween[]} Array with all tween objects. - */ - getAll: function () { - - return this._tweens; - - }, - - /** - * Remove all tween objects. - * @method Phaser.TweenManager#removeAll - */ - removeAll: function () { - - this._tweens = []; - - }, - - /** - * Add a new tween into the TweenManager. - * - * @method Phaser.TweenManager#add - * @param {Phaser.Tween} tween - The tween object you want to add. - * @returns {Phaser.Tween} The tween object you added to the manager. - */ - add: function ( tween ) { - - this._add.push( tween ); - - }, - - /** - * Create a tween object for a specific object. The object can be any JavaScript object or Phaser object such as Sprite. - * - * @method Phaser.TweenManager#create - * @param {Object} object - Object the tween will be run on. - * @returns {Phaser.Tween} The newly created tween object. - */ + /** + * Version number of this library. + * @property {string} REVISION + * @default + */ + REVISION: '11dev', + + /** + * Get all the tween objects in an array. + * @method Phaser.TweenManager#getAll + * @returns {Phaser.Tween[]} Array with all tween objects. + */ + getAll: function () { + + return this._tweens; + + }, + + /** + * Remove all tween objects. + * @method Phaser.TweenManager#removeAll + */ + removeAll: function () { + + this._tweens = []; + + }, + + /** + * Add a new tween into the TweenManager. + * + * @method Phaser.TweenManager#add + * @param {Phaser.Tween} tween - The tween object you want to add. + * @returns {Phaser.Tween} The tween object you added to the manager. + */ + add: function ( tween ) { + + this._add.push( tween ); + + }, + + /** + * Create a tween object for a specific object. The object can be any JavaScript object or Phaser object such as Sprite. + * + * @method Phaser.TweenManager#create + * @param {Object} object - Object the tween will be run on. + * @returns {Phaser.Tween} The newly created tween object. + */ create: function (object) { return new Phaser.Tween(object, this.game); }, - /** - * Remove a tween from this manager. - * - * @method Phaser.TweenManager#remove - * @param {Phaser.Tween} tween - The tween object you want to remove. - */ - remove: function ( tween ) { + /** + * Remove a tween from this manager. + * + * @method Phaser.TweenManager#remove + * @param {Phaser.Tween} tween - The tween object you want to remove. + */ + remove: function ( tween ) { - var i = this._tweens.indexOf( tween ); + var i = this._tweens.indexOf( tween ); - if ( i !== -1 ) { + if ( i !== -1 ) { - this._tweens[i].pendingDelete = true; + this._tweens[i].pendingDelete = true; - } + } - }, + }, - /** - * Update all the tween objects you added to this manager. - * - * @method Phaser.TweenManager#update - * @returns {boolean} Return false if there's no tween to update, otherwise return true. - */ - update: function () { + /** + * Update all the tween objects you added to this manager. + * + * @method Phaser.TweenManager#update + * @returns {boolean} Return false if there's no tween to update, otherwise return true. + */ + update: function () { - if ( this._tweens.length === 0 && this._add.length === 0 ) return false; + if ( this._tweens.length === 0 && this._add.length === 0 ) + { + return false; + } - var i = 0; - var numTweens = this._tweens.length; + var i = 0; + var numTweens = this._tweens.length; - while ( i < numTweens ) { + while ( i < numTweens ) { - if ( this._tweens[ i ].update( this.game.time.now ) ) { + if ( this._tweens[ i ].update( this.game.time.now ) ) { - i++; + i++; - } else { + } else { - this._tweens.splice( i, 1 ); + this._tweens.splice( i, 1 ); - numTweens--; + numTweens--; - } + } - } + } - // If there are any new tweens to be added, do so now - otherwise they can be spliced out of the array before ever running - if (this._add.length > 0) - { - this._tweens = this._tweens.concat(this._add); - this._add.length = 0; - } + // If there are any new tweens to be added, do so now - otherwise they can be spliced out of the array before ever running + if (this._add.length > 0) + { + this._tweens = this._tweens.concat(this._add); + this._add.length = 0; + } - return true; + return true; - }, + }, - /** - * Checks to see if a particular Sprite is currently being tweened. - * - * @method Phaser.TweenManager#isTweening - * @param {object} object - The object to check for tweens against. - * @returns {boolean} Returns true if the object is currently being tweened, false if not. - */ - isTweening: function(object) { + /** + * Checks to see if a particular Sprite is currently being tweened. + * + * @method Phaser.TweenManager#isTweening + * @param {object} object - The object to check for tweens against. + * @returns {boolean} Returns true if the object is currently being tweened, false if not. + */ + isTweening: function(object) { - return this._tweens.some(function(tween) { - return tween._object === object; - }); + return this._tweens.some(function(tween) { + return tween._object === object; + }); - }, + }, - /** - * Pauses all currently running tweens. - * - * @method Phaser.TweenManager#update - */ - pauseAll: function () { + /** + * Pauses all currently running tweens. + * + * @method Phaser.TweenManager#update + */ + pauseAll: function () { - for (var i = this._tweens.length - 1; i >= 0; i--) { - this._tweens[i].pause(); - }; + for (var i = this._tweens.length - 1; i >= 0; i--) { + this._tweens[i].pause(); + } }, - /** - * Pauses all currently paused tweens. - * - * @method Phaser.TweenManager#resumeAll - */ - resumeAll: function () { + /** + * Pauses all currently paused tweens. + * + * @method Phaser.TweenManager#resumeAll + */ + resumeAll: function () { - for (var i = this._tweens.length - 1; i >= 0; i--) { - this._tweens[i].resume(); - }; + for (var i = this._tweens.length - 1; i >= 0; i--) { + this._tweens[i].resume(); + } } @@ -603,7 +646,7 @@

    Source: tween/TweenManager.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/Utils.js.html b/docs/Utils.js.html index f70c481d39..4dd4ef8d66 100644 --- a/docs/Utils.js.html +++ b/docs/Utils.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -381,7 +421,9 @@

    Source: utils/Utils.js

    -
    /**
    +            
    /* jshint supernew: true */
    +
    +/**
     * @author       Richard Davey <rich@photonstorm.com>
     * @copyright    2013 Photon Storm Ltd.
     * @license      {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License}
    @@ -392,67 +434,69 @@ 

    Source: utils/Utils.js

    * @static */ Phaser.Utils = { - - /** - * A standard Fisher-Yates Array shuffle implementation. - * @method Phaser.Utils.shuffle - * @param {array} array - The array to shuffle. - * @return {array} The shuffled array. - */ - shuffle: function (array) { - - for (var i = array.length - 1; i > 0; i--) - { - var j = Math.floor(Math.random() * (i + 1)); - var temp = array[i]; - array[i] = array[j]; - array[j] = temp; - } - - return array; - - }, - - /** - * Javascript string pad http://www.webtoolkit.info/. - * pad = the string to pad it out with (defaults to a space) - * dir = 1 (left), 2 (right), 3 (both) - * @method Phaser.Utils.pad - * @param {string} str - The target string. - * @param {number} len - Description. - * @param {number} pad - the string to pad it out with (defaults to a space). - * @param {number} [dir=3] the direction dir = 1 (left), 2 (right), 3 (both). - * @return {string} The padded string - */ - pad: function (str, len, pad, dir) { - - if (typeof(len) == "undefined") { var len = 0; } - if (typeof(pad) == "undefined") { var pad = ' '; } - if (typeof(dir) == "undefined") { var dir = 3; } - - if (len + 1 >= str.length) - { - switch (dir) - { - case 1: - str = Array(len + 1 - str.length).join(pad) + str; - break; - - case 3: - var right = Math.ceil((padlen = len - str.length) / 2); - var left = padlen - right; - str = Array(left+1).join(pad) + str + Array(right+1).join(pad); - break; - - default: - str = str + Array(len + 1 - str.length).join(pad); - break; - } - } - - return str; - - }, + + /** + * A standard Fisher-Yates Array shuffle implementation. + * @method Phaser.Utils.shuffle + * @param {array} array - The array to shuffle. + * @return {array} The shuffled array. + */ + shuffle: function (array) { + + for (var i = array.length - 1; i > 0; i--) + { + var j = Math.floor(Math.random() * (i + 1)); + var temp = array[i]; + array[i] = array[j]; + array[j] = temp; + } + + return array; + + }, + + /** + * Javascript string pad http://www.webtoolkit.info/. + * pad = the string to pad it out with (defaults to a space) + * dir = 1 (left), 2 (right), 3 (both) + * @method Phaser.Utils.pad + * @param {string} str - The target string. + * @param {number} len - Description. + * @param {number} pad - the string to pad it out with (defaults to a space). + * @param {number} [dir=3] the direction dir = 1 (left), 2 (right), 3 (both). + * @return {string} The padded string + */ + pad: function (str, len, pad, dir) { + + if (typeof(len) == "undefined") { var len = 0; } + if (typeof(pad) == "undefined") { var pad = ' '; } + if (typeof(dir) == "undefined") { var dir = 3; } + + var padlen = 0; + + if (len + 1 >= str.length) + { + switch (dir) + { + case 1: + str = Array(len + 1 - str.length).join(pad) + str; + break; + + case 3: + var right = Math.ceil((padlen = len - str.length) / 2); + var left = padlen - right; + str = Array(left+1).join(pad) + str + Array(right+1).join(pad); + break; + + default: + str = str + Array(len + 1 - str.length).join(pad); + break; + } + } + + return str; + + }, /** * This is a slightly modified version of jQuery.isPlainObject. A plain object is an object whose internal class property is [object Object]. @@ -460,41 +504,41 @@

    Source: utils/Utils.js

    * @param {object} obj - The object to inspect. * @return {boolean} - true if the object is plain, otherwise false. */ - isPlainObject: function (obj) { - - // Not plain objects: - // - Any object or value whose internal [[Class]] property is not "[object Object]" - // - DOM nodes - // - window - if (typeof(obj) !== "object" || obj.nodeType || obj === obj.window) - { - return false; - } - - // Support: Firefox <20 - // The try/catch suppresses exceptions thrown when attempting to access - // the "constructor" property of certain host objects, ie. |window.location| - // https://bugzilla.mozilla.org/show_bug.cgi?id=814622 - try { - if (obj.constructor && !hasOwn.call(obj.constructor.prototype, "isPrototypeOf")) - { - return false; - } - } catch (e) { - return false; - } - - // If the function hasn't returned already, we're confident that - // |obj| is a plain object, created by {} or constructed with new Object - return true; - }, - - - // deep, target, objects to copy to the target object - // This is a slightly modified version of {@link http://api.jquery.com/jQuery.extend/|jQuery.extend} - // deep (boolean) - // target (object to add to) - // objects ... (objects to recurse and copy from) + isPlainObject: function (obj) { + + // Not plain objects: + // - Any object or value whose internal [[Class]] property is not "[object Object]" + // - DOM nodes + // - window + if (typeof(obj) !== "object" || obj.nodeType || obj === obj.window) + { + return false; + } + + // Support: Firefox <20 + // The try/catch suppresses exceptions thrown when attempting to access + // the "constructor" property of certain host objects, ie. |window.location| + // https://bugzilla.mozilla.org/show_bug.cgi?id=814622 + try { + if (obj.constructor && !hasOwn.call(obj.constructor.prototype, "isPrototypeOf")) + { + return false; + } + } catch (e) { + return false; + } + + // If the function hasn't returned already, we're confident that + // |obj| is a plain object, created by {} or constructed with new Object + return true; + }, + + + // deep, target, objects to copy to the target object + // This is a slightly modified version of {@link http://api.jquery.com/jQuery.extend/|jQuery.extend} + // deep (boolean) + // target (object to add to) + // objects ... (objects to recurse and copy from) /** * This is a slightly modified version of http://api.jquery.com/jQuery.extend/ @@ -503,117 +547,162 @@

    Source: utils/Utils.js

    * @param {object} target - The target object to copy to. * @return {object} The extended object. */ - extend: function () { - - var options, name, src, copy, copyIsArray, clone, - target = arguments[0] || {}, - i = 1, - length = arguments.length, - deep = false; - - // Handle a deep copy situation - if (typeof target === "boolean") - { - deep = target; - target = arguments[1] || {}; - // skip the boolean and the target - i = 2; - } - - // extend Phaser if only one argument is passed - if (length === i) - { - target = this; - --i; - } - - for ( ; i < length; i++ ) - { - // Only deal with non-null/undefined values - if ((options = arguments[i]) != null) - { - // Extend the base object - for (name in options) - { - src = target[name]; - copy = options[name]; - - // Prevent never-ending loop - if (target === copy) - { - continue; - } - - // Recurse if we're merging plain objects or arrays - if (deep && copy && (Phaser.Utils.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) - { - if (copyIsArray) - { - copyIsArray = false; - clone = src && Array.isArray(src) ? src : []; - } - else - { - clone = src && Phaser.Utils.isPlainObject(src) ? src : {}; - } - - // Never move original objects, clone them - target[name] = Phaser.Utils.extend(deep, clone, copy); - - // Don't bring in undefined values - } - else if (copy !== undefined) - { - target[name] = copy; - } - } - } - } - - // Return the modified object - return target; - } + extend: function () { + + var options, name, src, copy, copyIsArray, clone, + target = arguments[0] || {}, + i = 1, + length = arguments.length, + deep = false; + + // Handle a deep copy situation + if (typeof target === "boolean") + { + deep = target; + target = arguments[1] || {}; + // skip the boolean and the target + i = 2; + } + + // extend Phaser if only one argument is passed + if (length === i) + { + target = this; + --i; + } + + for ( ; i < length; i++ ) + { + // Only deal with non-null/undefined values + if ((options = arguments[i]) != null) + { + // Extend the base object + for (name in options) + { + src = target[name]; + copy = options[name]; + + // Prevent never-ending loop + if (target === copy) + { + continue; + } + + // Recurse if we're merging plain objects or arrays + if (deep && copy && (Phaser.Utils.isPlainObject(copy) || (copyIsArray = Array.isArray(copy)))) + { + if (copyIsArray) + { + copyIsArray = false; + clone = src && Array.isArray(src) ? src : []; + } + else + { + clone = src && Phaser.Utils.isPlainObject(src) ? src : {}; + } + + // Never move original objects, clone them + target[name] = Phaser.Utils.extend(deep, clone, copy); + + // Don't bring in undefined values + } + else if (copy !== undefined) + { + target[name] = copy; + } + } + } + } + + // Return the modified object + return target; + } }; -// Global functions that PIXI needs +// Global functions that PIXI needs + +(function() { + var consoleDisabled = false; + if (consoleDisabled) { + window.console = undefined; + } + if (window.console === undefined) { + window.console = { + debug: function() { + return true; + }, + info: function() { + return false; + }, + warn: function() { + return false; + }, + log: function() { + return false; + } + } + } + debug = (function(args) { + window.console.debug(args); + }); + info = (function(args) { + window.console.info(args); + }); + warn = (function(args) { + window.console.warn(args); + }); + log = (function(args) { + window.console.log(args); + }); +})(); - /** - * Converts a hex color number to an [R, G, B] array - * - * @param {number} hex - * @return {array} - */ +/** +* Converts a hex color number to an [R, G, B] array +* +* @param {number} hex +* @return {array} +*/ function HEXtoRGB(hex) { - return [(hex >> 16 & 0xFF) / 255, ( hex >> 8 & 0xFF) / 255, (hex & 0xFF)/ 255]; + return [(hex >> 16 & 0xFF) / 255, ( hex >> 8 & 0xFF) / 255, (hex & 0xFF)/ 255]; } - /** - * A polyfill for Function.prototype.bind - */ +/** +* A polyfill for Function.prototype.bind +*/ if (typeof Function.prototype.bind != 'function') { - Function.prototype.bind = (function () { - var slice = Array.prototype.slice; - return function (thisArg) { - var target = this, boundArgs = slice.call(arguments, 1); + + Function.prototype.bind = (function () { + + var slice = Array.prototype.slice; + + return function (thisArg) { + + var target = this, boundArgs = slice.call(arguments, 1); - if (typeof target != 'function') throw new TypeError(); + if (typeof target != 'function') + { + throw new TypeError(); + } - function bound() { - var args = boundArgs.concat(slice.call(arguments)); - target.apply(this instanceof bound ? this : thisArg, args); - } + function bound() { + var args = boundArgs.concat(slice.call(arguments)); + target.apply(this instanceof bound ? this : thisArg, args); + } - bound.prototype = (function F(proto) { - proto && (F.prototype = proto); - if (!(this instanceof F)) return new F; - })(target.prototype); + bound.prototype = (function F(proto) { + proto && (F.prototype = proto); + + if (!(this instanceof F)) + { + return new F; + } + })(target.prototype); - return bound; - }; - })(); + return bound; + }; + })(); } -
    @@ -635,7 +724,7 @@

    Source: utils/Utils.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/World.js.html b/docs/World.js.html index 3bbdfea7b0..94cc8e927f 100644 --- a/docs/World.js.html +++ b/docs/World.js.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -404,7 +444,7 @@

    Source: core/World.js

    /** * @property {Phaser.Point} scale - Replaces the PIXI.Point with a slightly more flexible one. - */ + */ this.scale = new Phaser.Point(1, 1); /** @@ -412,20 +452,20 @@

    Source: core/World.js

    * By default we set the Bounds to be from 0,0 to Game.width,Game.height. I.e. it will match the size given to the game constructor with 0,0 representing the top-left of the display. * However 0,0 is actually the center of the world, and if you rotate or scale the world all of that will happen from 0,0. * So if you want to make a game in which the world itself will rotate you should adjust the bounds so that 0,0 is the center point, i.e. set them to -1000,-1000,2000,2000 for a 2000x2000 sized world centered around 0,0. - * @property {Phaser.Rectangle} bounds - Bound of this world that objects can not escape from. - */ - this.bounds = new Phaser.Rectangle(0, 0, game.width, game.height); + * @property {Phaser.Rectangle} bounds - Bound of this world that objects can not escape from. + */ + this.bounds = new Phaser.Rectangle(0, 0, game.width, game.height); /** - * @property {Phaser.Camera} camera - Camera instance. - */ - this.camera = null; + * @property {Phaser.Camera} camera - Camera instance. + */ + this.camera = null; /** - * @property {number} currentRenderOrderID - Reset each frame, keeps a count of the total number of objects updated. - */ - this.currentRenderOrderID = 0; - + * @property {number} currentRenderOrderID - Reset each frame, keeps a count of the total number of objects updated. + */ + this.currentRenderOrderID = 0; + }; Phaser.World.prototype = Object.create(Phaser.Group.prototype); @@ -454,28 +494,39 @@

    Source: core/World.js

    */ Phaser.World.prototype.update = function () { - this.currentRenderOrderID = 0; + this.currentRenderOrderID = 0; + + if (this.game.stage._stage.first._iNext) + { + var currentNode = this.game.stage._stage.first._iNext; + var skipChildren; + + do + { + skipChildren = false; + + if (currentNode['preUpdate']) + { + skipChildren = (currentNode.preUpdate() === false); + } - if (this.game.stage._stage.first._iNext) - { - var currentNode = this.game.stage._stage.first._iNext; - - do - { - if (currentNode['preUpdate']) - { - currentNode.preUpdate(); - } - - if (currentNode['update']) - { - currentNode.update(); - } - - currentNode = currentNode._iNext; - } - while (currentNode != this.game.stage._stage.last._iNext) - } + if (currentNode['update']) + { + skipChildren = (currentNode.update() === false) || skipChildren; + } + + if (skipChildren) + { + currentNode = currentNode.last._iNext; + } + else + { + currentNode = currentNode._iNext; + } + + } + while (currentNode != this.game.stage._stage.last._iNext) + } } @@ -485,13 +536,11 @@

    Source: core/World.js

    */ Phaser.World.prototype.postUpdate = function () { - this.camera.update(); - if (this.game.stage._stage.first._iNext) { var currentNode = this.game.stage._stage.first._iNext; - do + do { if (currentNode['postUpdate']) { @@ -503,6 +552,7 @@

    Source: core/World.js

    while (currentNode != this.game.stage._stage.last._iNext) } + this.camera.update(); } /** @@ -678,7 +728,7 @@

    Source: core/World.js

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/classes.list.html b/docs/classes.list.html index c9a4e61ba1..6dc2e9d420 100644 --- a/docs/classes.list.html +++ b/docs/classes.list.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -447,6 +487,9 @@

    Classes

    AnimationParser
    +
    BitmapData
    +
    +
    BitmapText
    @@ -510,6 +553,9 @@

    Classes

    Events
    +
    Filter
    +
    +
    Frame
    @@ -633,12 +679,30 @@

    Classes

    Text
    +
    Tile
    +
    + +
    Tilemap
    +
    + +
    TilemapLayer
    +
    + +
    TilemapParser
    +
    + +
    Tileset
    +
    +
    TileSprite
    Time
    +
    Timer
    +
    +
    Touch
    @@ -698,7 +762,7 @@

    Namespaces

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/global.html b/docs/global.html index 6dcbb6f687..d6ada66db7 100644 --- a/docs/global.html +++ b/docs/global.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -742,7 +782,7 @@
    Parameters:
    Source:
    @@ -784,6 +824,461 @@
    Returns:
    + + + + +
    +

    render(displayObject, position, clear)

    + + +
    +
    + + +
    +

    This function will draw the display object to the texture. If the display object is a Group or has children it will +draw all children as well.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDefaultDescription
    displayObject + + +DisplayObject + + + + + + + + + + + +

    The display object to render this texture on.

    position + + +Phaser.Point + + + + + + <optional>
    + + + + + +
    + +

    Where to draw the display object.

    clear + + +boolean + + + + + + <optional>
    + + + + + +
    + + false + +

    If true the texture will be cleared before the displayObject is drawn.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + + +
    + + + +
    +

    renderXY(displayObject, x, y, clear)

    + + +
    +
    + + +
    +

    This function will draw the display object to the texture at the given x/y coordinates. +If the display object is a Group or has children it will draw all children as well.

    +
    + + + + + + + +
    Parameters:
    + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
    NameTypeArgumentDefaultDescription
    displayObject + + +DisplayObject + + + + + + + + + + + +

    The display object to render this texture on.

    x + + +number + + + + + + + + + + + +

    The x coordinate to draw the display object at.

    y + + +number + + + + + + + + + + + +

    The y coordinate to draw the display object at.

    clear + + +boolean + + + + + + <optional>
    + + + + + +
    + + false + +

    If true the texture will be cleared before the displayObject is drawn.

    + + + + +
    + + + + + + + + + + + + + + + + + + + +
    Source:
    +
    + + + + + + + +
    + + + + + + + + + + + + +
    @@ -1020,7 +1515,7 @@
    Parameters:
    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/index.html b/docs/index.html index d1854bfe60..f483d9dc81 100644 --- a/docs/index.html +++ b/docs/index.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -424,7 +464,7 @@

    Phaser - http://www.phaser.io

    -

    v1.1.2 - Released November 1st 2013.

    +

    v1.1.3 - Released November 28th 2013.

    By Richard Davey http://www.photonstorm.com @photonstorm

    A feature-packed 2D HTML5 game framework born from the smouldering pits of Flixel and constructed via plenty of blood, sweat, tears and coffee by Richard Davey (@photonstorm).

    @@ -513,7 +553,7 @@

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:26 GMT-0000 (GMT) using the DocStrap template.

    diff --git a/docs/namespaces.list.html b/docs/namespaces.list.html index efe346e1fe..b93eaf9ed7 100644 --- a/docs/namespaces.list.html +++ b/docs/namespaces.list.html @@ -54,6 +54,10 @@ AnimationParser +
  • + BitmapData +
  • +
  • BitmapText
  • @@ -138,6 +142,10 @@ Events +
  • + Filter +
  • +
  • Frame
  • @@ -302,6 +310,26 @@ Text +
  • + Tile +
  • + +
  • + Tilemap +
  • + +
  • + TilemapLayer +
  • + +
  • + TilemapParser +
  • + +
  • + Tileset +
  • +
  • TileSprite
  • @@ -310,6 +338,10 @@ Time +
  • + Timer +
  • +
  • Touch
  • @@ -356,6 +388,14 @@ HEXtoRGB +
  • + render +
  • + +
  • + renderXY +
  • +
  • right
  • @@ -447,6 +487,9 @@

    Classes

    AnimationParser
    +
    BitmapData
    +
    +
    BitmapText
    @@ -510,6 +553,9 @@

    Classes

    Events
    +
    Filter
    +
    +
    Frame
    @@ -633,12 +679,30 @@

    Classes

    Text
    +
    Tile
    +
    + +
    Tilemap
    +
    + +
    TilemapLayer
    +
    + +
    TilemapParser
    +
    + +
    Tileset
    +
    +
    TileSprite
    Time
    +
    Timer
    +
    +
    Touch
    @@ -698,7 +762,7 @@

    Namespaces

    Documentation generated by JSDoc 3.3.0-dev - on Thu Nov 07 2013 06:07:33 GMT-0000 (GMT) using the DocStrap template. + on Thu Nov 28 2013 15:56:25 GMT-0000 (GMT) using the DocStrap template. diff --git a/docs/styles/site.amelia.css b/docs/styles/site.amelia.css deleted file mode 100644 index 1c1c516d2e..0000000000 --- a/docs/styles/site.amelia.css +++ /dev/null @@ -1,6349 +0,0 @@ -@import url(http://fonts.googleapis.com/css?family=Lobster|Cabin:400,700); -/*! - * Bootstrap v2.3.1 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -.clearfix { - *zoom: 1; -} -.clearfix:before, -.clearfix:after { - display: table; - content: ""; - line-height: 0; -} -.clearfix:after { - clear: both; -} -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.input-block-level { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a:hover, -a:active { - outline: 0; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - /* Responsive images (ensure images don't scale beyond their parents) */ - - max-width: 100%; - /* Part 1: Set a maxium relative to the parent */ - - width: auto\9; - /* IE7-8 need help adjusting responsive images */ - - height: auto; - /* Part 2: Scale the height according to the width, otherwise you get stretching */ - - vertical-align: middle; - border: 0; - -ms-interpolation-mode: bicubic; -} -#map_canvas img, -.google-maps img { - max-width: none; -} -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} -button, -input { - *overflow: visible; - line-height: normal; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -label, -select, -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -input[type="radio"], -input[type="checkbox"] { - cursor: pointer; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -@media print { - * { - text-shadow: none !important; - color: #000 !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} -body { - margin: 0; - font-family: 'Cabin', Verdana, sans-serif; - font-size: 14px; - line-height: 20px; - color: #e1f0f0; - background-color: #003f4d; -} -a { - color: #e8d069; - text-decoration: none; -} -a:hover, -a:focus { - color: #e8d069; - text-decoration: underline; -} -.img-rounded { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.img-polaroid { - padding: 4px; - background-color: #fff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} -.img-circle { - -webkit-border-radius: 500px; - -moz-border-radius: 500px; - border-radius: 500px; -} -.row { - margin-left: -20px; - *zoom: 1; -} -.row:before, -.row:after { - display: table; - content: ""; - line-height: 0; -} -.row:after { - clear: both; -} -[class*="span"] { - float: left; - min-height: 1px; - margin-left: 20px; -} -.container, -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.span12 { - width: 940px; -} -.span11 { - width: 860px; -} -.span10 { - width: 780px; -} -.span9 { - width: 700px; -} -.span8 { - width: 620px; -} -.span7 { - width: 540px; -} -.span6 { - width: 460px; -} -.span5 { - width: 380px; -} -.span4 { - width: 300px; -} -.span3 { - width: 220px; -} -.span2 { - width: 140px; -} -.span1 { - width: 60px; -} -.offset12 { - margin-left: 980px; -} -.offset11 { - margin-left: 900px; -} -.offset10 { - margin-left: 820px; -} -.offset9 { - margin-left: 740px; -} -.offset8 { - margin-left: 660px; -} -.offset7 { - margin-left: 580px; -} -.offset6 { - margin-left: 500px; -} -.offset5 { - margin-left: 420px; -} -.offset4 { - margin-left: 340px; -} -.offset3 { - margin-left: 260px; -} -.offset2 { - margin-left: 180px; -} -.offset1 { - margin-left: 100px; -} -.row-fluid { - width: 100%; - *zoom: 1; -} -.row-fluid:before, -.row-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.row-fluid:after { - clear: both; -} -.row-fluid [class*="span"] { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2.127659574468085%; - *margin-left: 2.074468085106383%; -} -.row-fluid [class*="span"]:first-child { - margin-left: 0; -} -.row-fluid .controls-row [class*="span"] + [class*="span"] { - margin-left: 2.127659574468085%; -} -.row-fluid .span12 { - width: 100%; - *width: 99.94680851063829%; -} -.row-fluid .span11 { - width: 91.48936170212765%; - *width: 91.43617021276594%; -} -.row-fluid .span10 { - width: 82.97872340425532%; - *width: 82.92553191489361%; -} -.row-fluid .span9 { - width: 74.46808510638297%; - *width: 74.41489361702126%; -} -.row-fluid .span8 { - width: 65.95744680851064%; - *width: 65.90425531914893%; -} -.row-fluid .span7 { - width: 57.44680851063829%; - *width: 57.39361702127659%; -} -.row-fluid .span6 { - width: 48.93617021276595%; - *width: 48.88297872340425%; -} -.row-fluid .span5 { - width: 40.42553191489362%; - *width: 40.37234042553192%; -} -.row-fluid .span4 { - width: 31.914893617021278%; - *width: 31.861702127659576%; -} -.row-fluid .span3 { - width: 23.404255319148934%; - *width: 23.351063829787233%; -} -.row-fluid .span2 { - width: 14.893617021276595%; - *width: 14.840425531914894%; -} -.row-fluid .span1 { - width: 6.382978723404255%; - *width: 6.329787234042553%; -} -.row-fluid .offset12 { - margin-left: 104.25531914893617%; - *margin-left: 104.14893617021275%; -} -.row-fluid .offset12:first-child { - margin-left: 102.12765957446808%; - *margin-left: 102.02127659574467%; -} -.row-fluid .offset11 { - margin-left: 95.74468085106382%; - *margin-left: 95.6382978723404%; -} -.row-fluid .offset11:first-child { - margin-left: 93.61702127659574%; - *margin-left: 93.51063829787232%; -} -.row-fluid .offset10 { - margin-left: 87.23404255319149%; - *margin-left: 87.12765957446807%; -} -.row-fluid .offset10:first-child { - margin-left: 85.1063829787234%; - *margin-left: 84.99999999999999%; -} -.row-fluid .offset9 { - margin-left: 78.72340425531914%; - *margin-left: 78.61702127659572%; -} -.row-fluid .offset9:first-child { - margin-left: 76.59574468085106%; - *margin-left: 76.48936170212764%; -} -.row-fluid .offset8 { - margin-left: 70.2127659574468%; - *margin-left: 70.10638297872339%; -} -.row-fluid .offset8:first-child { - margin-left: 68.08510638297872%; - *margin-left: 67.9787234042553%; -} -.row-fluid .offset7 { - margin-left: 61.70212765957446%; - *margin-left: 61.59574468085106%; -} -.row-fluid .offset7:first-child { - margin-left: 59.574468085106375%; - *margin-left: 59.46808510638297%; -} -.row-fluid .offset6 { - margin-left: 53.191489361702125%; - *margin-left: 53.085106382978715%; -} -.row-fluid .offset6:first-child { - margin-left: 51.063829787234035%; - *margin-left: 50.95744680851063%; -} -.row-fluid .offset5 { - margin-left: 44.68085106382979%; - *margin-left: 44.57446808510638%; -} -.row-fluid .offset5:first-child { - margin-left: 42.5531914893617%; - *margin-left: 42.4468085106383%; -} -.row-fluid .offset4 { - margin-left: 36.170212765957444%; - *margin-left: 36.06382978723405%; -} -.row-fluid .offset4:first-child { - margin-left: 34.04255319148936%; - *margin-left: 33.93617021276596%; -} -.row-fluid .offset3 { - margin-left: 27.659574468085104%; - *margin-left: 27.5531914893617%; -} -.row-fluid .offset3:first-child { - margin-left: 25.53191489361702%; - *margin-left: 25.425531914893618%; -} -.row-fluid .offset2 { - margin-left: 19.148936170212764%; - *margin-left: 19.04255319148936%; -} -.row-fluid .offset2:first-child { - margin-left: 17.02127659574468%; - *margin-left: 16.914893617021278%; -} -.row-fluid .offset1 { - margin-left: 10.638297872340425%; - *margin-left: 10.53191489361702%; -} -.row-fluid .offset1:first-child { - margin-left: 8.51063829787234%; - *margin-left: 8.404255319148938%; -} -[class*="span"].hide, -.row-fluid [class*="span"].hide { - display: none; -} -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { - float: right; -} -.container { - margin-right: auto; - margin-left: auto; - *zoom: 1; -} -.container:before, -.container:after { - display: table; - content: ""; - line-height: 0; -} -.container:after { - clear: both; -} -.container-fluid { - padding-right: 20px; - padding-left: 20px; - *zoom: 1; -} -.container-fluid:before, -.container-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.container-fluid:after { - clear: both; -} -p { - margin: 0 0 10px; -} -.lead { - margin-bottom: 20px; - font-size: 21px; - font-weight: 200; - line-height: 30px; -} -small { - font-size: 85%; -} -strong { - font-weight: bold; -} -em { - font-style: italic; -} -cite { - font-style: normal; -} -.muted { - color: #aaaaaa; -} -a.muted:hover, -a.muted:focus { - color: #919191; -} -.text-warning { - color: #e1f0f0; -} -a.text-warning:hover, -a.text-warning:focus { - color: #bfdfdf; -} -.text-error { - color: #e1f0f0; -} -a.text-error:hover, -a.text-error:focus { - color: #bfdfdf; -} -.text-info { - color: #e1f0f0; -} -a.text-info:hover, -a.text-info:focus { - color: #bfdfdf; -} -.text-success { - color: #e1f0f0; -} -a.text-success:hover, -a.text-success:focus { - color: #bfdfdf; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 10px 0; - font-family: 'Lobster', cursive; - font-weight: normal; - line-height: 20px; - color: inherit; - text-rendering: optimizelegibility; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - line-height: 1; - color: #aaaaaa; -} -h1, -h2, -h3 { - line-height: 40px; -} -h1 { - font-size: 38.5px; -} -h2 { - font-size: 31.5px; -} -h3 { - font-size: 24.5px; -} -h4 { - font-size: 17.5px; -} -h5 { - font-size: 14px; -} -h6 { - font-size: 11.9px; -} -h1 small { - font-size: 24.5px; -} -h2 small { - font-size: 17.5px; -} -h3 small { - font-size: 14px; -} -h4 small { - font-size: 14px; -} -.page-header { - padding-bottom: 9px; - margin: 20px 0 30px; - border-bottom: 1px solid #dddddd; -} -ul, -ol { - padding: 0; - margin: 0 0 10px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -li { - line-height: 20px; -} -ul.unstyled, -ol.unstyled { - margin-left: 0; - list-style: none; -} -ul.inline, -ol.inline { - margin-left: 0; - list-style: none; -} -ul.inline > li, -ol.inline > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding-left: 5px; - padding-right: 5px; -} -dl { - margin-bottom: 20px; -} -dt, -dd { - line-height: 20px; -} -dt { - font-weight: bold; -} -dd { - margin-left: 10px; -} -.dl-horizontal { - *zoom: 1; -} -.dl-horizontal:before, -.dl-horizontal:after { - display: table; - content: ""; - line-height: 0; -} -.dl-horizontal:after { - clear: both; -} -.dl-horizontal dt { - float: left; - width: 160px; - clear: left; - text-align: right; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.dl-horizontal dd { - margin-left: 180px; -} -hr { - margin: 20px 0; - border: 0; - border-top: 1px solid rgba(255, 255, 255, 0.3); - border-bottom: 1px solid #ffffff; -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #aaaaaa; -} -abbr.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 0 0 0 15px; - margin: 0 0 20px; - border-left: 5px solid #dddddd; -} -blockquote p { - margin-bottom: 0; - font-size: 17.5px; - font-weight: 300; - line-height: 1.25; -} -blockquote small { - display: block; - line-height: 20px; - color: #aaaaaa; -} -blockquote small:before { - content: '\2014 \00A0'; -} -blockquote.pull-right { - float: right; - padding-right: 15px; - padding-left: 0; - border-right: 5px solid #dddddd; - border-left: 0; -} -blockquote.pull-right p, -blockquote.pull-right small { - text-align: right; -} -blockquote.pull-right small:before { - content: ''; -} -blockquote.pull-right small:after { - content: '\00A0 \2014'; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -address { - display: block; - margin-bottom: 20px; - font-style: normal; - line-height: 20px; -} -code, -pre { - padding: 0 3px 2px; - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 12px; - color: #444444; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - padding: 2px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; - white-space: nowrap; -} -pre { - display: block; - padding: 9.5px; - margin: 0 0 10px; - font-size: 13px; - line-height: 20px; - word-break: break-all; - word-wrap: break-word; - white-space: pre; - white-space: pre-wrap; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -pre.prettyprint { - margin-bottom: 20px; -} -pre code { - padding: 0; - color: inherit; - white-space: pre; - white-space: pre-wrap; - background-color: transparent; - border: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -form { - margin: 0 0 20px; -} -fieldset { - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 20px; - font-size: 21px; - line-height: 40px; - color: #444444; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -legend small { - font-size: 15px; - color: #aaaaaa; -} -label, -input, -button, -select, -textarea { - font-size: 14px; - font-weight: normal; - line-height: 20px; -} -input, -button, -select, -textarea { - font-family: 'Cabin', Verdana, sans-serif; -} -label { - display: block; - margin-bottom: 5px; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 20px; - padding: 4px 6px; - margin-bottom: 10px; - font-size: 14px; - line-height: 20px; - color: #555555; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - vertical-align: middle; -} -input, -textarea, -.uneditable-input { - width: 206px; -} -textarea { - height: auto; -} -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - background-color: #ffffff; - border: 1px solid transparent; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; -} -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - *margin-top: 0; - /* IE7 */ - - margin-top: 1px \9; - /* IE8-9 */ - - line-height: normal; -} -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} -select, -input[type="file"] { - height: 30px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 30px; -} -select { - width: 220px; - border: 1px solid transparent; - background-color: #ffffff; -} -select[multiple], -select[size] { - height: auto; -} -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.uneditable-input, -.uneditable-textarea { - color: #aaaaaa; - background-color: #fcfcfc; - border-color: transparent; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -.uneditable-input { - overflow: hidden; - white-space: nowrap; -} -.uneditable-textarea { - width: auto; - height: auto; -} -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #aaaaaa; -} -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #aaaaaa; -} -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #aaaaaa; -} -.radio, -.checkbox { - min-height: 20px; - padding-left: 20px; -} -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -20px; -} -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; -} -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; -} -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; -} -.input-mini { - width: 60px; -} -.input-small { - width: 90px; -} -.input-medium { - width: 150px; -} -.input-large { - width: 210px; -} -.input-xlarge { - width: 270px; -} -.input-xxlarge { - width: 530px; -} -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; -} -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; -} -input, -textarea, -.uneditable-input { - margin-left: 0; -} -.controls-row [class*="span"] + [class*="span"] { - margin-left: 20px; -} -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 926px; -} -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 846px; -} -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 766px; -} -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 686px; -} -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 606px; -} -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 526px; -} -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 446px; -} -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 366px; -} -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 286px; -} -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 206px; -} -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 126px; -} -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 46px; -} -.controls-row { - *zoom: 1; -} -.controls-row:before, -.controls-row:after { - display: table; - content: ""; - line-height: 0; -} -.controls-row:after { - clear: both; -} -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { - float: left; -} -.controls-row .checkbox[class*="span"], -.controls-row .radio[class*="span"] { - padding-top: 5px; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #dddddd; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #e1f0f0; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #e1f0f0; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #e1f0f0; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #bfdfdf; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #e1f0f0; - background-color: #df6e1e; - border-color: #e1f0f0; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #e1f0f0; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #e1f0f0; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #e1f0f0; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #bfdfdf; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #e1f0f0; - background-color: #ad1d28; - border-color: #e1f0f0; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #e1f0f0; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #e1f0f0; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #e1f0f0; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #bfdfdf; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #e1f0f0; - background-color: #48ca3b; - border-color: #e1f0f0; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #e1f0f0; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #e1f0f0; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #e1f0f0; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #bfdfdf; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #e1f0f0; - background-color: #4d3a7d; - border-color: #e1f0f0; -} -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { - color: #b94a48; - border-color: #ee5f5b; -} -input:focus:invalid:focus, -textarea:focus:invalid:focus, -select:focus:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -.form-actions { - padding: 19px 20px 20px; - margin-top: 20px; - margin-bottom: 20px; - background-color: transparent; - border-top: 1px solid #e5e5e5; - *zoom: 1; -} -.form-actions:before, -.form-actions:after { - display: table; - content: ""; - line-height: 0; -} -.form-actions:after { - clear: both; -} -.help-block, -.help-inline { - color: #ffffff; -} -.help-block { - display: block; - margin-bottom: 10px; -} -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - vertical-align: middle; - padding-left: 5px; -} -.input-append, -.input-prepend { - display: inline-block; - margin-bottom: 10px; - vertical-align: middle; - font-size: 0; - white-space: nowrap; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input, -.input-append .dropdown-menu, -.input-prepend .dropdown-menu, -.input-append .popover, -.input-prepend .popover { - font-size: 14px; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input { - position: relative; - margin-bottom: 0; - *margin-left: 0; - vertical-align: top; - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-append input:focus, -.input-prepend input:focus, -.input-append select:focus, -.input-prepend select:focus, -.input-append .uneditable-input:focus, -.input-prepend .uneditable-input:focus { - z-index: 2; -} -.input-append .add-on, -.input-prepend .add-on { - display: inline-block; - width: auto; - height: 20px; - min-width: 16px; - padding: 4px 5px; - font-size: 14px; - font-weight: normal; - line-height: 20px; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - background-color: #dddddd; - border: 1px solid #ccc; -} -.input-append .add-on, -.input-prepend .add-on, -.input-append .btn, -.input-prepend .btn, -.input-append .btn-group > .dropdown-toggle, -.input-prepend .btn-group > .dropdown-toggle { - vertical-align: top; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-append .active, -.input-prepend .active { - background-color: #b8ebb3; - border-color: #48ca3b; -} -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; -} -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-append input + .btn-group .btn:last-child, -.input-append select + .btn-group .btn:last-child, -.input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-append .add-on, -.input-append .btn, -.input-append .btn-group { - margin-left: -1px; -} -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-prepend.input-append input + .btn-group .btn, -.input-prepend.input-append select + .btn-group .btn, -.input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-prepend.input-append .btn-group:first-child { - margin-left: 0; -} -input.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - - margin-bottom: 0; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -/* Allow for input prepend/append in search forms */ -.form-search .input-append .search-query, -.form-search .input-prepend .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.form-search .input-append .search-query { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search .input-append .btn { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .search-query { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .btn { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input, -.form-search .input-prepend, -.form-inline .input-prepend, -.form-horizontal .input-prepend, -.form-search .input-append, -.form-inline .input-append, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; -} -.form-search label, -.form-inline label, -.form-search .btn-group, -.form-inline .btn-group { - display: inline-block; -} -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; -} -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; -} -.control-group { - margin-bottom: 10px; -} -legend + .control-group { - margin-top: 20px; - -webkit-margin-top-collapse: separate; -} -.form-horizontal .control-group { - margin-bottom: 20px; - *zoom: 1; -} -.form-horizontal .control-group:before, -.form-horizontal .control-group:after { - display: table; - content: ""; - line-height: 0; -} -.form-horizontal .control-group:after { - clear: both; -} -.form-horizontal .control-label { - float: left; - width: 160px; - padding-top: 5px; - text-align: right; -} -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 180px; - *margin-left: 0; -} -.form-horizontal .controls:first-child { - *padding-left: 180px; -} -.form-horizontal .help-block { - margin-bottom: 0; -} -.form-horizontal input + .help-block, -.form-horizontal select + .help-block, -.form-horizontal textarea + .help-block, -.form-horizontal .uneditable-input + .help-block, -.form-horizontal .input-prepend + .help-block, -.form-horizontal .input-append + .help-block { - margin-top: 10px; -} -.form-horizontal .form-actions { - padding-left: 180px; -} -table { - max-width: 100%; - background-color: #1ba7b4; - border-collapse: collapse; - border-spacing: 0; -} -.table { - width: 100%; - margin-bottom: 20px; -} -.table th, -.table td { - padding: 8px; - line-height: 20px; - text-align: left; - vertical-align: top; - border-top: 1px solid #1cafbd; -} -.table th { - font-weight: bold; -} -.table thead th { - vertical-align: bottom; -} -.table caption + thead tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child th, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child th, -.table thead:first-child tr:first-child td { - border-top: 0; -} -.table tbody + tbody { - border-top: 2px solid #1cafbd; -} -.table .table { - background-color: #003f4d; -} -.table-condensed th, -.table-condensed td { - padding: 4px 5px; -} -.table-bordered { - border: 1px solid #1cafbd; - border-collapse: separate; - *border-collapse: collapse; - border-left: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.table-bordered th, -.table-bordered td { - border-left: 1px solid #1cafbd; -} -.table-bordered caption + thead tr:first-child th, -.table-bordered caption + tbody tr:first-child th, -.table-bordered caption + tbody tr:first-child td, -.table-bordered colgroup + thead tr:first-child th, -.table-bordered colgroup + tbody tr:first-child th, -.table-bordered colgroup + tbody tr:first-child td, -.table-bordered thead:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} -.table-bordered thead:first-child tr:first-child > th:first-child, -.table-bordered tbody:first-child tr:first-child > td:first-child, -.table-bordered tbody:first-child tr:first-child > th:first-child { - -webkit-border-top-left-radius: 0; - -moz-border-radius-topleft: 0; - border-top-left-radius: 0; -} -.table-bordered thead:first-child tr:first-child > th:last-child, -.table-bordered tbody:first-child tr:first-child > td:last-child, -.table-bordered tbody:first-child tr:first-child > th:last-child { - -webkit-border-top-right-radius: 0; - -moz-border-radius-topright: 0; - border-top-right-radius: 0; -} -.table-bordered thead:last-child tr:last-child > th:first-child, -.table-bordered tbody:last-child tr:last-child > td:first-child, -.table-bordered tbody:last-child tr:last-child > th:first-child, -.table-bordered tfoot:last-child tr:last-child > td:first-child, -.table-bordered tfoot:last-child tr:last-child > th:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered thead:last-child tr:last-child > th:last-child, -.table-bordered tbody:last-child tr:last-child > td:last-child, -.table-bordered tbody:last-child tr:last-child > th:last-child, -.table-bordered tfoot:last-child tr:last-child > td:last-child, -.table-bordered tfoot:last-child tr:last-child > th:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered caption + thead tr:first-child th:first-child, -.table-bordered caption + tbody tr:first-child td:first-child, -.table-bordered colgroup + thead tr:first-child th:first-child, -.table-bordered colgroup + tbody tr:first-child td:first-child { - -webkit-border-top-left-radius: 0; - -moz-border-radius-topleft: 0; - border-top-left-radius: 0; -} -.table-bordered caption + thead tr:first-child th:last-child, -.table-bordered caption + tbody tr:first-child td:last-child, -.table-bordered colgroup + thead tr:first-child th:last-child, -.table-bordered colgroup + tbody tr:first-child td:last-child { - -webkit-border-top-right-radius: 0; - -moz-border-radius-topright: 0; - border-top-right-radius: 0; -} -.table-striped tbody > tr:nth-child(odd) > td, -.table-striped tbody > tr:nth-child(odd) > th { - background-color: #1ebccb; -} -.table-hover tbody tr:hover > td, -.table-hover tbody tr:hover > th { - background-color: rgba(255, 255, 255, 0.4); -} -table td[class*="span"], -table th[class*="span"], -.row-fluid table td[class*="span"], -.row-fluid table th[class*="span"] { - display: table-cell; - float: none; - margin-left: 0; -} -.table td.span1, -.table th.span1 { - float: none; - width: 44px; - margin-left: 0; -} -.table td.span2, -.table th.span2 { - float: none; - width: 124px; - margin-left: 0; -} -.table td.span3, -.table th.span3 { - float: none; - width: 204px; - margin-left: 0; -} -.table td.span4, -.table th.span4 { - float: none; - width: 284px; - margin-left: 0; -} -.table td.span5, -.table th.span5 { - float: none; - width: 364px; - margin-left: 0; -} -.table td.span6, -.table th.span6 { - float: none; - width: 444px; - margin-left: 0; -} -.table td.span7, -.table th.span7 { - float: none; - width: 524px; - margin-left: 0; -} -.table td.span8, -.table th.span8 { - float: none; - width: 604px; - margin-left: 0; -} -.table td.span9, -.table th.span9 { - float: none; - width: 684px; - margin-left: 0; -} -.table td.span10, -.table th.span10 { - float: none; - width: 764px; - margin-left: 0; -} -.table td.span11, -.table th.span11 { - float: none; - width: 844px; - margin-left: 0; -} -.table td.span12, -.table th.span12 { - float: none; - width: 924px; - margin-left: 0; -} -.table tbody tr.success > td { - background-color: #48ca3b; -} -.table tbody tr.error > td { - background-color: #ad1d28; -} -.table tbody tr.warning > td { - background-color: #df6e1e; -} -.table tbody tr.info > td { - background-color: #4d3a7d; -} -.table-hover tbody tr.success:hover > td { - background-color: #3eb932; -} -.table-hover tbody tr.error:hover > td { - background-color: #971923; -} -.table-hover tbody tr.warning:hover > td { - background-color: #c9631b; -} -.table-hover tbody tr.info:hover > td { - background-color: #42326c; -} -[class^="icon-"], -[class*=" icon-"] { - display: inline-block; - width: 14px; - height: 14px; - *margin-right: .3em; - line-height: 14px; - vertical-align: text-top; - background-image: url("../img/glyphicons-halflings.png"); - background-position: 14px 14px; - background-repeat: no-repeat; - margin-top: 1px; -} -/* White icons with optional class, or on hover/focus/active states of certain elements */ -.icon-white, -.nav-pills > .active > a > [class^="icon-"], -.nav-pills > .active > a > [class*=" icon-"], -.nav-list > .active > a > [class^="icon-"], -.nav-list > .active > a > [class*=" icon-"], -.navbar-inverse .nav > .active > a > [class^="icon-"], -.navbar-inverse .nav > .active > a > [class*=" icon-"], -.dropdown-menu > li > a:hover > [class^="icon-"], -.dropdown-menu > li > a:focus > [class^="icon-"], -.dropdown-menu > li > a:hover > [class*=" icon-"], -.dropdown-menu > li > a:focus > [class*=" icon-"], -.dropdown-menu > .active > a > [class^="icon-"], -.dropdown-menu > .active > a > [class*=" icon-"], -.dropdown-submenu:hover > a > [class^="icon-"], -.dropdown-submenu:focus > a > [class^="icon-"], -.dropdown-submenu:hover > a > [class*=" icon-"], -.dropdown-submenu:focus > a > [class*=" icon-"] { - background-image: url("../img/glyphicons-halflings-white.png"); -} -.icon-glass { - background-position: 0 0; -} -.icon-music { - background-position: -24px 0; -} -.icon-search { - background-position: -48px 0; -} -.icon-envelope { - background-position: -72px 0; -} -.icon-heart { - background-position: -96px 0; -} -.icon-star { - background-position: -120px 0; -} -.icon-star-empty { - background-position: -144px 0; -} -.icon-user { - background-position: -168px 0; -} -.icon-film { - background-position: -192px 0; -} -.icon-th-large { - background-position: -216px 0; -} -.icon-th { - background-position: -240px 0; -} -.icon-th-list { - background-position: -264px 0; -} -.icon-ok { - background-position: -288px 0; -} -.icon-remove { - background-position: -312px 0; -} -.icon-zoom-in { - background-position: -336px 0; -} -.icon-zoom-out { - background-position: -360px 0; -} -.icon-off { - background-position: -384px 0; -} -.icon-signal { - background-position: -408px 0; -} -.icon-cog { - background-position: -432px 0; -} -.icon-trash { - background-position: -456px 0; -} -.icon-home { - background-position: 0 -24px; -} -.icon-file { - background-position: -24px -24px; -} -.icon-time { - background-position: -48px -24px; -} -.icon-road { - background-position: -72px -24px; -} -.icon-download-alt { - background-position: -96px -24px; -} -.icon-download { - background-position: -120px -24px; -} -.icon-upload { - background-position: -144px -24px; -} -.icon-inbox { - background-position: -168px -24px; -} -.icon-play-circle { - background-position: -192px -24px; -} -.icon-repeat { - background-position: -216px -24px; -} -.icon-refresh { - background-position: -240px -24px; -} -.icon-list-alt { - background-position: -264px -24px; -} -.icon-lock { - background-position: -287px -24px; -} -.icon-flag { - background-position: -312px -24px; -} -.icon-headphones { - background-position: -336px -24px; -} -.icon-volume-off { - background-position: -360px -24px; -} -.icon-volume-down { - background-position: -384px -24px; -} -.icon-volume-up { - background-position: -408px -24px; -} -.icon-qrcode { - background-position: -432px -24px; -} -.icon-barcode { - background-position: -456px -24px; -} -.icon-tag { - background-position: 0 -48px; -} -.icon-tags { - background-position: -25px -48px; -} -.icon-book { - background-position: -48px -48px; -} -.icon-bookmark { - background-position: -72px -48px; -} -.icon-print { - background-position: -96px -48px; -} -.icon-camera { - background-position: -120px -48px; -} -.icon-font { - background-position: -144px -48px; -} -.icon-bold { - background-position: -167px -48px; -} -.icon-italic { - background-position: -192px -48px; -} -.icon-text-height { - background-position: -216px -48px; -} -.icon-text-width { - background-position: -240px -48px; -} -.icon-align-left { - background-position: -264px -48px; -} -.icon-align-center { - background-position: -288px -48px; -} -.icon-align-right { - background-position: -312px -48px; -} -.icon-align-justify { - background-position: -336px -48px; -} -.icon-list { - background-position: -360px -48px; -} -.icon-indent-left { - background-position: -384px -48px; -} -.icon-indent-right { - background-position: -408px -48px; -} -.icon-facetime-video { - background-position: -432px -48px; -} -.icon-picture { - background-position: -456px -48px; -} -.icon-pencil { - background-position: 0 -72px; -} -.icon-map-marker { - background-position: -24px -72px; -} -.icon-adjust { - background-position: -48px -72px; -} -.icon-tint { - background-position: -72px -72px; -} -.icon-edit { - background-position: -96px -72px; -} -.icon-share { - background-position: -120px -72px; -} -.icon-check { - background-position: -144px -72px; -} -.icon-move { - background-position: -168px -72px; -} -.icon-step-backward { - background-position: -192px -72px; -} -.icon-fast-backward { - background-position: -216px -72px; -} -.icon-backward { - background-position: -240px -72px; -} -.icon-play { - background-position: -264px -72px; -} -.icon-pause { - background-position: -288px -72px; -} -.icon-stop { - background-position: -312px -72px; -} -.icon-forward { - background-position: -336px -72px; -} -.icon-fast-forward { - background-position: -360px -72px; -} -.icon-step-forward { - background-position: -384px -72px; -} -.icon-eject { - background-position: -408px -72px; -} -.icon-chevron-left { - background-position: -432px -72px; -} -.icon-chevron-right { - background-position: -456px -72px; -} -.icon-plus-sign { - background-position: 0 -96px; -} -.icon-minus-sign { - background-position: -24px -96px; -} -.icon-remove-sign { - background-position: -48px -96px; -} -.icon-ok-sign { - background-position: -72px -96px; -} -.icon-question-sign { - background-position: -96px -96px; -} -.icon-info-sign { - background-position: -120px -96px; -} -.icon-screenshot { - background-position: -144px -96px; -} -.icon-remove-circle { - background-position: -168px -96px; -} -.icon-ok-circle { - background-position: -192px -96px; -} -.icon-ban-circle { - background-position: -216px -96px; -} -.icon-arrow-left { - background-position: -240px -96px; -} -.icon-arrow-right { - background-position: -264px -96px; -} -.icon-arrow-up { - background-position: -289px -96px; -} -.icon-arrow-down { - background-position: -312px -96px; -} -.icon-share-alt { - background-position: -336px -96px; -} -.icon-resize-full { - background-position: -360px -96px; -} -.icon-resize-small { - background-position: -384px -96px; -} -.icon-plus { - background-position: -408px -96px; -} -.icon-minus { - background-position: -433px -96px; -} -.icon-asterisk { - background-position: -456px -96px; -} -.icon-exclamation-sign { - background-position: 0 -120px; -} -.icon-gift { - background-position: -24px -120px; -} -.icon-leaf { - background-position: -48px -120px; -} -.icon-fire { - background-position: -72px -120px; -} -.icon-eye-open { - background-position: -96px -120px; -} -.icon-eye-close { - background-position: -120px -120px; -} -.icon-warning-sign { - background-position: -144px -120px; -} -.icon-plane { - background-position: -168px -120px; -} -.icon-calendar { - background-position: -192px -120px; -} -.icon-random { - background-position: -216px -120px; - width: 16px; -} -.icon-comment { - background-position: -240px -120px; -} -.icon-magnet { - background-position: -264px -120px; -} -.icon-chevron-up { - background-position: -288px -120px; -} -.icon-chevron-down { - background-position: -313px -119px; -} -.icon-retweet { - background-position: -336px -120px; -} -.icon-shopping-cart { - background-position: -360px -120px; -} -.icon-folder-close { - background-position: -384px -120px; - width: 16px; -} -.icon-folder-open { - background-position: -408px -120px; - width: 16px; -} -.icon-resize-vertical { - background-position: -432px -119px; -} -.icon-resize-horizontal { - background-position: -456px -118px; -} -.icon-hdd { - background-position: 0 -144px; -} -.icon-bullhorn { - background-position: -24px -144px; -} -.icon-bell { - background-position: -48px -144px; -} -.icon-certificate { - background-position: -72px -144px; -} -.icon-thumbs-up { - background-position: -96px -144px; -} -.icon-thumbs-down { - background-position: -120px -144px; -} -.icon-hand-right { - background-position: -144px -144px; -} -.icon-hand-left { - background-position: -168px -144px; -} -.icon-hand-up { - background-position: -192px -144px; -} -.icon-hand-down { - background-position: -216px -144px; -} -.icon-circle-arrow-right { - background-position: -240px -144px; -} -.icon-circle-arrow-left { - background-position: -264px -144px; -} -.icon-circle-arrow-up { - background-position: -288px -144px; -} -.icon-circle-arrow-down { - background-position: -312px -144px; -} -.icon-globe { - background-position: -336px -144px; -} -.icon-wrench { - background-position: -360px -144px; -} -.icon-tasks { - background-position: -384px -144px; -} -.icon-filter { - background-position: -408px -144px; -} -.icon-briefcase { - background-position: -432px -144px; -} -.icon-fullscreen { - background-position: -456px -144px; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle { - *margin-bottom: -3px; -} -.dropdown-toggle:active, -.open .dropdown-toggle { - outline: 0; -} -.caret { - display: inline-block; - width: 0; - height: 0; - vertical-align: top; - border-top: 4px solid #000000; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - content: ""; -} -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - background-color: #ffffff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 20px; - color: #444444; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, -.dropdown-submenu:hover > a, -.dropdown-submenu:focus > a { - text-decoration: none; - color: #ffffff; - background-color: #a41c26; - background-image: -moz-linear-gradient(top, #ad1d28, #971923); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ad1d28), to(#971923)); - background-image: -webkit-linear-gradient(top, #ad1d28, #971923); - background-image: -o-linear-gradient(top, #ad1d28, #971923); - background-image: linear-gradient(to bottom, #ad1d28, #971923); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffad1d28', endColorstr='#ff971923', GradientType=0); -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #ffffff; - text-decoration: none; - outline: 0; - background-color: #a41c26; - background-image: -moz-linear-gradient(top, #ad1d28, #971923); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ad1d28), to(#971923)); - background-image: -webkit-linear-gradient(top, #ad1d28, #971923); - background-image: -o-linear-gradient(top, #ad1d28, #971923); - background-image: linear-gradient(to bottom, #ad1d28, #971923); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffad1d28', endColorstr='#ff971923', GradientType=0); -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #aaaaaa; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: default; -} -.open { - *z-index: 1000; -} -.open > .dropdown-menu { - display: block; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: ""; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -.dropdown-submenu { - position: relative; -} -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; - -webkit-border-radius: 5px 5px 5px 0; - -moz-border-radius: 5px 5px 5px 0; - border-radius: 5px 5px 5px 0; -} -.dropdown-submenu > a:after { - display: block; - content: " "; - float: right; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 5px 0 5px 5px; - border-left-color: #cccccc; - margin-top: 5px; - margin-right: -10px; -} -.dropdown-submenu:hover > a:after { - border-left-color: #ffffff; -} -.dropdown-submenu.pull-left { - float: none; -} -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.dropdown .dropdown-menu .nav-header { - padding-left: 20px; - padding-right: 20px; -} -.typeahead { - z-index: 1051; - margin-top: 2px; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #3cb9c6; - border: 1px solid #32a1ac; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} -.well-large { - padding: 24px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.well-small { - padding: 9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; -} -.collapse.in { - height: auto; -} -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 20px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover, -.close:focus { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} -.btn { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding: 4px 12px; - margin-bottom: 0; - font-size: 14px; - line-height: 20px; - text-align: center; - vertical-align: middle; - cursor: pointer; - color: #444444; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #dddddd; - background-image: -moz-linear-gradient(top, #dddddd, #dddddd); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dddddd), to(#dddddd)); - background-image: -webkit-linear-gradient(top, #dddddd, #dddddd); - background-image: -o-linear-gradient(top, #dddddd, #dddddd); - background-image: linear-gradient(to bottom, #dddddd, #dddddd); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdddddd', endColorstr='#ffdddddd', GradientType=0); - border-color: #dddddd #dddddd #b7b7b7; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #dddddd; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - border: 1px solid rgba(0, 0, 0, 0); - *border: 0; - border-bottom-color: rgba(0, 0, 0, 0); - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - *margin-left: .3em; - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #444444; - background-color: #dddddd; - *background-color: #d0d0d0; -} -.btn:active, -.btn.active { - background-color: #c4c4c4 \9; -} -.btn:first-child { - *margin-left: 0; -} -.btn:hover, -.btn:focus { - color: #444444; - text-decoration: none; - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -.btn:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn.active, -.btn:active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn.disabled, -.btn[disabled] { - cursor: default; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-large { - padding: 20px 24px; - font-size: 17.5px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.btn-large [class^="icon-"], -.btn-large [class*=" icon-"] { - margin-top: 4px; -} -.btn-small { - padding: 8px 12px; - font-size: 11.9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-small [class^="icon-"], -.btn-small [class*=" icon-"] { - margin-top: 0; -} -.btn-mini [class^="icon-"], -.btn-mini [class*=" icon-"] { - margin-top: -1px; -} -.btn-mini { - padding: 4px 8px; - font-size: 10.5px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; - padding-left: 0; - padding-right: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active, -.btn-inverse.active { - color: rgba(255, 255, 255, 0.75); -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #ad1d28; - background-image: -moz-linear-gradient(top, #ad1d28, #ad1d28); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ad1d28), to(#ad1d28)); - background-image: -webkit-linear-gradient(top, #ad1d28, #ad1d28); - background-image: -o-linear-gradient(top, #ad1d28, #ad1d28); - background-image: linear-gradient(to bottom, #ad1d28, #ad1d28); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffad1d28', endColorstr='#ffad1d28', GradientType=0); - border-color: #ad1d28 #ad1d28 #6b1219; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #ad1d28; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #ad1d28; - *background-color: #971923; -} -.btn-primary:active, -.btn-primary.active { - background-color: #81161e \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #df6e1e; - background-image: -moz-linear-gradient(top, #df6e1e, #df6e1e); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#df6e1e), to(#df6e1e)); - background-image: -webkit-linear-gradient(top, #df6e1e, #df6e1e); - background-image: -o-linear-gradient(top, #df6e1e, #df6e1e); - background-image: linear-gradient(to bottom, #df6e1e, #df6e1e); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdf6e1e', endColorstr='#ffdf6e1e', GradientType=0); - border-color: #df6e1e #df6e1e #9c4d15; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #df6e1e; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #df6e1e; - *background-color: #c9631b; -} -.btn-warning:active, -.btn-warning.active { - background-color: #b25818 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #debb27; - background-image: -moz-linear-gradient(top, #debb27, #debb27); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#debb27), to(#debb27)); - background-image: -webkit-linear-gradient(top, #debb27, #debb27); - background-image: -o-linear-gradient(top, #debb27, #debb27); - background-image: linear-gradient(to bottom, #debb27, #debb27); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdebb27', endColorstr='#ffdebb27', GradientType=0); - border-color: #debb27 #debb27 #a08618; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #debb27; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #debb27; - *background-color: #ccab1f; -} -.btn-danger:active, -.btn-danger.active { - background-color: #b6991c \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #48ca3b; - background-image: -moz-linear-gradient(top, #48ca3b, #48ca3b); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#48ca3b), to(#48ca3b)); - background-image: -webkit-linear-gradient(top, #48ca3b, #48ca3b); - background-image: -o-linear-gradient(top, #48ca3b, #48ca3b); - background-image: linear-gradient(to bottom, #48ca3b, #48ca3b); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff48ca3b', endColorstr='#ff48ca3b', GradientType=0); - border-color: #48ca3b #48ca3b #319127; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #48ca3b; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #48ca3b; - *background-color: #3eb932; -} -.btn-success:active, -.btn-success.active { - background-color: #38a52d \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #4d3a7d; - background-image: -moz-linear-gradient(top, #4d3a7d, #4d3a7d); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4d3a7d), to(#4d3a7d)); - background-image: -webkit-linear-gradient(top, #4d3a7d, #4d3a7d); - background-image: -o-linear-gradient(top, #4d3a7d, #4d3a7d); - background-image: linear-gradient(to bottom, #4d3a7d, #4d3a7d); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4d3a7d', endColorstr='#ff4d3a7d', GradientType=0); - border-color: #4d3a7d #4d3a7d #2d2249; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #4d3a7d; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #4d3a7d; - *background-color: #42326c; -} -.btn-info:active, -.btn-info.active { - background-color: #382a5a \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #27666d; - background-image: -moz-linear-gradient(top, #27666d, #27666d); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#27666d), to(#27666d)); - background-image: -webkit-linear-gradient(top, #27666d, #27666d); - background-image: -o-linear-gradient(top, #27666d, #27666d); - background-image: linear-gradient(to bottom, #27666d, #27666d); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff27666d', endColorstr='#ff27666d', GradientType=0); - border-color: #27666d #27666d #133135; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #27666d; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #27666d; - *background-color: #20545a; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #1a4347 \9; -} -button.btn, -input[type="submit"].btn { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn::-moz-focus-inner, -input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} -button.btn.btn-large, -input[type="submit"].btn.btn-large { - *padding-top: 7px; - *padding-bottom: 7px; -} -button.btn.btn-small, -input[type="submit"].btn.btn-small { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn.btn-mini, -input[type="submit"].btn.btn-mini { - *padding-top: 1px; - *padding-bottom: 1px; -} -.btn-link, -.btn-link:active, -.btn-link[disabled] { - background-color: transparent; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-link { - border-color: transparent; - cursor: pointer; - color: #e8d069; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-link:hover, -.btn-link:focus { - color: #e8d069; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -.btn-link[disabled]:focus { - color: #444444; - text-decoration: none; -} -.btn-group { - position: relative; - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - font-size: 0; - vertical-align: middle; - white-space: nowrap; - *margin-left: .3em; -} -.btn-group:first-child { - *margin-left: 0; -} -.btn-group + .btn-group { - margin-left: 5px; -} -.btn-toolbar { - font-size: 0; - margin-top: 10px; - margin-bottom: 10px; -} -.btn-toolbar > .btn + .btn, -.btn-toolbar > .btn-group + .btn, -.btn-toolbar > .btn + .btn-group { - margin-left: 5px; -} -.btn-group > .btn { - position: relative; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group > .btn + .btn { - margin-left: -1px; -} -.btn-group > .btn, -.btn-group > .dropdown-menu, -.btn-group > .popover { - font-size: 14px; -} -.btn-group > .btn-mini { - font-size: 10.5px; -} -.btn-group > .btn-small { - font-size: 11.9px; -} -.btn-group > .btn-large { - font-size: 17.5px; -} -.btn-group > .btn:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 0; - -moz-border-radius-topleft: 0; - border-top-left-radius: 0; - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-top-right-radius: 0; - -moz-border-radius-topright: 0; - border-top-right-radius: 0; - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.btn-group > .btn.large:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.btn-group > .btn.large:last-child, -.btn-group > .large.dropdown-toggle { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - *padding-top: 5px; - *padding-bottom: 5px; -} -.btn-group > .btn-mini + .dropdown-toggle { - padding-left: 5px; - padding-right: 5px; - *padding-top: 2px; - *padding-bottom: 2px; -} -.btn-group > .btn-small + .dropdown-toggle { - *padding-top: 5px; - *padding-bottom: 4px; -} -.btn-group > .btn-large + .dropdown-toggle { - padding-left: 12px; - padding-right: 12px; - *padding-top: 7px; - *padding-bottom: 7px; -} -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn-group.open .btn.dropdown-toggle { - background-color: #dddddd; -} -.btn-group.open .btn-primary.dropdown-toggle { - background-color: #ad1d28; -} -.btn-group.open .btn-warning.dropdown-toggle { - background-color: #df6e1e; -} -.btn-group.open .btn-danger.dropdown-toggle { - background-color: #debb27; -} -.btn-group.open .btn-success.dropdown-toggle { - background-color: #48ca3b; -} -.btn-group.open .btn-info.dropdown-toggle { - background-color: #4d3a7d; -} -.btn-group.open .btn-inverse.dropdown-toggle { - background-color: #27666d; -} -.btn .caret { - margin-top: 8px; - margin-left: 0; -} -.btn-large .caret { - margin-top: 6px; -} -.btn-large .caret { - border-left-width: 5px; - border-right-width: 5px; - border-top-width: 5px; -} -.btn-mini .caret, -.btn-small .caret { - margin-top: 8px; -} -.dropup .btn-large .caret { - border-bottom-width: 5px; -} -.btn-primary .caret, -.btn-warning .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret, -.btn-inverse .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.btn-group-vertical { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} -.btn-group-vertical > .btn { - display: block; - float: none; - max-width: 100%; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group-vertical > .btn + .btn { - margin-left: 0; - margin-top: -1px; -} -.btn-group-vertical > .btn:first-child { - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.btn-group-vertical > .btn:last-child { - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.btn-group-vertical > .btn-large:first-child { - -webkit-border-radius: 6px 6px 0 0; - -moz-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; -} -.btn-group-vertical > .btn-large:last-child { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 20px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #df6e1e; - border: 1px solid #d2491c; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.alert, -.alert h4 { - color: #e1f0f0; -} -.alert h4 { - margin: 0; -} -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 20px; -} -.alert-success { - background-color: #48ca3b; - border-color: #55b932; - color: #e1f0f0; -} -.alert-success h4 { - color: #e1f0f0; -} -.alert-danger, -.alert-error { - background-color: #ad1d28; - border-color: #a01b3b; - color: #e1f0f0; -} -.alert-danger h4, -.alert-error h4 { - color: #e1f0f0; -} -.alert-info { - background-color: #4d3a7d; - border-color: #352f65; - color: #e1f0f0; -} -.alert-info h4 { - color: #e1f0f0; -} -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; -} -.alert-block p + p { - margin-top: 5px; -} -.nav { - margin-left: 0; - margin-bottom: 20px; - list-style: none; -} -.nav > li > a { - display: block; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #dddddd; -} -.nav > li > a > img { - max-width: none; -} -.nav > .pull-right { - float: right; -} -.nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 20px; - color: #aaaaaa; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} -.nav li + .nav-header { - margin-top: 9px; -} -.nav-list { - padding-left: 15px; - padding-right: 15px; - margin-bottom: 0; -} -.nav-list > li > a, -.nav-list .nav-header { - margin-left: -15px; - margin-right: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.nav-list > li > a { - padding: 3px 15px; -} -.nav-list > .active > a, -.nav-list > .active > a:hover, -.nav-list > .active > a:focus { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #e8d069; -} -.nav-list [class^="icon-"], -.nav-list [class*=" icon-"] { - margin-right: 2px; -} -.nav-list .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.nav-tabs, -.nav-pills { - *zoom: 1; -} -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; - line-height: 0; -} -.nav-tabs:after, -.nav-pills:after { - clear: both; -} -.nav-tabs > li, -.nav-pills > li { - float: left; -} -.nav-tabs > li > a, -.nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - margin-bottom: -1px; -} -.nav-tabs > li > a { - padding-top: 8px; - padding-bottom: 8px; - line-height: 20px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover, -.nav-tabs > li > a:focus { - border-color: #dddddd #dddddd #dddddd; -} -.nav-tabs > .active > a, -.nav-tabs > .active > a:hover, -.nav-tabs > .active > a:focus { - color: #555555; - background-color: #003f4d; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.nav-pills > .active > a, -.nav-pills > .active > a:hover, -.nav-pills > .active > a:focus { - color: #ffffff; - background-color: #e8d069; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li > a { - margin-right: 0; -} -.nav-tabs.nav-stacked { - border-bottom: 0; -} -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.nav-tabs.nav-stacked > li > a:hover, -.nav-tabs.nav-stacked > li > a:focus { - border-color: #ddd; - z-index: 2; -} -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.nav-pills .dropdown-menu { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.nav .dropdown-toggle .caret { - border-top-color: #e8d069; - border-bottom-color: #e8d069; - margin-top: 6px; -} -.nav .dropdown-toggle:hover .caret, -.nav .dropdown-toggle:focus .caret { - border-top-color: #e8d069; - border-bottom-color: #e8d069; -} -/* move down carets for tabs */ -.nav-tabs .dropdown-toggle .caret { - margin-top: 8px; -} -.nav .active .dropdown-toggle .caret { - border-top-color: #fff; - border-bottom-color: #fff; -} -.nav-tabs .active .dropdown-toggle .caret { - border-top-color: #555555; - border-bottom-color: #555555; -} -.nav > .dropdown.active > a:hover, -.nav > .dropdown.active > a:focus { - cursor: pointer; -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover, -.nav > li.dropdown.open.active > a:focus { - color: #ffffff; - background-color: #aaaaaa; - border-color: #aaaaaa; -} -.nav li.dropdown.open .caret, -.nav li.dropdown.open.active .caret, -.nav li.dropdown.open a:hover .caret, -.nav li.dropdown.open a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} -.tabs-stacked .open > a:hover, -.tabs-stacked .open > a:focus { - border-color: #aaaaaa; -} -.tabbable { - *zoom: 1; -} -.tabbable:before, -.tabbable:after { - display: table; - content: ""; - line-height: 0; -} -.tabbable:after { - clear: both; -} -.tab-content { - overflow: auto; -} -.tabs-below > .nav-tabs, -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} -.tab-content > .active, -.pill-content > .active { - display: block; -} -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; -} -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.tabs-below > .nav-tabs > li > a:hover, -.tabs-below > .nav-tabs > li > a:focus { - border-bottom-color: transparent; - border-top-color: #ddd; -} -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover, -.tabs-below > .nav-tabs > .active > a:focus { - border-color: transparent #ddd #ddd #ddd; -} -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.tabs-left > .nav-tabs > li > a:hover, -.tabs-left > .nav-tabs > li > a:focus { - border-color: #dddddd #dddddd #dddddd #dddddd; -} -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover, -.tabs-left > .nav-tabs .active > a:focus { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.tabs-right > .nav-tabs > li > a:hover, -.tabs-right > .nav-tabs > li > a:focus { - border-color: #dddddd #dddddd #dddddd #dddddd; -} -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover, -.tabs-right > .nav-tabs .active > a:focus { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} -.nav > .disabled > a { - color: #aaaaaa; -} -.nav > .disabled > a:hover, -.nav > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - cursor: default; -} -.navbar { - overflow: visible; - margin-bottom: 20px; - *position: relative; - *z-index: 2; -} -.navbar-inner { - min-height: 50px; - padding-left: 20px; - padding-right: 20px; - background-color: #ad1d28; - background-image: -moz-linear-gradient(top, #ad1d28, #ad1d28); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ad1d28), to(#ad1d28)); - background-image: -webkit-linear-gradient(top, #ad1d28, #ad1d28); - background-image: -o-linear-gradient(top, #ad1d28, #ad1d28); - background-image: linear-gradient(to bottom, #ad1d28, #ad1d28); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffad1d28', endColorstr='#ffad1d28', GradientType=0); - border: 1px solid #79141c; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - *zoom: 1; -} -.navbar-inner:before, -.navbar-inner:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-inner:after { - clear: both; -} -.navbar .container { - width: auto; -} -.nav-collapse.collapse { - height: auto; - overflow: visible; -} -.navbar .brand { - float: left; - display: block; - padding: 15px 20px 15px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - color: #ffffff; - text-shadow: 0 1px 0 #ad1d28; -} -.navbar .brand:hover, -.navbar .brand:focus { - text-decoration: none; -} -.navbar-text { - margin-bottom: 0; - line-height: 50px; - color: #ffffff; -} -.navbar-link { - color: #ffffff; -} -.navbar-link:hover, -.navbar-link:focus { - color: #ffffff; -} -.navbar .divider-vertical { - height: 50px; - margin: 0 9px; - border-left: 1px solid #ad1d28; - border-right: 1px solid #ad1d28; -} -.navbar .btn, -.navbar .btn-group { - margin-top: 10px; -} -.navbar .btn-group .btn, -.navbar .input-prepend .btn, -.navbar .input-append .btn, -.navbar .input-prepend .btn-group, -.navbar .input-append .btn-group { - margin-top: 0; -} -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} -.navbar-form:before, -.navbar-form:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-form:after { - clear: both; -} -.navbar-form input, -.navbar-form select, -.navbar-form .radio, -.navbar-form .checkbox { - margin-top: 10px; -} -.navbar-form input, -.navbar-form select, -.navbar-form .btn { - display: inline-block; - margin-bottom: 0; -} -.navbar-form input[type="image"], -.navbar-form input[type="checkbox"], -.navbar-form input[type="radio"] { - margin-top: 3px; -} -.navbar-form .input-append, -.navbar-form .input-prepend { - margin-top: 5px; - white-space: nowrap; -} -.navbar-form .input-append input, -.navbar-form .input-prepend input { - margin-top: 0; -} -.navbar-search { - position: relative; - float: left; - margin-top: 10px; - margin-bottom: 0; -} -.navbar-search .search-query { - margin-bottom: 0; - padding: 4px 14px; - font-family: 'Cabin', Verdana, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.navbar-static-top { - position: static; - margin-bottom: 0; -} -.navbar-static-top .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; - margin-bottom: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - border-width: 0 0 1px; -} -.navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-fixed-bottom .navbar-inner { - padding-left: 0; - padding-right: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.navbar-fixed-top { - top: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 1px 10px rgba(0,0,0,.1); - box-shadow: 0 1px 10px rgba(0,0,0,.1); -} -.navbar-fixed-bottom { - bottom: 0; -} -.navbar-fixed-bottom .navbar-inner { - -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - box-shadow: 0 -1px 10px rgba(0,0,0,.1); -} -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} -.navbar .nav.pull-right { - float: right; - margin-right: 0; -} -.navbar .nav > li { - float: left; -} -.navbar .nav > li > a { - float: none; - padding: 15px 15px 15px; - color: #ffffff; - text-decoration: none; - text-shadow: 0 1px 0 #ad1d28; -} -.navbar .nav .dropdown-toggle .caret { - margin-top: 8px; -} -.navbar .nav > li > a:focus, -.navbar .nav > li > a:hover { - background-color: #d92432; - color: #ffffff; - text-decoration: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - color: #ffffff; - text-decoration: none; - background-color: #d92432; - -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); -} -.navbar .btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-left: 5px; - margin-right: 5px; - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #971923; - background-image: -moz-linear-gradient(top, #971923, #971923); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#971923), to(#971923)); - background-image: -webkit-linear-gradient(top, #971923, #971923); - background-image: -o-linear-gradient(top, #971923, #971923); - background-image: linear-gradient(to bottom, #971923, #971923); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff971923', endColorstr='#ff971923', GradientType=0); - border-color: #971923 #971923 #560e14; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #971923; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); -} -.navbar .btn-navbar:hover, -.navbar .btn-navbar:focus, -.navbar .btn-navbar:active, -.navbar .btn-navbar.active, -.navbar .btn-navbar.disabled, -.navbar .btn-navbar[disabled] { - color: #ffffff; - background-color: #971923; - *background-color: #81161e; -} -.navbar .btn-navbar:active, -.navbar .btn-navbar.active { - background-color: #6b1219 \9; -} -.navbar .btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} -.navbar .nav > li > .dropdown-menu:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: rgba(0, 0, 0, 0.2); - position: absolute; - top: -7px; - left: 9px; -} -.navbar .nav > li > .dropdown-menu:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #ffffff; - position: absolute; - top: -6px; - left: 10px; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:before { - border-top: 7px solid #ccc; - border-top-color: rgba(0, 0, 0, 0.2); - border-bottom: 0; - bottom: -7px; - top: auto; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:after { - border-top: 6px solid #ffffff; - border-bottom: 0; - bottom: -6px; - top: auto; -} -.navbar .nav li.dropdown > a:hover .caret, -.navbar .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #d92432; - color: #ffffff; -} -.navbar .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .pull-right > li > .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right { - left: auto; - right: 0; -} -.navbar .pull-right > li > .dropdown-menu:before, -.navbar .nav > li > .dropdown-menu.pull-right:before { - left: auto; - right: 12px; -} -.navbar .pull-right > li > .dropdown-menu:after, -.navbar .nav > li > .dropdown-menu.pull-right:after { - left: auto; - right: 13px; -} -.navbar .pull-right > li > .dropdown-menu .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { - left: auto; - right: 100%; - margin-left: 0; - margin-right: -1px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.navbar-inverse .navbar-inner { - background-color: #debb27; - background-image: -moz-linear-gradient(top, #debb27, #debb27); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#debb27), to(#debb27)); - background-image: -webkit-linear-gradient(top, #debb27, #debb27); - background-image: -o-linear-gradient(top, #debb27, #debb27); - background-image: linear-gradient(to bottom, #debb27, #debb27); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdebb27', endColorstr='#ffdebb27', GradientType=0); - border-color: rgba(0, 0, 0, 0.1); -} -.navbar-inverse .brand, -.navbar-inverse .nav > li > a { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.navbar-inverse .brand:hover, -.navbar-inverse .nav > li > a:hover, -.navbar-inverse .brand:focus, -.navbar-inverse .nav > li > a:focus { - color: #ffffff; -} -.navbar-inverse .brand { - color: #ffffff; -} -.navbar-inverse .navbar-text { - color: #ffffff; -} -.navbar-inverse .nav > li > a:focus, -.navbar-inverse .nav > li > a:hover { - background-color: rgba(255, 255, 255, 0.2); - color: #ffffff; -} -.navbar-inverse .nav .active > a, -.navbar-inverse .nav .active > a:hover, -.navbar-inverse .nav .active > a:focus { - color: #ffffff; - background-color: rgba(255, 255, 255, 0.2); -} -.navbar-inverse .navbar-link { - color: #ffffff; -} -.navbar-inverse .navbar-link:hover, -.navbar-inverse .navbar-link:focus { - color: #ffffff; -} -.navbar-inverse .divider-vertical { - border-left-color: #debb27; - border-right-color: #debb27; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { - background-color: rgba(255, 255, 255, 0.2); - color: #ffffff; -} -.navbar-inverse .nav li.dropdown > a:hover .caret, -.navbar-inverse .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .navbar-search .search-query { - color: #ffffff; - background-color: #efde96; - border-color: #debb27; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -.navbar-inverse .navbar-search .search-query:-moz-placeholder { - color: #ffffff; -} -.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { - color: #ffffff; -} -.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { - color: #ffffff; -} -.navbar-inverse .navbar-search .search-query:focus, -.navbar-inverse .navbar-search .search-query.focused { - padding: 5px 15px; - color: #444444; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - outline: 0; -} -.navbar-inverse .btn-navbar { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #ccab1f; - background-image: -moz-linear-gradient(top, #ccab1f, #ccab1f); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ccab1f), to(#ccab1f)); - background-image: -webkit-linear-gradient(top, #ccab1f, #ccab1f); - background-image: -o-linear-gradient(top, #ccab1f, #ccab1f); - background-image: linear-gradient(to bottom, #ccab1f, #ccab1f); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffccab1f', endColorstr='#ffccab1f', GradientType=0); - border-color: #ccab1f #ccab1f #8a7415; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #ccab1f; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.navbar-inverse .btn-navbar:hover, -.navbar-inverse .btn-navbar:focus, -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active, -.navbar-inverse .btn-navbar.disabled, -.navbar-inverse .btn-navbar[disabled] { - color: #ffffff; - background-color: #ccab1f; - *background-color: #b6991c; -} -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active { - background-color: #a08618 \9; -} -.breadcrumb { - padding: 8px 15px; - margin: 0 0 20px; - list-style: none; - background-color: #f5f5f5; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.breadcrumb > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb > li > .divider { - padding: 0 5px; - color: #ccc; -} -.breadcrumb > .active { - color: #aaaaaa; -} -.pagination { - margin: 20px 0; -} -.pagination ul { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-left: 0; - margin-bottom: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} -.pagination ul > li { - display: inline; -} -.pagination ul > li > a, -.pagination ul > li > span { - float: left; - padding: 4px 12px; - line-height: 20px; - text-decoration: none; - background-color: #3cb9c6; - border: 1px solid transparent; - border-left-width: 0; -} -.pagination ul > li > a:hover, -.pagination ul > li > a:focus, -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: rgba(255, 255, 255, 0.4); -} -.pagination ul > .active > a, -.pagination ul > .active > span { - color: #aaaaaa; - cursor: default; -} -.pagination ul > .disabled > span, -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > a:focus { - color: #aaaaaa; - background-color: transparent; - cursor: default; -} -.pagination ul > li:first-child > a, -.pagination ul > li:first-child > span { - border-left-width: 1px; - -webkit-border-top-left-radius: 0; - -moz-border-radius-topleft: 0; - border-top-left-radius: 0; - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.pagination ul > li:last-child > a, -.pagination ul > li:last-child > span { - -webkit-border-top-right-radius: 0; - -moz-border-radius-topright: 0; - border-top-right-radius: 0; - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.pagination-centered { - text-align: center; -} -.pagination-right { - text-align: right; -} -.pagination-large ul > li > a, -.pagination-large ul > li > span { - padding: 20px 24px; - font-size: 17.5px; -} -.pagination-large ul > li:first-child > a, -.pagination-large ul > li:first-child > span { - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.pagination-large ul > li:last-child > a, -.pagination-large ul > li:last-child > span { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.pagination-mini ul > li:first-child > a, -.pagination-small ul > li:first-child > a, -.pagination-mini ul > li:first-child > span, -.pagination-small ul > li:first-child > span { - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topleft: 3px; - border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - border-bottom-left-radius: 3px; -} -.pagination-mini ul > li:last-child > a, -.pagination-small ul > li:last-child > a, -.pagination-mini ul > li:last-child > span, -.pagination-small ul > li:last-child > span { - -webkit-border-top-right-radius: 3px; - -moz-border-radius-topright: 3px; - border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - -moz-border-radius-bottomright: 3px; - border-bottom-right-radius: 3px; -} -.pagination-small ul > li > a, -.pagination-small ul > li > span { - padding: 8px 12px; - font-size: 11.9px; -} -.pagination-mini ul > li > a, -.pagination-mini ul > li > span { - padding: 4px 8px; - font-size: 10.5px; -} -.pager { - margin: 20px 0; - list-style: none; - text-align: center; - *zoom: 1; -} -.pager:before, -.pager:after { - display: table; - content: ""; - line-height: 0; -} -.pager:after { - clear: both; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #aaaaaa; - background-color: #fff; - cursor: default; -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop, -.modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.modal { - position: fixed; - top: 10%; - left: 50%; - z-index: 1050; - width: 560px; - margin-left: -280px; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - /* IE6-7 */ - - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - outline: none; -} -.modal.fade { - -webkit-transition: opacity .3s linear, top .3s ease-out; - -moz-transition: opacity .3s linear, top .3s ease-out; - -o-transition: opacity .3s linear, top .3s ease-out; - transition: opacity .3s linear, top .3s ease-out; - top: -25%; -} -.modal.fade.in { - top: 10%; -} -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} -.modal-header .close { - margin-top: 2px; -} -.modal-header h3 { - margin: 0; - line-height: 30px; -} -.modal-body { - position: relative; - overflow-y: auto; - max-height: 400px; - padding: 15px; -} -.modal-form { - margin-bottom: 0; -} -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - text-align: right; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; - *zoom: 1; -} -.modal-footer:before, -.modal-footer:after { - display: table; - content: ""; - line-height: 0; -} -.modal-footer:after { - clear: both; -} -.modal-footer .btn + .btn { - margin-left: 5px; - margin-bottom: 0; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.tooltip { - position: absolute; - z-index: 1020; - display: block; - visibility: visible; - font-size: 11px; - line-height: 1.4; - opacity: 0; - filter: alpha(opacity=0); -} -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.tooltip.top { - margin-top: -3px; - padding: 5px 0; -} -.tooltip.right { - margin-left: 3px; - padding: 0 5px; -} -.tooltip.bottom { - margin-top: 3px; - padding: 5px 0; -} -.tooltip.left { - margin-left: -3px; - padding: 0 5px; -} -.tooltip-inner { - max-width: 200px; - padding: 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #000000; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #000000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #000000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #000000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000000; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - background-color: #ffffff; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - white-space: normal; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #ad1d28; - border-bottom: 1px solid #971923; - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.popover-title:empty { - display: none; -} -.popover-content { - padding: 9px 14px; -} -.popover .arrow, -.popover .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover .arrow { - border-width: 11px; -} -.popover .arrow:after { - border-width: 10px; - content: ""; -} -.popover.top .arrow { - left: 50%; - margin-left: -11px; - border-bottom-width: 0; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, 0.25); - bottom: -11px; -} -.popover.top .arrow:after { - bottom: 1px; - margin-left: -10px; - border-bottom-width: 0; - border-top-color: #ffffff; -} -.popover.right .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-left-width: 0; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, 0.25); -} -.popover.right .arrow:after { - left: 1px; - bottom: -10px; - border-left-width: 0; - border-right-color: #ffffff; -} -.popover.bottom .arrow { - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, 0.25); - top: -11px; -} -.popover.bottom .arrow:after { - top: 1px; - margin-left: -10px; - border-top-width: 0; - border-bottom-color: #ffffff; -} -.popover.left .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, 0.25); -} -.popover.left .arrow:after { - right: 1px; - border-right-width: 0; - border-left-color: #ffffff; - bottom: -10px; -} -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} -.thumbnails:before, -.thumbnails:after { - display: table; - content: ""; - line-height: 0; -} -.thumbnails:after { - clear: both; -} -.row-fluid .thumbnails { - margin-left: 0; -} -.thumbnails > li { - float: left; - margin-bottom: 20px; - margin-left: 20px; -} -.thumbnail { - display: block; - padding: 4px; - line-height: 20px; - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -a.thumbnail:hover, -a.thumbnail:focus { - border-color: #e8d069; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} -.thumbnail > img { - display: block; - max-width: 100%; - margin-left: auto; - margin-right: auto; -} -.thumbnail .caption { - padding: 9px; - color: #555555; -} -.media, -.media-body { - overflow: hidden; - *overflow: visible; - zoom: 1; -} -.media, -.media .media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media-object { - display: block; -} -.media-heading { - margin: 0 0 5px; -} -.media > .pull-left { - margin-right: 10px; -} -.media > .pull-right { - margin-left: 10px; -} -.media-list { - margin-left: 0; - list-style: none; -} -.label, -.badge { - display: inline-block; - padding: 2px 4px; - font-size: 11.844px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - vertical-align: baseline; - white-space: nowrap; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #aaaaaa; -} -.label { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.badge { - padding-left: 9px; - padding-right: 9px; - -webkit-border-radius: 9px; - -moz-border-radius: 9px; - border-radius: 9px; -} -.label:empty, -.badge:empty { - display: none; -} -a.label:hover, -a.label:focus, -a.badge:hover, -a.badge:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.label-important, -.badge-important { - background-color: #e1f0f0; -} -.label-important[href], -.badge-important[href] { - background-color: #bfdfdf; -} -.label-warning, -.badge-warning { - background-color: #df6e1e; -} -.label-warning[href], -.badge-warning[href] { - background-color: #b25818; -} -.label-success, -.badge-success { - background-color: #e1f0f0; -} -.label-success[href], -.badge-success[href] { - background-color: #bfdfdf; -} -.label-info, -.badge-info { - background-color: #e1f0f0; -} -.label-info[href], -.badge-info[href] { - background-color: #bfdfdf; -} -.label-inverse, -.badge-inverse { - background-color: #444444; -} -.label-inverse[href], -.badge-inverse[href] { - background-color: #2b2b2b; -} -.btn .label, -.btn .badge { - position: relative; - top: -1px; -} -.btn-mini .label, -.btn-mini .badge { - top: 0; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-moz-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-ms-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - overflow: hidden; - height: 20px; - margin-bottom: 20px; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.progress .bar { - width: 0%; - height: 100%; - color: #ffffff; - float: left; - font-size: 12px; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(to bottom, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} -.progress .bar + .bar { - -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); -} -.progress-striped .bar { - background-color: #149bdf; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - -ms-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-danger .bar, -.progress .bar-danger { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); -} -.progress-danger.progress-striped .bar, -.progress-striped .bar-danger { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar, -.progress .bar-success { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(to bottom, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); -} -.progress-success.progress-striped .bar, -.progress-striped .bar-success { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar, -.progress .bar-info { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(to bottom, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); -} -.progress-info.progress-striped .bar, -.progress-striped .bar-info { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-warning .bar, -.progress .bar-warning { - background-color: #e58846; - background-image: -moz-linear-gradient(top, #ea9960, #df6e1e); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ea9960), to(#df6e1e)); - background-image: -webkit-linear-gradient(top, #ea9960, #df6e1e); - background-image: -o-linear-gradient(top, #ea9960, #df6e1e); - background-image: linear-gradient(to bottom, #ea9960, #df6e1e); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffea9960', endColorstr='#ffdf6e1e', GradientType=0); -} -.progress-warning.progress-striped .bar, -.progress-striped .bar-warning { - background-color: #ea9960; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.accordion { - margin-bottom: 20px; -} -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.accordion-heading { - border-bottom: 0; -} -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} -.accordion-toggle { - cursor: pointer; -} -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} -.carousel { - position: relative; - margin-bottom: 20px; - line-height: 1; -} -.carousel-inner { - overflow: hidden; - width: 100%; - position: relative; -} -.carousel-inner > .item { - display: none; - position: relative; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - line-height: 1; -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #111111; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.carousel-control.right { - left: auto; - right: 15px; -} -.carousel-control:hover, -.carousel-control:focus { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} -.carousel-indicators { - position: absolute; - top: 15px; - right: 15px; - z-index: 5; - margin: 0; - list-style: none; -} -.carousel-indicators li { - display: block; - float: left; - width: 10px; - height: 10px; - margin-left: 5px; - text-indent: -999px; - background-color: #ccc; - background-color: rgba(255, 255, 255, 0.25); - border-radius: 5px; -} -.carousel-indicators .active { - background-color: #fff; -} -.carousel-caption { - position: absolute; - left: 0; - right: 0; - bottom: 0; - padding: 15px; - background: #444444; - background: rgba(0, 0, 0, 0.75); -} -.carousel-caption h4, -.carousel-caption p { - color: #ffffff; - line-height: 20px; -} -.carousel-caption h4 { - margin: 0 0 5px; -} -.carousel-caption p { - margin-bottom: 0; -} -.hero-unit { - padding: 60px; - margin-bottom: 30px; - font-size: 18px; - font-weight: 200; - line-height: 30px; - color: inherit; - background-color: #3cb9c6; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - color: inherit; - letter-spacing: -1px; -} -.hero-unit li { - line-height: 30px; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.invisible { - visibility: hidden; -} -.affix { - position: fixed; -} -h6 { - color: #e1f0f0; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-family: 'Cabin', Verdana, sans-serif; - color: #e1f0f0; -} -code, -pre { - background-color: rgba(255, 255, 255, 0.3); - padding: 2px; -} -blockquote { - border-left-color: #1cafbd; -} -blockquote.pull-right { - border-right-color: #1cafbd; -} -blockquote small { - color: rgba(255, 255, 255, 0.6); -} -.muted { - color: rgba(255, 255, 255, 0.6); -} -body { - background-color: #0f8790; - background-image: -webkit-gradient(radial, center center, 0, center center, 460, from(#12a5b0), to(#0f8790)); - background-image: -webkit-radial-gradient(circle, #12a5b0, #0f8790); - background-image: -moz-radial-gradient(circle, #12a5b0, #0f8790); - background-image: -o-radial-gradient(circle, #12a5b0, #0f8790); - background-repeat: no-repeat; -} -hr { - border-bottom: none; -} -.page-header { - margin: 30px 0 15px; - border-bottom: 0px solid transparent; -} -.navbar .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar .brand { - padding: 15px 20px 14px; - font-family: 'Lobster', cursive; - font-size: 24px; - font-weight: normal; -} -.navbar .nav > li > a { - padding-top: 17px; - padding-bottom: 14px; - text-shadow: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .navbar .nav > .active > a:focus { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.navbar .navbar-search { - margin-top: 10px; -} -.navbar .navbar-search .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - padding-top: 5px; - padding-bottom: 5px; -} -.navbar .navbar-text { - margin: 17px 15px 14px; - line-height: 20px; -} -.navbar .btn, -.navbar .btn-group { - padding: 4px; -} -.navbar-inverse .dropdown-menu li > a:hover, -.navbar-inverse .dropdown-menu li > a:focus, -.navbar-inverse .dropdown-submenu:hover > a { - background-image: none; - background-color: #debb27; -} -@media (max-width: 979px) { - .navbar .nav-collapse .nav li > a { - color: #e1f0f0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - } - .navbar .nav-collapse .nav li > a:hover { - background-color: #d92432; - } - .navbar .nav-collapse .dropdown-menu li > a:hover, - .navbar .nav-collapse .dropdown-menu li > a:focus, - .navbar .nav-collapse .dropdown-submenu:hover > a { - background-image: none; - } - .navbar .nav-collapse .navbar-form, - .navbar .nav-collapse .navbar-search { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - border: none; - } - .navbar .nav-collapse .navbar-search .search-query { - border: 2px solid #e1f0f0; - } - .navbar .nav-collapse .nav-header { - color: rgba(255, 255, 255, 0.5); - } - .navbar-inverse .nav-collapse .nav > li > a, - .navbar-inverse .nav-collapse .dropdown-menu a { - color: #ffffff !important; - } - .navbar-inverse .nav-collapse .nav li > a:hover, - .navbar-inverse .nav-collapse .dropdown-menu a:hover { - background-color: #e5c953 !important; - } -} -div.subnav { - margin: 0 1px; - background: rgba(42, 99, 105, 0.9) none; - border: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -div.subnav .nav > li > a { - color: #e1f0f0; - border-color: transparent; -} -div.subnav .nav > li:first-child > a, -div.subnav .nav > li:first-child > a:hover { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -div.subnav .nav > .active > a { - background-color: rgba(255, 255, 255, 0.4); - border-color: transparent; - color: #e1f0f0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -div.subnav .nav > li > a:hover, -div.subnav .nav > .active > a:hover { - border-right-color: transparent; - background-color: rgba(255, 255, 255, 0.4); - color: #e1f0f0; -} -div.subnav .nav > li.open > a { - border-color: transparent; - background-color: rgba(255, 255, 255, 0.4); -} -div.subnav-fixed { - top: 51px; - margin: 0; -} -@media (max-width: 767px) { - div.subnav .nav > li + li > a { - border-top: 1px solid rgba(255, 255, 255, 0.4); - } -} -.nav-tabs, -.nav-pills { - border-color: transparent; -} -.nav-tabs > li > a, -.nav-pills > li > a { - border-color: transparent; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: 0; - -moz-box-shadow: 0; - box-shadow: 0; -} -.nav-tabs > li > a:hover, -.nav-pills > li > a:hover { - background-color: #8AD5DC; - border-color: transparent; - text-shadow: none; -} -.nav-tabs > .active > a, -.nav-pills > .active > a, -.nav-tabs > .active > a:hover, -.nav-pills > .active > a:hover { - background-color: #8AD5DC; - border-color: transparent; - color: #e1f0f0; - text-shadow: none; -} -.nav-tabs > .disabled > a, -.nav-pills > .disabled > a, -.nav-tabs > .disabled > a:hover, -.nav-pills > .disabled > a:hover { - background: none; - color: #dddddd; -} -.nav-tabs > .open > .dropdown-toggle, -.nav-pills > .open > .dropdown-toggle, -.nav-tabs > .open > .dropdown-toggle, -.nav-pills > .open > .dropdown-toggle { - background-color: #8AD5DC; - color: #e8d069; - border-color: transparent; -} -.nav-tabs { - border-bottom: 1px solid rgba(255, 255, 255, 0.5); -} -.nav-tabs > li > a { - background-color: #3CB9C6; -} -.nav-tabs.nav-stacked li > a:first-child, -.nav-tabs.nav-stacked li > a:last-child { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked li > a, -.nav-tabs.nav-stacked li > a:hover, -.nav-tabs.nav-stacked li.active > a, -.nav-tabs.nav-stacked li.active > a:hover { - border-color: transparent; -} -.nav-list .nav-header { - text-shadow: none; - color: #e1f0f0; -} -.nav-list li > a { - text-shadow: none; -} -.nav-list li.active > a, -.nav-list li > a:hover, -.nav-list li.active > a:hover { - background-color: #8AD5DC; - text-shadow: none; -} -.nav-list .divider { - background-color: rgba(255, 255, 255, 0.3); - border-bottom: none; -} -.breadcrumb, -.pager > li > a { - border-color: transparent; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - text-shadow: none; -} -.breadcrumb { - background-color: #3CB9C6; - background-image: none; -} -.breadcrumb li { - text-shadow: none; -} -.breadcrumb .active { - color: #ffffff; -} -.breadcrumb > li > a.divider, -.breadcrumb > li > span.divider { - color: #dddddd; -} -.pagination ul { - background-color: #3cb9c6; - background-image: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.pagination ul > li > a:hover { - background-color: rgba(255, 255, 255, 0.4); - color: #e8d069; -} -.pagination ul > li:first-child > a, -.pagination ul > li:last-child > a { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > span, -.pagination ul > .disabled > span:hover { - color: #e1f0f0; -} -.pagination ul > .active > a, -.pagination ul > .active > a:hover, -.pagination ul > .active > span, -.pagination ul > .active > span:hover { - background-color: rgba(255, 255, 255, 0.4); - color: #e1f0f0; -} -.pager li > a { - background-color: #3CB9C6; -} -.pager li > a:hover { - background-color: #8AD5DC; -} -.pager .disabled a, -.pager .disabled a:hover { - background-color: #3CB9C6; - color: #ffffff; -} -.btn { - padding: 12px 16px; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - background-image: none; - text-shadow: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - background-color: #dddddd; - border-color: transparent; -} -.btn:hover, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - background-color: #d0d0d0; - text-shadow: none; -} -.btn:active, -.btn.active { - background-color: #b7b7b7; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn:active, -.btn.active { - background-color: #b7b7b7 \9; -} -.btn-large { - padding: 20px 24px; -} -.btn-small { - padding: 8px 12px; -} -.btn-mini { - padding: 4px 8px; -} -.btn-group .btn:first-child { - margin-left: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group .btn:last-child, -.btn-group .dropdown-toggle { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group .dropdown-toggle, -.btn-group.open .dropdown-toggle, -.btn.open .dropdown-toggle { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-primary { - background-color: #ad1d28; - border-color: transparent; -} -.btn-primary:hover, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - background-color: #971923; - text-shadow: none; -} -.btn-primary:active, -.btn-primary.active { - background-color: #6b1219; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-primary:active, -.btn-primary.active { - background-color: #6b1219 \9; -} -.btn-info { - background-color: #4d3a7d; - border-color: transparent; -} -.btn-info:hover, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - background-color: #42326c; - text-shadow: none; -} -.btn-info:active, -.btn-info.active { - background-color: #2d2249; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-info:active, -.btn-info.active { - background-color: #2d2249 \9; -} -.btn-success { - background-color: #48ca3b; - border-color: transparent; -} -.btn-success:hover, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - background-color: #3eb932; - text-shadow: none; -} -.btn-success:active, -.btn-success.active { - background-color: #319127; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-success:active, -.btn-success.active { - background-color: #319127 \9; -} -.btn-warning { - background-color: #df6e1e; - border-color: transparent; -} -.btn-warning:hover, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - background-color: #c9631b; - text-shadow: none; -} -.btn-warning:active, -.btn-warning.active { - background-color: #9c4d15; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-warning:active, -.btn-warning.active { - background-color: #9c4d15 \9; -} -.btn-danger { - background-color: #debb27; - border-color: transparent; -} -.btn-danger:hover, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - background-color: #ccab1f; - text-shadow: none; -} -.btn-danger:active, -.btn-danger.active { - background-color: #a08618; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-danger:active, -.btn-danger.active { - background-color: #a08618 \9; -} -.btn-inverse { - background-color: #27666d; - border-color: transparent; -} -.btn-inverse:hover, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - background-color: #20545a; - text-shadow: none; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #133135; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #133135 \9; -} -.btn-link { - background-color: #ad1d28; - border-color: transparent; -} -.btn-link:hover, -.btn-link:active, -.btn-link.active, -.btn-link.disabled, -.btn-link[disabled] { - background-color: #971923; - text-shadow: none; -} -.btn-link:active, -.btn-link.active { - background-color: #6b1219; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-link:active, -.btn-link.active { - background-color: #6b1219 \9; -} -.btn-small [class^="icon-"] { - margin-top: 1px; -} -.add-on [class^="icon-"] { - margin-left: 5px; -} -.table th, -.table td, -.table tbody + tbody { - border-top: 0px solid transparent; -} -.table-bordered { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.table tbody tr.success td { - background-color: #48ca3b; -} -.table tbody tr.error td { - background-color: #ad1d28; -} -.table tbody tr.info td { - background-color: #00bce1; -} -legend { - font-family: 'Lobster', cursive; -} -legend, -label, -.help-block, -.input-file { - border: 0px solid transparent; - color: inherit; -} -input, -textarea, -.uneditable-input { - border: 0px solid transparent; - padding: 10px; -} -.uneditable-input { - padding-bottom: 30px; -} -select { - border: 0px solid transparent; -} -button { - margin-left: 12px; -} -input, -textarea, -.search-query, -.uneditable-input, -.input-append input, -.input-append .uneditable-input, -.input-prepend input, -.input-prepend .uneditable-input { - border-color: transparent; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.form-actions { - border-top: 0px solid transparent; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #debb27; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #debb27; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #f2e5ac; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #ecd77f; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #debb27; - background-color: #df6e1e; - border-color: #debb27; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #df6e1e; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #df6e1e; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #f3c4a3; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #eda776; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #fffefd; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #fffefd; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #fffefd; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #df6e1e; - background-color: #ad1d28; - border-color: #df6e1e; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #48ca3b; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #48ca3b; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #93e08b; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #6dd563; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #def5dc; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #def5dc; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #def5dc; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #48ca3b; - background-color: #48ca3b; - border-color: #48ca3b; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #4d3a7d; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #4d3a7d; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #7d65b8; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #624aa0; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #b8abd8; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #b8abd8; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #b8abd8; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #4d3a7d; - background-color: #4d3a7d; - border-color: #4d3a7d; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #f2e5ac; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #f3c4a3; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #93e08b; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #7d65b8; -} -.input-prepend .add-on, -.input-append .add-on { - height: 20px; - padding-top: 4px; - background-color: #dddddd; - border-color: transparent; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - color: #555555; - text-shadow: none; -} -.input-append .btn, -.input-prepend .btn { - padding: 4px 10px; -} -.alert { - border-color: transparent; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - text-shadow: none; -} -.alert h1, -.alert h2, -.alert h3, -.alert h4, -.alert h5, -.alert h6 { - color: #e1f0f0; -} -.alert-heading { - color: #e1f0f0; -} -.label, -.badge { - background-color: #00bce1; -} -.label-success, -.badge-success { - background-color: #48ca3b; -} -.label-important, -.badge-important { - background-color: #ad1d28; -} -.label-warning, -.badge-warning { - background-color: #df6e1e; -} -.label-info, -.badge-info { - background-color: #4d3a7d; -} -.label-inverse, -.badge-inverse { - background-color: #27666d; -} -.progress, -.well, -pre, -code { - border-color: transparent; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - text-shadow: none; -} -.well { - background-image: none; -} -.hero-unit { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.thumbnail { - border: 0 solid transparent; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.progress { - background-image: none; - background-color: #27666D; -} -.progress .bar { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - background-image: none; - background-color: #debb27; -} -.progress .bar-success { - background-color: #48ca3b; -} -.progress .bar-warning { - background-color: #df6e1e; -} -.progress .bar-error { - background-color: #ad1d28; -} -.progress-danger .bar { - background-image: none; - background-color: #AD1D28; -} -.progress-danger.progress-striped .bar { - background-color: #ad1d28; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar { - background-image: none; - background-color: #48ca3b; -} -.progress-success.progress-striped .bar { - background-color: #48ca3b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar { - background-image: none; - background-color: #00bce1; -} -.progress-info.progress-striped .bar { - background-color: #00bce1; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.modal { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.modal-header { - background-color: #ad1d28; - color: #ffffff; -} -.modal-body { - color: #444444; -} -.modal-body h1, -.modal-body h2, -.modal-body h3, -.modal-body h4, -.modal-body h5, -.modal-body h6, -.modal-body legend { - color: #ad1d28; -} -.modal-body label, -.modal-body .input-file { - color: #444444; -} -.modal-body .help-block, -.modal-body .help-inline { - color: #aaaaaa; -} -.modal-body textarea, -.modal-body input, -.modal-body .uneditable-input { - border: 1px solid #aaaaaa; -} -.popover { - padding: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - color: #444444; -} -.popover .popover-title { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - color: #ffffff; -} -#main { - margin-top: 56px; -} -.navbar-fixed-top .navbar-inner { - padding-left: 20px; - padding-right: 20px; -} -.navbar .dropdown-menu { - padding: 20px; - max-height: 300px; - overflow: auto; - width: 300px; - background-color: #debb27; -} -.navbar .dropdown-menu a, -.navbar .dropdown-menu a:visited { - color: #ffffff; -} -.navbar .dropdown-menu a:hover { - color: #ffffff; - background-color: rgba(255, 255, 255, 0.2); -} -.navbar .dropdown-menu a:active { - color: #ffffff; - background-color: rgba(255, 255, 255, 0.2); -} -.navbar .dropdown-menu a { - padding-left: 0; - padding-right: 5px; - font-weight: 500; - font-size: 115%; -} -#toc { - position: fixed; - top: 56px; - width: 29%; - max-height: 90%; - overflow: auto; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px #ad1d28 solid; - padding: 5px; -} -#toc .toc-active { - background-color: #d92432; - color: #ffffff; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -#toc .toc-active a, -#toc .toc-active a:hover, -#toc .toc-active a:active, -#toc .toc-active a:visited { - background-color: #d92432; - color: #ffffff; -} -.toc-shim { - padding-top: 56px; - margin-top: -56px; - display: block; -} -.toc-h1 { - margin-left: 2px; - margin-right: 2px; -} -.toc-h2 { - margin-left: 7px; - margin-right: 7px; -} -.toc-h3 { - margin-left: 14px; - margin-right: 7px; -} -.toc-h4 { - margin-left: 21px; - margin-right: 7px; -} -.copyright { - font-size: 90%; - text-align: center; - color: #debb27; - width: 100%; - display: block; -} -.jsdoc-message { - font-size: 90%; - text-align: center; - color: #debb27; - width: 100%; - display: block; -} -.page-title { - font-size: 220%; - color: #debb27; - font-weight: 700; - padding-top: 10px; - display: block; -} -footer { - border-top: 1px solid #debb27; - padding-top: 15px; -} -code { - background-color: none; - border: none; - color: #df6e1e; -} -.buffered-name { - padding-top: 56px; - margin-top: -56px; -} -.member-collapsed { - background-color: #debb27; - color: #ffffff; -} -.member-open { - background-color: inherit; - color: inherit; -} -.member { - -webkit-transition: background-color 0.5s linear; - -moz-transition: background-color 0.5s linear; - -o-transition: background-color 0.5s linear; - transition: background-color 0.5s linear; - -webkit-transition: color 0.5s linear; - -moz-transition: color 0.5s linear; - -o-transition: color 0.5s linear; - transition: color 0.5s linear; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 10px; -} diff --git a/docs/styles/site.cosmo.css b/docs/styles/site.cosmo.css deleted file mode 100644 index b4ac21b045..0000000000 --- a/docs/styles/site.cosmo.css +++ /dev/null @@ -1,5910 +0,0 @@ -@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); -/*! - * Bootstrap v2.3.1 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -.clearfix { - *zoom: 1; -} -.clearfix:before, -.clearfix:after { - display: table; - content: ""; - line-height: 0; -} -.clearfix:after { - clear: both; -} -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.input-block-level { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a:hover, -a:active { - outline: 0; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - /* Responsive images (ensure images don't scale beyond their parents) */ - - max-width: 100%; - /* Part 1: Set a maxium relative to the parent */ - - width: auto\9; - /* IE7-8 need help adjusting responsive images */ - - height: auto; - /* Part 2: Scale the height according to the width, otherwise you get stretching */ - - vertical-align: middle; - border: 0; - -ms-interpolation-mode: bicubic; -} -#map_canvas img, -.google-maps img { - max-width: none; -} -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} -button, -input { - *overflow: visible; - line-height: normal; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -label, -select, -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -input[type="radio"], -input[type="checkbox"] { - cursor: pointer; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -@media print { - * { - text-shadow: none !important; - color: #000 !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} -body { - margin: 0; - font-family: "Open Sans", Calibri, Candara, Arial, sans-serif; - font-size: 14px; - line-height: 20px; - color: #555555; - background-color: #ffffff; -} -a { - color: #007fff; - text-decoration: none; -} -a:hover, -a:focus { - color: #0066cc; - text-decoration: underline; -} -.img-rounded { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.img-polaroid { - padding: 4px; - background-color: #fff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} -.img-circle { - -webkit-border-radius: 500px; - -moz-border-radius: 500px; - border-radius: 500px; -} -.row { - margin-left: -20px; - *zoom: 1; -} -.row:before, -.row:after { - display: table; - content: ""; - line-height: 0; -} -.row:after { - clear: both; -} -[class*="span"] { - float: left; - min-height: 1px; - margin-left: 20px; -} -.container, -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.span12 { - width: 940px; -} -.span11 { - width: 860px; -} -.span10 { - width: 780px; -} -.span9 { - width: 700px; -} -.span8 { - width: 620px; -} -.span7 { - width: 540px; -} -.span6 { - width: 460px; -} -.span5 { - width: 380px; -} -.span4 { - width: 300px; -} -.span3 { - width: 220px; -} -.span2 { - width: 140px; -} -.span1 { - width: 60px; -} -.offset12 { - margin-left: 980px; -} -.offset11 { - margin-left: 900px; -} -.offset10 { - margin-left: 820px; -} -.offset9 { - margin-left: 740px; -} -.offset8 { - margin-left: 660px; -} -.offset7 { - margin-left: 580px; -} -.offset6 { - margin-left: 500px; -} -.offset5 { - margin-left: 420px; -} -.offset4 { - margin-left: 340px; -} -.offset3 { - margin-left: 260px; -} -.offset2 { - margin-left: 180px; -} -.offset1 { - margin-left: 100px; -} -.row-fluid { - width: 100%; - *zoom: 1; -} -.row-fluid:before, -.row-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.row-fluid:after { - clear: both; -} -.row-fluid [class*="span"] { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2.127659574468085%; - *margin-left: 2.074468085106383%; -} -.row-fluid [class*="span"]:first-child { - margin-left: 0; -} -.row-fluid .controls-row [class*="span"] + [class*="span"] { - margin-left: 2.127659574468085%; -} -.row-fluid .span12 { - width: 100%; - *width: 99.94680851063829%; -} -.row-fluid .span11 { - width: 91.48936170212765%; - *width: 91.43617021276594%; -} -.row-fluid .span10 { - width: 82.97872340425532%; - *width: 82.92553191489361%; -} -.row-fluid .span9 { - width: 74.46808510638297%; - *width: 74.41489361702126%; -} -.row-fluid .span8 { - width: 65.95744680851064%; - *width: 65.90425531914893%; -} -.row-fluid .span7 { - width: 57.44680851063829%; - *width: 57.39361702127659%; -} -.row-fluid .span6 { - width: 48.93617021276595%; - *width: 48.88297872340425%; -} -.row-fluid .span5 { - width: 40.42553191489362%; - *width: 40.37234042553192%; -} -.row-fluid .span4 { - width: 31.914893617021278%; - *width: 31.861702127659576%; -} -.row-fluid .span3 { - width: 23.404255319148934%; - *width: 23.351063829787233%; -} -.row-fluid .span2 { - width: 14.893617021276595%; - *width: 14.840425531914894%; -} -.row-fluid .span1 { - width: 6.382978723404255%; - *width: 6.329787234042553%; -} -.row-fluid .offset12 { - margin-left: 104.25531914893617%; - *margin-left: 104.14893617021275%; -} -.row-fluid .offset12:first-child { - margin-left: 102.12765957446808%; - *margin-left: 102.02127659574467%; -} -.row-fluid .offset11 { - margin-left: 95.74468085106382%; - *margin-left: 95.6382978723404%; -} -.row-fluid .offset11:first-child { - margin-left: 93.61702127659574%; - *margin-left: 93.51063829787232%; -} -.row-fluid .offset10 { - margin-left: 87.23404255319149%; - *margin-left: 87.12765957446807%; -} -.row-fluid .offset10:first-child { - margin-left: 85.1063829787234%; - *margin-left: 84.99999999999999%; -} -.row-fluid .offset9 { - margin-left: 78.72340425531914%; - *margin-left: 78.61702127659572%; -} -.row-fluid .offset9:first-child { - margin-left: 76.59574468085106%; - *margin-left: 76.48936170212764%; -} -.row-fluid .offset8 { - margin-left: 70.2127659574468%; - *margin-left: 70.10638297872339%; -} -.row-fluid .offset8:first-child { - margin-left: 68.08510638297872%; - *margin-left: 67.9787234042553%; -} -.row-fluid .offset7 { - margin-left: 61.70212765957446%; - *margin-left: 61.59574468085106%; -} -.row-fluid .offset7:first-child { - margin-left: 59.574468085106375%; - *margin-left: 59.46808510638297%; -} -.row-fluid .offset6 { - margin-left: 53.191489361702125%; - *margin-left: 53.085106382978715%; -} -.row-fluid .offset6:first-child { - margin-left: 51.063829787234035%; - *margin-left: 50.95744680851063%; -} -.row-fluid .offset5 { - margin-left: 44.68085106382979%; - *margin-left: 44.57446808510638%; -} -.row-fluid .offset5:first-child { - margin-left: 42.5531914893617%; - *margin-left: 42.4468085106383%; -} -.row-fluid .offset4 { - margin-left: 36.170212765957444%; - *margin-left: 36.06382978723405%; -} -.row-fluid .offset4:first-child { - margin-left: 34.04255319148936%; - *margin-left: 33.93617021276596%; -} -.row-fluid .offset3 { - margin-left: 27.659574468085104%; - *margin-left: 27.5531914893617%; -} -.row-fluid .offset3:first-child { - margin-left: 25.53191489361702%; - *margin-left: 25.425531914893618%; -} -.row-fluid .offset2 { - margin-left: 19.148936170212764%; - *margin-left: 19.04255319148936%; -} -.row-fluid .offset2:first-child { - margin-left: 17.02127659574468%; - *margin-left: 16.914893617021278%; -} -.row-fluid .offset1 { - margin-left: 10.638297872340425%; - *margin-left: 10.53191489361702%; -} -.row-fluid .offset1:first-child { - margin-left: 8.51063829787234%; - *margin-left: 8.404255319148938%; -} -[class*="span"].hide, -.row-fluid [class*="span"].hide { - display: none; -} -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { - float: right; -} -.container { - margin-right: auto; - margin-left: auto; - *zoom: 1; -} -.container:before, -.container:after { - display: table; - content: ""; - line-height: 0; -} -.container:after { - clear: both; -} -.container-fluid { - padding-right: 20px; - padding-left: 20px; - *zoom: 1; -} -.container-fluid:before, -.container-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.container-fluid:after { - clear: both; -} -p { - margin: 0 0 10px; -} -.lead { - margin-bottom: 20px; - font-size: 21px; - font-weight: 200; - line-height: 30px; -} -small { - font-size: 85%; -} -strong { - font-weight: bold; -} -em { - font-style: italic; -} -cite { - font-style: normal; -} -.muted { - color: #dfdfdf; -} -a.muted:hover, -a.muted:focus { - color: #c6c6c6; -} -.text-warning { - color: #ffffff; -} -a.text-warning:hover, -a.text-warning:focus { - color: #e6e6e6; -} -.text-error { - color: #ffffff; -} -a.text-error:hover, -a.text-error:focus { - color: #e6e6e6; -} -.text-info { - color: #ffffff; -} -a.text-info:hover, -a.text-info:focus { - color: #e6e6e6; -} -.text-success { - color: #ffffff; -} -a.text-success:hover, -a.text-success:focus { - color: #e6e6e6; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 10px 0; - font-family: inherit; - font-weight: 300; - line-height: 20px; - color: #080808; - text-rendering: optimizelegibility; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - line-height: 1; - color: #dfdfdf; -} -h1, -h2, -h3 { - line-height: 40px; -} -h1 { - font-size: 38.5px; -} -h2 { - font-size: 31.5px; -} -h3 { - font-size: 24.5px; -} -h4 { - font-size: 17.5px; -} -h5 { - font-size: 14px; -} -h6 { - font-size: 11.9px; -} -h1 small { - font-size: 24.5px; -} -h2 small { - font-size: 17.5px; -} -h3 small { - font-size: 14px; -} -h4 small { - font-size: 14px; -} -.page-header { - padding-bottom: 9px; - margin: 20px 0 30px; - border-bottom: 1px solid #eeeeee; -} -ul, -ol { - padding: 0; - margin: 0 0 10px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -li { - line-height: 20px; -} -ul.unstyled, -ol.unstyled { - margin-left: 0; - list-style: none; -} -ul.inline, -ol.inline { - margin-left: 0; - list-style: none; -} -ul.inline > li, -ol.inline > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding-left: 5px; - padding-right: 5px; -} -dl { - margin-bottom: 20px; -} -dt, -dd { - line-height: 20px; -} -dt { - font-weight: bold; -} -dd { - margin-left: 10px; -} -.dl-horizontal { - *zoom: 1; -} -.dl-horizontal:before, -.dl-horizontal:after { - display: table; - content: ""; - line-height: 0; -} -.dl-horizontal:after { - clear: both; -} -.dl-horizontal dt { - float: left; - width: 160px; - clear: left; - text-align: right; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.dl-horizontal dd { - margin-left: 180px; -} -hr { - margin: 20px 0; - border: 0; - border-top: 1px solid #eeeeee; - border-bottom: 1px solid #ffffff; -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #dfdfdf; -} -abbr.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 0 0 0 15px; - margin: 0 0 20px; - border-left: 5px solid #eeeeee; -} -blockquote p { - margin-bottom: 0; - font-size: 17.5px; - font-weight: 300; - line-height: 1.25; -} -blockquote small { - display: block; - line-height: 20px; - color: #dfdfdf; -} -blockquote small:before { - content: '\2014 \00A0'; -} -blockquote.pull-right { - float: right; - padding-right: 15px; - padding-left: 0; - border-right: 5px solid #eeeeee; - border-left: 0; -} -blockquote.pull-right p, -blockquote.pull-right small { - text-align: right; -} -blockquote.pull-right small:before { - content: ''; -} -blockquote.pull-right small:after { - content: '\00A0 \2014'; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -address { - display: block; - margin-bottom: 20px; - font-style: normal; - line-height: 20px; -} -code, -pre { - padding: 0 3px 2px; - font-family: Monaco, Menlo, Consolas, "Courier New", monospace; - font-size: 12px; - color: #999999; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - padding: 2px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; - white-space: nowrap; -} -pre { - display: block; - padding: 9.5px; - margin: 0 0 10px; - font-size: 13px; - line-height: 20px; - word-break: break-all; - word-wrap: break-word; - white-space: pre; - white-space: pre-wrap; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} -pre.prettyprint { - margin-bottom: 20px; -} -pre code { - padding: 0; - color: inherit; - white-space: pre; - white-space: pre-wrap; - background-color: transparent; - border: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -form { - margin: 0 0 20px; -} -fieldset { - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 20px; - font-size: 21px; - line-height: 40px; - color: #999999; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -legend small { - font-size: 15px; - color: #dfdfdf; -} -label, -input, -button, -select, -textarea { - font-size: 14px; - font-weight: normal; - line-height: 20px; -} -input, -button, -select, -textarea { - font-family: "Open Sans", Calibri, Candara, Arial, sans-serif; -} -label { - display: block; - margin-bottom: 5px; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 20px; - padding: 4px 6px; - margin-bottom: 10px; - font-size: 14px; - line-height: 20px; - color: #bbbbbb; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; - vertical-align: middle; -} -input, -textarea, -.uneditable-input { - width: 206px; -} -textarea { - height: auto; -} -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - background-color: #ffffff; - border: 1px solid #bbbbbb; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; -} -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - *margin-top: 0; - /* IE7 */ - - margin-top: 1px \9; - /* IE8-9 */ - - line-height: normal; -} -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} -select, -input[type="file"] { - height: 30px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 30px; -} -select { - width: 220px; - border: 1px solid #bbbbbb; - background-color: #ffffff; -} -select[multiple], -select[size] { - height: auto; -} -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.uneditable-input, -.uneditable-textarea { - color: #dfdfdf; - background-color: #fcfcfc; - border-color: #bbbbbb; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -.uneditable-input { - overflow: hidden; - white-space: nowrap; -} -.uneditable-textarea { - width: auto; - height: auto; -} -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #bbbbbb; -} -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #bbbbbb; -} -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #bbbbbb; -} -.radio, -.checkbox { - min-height: 20px; - padding-left: 20px; -} -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -20px; -} -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; -} -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; -} -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; -} -.input-mini { - width: 60px; -} -.input-small { - width: 90px; -} -.input-medium { - width: 150px; -} -.input-large { - width: 210px; -} -.input-xlarge { - width: 270px; -} -.input-xxlarge { - width: 530px; -} -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; -} -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; -} -input, -textarea, -.uneditable-input { - margin-left: 0; -} -.controls-row [class*="span"] + [class*="span"] { - margin-left: 20px; -} -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 926px; -} -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 846px; -} -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 766px; -} -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 686px; -} -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 606px; -} -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 526px; -} -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 446px; -} -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 366px; -} -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 286px; -} -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 206px; -} -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 126px; -} -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 46px; -} -.controls-row { - *zoom: 1; -} -.controls-row:before, -.controls-row:after { - display: table; - content: ""; - line-height: 0; -} -.controls-row:after { - clear: both; -} -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { - float: left; -} -.controls-row .checkbox[class*="span"], -.controls-row .radio[class*="span"] { - padding-top: 5px; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #eeeeee; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #ffffff; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #ffffff; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #ffffff; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #e6e6e6; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #ffffff; - background-color: #ff7518; - border-color: #ffffff; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #ffffff; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #ffffff; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #ffffff; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #e6e6e6; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #ffffff; - background-color: #ff0039; - border-color: #ffffff; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #ffffff; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #ffffff; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #ffffff; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #e6e6e6; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #ffffff; - background-color: #3fb618; - border-color: #ffffff; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #ffffff; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #ffffff; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #ffffff; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #e6e6e6; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #ffffff; - background-color: #9954bb; - border-color: #ffffff; -} -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { - color: #b94a48; - border-color: #ee5f5b; -} -input:focus:invalid:focus, -textarea:focus:invalid:focus, -select:focus:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -.form-actions { - padding: 19px 20px 20px; - margin-top: 20px; - margin-bottom: 20px; - background-color: #f5f5f5; - border-top: 1px solid #e5e5e5; - *zoom: 1; -} -.form-actions:before, -.form-actions:after { - display: table; - content: ""; - line-height: 0; -} -.form-actions:after { - clear: both; -} -.help-block, -.help-inline { - color: #7b7b7b; -} -.help-block { - display: block; - margin-bottom: 10px; -} -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - vertical-align: middle; - padding-left: 5px; -} -.input-append, -.input-prepend { - display: inline-block; - margin-bottom: 10px; - vertical-align: middle; - font-size: 0; - white-space: nowrap; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input, -.input-append .dropdown-menu, -.input-prepend .dropdown-menu, -.input-append .popover, -.input-prepend .popover { - font-size: 14px; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input { - position: relative; - margin-bottom: 0; - *margin-left: 0; - vertical-align: top; - -webkit-border-radius: 0 0px 0px 0; - -moz-border-radius: 0 0px 0px 0; - border-radius: 0 0px 0px 0; -} -.input-append input:focus, -.input-prepend input:focus, -.input-append select:focus, -.input-prepend select:focus, -.input-append .uneditable-input:focus, -.input-prepend .uneditable-input:focus { - z-index: 2; -} -.input-append .add-on, -.input-prepend .add-on { - display: inline-block; - width: auto; - height: 20px; - min-width: 16px; - padding: 4px 5px; - font-size: 14px; - font-weight: normal; - line-height: 20px; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - background-color: #eeeeee; - border: 1px solid #ccc; -} -.input-append .add-on, -.input-prepend .add-on, -.input-append .btn, -.input-prepend .btn, -.input-append .btn-group > .dropdown-toggle, -.input-prepend .btn-group > .dropdown-toggle { - vertical-align: top; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-append .active, -.input-prepend .active { - background-color: #96ed7a; - border-color: #3fb618; -} -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; -} -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 0px 0 0 0px; - -moz-border-radius: 0px 0 0 0px; - border-radius: 0px 0 0 0px; -} -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 0px 0 0 0px; - -moz-border-radius: 0px 0 0 0px; - border-radius: 0px 0 0 0px; -} -.input-append input + .btn-group .btn:last-child, -.input-append select + .btn-group .btn:last-child, -.input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 0px 0px 0; - -moz-border-radius: 0 0px 0px 0; - border-radius: 0 0px 0px 0; -} -.input-append .add-on, -.input-append .btn, -.input-append .btn-group { - margin-left: -1px; -} -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 0px 0px 0; - -moz-border-radius: 0 0px 0px 0; - border-radius: 0 0px 0px 0; -} -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-prepend.input-append input + .btn-group .btn, -.input-prepend.input-append select + .btn-group .btn, -.input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 0px 0px 0; - -moz-border-radius: 0 0px 0px 0; - border-radius: 0 0px 0px 0; -} -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 0px 0 0 0px; - -moz-border-radius: 0px 0 0 0px; - border-radius: 0px 0 0 0px; -} -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 0px 0px 0; - -moz-border-radius: 0 0px 0px 0; - border-radius: 0 0px 0px 0; -} -.input-prepend.input-append .btn-group:first-child { - margin-left: 0; -} -input.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - - margin-bottom: 0; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -/* Allow for input prepend/append in search forms */ -.form-search .input-append .search-query, -.form-search .input-prepend .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.form-search .input-append .search-query { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search .input-append .btn { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .search-query { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .btn { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input, -.form-search .input-prepend, -.form-inline .input-prepend, -.form-horizontal .input-prepend, -.form-search .input-append, -.form-inline .input-append, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; -} -.form-search label, -.form-inline label, -.form-search .btn-group, -.form-inline .btn-group { - display: inline-block; -} -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; -} -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; -} -.control-group { - margin-bottom: 10px; -} -legend + .control-group { - margin-top: 20px; - -webkit-margin-top-collapse: separate; -} -.form-horizontal .control-group { - margin-bottom: 20px; - *zoom: 1; -} -.form-horizontal .control-group:before, -.form-horizontal .control-group:after { - display: table; - content: ""; - line-height: 0; -} -.form-horizontal .control-group:after { - clear: both; -} -.form-horizontal .control-label { - float: left; - width: 160px; - padding-top: 5px; - text-align: right; -} -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 180px; - *margin-left: 0; -} -.form-horizontal .controls:first-child { - *padding-left: 180px; -} -.form-horizontal .help-block { - margin-bottom: 0; -} -.form-horizontal input + .help-block, -.form-horizontal select + .help-block, -.form-horizontal textarea + .help-block, -.form-horizontal .uneditable-input + .help-block, -.form-horizontal .input-prepend + .help-block, -.form-horizontal .input-append + .help-block { - margin-top: 10px; -} -.form-horizontal .form-actions { - padding-left: 180px; -} -table { - max-width: 100%; - background-color: transparent; - border-collapse: collapse; - border-spacing: 0; -} -.table { - width: 100%; - margin-bottom: 20px; -} -.table th, -.table td { - padding: 8px; - line-height: 20px; - text-align: left; - vertical-align: top; - border-top: 1px solid #dddddd; -} -.table th { - font-weight: bold; -} -.table thead th { - vertical-align: bottom; -} -.table caption + thead tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child th, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child th, -.table thead:first-child tr:first-child td { - border-top: 0; -} -.table tbody + tbody { - border-top: 2px solid #dddddd; -} -.table .table { - background-color: #ffffff; -} -.table-condensed th, -.table-condensed td { - padding: 4px 5px; -} -.table-bordered { - border: 1px solid #dddddd; - border-collapse: separate; - *border-collapse: collapse; - border-left: 0; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} -.table-bordered th, -.table-bordered td { - border-left: 1px solid #dddddd; -} -.table-bordered caption + thead tr:first-child th, -.table-bordered caption + tbody tr:first-child th, -.table-bordered caption + tbody tr:first-child td, -.table-bordered colgroup + thead tr:first-child th, -.table-bordered colgroup + tbody tr:first-child th, -.table-bordered colgroup + tbody tr:first-child td, -.table-bordered thead:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} -.table-bordered thead:first-child tr:first-child > th:first-child, -.table-bordered tbody:first-child tr:first-child > td:first-child, -.table-bordered tbody:first-child tr:first-child > th:first-child { - -webkit-border-top-left-radius: 0px; - -moz-border-radius-topleft: 0px; - border-top-left-radius: 0px; -} -.table-bordered thead:first-child tr:first-child > th:last-child, -.table-bordered tbody:first-child tr:first-child > td:last-child, -.table-bordered tbody:first-child tr:first-child > th:last-child { - -webkit-border-top-right-radius: 0px; - -moz-border-radius-topright: 0px; - border-top-right-radius: 0px; -} -.table-bordered thead:last-child tr:last-child > th:first-child, -.table-bordered tbody:last-child tr:last-child > td:first-child, -.table-bordered tbody:last-child tr:last-child > th:first-child, -.table-bordered tfoot:last-child tr:last-child > td:first-child, -.table-bordered tfoot:last-child tr:last-child > th:first-child { - -webkit-border-bottom-left-radius: 0px; - -moz-border-radius-bottomleft: 0px; - border-bottom-left-radius: 0px; -} -.table-bordered thead:last-child tr:last-child > th:last-child, -.table-bordered tbody:last-child tr:last-child > td:last-child, -.table-bordered tbody:last-child tr:last-child > th:last-child, -.table-bordered tfoot:last-child tr:last-child > td:last-child, -.table-bordered tfoot:last-child tr:last-child > th:last-child { - -webkit-border-bottom-right-radius: 0px; - -moz-border-radius-bottomright: 0px; - border-bottom-right-radius: 0px; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered caption + thead tr:first-child th:first-child, -.table-bordered caption + tbody tr:first-child td:first-child, -.table-bordered colgroup + thead tr:first-child th:first-child, -.table-bordered colgroup + tbody tr:first-child td:first-child { - -webkit-border-top-left-radius: 0px; - -moz-border-radius-topleft: 0px; - border-top-left-radius: 0px; -} -.table-bordered caption + thead tr:first-child th:last-child, -.table-bordered caption + tbody tr:first-child td:last-child, -.table-bordered colgroup + thead tr:first-child th:last-child, -.table-bordered colgroup + tbody tr:first-child td:last-child { - -webkit-border-top-right-radius: 0px; - -moz-border-radius-topright: 0px; - border-top-right-radius: 0px; -} -.table-striped tbody > tr:nth-child(odd) > td, -.table-striped tbody > tr:nth-child(odd) > th { - background-color: #f9f9f9; -} -.table-hover tbody tr:hover > td, -.table-hover tbody tr:hover > th { - background-color: #e8f8fd; -} -table td[class*="span"], -table th[class*="span"], -.row-fluid table td[class*="span"], -.row-fluid table th[class*="span"] { - display: table-cell; - float: none; - margin-left: 0; -} -.table td.span1, -.table th.span1 { - float: none; - width: 44px; - margin-left: 0; -} -.table td.span2, -.table th.span2 { - float: none; - width: 124px; - margin-left: 0; -} -.table td.span3, -.table th.span3 { - float: none; - width: 204px; - margin-left: 0; -} -.table td.span4, -.table th.span4 { - float: none; - width: 284px; - margin-left: 0; -} -.table td.span5, -.table th.span5 { - float: none; - width: 364px; - margin-left: 0; -} -.table td.span6, -.table th.span6 { - float: none; - width: 444px; - margin-left: 0; -} -.table td.span7, -.table th.span7 { - float: none; - width: 524px; - margin-left: 0; -} -.table td.span8, -.table th.span8 { - float: none; - width: 604px; - margin-left: 0; -} -.table td.span9, -.table th.span9 { - float: none; - width: 684px; - margin-left: 0; -} -.table td.span10, -.table th.span10 { - float: none; - width: 764px; - margin-left: 0; -} -.table td.span11, -.table th.span11 { - float: none; - width: 844px; - margin-left: 0; -} -.table td.span12, -.table th.span12 { - float: none; - width: 924px; - margin-left: 0; -} -.table tbody tr.success > td { - background-color: #3fb618; -} -.table tbody tr.error > td { - background-color: #ff0039; -} -.table tbody tr.warning > td { - background-color: #ff7518; -} -.table tbody tr.info > td { - background-color: #9954bb; -} -.table-hover tbody tr.success:hover > td { - background-color: #379f15; -} -.table-hover tbody tr.error:hover > td { - background-color: #e60033; -} -.table-hover tbody tr.warning:hover > td { - background-color: #fe6600; -} -.table-hover tbody tr.info:hover > td { - background-color: #8d46b0; -} -[class^="icon-"], -[class*=" icon-"] { - display: inline-block; - width: 14px; - height: 14px; - *margin-right: .3em; - line-height: 14px; - vertical-align: text-top; - background-image: url("../img/glyphicons-halflings.png"); - background-position: 14px 14px; - background-repeat: no-repeat; - margin-top: 1px; -} -/* White icons with optional class, or on hover/focus/active states of certain elements */ -.icon-white, -.nav-pills > .active > a > [class^="icon-"], -.nav-pills > .active > a > [class*=" icon-"], -.nav-list > .active > a > [class^="icon-"], -.nav-list > .active > a > [class*=" icon-"], -.navbar-inverse .nav > .active > a > [class^="icon-"], -.navbar-inverse .nav > .active > a > [class*=" icon-"], -.dropdown-menu > li > a:hover > [class^="icon-"], -.dropdown-menu > li > a:focus > [class^="icon-"], -.dropdown-menu > li > a:hover > [class*=" icon-"], -.dropdown-menu > li > a:focus > [class*=" icon-"], -.dropdown-menu > .active > a > [class^="icon-"], -.dropdown-menu > .active > a > [class*=" icon-"], -.dropdown-submenu:hover > a > [class^="icon-"], -.dropdown-submenu:focus > a > [class^="icon-"], -.dropdown-submenu:hover > a > [class*=" icon-"], -.dropdown-submenu:focus > a > [class*=" icon-"] { - background-image: url("../img/glyphicons-halflings-white.png"); -} -.icon-glass { - background-position: 0 0; -} -.icon-music { - background-position: -24px 0; -} -.icon-search { - background-position: -48px 0; -} -.icon-envelope { - background-position: -72px 0; -} -.icon-heart { - background-position: -96px 0; -} -.icon-star { - background-position: -120px 0; -} -.icon-star-empty { - background-position: -144px 0; -} -.icon-user { - background-position: -168px 0; -} -.icon-film { - background-position: -192px 0; -} -.icon-th-large { - background-position: -216px 0; -} -.icon-th { - background-position: -240px 0; -} -.icon-th-list { - background-position: -264px 0; -} -.icon-ok { - background-position: -288px 0; -} -.icon-remove { - background-position: -312px 0; -} -.icon-zoom-in { - background-position: -336px 0; -} -.icon-zoom-out { - background-position: -360px 0; -} -.icon-off { - background-position: -384px 0; -} -.icon-signal { - background-position: -408px 0; -} -.icon-cog { - background-position: -432px 0; -} -.icon-trash { - background-position: -456px 0; -} -.icon-home { - background-position: 0 -24px; -} -.icon-file { - background-position: -24px -24px; -} -.icon-time { - background-position: -48px -24px; -} -.icon-road { - background-position: -72px -24px; -} -.icon-download-alt { - background-position: -96px -24px; -} -.icon-download { - background-position: -120px -24px; -} -.icon-upload { - background-position: -144px -24px; -} -.icon-inbox { - background-position: -168px -24px; -} -.icon-play-circle { - background-position: -192px -24px; -} -.icon-repeat { - background-position: -216px -24px; -} -.icon-refresh { - background-position: -240px -24px; -} -.icon-list-alt { - background-position: -264px -24px; -} -.icon-lock { - background-position: -287px -24px; -} -.icon-flag { - background-position: -312px -24px; -} -.icon-headphones { - background-position: -336px -24px; -} -.icon-volume-off { - background-position: -360px -24px; -} -.icon-volume-down { - background-position: -384px -24px; -} -.icon-volume-up { - background-position: -408px -24px; -} -.icon-qrcode { - background-position: -432px -24px; -} -.icon-barcode { - background-position: -456px -24px; -} -.icon-tag { - background-position: 0 -48px; -} -.icon-tags { - background-position: -25px -48px; -} -.icon-book { - background-position: -48px -48px; -} -.icon-bookmark { - background-position: -72px -48px; -} -.icon-print { - background-position: -96px -48px; -} -.icon-camera { - background-position: -120px -48px; -} -.icon-font { - background-position: -144px -48px; -} -.icon-bold { - background-position: -167px -48px; -} -.icon-italic { - background-position: -192px -48px; -} -.icon-text-height { - background-position: -216px -48px; -} -.icon-text-width { - background-position: -240px -48px; -} -.icon-align-left { - background-position: -264px -48px; -} -.icon-align-center { - background-position: -288px -48px; -} -.icon-align-right { - background-position: -312px -48px; -} -.icon-align-justify { - background-position: -336px -48px; -} -.icon-list { - background-position: -360px -48px; -} -.icon-indent-left { - background-position: -384px -48px; -} -.icon-indent-right { - background-position: -408px -48px; -} -.icon-facetime-video { - background-position: -432px -48px; -} -.icon-picture { - background-position: -456px -48px; -} -.icon-pencil { - background-position: 0 -72px; -} -.icon-map-marker { - background-position: -24px -72px; -} -.icon-adjust { - background-position: -48px -72px; -} -.icon-tint { - background-position: -72px -72px; -} -.icon-edit { - background-position: -96px -72px; -} -.icon-share { - background-position: -120px -72px; -} -.icon-check { - background-position: -144px -72px; -} -.icon-move { - background-position: -168px -72px; -} -.icon-step-backward { - background-position: -192px -72px; -} -.icon-fast-backward { - background-position: -216px -72px; -} -.icon-backward { - background-position: -240px -72px; -} -.icon-play { - background-position: -264px -72px; -} -.icon-pause { - background-position: -288px -72px; -} -.icon-stop { - background-position: -312px -72px; -} -.icon-forward { - background-position: -336px -72px; -} -.icon-fast-forward { - background-position: -360px -72px; -} -.icon-step-forward { - background-position: -384px -72px; -} -.icon-eject { - background-position: -408px -72px; -} -.icon-chevron-left { - background-position: -432px -72px; -} -.icon-chevron-right { - background-position: -456px -72px; -} -.icon-plus-sign { - background-position: 0 -96px; -} -.icon-minus-sign { - background-position: -24px -96px; -} -.icon-remove-sign { - background-position: -48px -96px; -} -.icon-ok-sign { - background-position: -72px -96px; -} -.icon-question-sign { - background-position: -96px -96px; -} -.icon-info-sign { - background-position: -120px -96px; -} -.icon-screenshot { - background-position: -144px -96px; -} -.icon-remove-circle { - background-position: -168px -96px; -} -.icon-ok-circle { - background-position: -192px -96px; -} -.icon-ban-circle { - background-position: -216px -96px; -} -.icon-arrow-left { - background-position: -240px -96px; -} -.icon-arrow-right { - background-position: -264px -96px; -} -.icon-arrow-up { - background-position: -289px -96px; -} -.icon-arrow-down { - background-position: -312px -96px; -} -.icon-share-alt { - background-position: -336px -96px; -} -.icon-resize-full { - background-position: -360px -96px; -} -.icon-resize-small { - background-position: -384px -96px; -} -.icon-plus { - background-position: -408px -96px; -} -.icon-minus { - background-position: -433px -96px; -} -.icon-asterisk { - background-position: -456px -96px; -} -.icon-exclamation-sign { - background-position: 0 -120px; -} -.icon-gift { - background-position: -24px -120px; -} -.icon-leaf { - background-position: -48px -120px; -} -.icon-fire { - background-position: -72px -120px; -} -.icon-eye-open { - background-position: -96px -120px; -} -.icon-eye-close { - background-position: -120px -120px; -} -.icon-warning-sign { - background-position: -144px -120px; -} -.icon-plane { - background-position: -168px -120px; -} -.icon-calendar { - background-position: -192px -120px; -} -.icon-random { - background-position: -216px -120px; - width: 16px; -} -.icon-comment { - background-position: -240px -120px; -} -.icon-magnet { - background-position: -264px -120px; -} -.icon-chevron-up { - background-position: -288px -120px; -} -.icon-chevron-down { - background-position: -313px -119px; -} -.icon-retweet { - background-position: -336px -120px; -} -.icon-shopping-cart { - background-position: -360px -120px; -} -.icon-folder-close { - background-position: -384px -120px; - width: 16px; -} -.icon-folder-open { - background-position: -408px -120px; - width: 16px; -} -.icon-resize-vertical { - background-position: -432px -119px; -} -.icon-resize-horizontal { - background-position: -456px -118px; -} -.icon-hdd { - background-position: 0 -144px; -} -.icon-bullhorn { - background-position: -24px -144px; -} -.icon-bell { - background-position: -48px -144px; -} -.icon-certificate { - background-position: -72px -144px; -} -.icon-thumbs-up { - background-position: -96px -144px; -} -.icon-thumbs-down { - background-position: -120px -144px; -} -.icon-hand-right { - background-position: -144px -144px; -} -.icon-hand-left { - background-position: -168px -144px; -} -.icon-hand-up { - background-position: -192px -144px; -} -.icon-hand-down { - background-position: -216px -144px; -} -.icon-circle-arrow-right { - background-position: -240px -144px; -} -.icon-circle-arrow-left { - background-position: -264px -144px; -} -.icon-circle-arrow-up { - background-position: -288px -144px; -} -.icon-circle-arrow-down { - background-position: -312px -144px; -} -.icon-globe { - background-position: -336px -144px; -} -.icon-wrench { - background-position: -360px -144px; -} -.icon-tasks { - background-position: -384px -144px; -} -.icon-filter { - background-position: -408px -144px; -} -.icon-briefcase { - background-position: -432px -144px; -} -.icon-fullscreen { - background-position: -456px -144px; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle { - *margin-bottom: -3px; -} -.dropdown-toggle:active, -.open .dropdown-toggle { - outline: 0; -} -.caret { - display: inline-block; - width: 0; - height: 0; - vertical-align: top; - border-top: 4px solid #000000; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - content: ""; -} -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - background-color: #ffffff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 20px; - color: #999999; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, -.dropdown-submenu:hover > a, -.dropdown-submenu:focus > a { - text-decoration: none; - color: #ffffff; - background-color: #007af5; - background-image: -moz-linear-gradient(top, #007fff, #0072e6); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#007fff), to(#0072e6)); - background-image: -webkit-linear-gradient(top, #007fff, #0072e6); - background-image: -o-linear-gradient(top, #007fff, #0072e6); - background-image: linear-gradient(to bottom, #007fff, #0072e6); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff007fff', endColorstr='#ff0072e6', GradientType=0); -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #ffffff; - text-decoration: none; - outline: 0; - background-color: #007af5; - background-image: -moz-linear-gradient(top, #007fff, #0072e6); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#007fff), to(#0072e6)); - background-image: -webkit-linear-gradient(top, #007fff, #0072e6); - background-image: -o-linear-gradient(top, #007fff, #0072e6); - background-image: linear-gradient(to bottom, #007fff, #0072e6); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff007fff', endColorstr='#ff0072e6', GradientType=0); -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #dfdfdf; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: default; -} -.open { - *z-index: 1000; -} -.open > .dropdown-menu { - display: block; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: ""; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -.dropdown-submenu { - position: relative; -} -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; - -webkit-border-radius: 5px 5px 5px 0; - -moz-border-radius: 5px 5px 5px 0; - border-radius: 5px 5px 5px 0; -} -.dropdown-submenu > a:after { - display: block; - content: " "; - float: right; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 5px 0 5px 5px; - border-left-color: #cccccc; - margin-top: 5px; - margin-right: -10px; -} -.dropdown-submenu:hover > a:after { - border-left-color: #ffffff; -} -.dropdown-submenu.pull-left { - float: none; -} -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.dropdown .dropdown-menu .nav-header { - padding-left: 20px; - padding-right: 20px; -} -.typeahead { - z-index: 1051; - margin-top: 2px; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #eeeeee; - border: 1px solid #dcdcdc; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} -.well-large { - padding: 24px; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} -.well-small { - padding: 9px; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; -} -.collapse.in { - height: auto; -} -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 20px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover, -.close:focus { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} -.btn { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding: 4px 12px; - margin-bottom: 0; - font-size: 14px; - line-height: 20px; - text-align: center; - vertical-align: middle; - cursor: pointer; - color: #999999; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #dfdfdf; - background-image: -moz-linear-gradient(top, #eeeeee, #c8c8c8); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#eeeeee), to(#c8c8c8)); - background-image: -webkit-linear-gradient(top, #eeeeee, #c8c8c8); - background-image: -o-linear-gradient(top, #eeeeee, #c8c8c8); - background-image: linear-gradient(to bottom, #eeeeee, #c8c8c8); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffeeeeee', endColorstr='#ffc8c8c8', GradientType=0); - border-color: #c8c8c8 #c8c8c8 #a2a2a2; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #c8c8c8; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - border: 1px solid #bbbbbb; - *border: 0; - border-bottom-color: #a2a2a2; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; - *margin-left: .3em; - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #999999; - background-color: #c8c8c8; - *background-color: #bbbbbb; -} -.btn:active, -.btn.active { - background-color: #aeaeae \9; -} -.btn:first-child { - *margin-left: 0; -} -.btn:hover, -.btn:focus { - color: #999999; - text-decoration: none; - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -.btn:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn.active, -.btn:active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn.disabled, -.btn[disabled] { - cursor: default; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-large { - padding: 22px 30px; - font-size: 17.5px; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} -.btn-large [class^="icon-"], -.btn-large [class*=" icon-"] { - margin-top: 4px; -} -.btn-small { - padding: 2px 10px; - font-size: 11.9px; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} -.btn-small [class^="icon-"], -.btn-small [class*=" icon-"] { - margin-top: 0; -} -.btn-mini [class^="icon-"], -.btn-mini [class*=" icon-"] { - margin-top: -1px; -} -.btn-mini { - padding: 2px 6px; - font-size: 10.5px; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} -.btn-block { - display: block; - width: 100%; - padding-left: 0; - padding-right: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active, -.btn-inverse.active { - color: rgba(255, 255, 255, 0.75); -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0f82f5; - background-image: -moz-linear-gradient(top, #1a8cff, #0072e6); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#1a8cff), to(#0072e6)); - background-image: -webkit-linear-gradient(top, #1a8cff, #0072e6); - background-image: -o-linear-gradient(top, #1a8cff, #0072e6); - background-image: linear-gradient(to bottom, #1a8cff, #0072e6); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1a8cff', endColorstr='#ff0072e6', GradientType=0); - border-color: #0072e6 #0072e6 #004c99; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #0072e6; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #0072e6; - *background-color: #0066cc; -} -.btn-primary:active, -.btn-primary.active { - background-color: #0059b3 \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #fe781e; - background-image: -moz-linear-gradient(top, #ff8432, #fe6600); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ff8432), to(#fe6600)); - background-image: -webkit-linear-gradient(top, #ff8432, #fe6600); - background-image: -o-linear-gradient(top, #ff8432, #fe6600); - background-image: linear-gradient(to bottom, #ff8432, #fe6600); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff8432', endColorstr='#fffe6600', GradientType=0); - border-color: #fe6600 #fe6600 #b14700; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #fe6600; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #fe6600; - *background-color: #e45c00; -} -.btn-warning:active, -.btn-warning.active { - background-color: #cb5200 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #f50f43; - background-image: -moz-linear-gradient(top, #ff1a4d, #e60033); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ff1a4d), to(#e60033)); - background-image: -webkit-linear-gradient(top, #ff1a4d, #e60033); - background-image: -o-linear-gradient(top, #ff1a4d, #e60033); - background-image: linear-gradient(to bottom, #ff1a4d, #e60033); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff1a4d', endColorstr='#ffe60033', GradientType=0); - border-color: #e60033 #e60033 #990022; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e60033; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #e60033; - *background-color: #cc002e; -} -.btn-danger:active, -.btn-danger.active { - background-color: #b30028 \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #41bb19; - background-image: -moz-linear-gradient(top, #47cd1b, #379f15); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#47cd1b), to(#379f15)); - background-image: -webkit-linear-gradient(top, #47cd1b, #379f15); - background-image: -o-linear-gradient(top, #47cd1b, #379f15); - background-image: linear-gradient(to bottom, #47cd1b, #379f15); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff47cd1b', endColorstr='#ff379f15', GradientType=0); - border-color: #379f15 #379f15 #205c0c; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #379f15; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #379f15; - *background-color: #2f8912; -} -.btn-success:active, -.btn-success.active { - background-color: #28720f \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #9b59bb; - background-image: -moz-linear-gradient(top, #a466c2, #8d46b0); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a466c2), to(#8d46b0)); - background-image: -webkit-linear-gradient(top, #a466c2, #8d46b0); - background-image: -o-linear-gradient(top, #a466c2, #8d46b0); - background-image: linear-gradient(to bottom, #a466c2, #8d46b0); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffa466c2', endColorstr='#ff8d46b0', GradientType=0); - border-color: #8d46b0 #8d46b0 #613079; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #8d46b0; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #8d46b0; - *background-color: #7e3f9d; -} -.btn-info:active, -.btn-info.active { - background-color: #6f378b \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #080808; - background-image: -moz-linear-gradient(top, #0d0d0d, #000000); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0d0d0d), to(#000000)); - background-image: -webkit-linear-gradient(top, #0d0d0d, #000000); - background-image: -o-linear-gradient(top, #0d0d0d, #000000); - background-image: linear-gradient(to bottom, #0d0d0d, #000000); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0d0d0d', endColorstr='#ff000000', GradientType=0); - border-color: #000000 #000000 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #000000; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #000000; - *background-color: #000000; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #000000 \9; -} -button.btn, -input[type="submit"].btn { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn::-moz-focus-inner, -input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} -button.btn.btn-large, -input[type="submit"].btn.btn-large { - *padding-top: 7px; - *padding-bottom: 7px; -} -button.btn.btn-small, -input[type="submit"].btn.btn-small { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn.btn-mini, -input[type="submit"].btn.btn-mini { - *padding-top: 1px; - *padding-bottom: 1px; -} -.btn-link, -.btn-link:active, -.btn-link[disabled] { - background-color: transparent; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-link { - border-color: transparent; - cursor: pointer; - color: #007fff; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-link:hover, -.btn-link:focus { - color: #0066cc; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -.btn-link[disabled]:focus { - color: #999999; - text-decoration: none; -} -.btn-group { - position: relative; - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - font-size: 0; - vertical-align: middle; - white-space: nowrap; - *margin-left: .3em; -} -.btn-group:first-child { - *margin-left: 0; -} -.btn-group + .btn-group { - margin-left: 5px; -} -.btn-toolbar { - font-size: 0; - margin-top: 10px; - margin-bottom: 10px; -} -.btn-toolbar > .btn + .btn, -.btn-toolbar > .btn-group + .btn, -.btn-toolbar > .btn + .btn-group { - margin-left: 5px; -} -.btn-group > .btn { - position: relative; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group > .btn + .btn { - margin-left: -1px; -} -.btn-group > .btn, -.btn-group > .dropdown-menu, -.btn-group > .popover { - font-size: 14px; -} -.btn-group > .btn-mini { - font-size: 10.5px; -} -.btn-group > .btn-small { - font-size: 11.9px; -} -.btn-group > .btn-large { - font-size: 17.5px; -} -.btn-group > .btn:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 0px; - -moz-border-radius-topleft: 0px; - border-top-left-radius: 0px; - -webkit-border-bottom-left-radius: 0px; - -moz-border-radius-bottomleft: 0px; - border-bottom-left-radius: 0px; -} -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-top-right-radius: 0px; - -moz-border-radius-topright: 0px; - border-top-right-radius: 0px; - -webkit-border-bottom-right-radius: 0px; - -moz-border-radius-bottomright: 0px; - border-bottom-right-radius: 0px; -} -.btn-group > .btn.large:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 0px; - -moz-border-radius-topleft: 0px; - border-top-left-radius: 0px; - -webkit-border-bottom-left-radius: 0px; - -moz-border-radius-bottomleft: 0px; - border-bottom-left-radius: 0px; -} -.btn-group > .btn.large:last-child, -.btn-group > .large.dropdown-toggle { - -webkit-border-top-right-radius: 0px; - -moz-border-radius-topright: 0px; - border-top-right-radius: 0px; - -webkit-border-bottom-right-radius: 0px; - -moz-border-radius-bottomright: 0px; - border-bottom-right-radius: 0px; -} -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - *padding-top: 5px; - *padding-bottom: 5px; -} -.btn-group > .btn-mini + .dropdown-toggle { - padding-left: 5px; - padding-right: 5px; - *padding-top: 2px; - *padding-bottom: 2px; -} -.btn-group > .btn-small + .dropdown-toggle { - *padding-top: 5px; - *padding-bottom: 4px; -} -.btn-group > .btn-large + .dropdown-toggle { - padding-left: 12px; - padding-right: 12px; - *padding-top: 7px; - *padding-bottom: 7px; -} -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn-group.open .btn.dropdown-toggle { - background-color: #c8c8c8; -} -.btn-group.open .btn-primary.dropdown-toggle { - background-color: #0072e6; -} -.btn-group.open .btn-warning.dropdown-toggle { - background-color: #fe6600; -} -.btn-group.open .btn-danger.dropdown-toggle { - background-color: #e60033; -} -.btn-group.open .btn-success.dropdown-toggle { - background-color: #379f15; -} -.btn-group.open .btn-info.dropdown-toggle { - background-color: #8d46b0; -} -.btn-group.open .btn-inverse.dropdown-toggle { - background-color: #000000; -} -.btn .caret { - margin-top: 8px; - margin-left: 0; -} -.btn-large .caret { - margin-top: 6px; -} -.btn-large .caret { - border-left-width: 5px; - border-right-width: 5px; - border-top-width: 5px; -} -.btn-mini .caret, -.btn-small .caret { - margin-top: 8px; -} -.dropup .btn-large .caret { - border-bottom-width: 5px; -} -.btn-primary .caret, -.btn-warning .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret, -.btn-inverse .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.btn-group-vertical { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} -.btn-group-vertical > .btn { - display: block; - float: none; - max-width: 100%; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group-vertical > .btn + .btn { - margin-left: 0; - margin-top: -1px; -} -.btn-group-vertical > .btn:first-child { - -webkit-border-radius: 0px 0px 0 0; - -moz-border-radius: 0px 0px 0 0; - border-radius: 0px 0px 0 0; -} -.btn-group-vertical > .btn:last-child { - -webkit-border-radius: 0 0 0px 0px; - -moz-border-radius: 0 0 0px 0px; - border-radius: 0 0 0px 0px; -} -.btn-group-vertical > .btn-large:first-child { - -webkit-border-radius: 0px 0px 0 0; - -moz-border-radius: 0px 0px 0 0; - border-radius: 0px 0px 0 0; -} -.btn-group-vertical > .btn-large:last-child { - -webkit-border-radius: 0 0 0px 0px; - -moz-border-radius: 0 0 0px 0px; - border-radius: 0 0 0px 0px; -} -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 20px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #ff7518; - border: 1px solid transparent; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} -.alert, -.alert h4 { - color: #ffffff; -} -.alert h4 { - margin: 0; -} -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 20px; -} -.alert-success { - background-color: #3fb618; - border-color: transparent; - color: #ffffff; -} -.alert-success h4 { - color: #ffffff; -} -.alert-danger, -.alert-error { - background-color: #ff0039; - border-color: transparent; - color: #ffffff; -} -.alert-danger h4, -.alert-error h4 { - color: #ffffff; -} -.alert-info { - background-color: #9954bb; - border-color: transparent; - color: #ffffff; -} -.alert-info h4 { - color: #ffffff; -} -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; -} -.alert-block p + p { - margin-top: 5px; -} -.nav { - margin-left: 0; - margin-bottom: 20px; - list-style: none; -} -.nav > li > a { - display: block; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #eeeeee; -} -.nav > li > a > img { - max-width: none; -} -.nav > .pull-right { - float: right; -} -.nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 20px; - color: #dfdfdf; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} -.nav li + .nav-header { - margin-top: 9px; -} -.nav-list { - padding-left: 15px; - padding-right: 15px; - margin-bottom: 0; -} -.nav-list > li > a, -.nav-list .nav-header { - margin-left: -15px; - margin-right: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.nav-list > li > a { - padding: 3px 15px; -} -.nav-list > .active > a, -.nav-list > .active > a:hover, -.nav-list > .active > a:focus { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #007fff; -} -.nav-list [class^="icon-"], -.nav-list [class*=" icon-"] { - margin-right: 2px; -} -.nav-list .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.nav-tabs, -.nav-pills { - *zoom: 1; -} -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; - line-height: 0; -} -.nav-tabs:after, -.nav-pills:after { - clear: both; -} -.nav-tabs > li, -.nav-pills > li { - float: left; -} -.nav-tabs > li > a, -.nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - margin-bottom: -1px; -} -.nav-tabs > li > a { - padding-top: 8px; - padding-bottom: 8px; - line-height: 20px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover, -.nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #dddddd; -} -.nav-tabs > .active > a, -.nav-tabs > .active > a:hover, -.nav-tabs > .active > a:focus { - color: #bbbbbb; - background-color: #ffffff; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.nav-pills > .active > a, -.nav-pills > .active > a:hover, -.nav-pills > .active > a:focus { - color: #ffffff; - background-color: #007fff; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li > a { - margin-right: 0; -} -.nav-tabs.nav-stacked { - border-bottom: 0; -} -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.nav-tabs.nav-stacked > li > a:hover, -.nav-tabs.nav-stacked > li > a:focus { - border-color: #ddd; - z-index: 2; -} -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.nav-pills .dropdown-menu { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.nav .dropdown-toggle .caret { - border-top-color: #007fff; - border-bottom-color: #007fff; - margin-top: 6px; -} -.nav .dropdown-toggle:hover .caret, -.nav .dropdown-toggle:focus .caret { - border-top-color: #0066cc; - border-bottom-color: #0066cc; -} -/* move down carets for tabs */ -.nav-tabs .dropdown-toggle .caret { - margin-top: 8px; -} -.nav .active .dropdown-toggle .caret { - border-top-color: #fff; - border-bottom-color: #fff; -} -.nav-tabs .active .dropdown-toggle .caret { - border-top-color: #bbbbbb; - border-bottom-color: #bbbbbb; -} -.nav > .dropdown.active > a:hover, -.nav > .dropdown.active > a:focus { - cursor: pointer; -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover, -.nav > li.dropdown.open.active > a:focus { - color: #ffffff; - background-color: #dfdfdf; - border-color: #dfdfdf; -} -.nav li.dropdown.open .caret, -.nav li.dropdown.open.active .caret, -.nav li.dropdown.open a:hover .caret, -.nav li.dropdown.open a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} -.tabs-stacked .open > a:hover, -.tabs-stacked .open > a:focus { - border-color: #dfdfdf; -} -.tabbable { - *zoom: 1; -} -.tabbable:before, -.tabbable:after { - display: table; - content: ""; - line-height: 0; -} -.tabbable:after { - clear: both; -} -.tab-content { - overflow: auto; -} -.tabs-below > .nav-tabs, -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} -.tab-content > .active, -.pill-content > .active { - display: block; -} -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; -} -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.tabs-below > .nav-tabs > li > a:hover, -.tabs-below > .nav-tabs > li > a:focus { - border-bottom-color: transparent; - border-top-color: #ddd; -} -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover, -.tabs-below > .nav-tabs > .active > a:focus { - border-color: transparent #ddd #ddd #ddd; -} -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.tabs-left > .nav-tabs > li > a:hover, -.tabs-left > .nav-tabs > li > a:focus { - border-color: #eeeeee #dddddd #eeeeee #eeeeee; -} -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover, -.tabs-left > .nav-tabs .active > a:focus { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.tabs-right > .nav-tabs > li > a:hover, -.tabs-right > .nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #eeeeee #dddddd; -} -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover, -.tabs-right > .nav-tabs .active > a:focus { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} -.nav > .disabled > a { - color: #dfdfdf; -} -.nav > .disabled > a:hover, -.nav > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - cursor: default; -} -.navbar { - overflow: visible; - margin-bottom: 20px; - *position: relative; - *z-index: 2; -} -.navbar-inner { - min-height: 50px; - padding-left: 20px; - padding-right: 20px; - background-color: #080808; - background-image: -moz-linear-gradient(top, #080808, #080808); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#080808), to(#080808)); - background-image: -webkit-linear-gradient(top, #080808, #080808); - background-image: -o-linear-gradient(top, #080808, #080808); - background-image: linear-gradient(to bottom, #080808, #080808); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff080808', endColorstr='#ff080808', GradientType=0); - border: 1px solid transparent; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; - -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - *zoom: 1; -} -.navbar-inner:before, -.navbar-inner:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-inner:after { - clear: both; -} -.navbar .container { - width: auto; -} -.nav-collapse.collapse { - height: auto; - overflow: visible; -} -.navbar .brand { - float: left; - display: block; - padding: 15px 20px 15px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - color: #ffffff; - text-shadow: 0 1px 0 #080808; -} -.navbar .brand:hover, -.navbar .brand:focus { - text-decoration: none; -} -.navbar-text { - margin-bottom: 0; - line-height: 50px; - color: #ffffff; -} -.navbar-link { - color: #ffffff; -} -.navbar-link:hover, -.navbar-link:focus { - color: #bbbbbb; -} -.navbar .divider-vertical { - height: 50px; - margin: 0 9px; - border-left: 1px solid #080808; - border-right: 1px solid #080808; -} -.navbar .btn, -.navbar .btn-group { - margin-top: 10px; -} -.navbar .btn-group .btn, -.navbar .input-prepend .btn, -.navbar .input-append .btn, -.navbar .input-prepend .btn-group, -.navbar .input-append .btn-group { - margin-top: 0; -} -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} -.navbar-form:before, -.navbar-form:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-form:after { - clear: both; -} -.navbar-form input, -.navbar-form select, -.navbar-form .radio, -.navbar-form .checkbox { - margin-top: 10px; -} -.navbar-form input, -.navbar-form select, -.navbar-form .btn { - display: inline-block; - margin-bottom: 0; -} -.navbar-form input[type="image"], -.navbar-form input[type="checkbox"], -.navbar-form input[type="radio"] { - margin-top: 3px; -} -.navbar-form .input-append, -.navbar-form .input-prepend { - margin-top: 5px; - white-space: nowrap; -} -.navbar-form .input-append input, -.navbar-form .input-prepend input { - margin-top: 0; -} -.navbar-search { - position: relative; - float: left; - margin-top: 10px; - margin-bottom: 0; -} -.navbar-search .search-query { - margin-bottom: 0; - padding: 4px 14px; - font-family: "Open Sans", Calibri, Candara, Arial, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.navbar-static-top { - position: static; - margin-bottom: 0; -} -.navbar-static-top .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; - margin-bottom: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - border-width: 0 0 1px; -} -.navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-fixed-bottom .navbar-inner { - padding-left: 0; - padding-right: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.navbar-fixed-top { - top: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 1px 10px rgba(0,0,0,.1); - box-shadow: 0 1px 10px rgba(0,0,0,.1); -} -.navbar-fixed-bottom { - bottom: 0; -} -.navbar-fixed-bottom .navbar-inner { - -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - box-shadow: 0 -1px 10px rgba(0,0,0,.1); -} -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} -.navbar .nav.pull-right { - float: right; - margin-right: 0; -} -.navbar .nav > li { - float: left; -} -.navbar .nav > li > a { - float: none; - padding: 15px 15px 15px; - color: #ffffff; - text-decoration: none; - text-shadow: 0 1px 0 #080808; -} -.navbar .nav .dropdown-toggle .caret { - margin-top: 8px; -} -.navbar .nav > li > a:focus, -.navbar .nav > li > a:hover { - background-color: rgba(0, 0, 0, 0.05); - color: #bbbbbb; - text-decoration: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - color: #ffffff; - text-decoration: none; - background-color: transparent; - -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); -} -.navbar .btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-left: 5px; - margin-right: 5px; - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #000000; - background-image: -moz-linear-gradient(top, #000000, #000000); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#000000), to(#000000)); - background-image: -webkit-linear-gradient(top, #000000, #000000); - background-image: -o-linear-gradient(top, #000000, #000000); - background-image: linear-gradient(to bottom, #000000, #000000); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff000000', endColorstr='#ff000000', GradientType=0); - border-color: #000000 #000000 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #000000; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); -} -.navbar .btn-navbar:hover, -.navbar .btn-navbar:focus, -.navbar .btn-navbar:active, -.navbar .btn-navbar.active, -.navbar .btn-navbar.disabled, -.navbar .btn-navbar[disabled] { - color: #ffffff; - background-color: #000000; - *background-color: #000000; -} -.navbar .btn-navbar:active, -.navbar .btn-navbar.active { - background-color: #000000 \9; -} -.navbar .btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} -.navbar .nav > li > .dropdown-menu:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: rgba(0, 0, 0, 0.2); - position: absolute; - top: -7px; - left: 9px; -} -.navbar .nav > li > .dropdown-menu:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #ffffff; - position: absolute; - top: -6px; - left: 10px; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:before { - border-top: 7px solid #ccc; - border-top-color: rgba(0, 0, 0, 0.2); - border-bottom: 0; - bottom: -7px; - top: auto; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:after { - border-top: 6px solid #ffffff; - border-bottom: 0; - bottom: -6px; - top: auto; -} -.navbar .nav li.dropdown > a:hover .caret, -.navbar .nav li.dropdown > a:focus .caret { - border-top-color: #bbbbbb; - border-bottom-color: #bbbbbb; -} -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - background-color: transparent; - color: #ffffff; -} -.navbar .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .pull-right > li > .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right { - left: auto; - right: 0; -} -.navbar .pull-right > li > .dropdown-menu:before, -.navbar .nav > li > .dropdown-menu.pull-right:before { - left: auto; - right: 12px; -} -.navbar .pull-right > li > .dropdown-menu:after, -.navbar .nav > li > .dropdown-menu.pull-right:after { - left: auto; - right: 13px; -} -.navbar .pull-right > li > .dropdown-menu .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { - left: auto; - right: 100%; - margin-left: 0; - margin-right: -1px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.navbar-inverse .navbar-inner { - background-color: #007fff; - background-image: -moz-linear-gradient(top, #007fff, #007fff); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#007fff), to(#007fff)); - background-image: -webkit-linear-gradient(top, #007fff, #007fff); - background-image: -o-linear-gradient(top, #007fff, #007fff); - background-image: linear-gradient(to bottom, #007fff, #007fff); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff007fff', endColorstr='#ff007fff', GradientType=0); - border-color: transparent; -} -.navbar-inverse .brand, -.navbar-inverse .nav > li > a { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.navbar-inverse .brand:hover, -.navbar-inverse .nav > li > a:hover, -.navbar-inverse .brand:focus, -.navbar-inverse .nav > li > a:focus { - color: #ffffff; -} -.navbar-inverse .brand { - color: #ffffff; -} -.navbar-inverse .navbar-text { - color: #ffffff; -} -.navbar-inverse .nav > li > a:focus, -.navbar-inverse .nav > li > a:hover { - background-color: rgba(0, 0, 0, 0.05); - color: #ffffff; -} -.navbar-inverse .nav .active > a, -.navbar-inverse .nav .active > a:hover, -.navbar-inverse .nav .active > a:focus { - color: #ffffff; - background-color: #007fff; -} -.navbar-inverse .navbar-link { - color: #ffffff; -} -.navbar-inverse .navbar-link:hover, -.navbar-inverse .navbar-link:focus { - color: #ffffff; -} -.navbar-inverse .divider-vertical { - border-left-color: #007fff; - border-right-color: #007fff; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #007fff; - color: #ffffff; -} -.navbar-inverse .nav li.dropdown > a:hover .caret, -.navbar-inverse .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .navbar-search .search-query { - color: #ffffff; - background-color: #80bfff; - border-color: #007fff; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -.navbar-inverse .navbar-search .search-query:-moz-placeholder { - color: #999999; -} -.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { - color: #999999; -} -.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { - color: #999999; -} -.navbar-inverse .navbar-search .search-query:focus, -.navbar-inverse .navbar-search .search-query.focused { - padding: 5px 15px; - color: #999999; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - outline: 0; -} -.navbar-inverse .btn-navbar { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0072e6; - background-image: -moz-linear-gradient(top, #0072e6, #0072e6); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0072e6), to(#0072e6)); - background-image: -webkit-linear-gradient(top, #0072e6, #0072e6); - background-image: -o-linear-gradient(top, #0072e6, #0072e6); - background-image: linear-gradient(to bottom, #0072e6, #0072e6); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0072e6', endColorstr='#ff0072e6', GradientType=0); - border-color: #0072e6 #0072e6 #004c99; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #0072e6; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.navbar-inverse .btn-navbar:hover, -.navbar-inverse .btn-navbar:focus, -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active, -.navbar-inverse .btn-navbar.disabled, -.navbar-inverse .btn-navbar[disabled] { - color: #ffffff; - background-color: #0072e6; - *background-color: #0066cc; -} -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active { - background-color: #0059b3 \9; -} -.breadcrumb { - padding: 8px 15px; - margin: 0 0 20px; - list-style: none; - background-color: #f5f5f5; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} -.breadcrumb > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb > li > .divider { - padding: 0 5px; - color: #ccc; -} -.breadcrumb > .active { - color: #dfdfdf; -} -.pagination { - margin: 20px 0; -} -.pagination ul { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-left: 0; - margin-bottom: 0; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} -.pagination ul > li { - display: inline; -} -.pagination ul > li > a, -.pagination ul > li > span { - float: left; - padding: 4px 12px; - line-height: 20px; - text-decoration: none; - background-color: #dfdfdf; - border: 1px solid transparent; - border-left-width: 0; -} -.pagination ul > li > a:hover, -.pagination ul > li > a:focus, -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: #007fff; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - color: #dfdfdf; - cursor: default; -} -.pagination ul > .disabled > span, -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > a:focus { - color: #dfdfdf; - background-color: transparent; - cursor: default; -} -.pagination ul > li:first-child > a, -.pagination ul > li:first-child > span { - border-left-width: 1px; - -webkit-border-top-left-radius: 0px; - -moz-border-radius-topleft: 0px; - border-top-left-radius: 0px; - -webkit-border-bottom-left-radius: 0px; - -moz-border-radius-bottomleft: 0px; - border-bottom-left-radius: 0px; -} -.pagination ul > li:last-child > a, -.pagination ul > li:last-child > span { - -webkit-border-top-right-radius: 0px; - -moz-border-radius-topright: 0px; - border-top-right-radius: 0px; - -webkit-border-bottom-right-radius: 0px; - -moz-border-radius-bottomright: 0px; - border-bottom-right-radius: 0px; -} -.pagination-centered { - text-align: center; -} -.pagination-right { - text-align: right; -} -.pagination-large ul > li > a, -.pagination-large ul > li > span { - padding: 22px 30px; - font-size: 17.5px; -} -.pagination-large ul > li:first-child > a, -.pagination-large ul > li:first-child > span { - -webkit-border-top-left-radius: 0px; - -moz-border-radius-topleft: 0px; - border-top-left-radius: 0px; - -webkit-border-bottom-left-radius: 0px; - -moz-border-radius-bottomleft: 0px; - border-bottom-left-radius: 0px; -} -.pagination-large ul > li:last-child > a, -.pagination-large ul > li:last-child > span { - -webkit-border-top-right-radius: 0px; - -moz-border-radius-topright: 0px; - border-top-right-radius: 0px; - -webkit-border-bottom-right-radius: 0px; - -moz-border-radius-bottomright: 0px; - border-bottom-right-radius: 0px; -} -.pagination-mini ul > li:first-child > a, -.pagination-small ul > li:first-child > a, -.pagination-mini ul > li:first-child > span, -.pagination-small ul > li:first-child > span { - -webkit-border-top-left-radius: 0px; - -moz-border-radius-topleft: 0px; - border-top-left-radius: 0px; - -webkit-border-bottom-left-radius: 0px; - -moz-border-radius-bottomleft: 0px; - border-bottom-left-radius: 0px; -} -.pagination-mini ul > li:last-child > a, -.pagination-small ul > li:last-child > a, -.pagination-mini ul > li:last-child > span, -.pagination-small ul > li:last-child > span { - -webkit-border-top-right-radius: 0px; - -moz-border-radius-topright: 0px; - border-top-right-radius: 0px; - -webkit-border-bottom-right-radius: 0px; - -moz-border-radius-bottomright: 0px; - border-bottom-right-radius: 0px; -} -.pagination-small ul > li > a, -.pagination-small ul > li > span { - padding: 2px 10px; - font-size: 11.9px; -} -.pagination-mini ul > li > a, -.pagination-mini ul > li > span { - padding: 2px 6px; - font-size: 10.5px; -} -.pager { - margin: 20px 0; - list-style: none; - text-align: center; - *zoom: 1; -} -.pager:before, -.pager:after { - display: table; - content: ""; - line-height: 0; -} -.pager:after { - clear: both; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #dfdfdf; - background-color: #fff; - cursor: default; -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop, -.modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.modal { - position: fixed; - top: 10%; - left: 50%; - z-index: 1050; - width: 560px; - margin-left: -280px; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - /* IE6-7 */ - - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - outline: none; -} -.modal.fade { - -webkit-transition: opacity .3s linear, top .3s ease-out; - -moz-transition: opacity .3s linear, top .3s ease-out; - -o-transition: opacity .3s linear, top .3s ease-out; - transition: opacity .3s linear, top .3s ease-out; - top: -25%; -} -.modal.fade.in { - top: 10%; -} -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} -.modal-header .close { - margin-top: 2px; -} -.modal-header h3 { - margin: 0; - line-height: 30px; -} -.modal-body { - position: relative; - overflow-y: auto; - max-height: 400px; - padding: 15px; -} -.modal-form { - margin-bottom: 0; -} -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - text-align: right; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; - *zoom: 1; -} -.modal-footer:before, -.modal-footer:after { - display: table; - content: ""; - line-height: 0; -} -.modal-footer:after { - clear: both; -} -.modal-footer .btn + .btn { - margin-left: 5px; - margin-bottom: 0; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.tooltip { - position: absolute; - z-index: 1030; - display: block; - visibility: visible; - font-size: 11px; - line-height: 1.4; - opacity: 0; - filter: alpha(opacity=0); -} -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.tooltip.top { - margin-top: -3px; - padding: 5px 0; -} -.tooltip.right { - margin-left: 3px; - padding: 0 5px; -} -.tooltip.bottom { - margin-top: 3px; - padding: 5px 0; -} -.tooltip.left { - margin-left: -3px; - padding: 0 5px; -} -.tooltip-inner { - max-width: 200px; - padding: 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #000000; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #000000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #000000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #000000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000000; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - background-color: #ff7518; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - white-space: normal; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #ff7518; - border-bottom: 1px solid #fe6600; - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.popover-title:empty { - display: none; -} -.popover-content { - padding: 9px 14px; -} -.popover .arrow, -.popover .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover .arrow { - border-width: 16px; -} -.popover .arrow:after { - border-width: 15px; - content: ""; -} -.popover.top .arrow { - left: 50%; - margin-left: -16px; - border-bottom-width: 0; - border-top-color: #999; - border-top-color: transparent; - bottom: -16px; -} -.popover.top .arrow:after { - bottom: 1px; - margin-left: -15px; - border-bottom-width: 0; - border-top-color: #ff7518; -} -.popover.right .arrow { - top: 50%; - left: -16px; - margin-top: -16px; - border-left-width: 0; - border-right-color: #999; - border-right-color: transparent; -} -.popover.right .arrow:after { - left: 1px; - bottom: -15px; - border-left-width: 0; - border-right-color: #ff7518; -} -.popover.bottom .arrow { - left: 50%; - margin-left: -16px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: transparent; - top: -16px; -} -.popover.bottom .arrow:after { - top: 1px; - margin-left: -15px; - border-top-width: 0; - border-bottom-color: #ff7518; -} -.popover.left .arrow { - top: 50%; - right: -16px; - margin-top: -16px; - border-right-width: 0; - border-left-color: #999; - border-left-color: transparent; -} -.popover.left .arrow:after { - right: 1px; - border-right-width: 0; - border-left-color: #ff7518; - bottom: -15px; -} -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} -.thumbnails:before, -.thumbnails:after { - display: table; - content: ""; - line-height: 0; -} -.thumbnails:after { - clear: both; -} -.row-fluid .thumbnails { - margin-left: 0; -} -.thumbnails > li { - float: left; - margin-bottom: 20px; - margin-left: 20px; -} -.thumbnail { - display: block; - padding: 4px; - line-height: 20px; - border: 1px solid #ddd; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -a.thumbnail:hover, -a.thumbnail:focus { - border-color: #007fff; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} -.thumbnail > img { - display: block; - max-width: 100%; - margin-left: auto; - margin-right: auto; -} -.thumbnail .caption { - padding: 9px; - color: #bbbbbb; -} -.media, -.media-body { - overflow: hidden; - *overflow: visible; - zoom: 1; -} -.media, -.media .media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media-object { - display: block; -} -.media-heading { - margin: 0 0 5px; -} -.media > .pull-left { - margin-right: 10px; -} -.media > .pull-right { - margin-left: 10px; -} -.media-list { - margin-left: 0; - list-style: none; -} -.label, -.badge { - display: inline-block; - padding: 2px 4px; - font-size: 11.844px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - vertical-align: baseline; - white-space: nowrap; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #dfdfdf; -} -.label { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.badge { - padding-left: 9px; - padding-right: 9px; - -webkit-border-radius: 9px; - -moz-border-radius: 9px; - border-radius: 9px; -} -.label:empty, -.badge:empty { - display: none; -} -a.label:hover, -a.label:focus, -a.badge:hover, -a.badge:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.label-important, -.badge-important { - background-color: #ffffff; -} -.label-important[href], -.badge-important[href] { - background-color: #e6e6e6; -} -.label-warning, -.badge-warning { - background-color: #ff7518; -} -.label-warning[href], -.badge-warning[href] { - background-color: #e45c00; -} -.label-success, -.badge-success { - background-color: #ffffff; -} -.label-success[href], -.badge-success[href] { - background-color: #e6e6e6; -} -.label-info, -.badge-info { - background-color: #ffffff; -} -.label-info[href], -.badge-info[href] { - background-color: #e6e6e6; -} -.label-inverse, -.badge-inverse { - background-color: #999999; -} -.label-inverse[href], -.badge-inverse[href] { - background-color: #808080; -} -.btn .label, -.btn .badge { - position: relative; - top: -1px; -} -.btn-mini .label, -.btn-mini .badge { - top: 0; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-moz-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-ms-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - overflow: hidden; - height: 20px; - margin-bottom: 20px; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} -.progress .bar { - width: 0%; - height: 100%; - color: #ffffff; - float: left; - font-size: 12px; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(to bottom, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} -.progress .bar + .bar { - -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); -} -.progress-striped .bar { - background-color: #149bdf; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - -ms-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-danger .bar, -.progress .bar-danger { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); -} -.progress-danger.progress-striped .bar, -.progress-striped .bar-danger { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar, -.progress .bar-success { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(to bottom, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); -} -.progress-success.progress-striped .bar, -.progress-striped .bar-success { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar, -.progress .bar-info { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(to bottom, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); -} -.progress-info.progress-striped .bar, -.progress-striped .bar-info { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-warning .bar, -.progress .bar-warning { - background-color: #ff9046; - background-image: -moz-linear-gradient(top, #ffa365, #ff7518); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffa365), to(#ff7518)); - background-image: -webkit-linear-gradient(top, #ffa365, #ff7518); - background-image: -o-linear-gradient(top, #ffa365, #ff7518); - background-image: linear-gradient(to bottom, #ffa365, #ff7518); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffa365', endColorstr='#ffff7518', GradientType=0); -} -.progress-warning.progress-striped .bar, -.progress-striped .bar-warning { - background-color: #ffa365; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.accordion { - margin-bottom: 20px; -} -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; -} -.accordion-heading { - border-bottom: 0; -} -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} -.accordion-toggle { - cursor: pointer; -} -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} -.carousel { - position: relative; - margin-bottom: 20px; - line-height: 1; -} -.carousel-inner { - overflow: hidden; - width: 100%; - position: relative; -} -.carousel-inner > .item { - display: none; - position: relative; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - line-height: 1; -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #080808; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.carousel-control.right { - left: auto; - right: 15px; -} -.carousel-control:hover, -.carousel-control:focus { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} -.carousel-indicators { - position: absolute; - top: 15px; - right: 15px; - z-index: 5; - margin: 0; - list-style: none; -} -.carousel-indicators li { - display: block; - float: left; - width: 10px; - height: 10px; - margin-left: 5px; - text-indent: -999px; - background-color: #ccc; - background-color: rgba(255, 255, 255, 0.25); - border-radius: 5px; -} -.carousel-indicators .active { - background-color: #fff; -} -.carousel-caption { - position: absolute; - left: 0; - right: 0; - bottom: 0; - padding: 15px; - background: #999999; - background: rgba(0, 0, 0, 0.75); -} -.carousel-caption h4, -.carousel-caption p { - color: #ffffff; - line-height: 20px; -} -.carousel-caption h4 { - margin: 0 0 5px; -} -.carousel-caption p { - margin-bottom: 0; -} -.hero-unit { - padding: 60px; - margin-bottom: 30px; - font-size: 18px; - font-weight: 200; - line-height: 30px; - color: inherit; - background-color: #eeeeee; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - color: inherit; - letter-spacing: -1px; -} -.hero-unit li { - line-height: 30px; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.invisible { - visibility: hidden; -} -.affix { - position: fixed; -} -body { - font-weight: 300; -} -h1 { - font-size: 50px; -} -h2, -h3 { - font-size: 26px; -} -h4 { - font-size: 14px; -} -h5, -h6 { - font-size: 11px; -} -blockquote { - padding: 10px 15px; - background-color: #eeeeee; - border-left-color: #bbbbbb; -} -blockquote.pull-right { - padding: 10px 15px; - border-right-color: #bbbbbb; -} -blockquote small { - color: #bbbbbb; -} -.muted { - color: #bbbbbb; -} -.text-warning { - color: #ff7518; -} -a.text-warning:hover { - color: #e45c00; -} -.text-error { - color: #ff0039; -} -a.text-error:hover { - color: #cc002e; -} -.text-info { - color: #9954bb; -} -a.text-info:hover { - color: #7e3f9d; -} -.text-success { - color: #3fb618; -} -a.text-success:hover { - color: #2f8912; -} -.navbar .navbar-inner { - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar .brand:hover { - color: #bbbbbb; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - background-color: rgba(0, 0, 0, 0.05); -} -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - color: #ffffff; -} -.navbar .nav li.dropdown.open > .dropdown-toggle:hover, -.navbar .nav li.dropdown.active > .dropdown-toggle:hover, -.navbar .nav li.dropdown.open.active > .dropdown-toggle:hover { - color: #eeeeee; -} -.navbar .navbar-search .search-query { - line-height: normal; -} -.navbar-inverse .brand, -.navbar-inverse .nav > li > a { - text-shadow: none; -} -.navbar-inverse .brand:hover, -.navbar-inverse .nav > .active > a, -.navbar-inverse .nav > .active > a:hover, -.navbar-inverse .nav > .active > a:focus { - background-color: rgba(0, 0, 0, 0.05); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - color: #ffffff; -} -.navbar-inverse .navbar-search .search-query { - color: #080808; -} -div.subnav { - margin: 0 1px; - background: #dfdfdf none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - border: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -div.subnav .nav { - background-color: transparent; -} -div.subnav .nav > li > a { - border-color: transparent; -} -div.subnav .nav > .active > a, -div.subnav .nav > .active > a:hover { - border-color: transparent; - background-color: #000000; - color: #ffffff; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -div.subnav-fixed { - top: 51px; - margin: 0; -} -.nav .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover { - color: #007fff; -} -.nav-tabs > li > a { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li > a:hover { - background-color: #007fff; - color: #ffffff; -} -.nav-tabs.nav-stacked > .active > a, -.nav-tabs.nav-stacked > .active > a:hover { - background-color: #ffffff; - color: #bbbbbb; -} -.nav-tabs.nav-stacked > li:first-child > a, -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.tabs-below > .nav-tabs > li > a, -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-pills > li > a { - background-color: #dfdfdf; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - color: #000000; -} -.nav-pills > li > a:hover { - background-color: #000000; - color: #ffffff; -} -.nav-pills > .disabled > a, -.nav-pills > .disabled > a:hover { - background-color: #eeeeee; - color: #999999; -} -.nav-list > li > a { - color: #080808; -} -.nav-list > li > a:hover { - background-color: #007fff; - color: #ffffff; - text-shadow: none; -} -.nav-list .nav-header { - color: #080808; -} -.nav-list .divider { - background-color: #bbbbbb; - border-bottom: none; -} -.pagination ul { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.pagination ul > li > a, -.pagination ul > li > span { - margin-right: 6px; - color: #080808; -} -.pagination ul > li > a:hover, -.pagination ul > li > span:hover { - background-color: #080808; - color: #ffffff; -} -.pagination ul > li:last-child > a, -.pagination ul > li:last-child > span { - margin-right: 0; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - color: #ffffff; -} -.pagination ul > .disabled > span, -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover { - background-color: #eeeeee; - color: #999999; -} -.pager li > a, -.pager li > span { - background-color: #dfdfdf; - border: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - color: #080808; -} -.pager li > a:hover, -.pager li > span:hover { - background-color: #080808; - color: #ffffff; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > span { - background-color: #eeeeee; - color: #999999; -} -.breadcrumb { - background-color: #dfdfdf; -} -.breadcrumb li { - text-shadow: none; -} -.breadcrumb .divider, -.breadcrumb .active { - color: #080808; - text-shadow: none; -} -.btn { - padding: 5px 12px; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - border: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - text-shadow: none; -} -.btn.disabled { - box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15), 0 1px 2px rgba(0, 0, 0, 0.05); -} -.btn-large { - padding: 22px 30px; -} -.btn-small { - padding: 2px 10px; -} -.btn-mini { - padding: 2px 6px; -} -.btn-group > .btn:first-child, -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group > .btn + .dropdown-toggle { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.table tbody tr.success td { - color: #ffffff; -} -.table tbody tr.error td { - color: #ffffff; -} -.table tbody tr.info td { - color: #ffffff; -} -.table-bordered { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.table-bordered thead:first-child tr:first-child th:first-child, -.table-bordered tbody:first-child tr:first-child td:first-child { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.table-bordered thead:last-child tr:last-child th:first-child, -.table-bordered tbody:last-child tr:last-child td:first-child, -.table-bordered tfoot:last-child tr:last-child td:first-child { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"] { - color: #080808; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #ff7518; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #ff7518; - color: #080808; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #ff0039; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #ff0039; - color: #080808; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #3fb618; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #3fb618; - color: #080808; -} -legend { - border-bottom: none; - color: #080808; -} -.form-actions { - border-top: none; - background-color: #eeeeee; -} -.dropdown-menu { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.alert { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - text-shadow: none; -} -.alert-heading, -.alert h1, -.alert h2, -.alert h3, -.alert h4, -.alert h5, -.alert h6 { - color: #ffffff; -} -.label { - min-width: 80px; - min-height: 80px; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - font-weight: 300; - text-shadow: none; -} -.label-success { - background-color: #3fb618; -} -.label-important { - background-color: #ff0039; -} -.label-info { - background-color: #9954bb; -} -.label-inverse { - background-color: #000000; -} -.badge { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - font-weight: 300; - text-shadow: none; -} -.badge-success { - background-color: #3fb618; -} -.badge-important { - background-color: #ff0039; -} -.badge-info { - background-color: #9954bb; -} -.badge-inverse { - background-color: #000000; -} -.hero-unit { - border: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.well { - border: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -[class^="icon-"], -[class*=" icon-"] { - margin: 0 2px; - vertical-align: -2px; -} -a.thumbnail { - background-color: #dfdfdf; -} -a.thumbnail:hover { - background-color: #bbbbbb; - border-color: transparent; -} -.progress { - height: 6px; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - background-color: #eeeeee; - background-image: none; -} -.progress .bar { - background-color: #007fff; - background-image: none; -} -.progress-info { - background-color: #9954bb; -} -.progress-success { - background-color: #3fb618; -} -.progress-warning { - background-color: #ff7518; -} -.progress-danger { - background-color: #ff0039; -} -.modal { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.modal-header { - border-bottom: none; -} -.modal-footer { - border-top: none; - background-color: transparent; -} -.popover { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - color: #ffffff; -} -.popover-title { - border-bottom: none; - color: #ffffff; -} -#main { - margin-top: 56px; -} -.navbar-fixed-top .navbar-inner { - padding-left: 20px; - padding-right: 20px; -} -.navbar .dropdown-menu { - padding: 20px; - max-height: 300px; - overflow: auto; - width: 300px; - background-color: #007fff; -} -.navbar .dropdown-menu a, -.navbar .dropdown-menu a:visited { - color: #ffffff; -} -.navbar .dropdown-menu a:hover { - color: #ffffff; - background-color: rgba(0, 0, 0, 0.05); -} -.navbar .dropdown-menu a:active { - color: #ffffff; - background-color: #007fff; -} -.navbar .dropdown-menu a { - padding-left: 0; - padding-right: 5px; - font-weight: 500; - font-size: 115%; -} -#toc { - position: fixed; - top: 56px; - width: 29%; - max-height: 90%; - overflow: auto; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px #080808 solid; - padding: 5px; -} -#toc .toc-active { - background-color: transparent; - color: #ffffff; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -#toc .toc-active a, -#toc .toc-active a:hover, -#toc .toc-active a:active, -#toc .toc-active a:visited { - background-color: transparent; - color: #ffffff; -} -.toc-shim { - padding-top: 56px; - margin-top: -56px; - display: block; -} -.toc-h1 { - margin-left: 2px; - margin-right: 2px; -} -.toc-h2 { - margin-left: 7px; - margin-right: 7px; -} -.toc-h3 { - margin-left: 14px; - margin-right: 7px; -} -.toc-h4 { - margin-left: 21px; - margin-right: 7px; -} -.copyright { - font-size: 90%; - text-align: center; - color: #007fff; - width: 100%; - display: block; -} -.jsdoc-message { - font-size: 90%; - text-align: center; - color: #007fff; - width: 100%; - display: block; -} -.page-title { - font-size: 220%; - color: #007fff; - font-weight: 700; - padding-top: 10px; - display: block; -} -footer { - border-top: 1px solid #007fff; - padding-top: 15px; -} -code { - background-color: none; - border: none; - color: #ff7518; -} -.buffered-name { - padding-top: 56px; - margin-top: -56px; -} -.member-collapsed { - background-color: #007fff; - color: #ffffff; -} -.member-open { - background-color: inherit; - color: inherit; -} -.member { - -webkit-transition: background-color 0.5s linear; - -moz-transition: background-color 0.5s linear; - -o-transition: background-color 0.5s linear; - transition: background-color 0.5s linear; - -webkit-transition: color 0.5s linear; - -moz-transition: color 0.5s linear; - -o-transition: color 0.5s linear; - transition: color 0.5s linear; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 10px; -} diff --git a/docs/styles/site.cyborg.css b/docs/styles/site.cyborg.css deleted file mode 100644 index 126a1165ac..0000000000 --- a/docs/styles/site.cyborg.css +++ /dev/null @@ -1,6104 +0,0 @@ -@import url(http://fonts.googleapis.com/css?family=Droid+Sans:400,700); -/*! - * Bootstrap v2.3.1 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -.clearfix { - *zoom: 1; -} -.clearfix:before, -.clearfix:after { - display: table; - content: ""; - line-height: 0; -} -.clearfix:after { - clear: both; -} -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.input-block-level { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a:hover, -a:active { - outline: 0; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - /* Responsive images (ensure images don't scale beyond their parents) */ - - max-width: 100%; - /* Part 1: Set a maxium relative to the parent */ - - width: auto\9; - /* IE7-8 need help adjusting responsive images */ - - height: auto; - /* Part 2: Scale the height according to the width, otherwise you get stretching */ - - vertical-align: middle; - border: 0; - -ms-interpolation-mode: bicubic; -} -#map_canvas img, -.google-maps img { - max-width: none; -} -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} -button, -input { - *overflow: visible; - line-height: normal; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -label, -select, -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -input[type="radio"], -input[type="checkbox"] { - cursor: pointer; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -@media print { - * { - text-shadow: none !important; - color: #000 !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} -body { - margin: 0; - font-family: 'Droid Sans', sans-serif; - font-size: 14px; - line-height: 20px; - color: #999999; - background-color: #060606; -} -a { - color: #33b5e5; - text-decoration: none; -} -a:hover, -a:focus { - color: #ffffff; - text-decoration: underline; -} -.img-rounded { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.img-polaroid { - padding: 4px; - background-color: #fff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} -.img-circle { - -webkit-border-radius: 500px; - -moz-border-radius: 500px; - border-radius: 500px; -} -.row { - margin-left: -20px; - *zoom: 1; -} -.row:before, -.row:after { - display: table; - content: ""; - line-height: 0; -} -.row:after { - clear: both; -} -[class*="span"] { - float: left; - min-height: 1px; - margin-left: 20px; -} -.container, -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.span12 { - width: 940px; -} -.span11 { - width: 860px; -} -.span10 { - width: 780px; -} -.span9 { - width: 700px; -} -.span8 { - width: 620px; -} -.span7 { - width: 540px; -} -.span6 { - width: 460px; -} -.span5 { - width: 380px; -} -.span4 { - width: 300px; -} -.span3 { - width: 220px; -} -.span2 { - width: 140px; -} -.span1 { - width: 60px; -} -.offset12 { - margin-left: 980px; -} -.offset11 { - margin-left: 900px; -} -.offset10 { - margin-left: 820px; -} -.offset9 { - margin-left: 740px; -} -.offset8 { - margin-left: 660px; -} -.offset7 { - margin-left: 580px; -} -.offset6 { - margin-left: 500px; -} -.offset5 { - margin-left: 420px; -} -.offset4 { - margin-left: 340px; -} -.offset3 { - margin-left: 260px; -} -.offset2 { - margin-left: 180px; -} -.offset1 { - margin-left: 100px; -} -.row-fluid { - width: 100%; - *zoom: 1; -} -.row-fluid:before, -.row-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.row-fluid:after { - clear: both; -} -.row-fluid [class*="span"] { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2.127659574468085%; - *margin-left: 2.074468085106383%; -} -.row-fluid [class*="span"]:first-child { - margin-left: 0; -} -.row-fluid .controls-row [class*="span"] + [class*="span"] { - margin-left: 2.127659574468085%; -} -.row-fluid .span12 { - width: 100%; - *width: 99.94680851063829%; -} -.row-fluid .span11 { - width: 91.48936170212765%; - *width: 91.43617021276594%; -} -.row-fluid .span10 { - width: 82.97872340425532%; - *width: 82.92553191489361%; -} -.row-fluid .span9 { - width: 74.46808510638297%; - *width: 74.41489361702126%; -} -.row-fluid .span8 { - width: 65.95744680851064%; - *width: 65.90425531914893%; -} -.row-fluid .span7 { - width: 57.44680851063829%; - *width: 57.39361702127659%; -} -.row-fluid .span6 { - width: 48.93617021276595%; - *width: 48.88297872340425%; -} -.row-fluid .span5 { - width: 40.42553191489362%; - *width: 40.37234042553192%; -} -.row-fluid .span4 { - width: 31.914893617021278%; - *width: 31.861702127659576%; -} -.row-fluid .span3 { - width: 23.404255319148934%; - *width: 23.351063829787233%; -} -.row-fluid .span2 { - width: 14.893617021276595%; - *width: 14.840425531914894%; -} -.row-fluid .span1 { - width: 6.382978723404255%; - *width: 6.329787234042553%; -} -.row-fluid .offset12 { - margin-left: 104.25531914893617%; - *margin-left: 104.14893617021275%; -} -.row-fluid .offset12:first-child { - margin-left: 102.12765957446808%; - *margin-left: 102.02127659574467%; -} -.row-fluid .offset11 { - margin-left: 95.74468085106382%; - *margin-left: 95.6382978723404%; -} -.row-fluid .offset11:first-child { - margin-left: 93.61702127659574%; - *margin-left: 93.51063829787232%; -} -.row-fluid .offset10 { - margin-left: 87.23404255319149%; - *margin-left: 87.12765957446807%; -} -.row-fluid .offset10:first-child { - margin-left: 85.1063829787234%; - *margin-left: 84.99999999999999%; -} -.row-fluid .offset9 { - margin-left: 78.72340425531914%; - *margin-left: 78.61702127659572%; -} -.row-fluid .offset9:first-child { - margin-left: 76.59574468085106%; - *margin-left: 76.48936170212764%; -} -.row-fluid .offset8 { - margin-left: 70.2127659574468%; - *margin-left: 70.10638297872339%; -} -.row-fluid .offset8:first-child { - margin-left: 68.08510638297872%; - *margin-left: 67.9787234042553%; -} -.row-fluid .offset7 { - margin-left: 61.70212765957446%; - *margin-left: 61.59574468085106%; -} -.row-fluid .offset7:first-child { - margin-left: 59.574468085106375%; - *margin-left: 59.46808510638297%; -} -.row-fluid .offset6 { - margin-left: 53.191489361702125%; - *margin-left: 53.085106382978715%; -} -.row-fluid .offset6:first-child { - margin-left: 51.063829787234035%; - *margin-left: 50.95744680851063%; -} -.row-fluid .offset5 { - margin-left: 44.68085106382979%; - *margin-left: 44.57446808510638%; -} -.row-fluid .offset5:first-child { - margin-left: 42.5531914893617%; - *margin-left: 42.4468085106383%; -} -.row-fluid .offset4 { - margin-left: 36.170212765957444%; - *margin-left: 36.06382978723405%; -} -.row-fluid .offset4:first-child { - margin-left: 34.04255319148936%; - *margin-left: 33.93617021276596%; -} -.row-fluid .offset3 { - margin-left: 27.659574468085104%; - *margin-left: 27.5531914893617%; -} -.row-fluid .offset3:first-child { - margin-left: 25.53191489361702%; - *margin-left: 25.425531914893618%; -} -.row-fluid .offset2 { - margin-left: 19.148936170212764%; - *margin-left: 19.04255319148936%; -} -.row-fluid .offset2:first-child { - margin-left: 17.02127659574468%; - *margin-left: 16.914893617021278%; -} -.row-fluid .offset1 { - margin-left: 10.638297872340425%; - *margin-left: 10.53191489361702%; -} -.row-fluid .offset1:first-child { - margin-left: 8.51063829787234%; - *margin-left: 8.404255319148938%; -} -[class*="span"].hide, -.row-fluid [class*="span"].hide { - display: none; -} -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { - float: right; -} -.container { - margin-right: auto; - margin-left: auto; - *zoom: 1; -} -.container:before, -.container:after { - display: table; - content: ""; - line-height: 0; -} -.container:after { - clear: both; -} -.container-fluid { - padding-right: 20px; - padding-left: 20px; - *zoom: 1; -} -.container-fluid:before, -.container-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.container-fluid:after { - clear: both; -} -p { - margin: 0 0 10px; -} -.lead { - margin-bottom: 20px; - font-size: 21px; - font-weight: 200; - line-height: 30px; -} -small { - font-size: 85%; -} -strong { - font-weight: bold; -} -em { - font-style: italic; -} -cite { - font-style: normal; -} -.muted { - color: #adafae; -} -a.muted:hover, -a.muted:focus { - color: #939695; -} -.text-warning { - color: #a47e3c; -} -a.text-warning:hover, -a.text-warning:focus { - color: #7f612e; -} -.text-error { - color: #b94a48; -} -a.text-error:hover, -a.text-error:focus { - color: #953b39; -} -.text-info { - color: #0099cc; -} -a.text-info:hover, -a.text-info:focus { - color: #007399; -} -.text-success { - color: #468847; -} -a.text-success:hover, -a.text-success:focus { - color: #356635; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 10px 0; - font-family: inherit; - font-weight: normal; - line-height: 20px; - color: #ffffff; - text-rendering: optimizelegibility; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - line-height: 1; - color: #adafae; -} -h1, -h2, -h3 { - line-height: 40px; -} -h1 { - font-size: 38.5px; -} -h2 { - font-size: 31.5px; -} -h3 { - font-size: 24.5px; -} -h4 { - font-size: 17.5px; -} -h5 { - font-size: 14px; -} -h6 { - font-size: 11.9px; -} -h1 small { - font-size: 24.5px; -} -h2 small { - font-size: 17.5px; -} -h3 small { - font-size: 14px; -} -h4 small { - font-size: 14px; -} -.page-header { - padding-bottom: 9px; - margin: 20px 0 30px; - border-bottom: 1px solid #eeeeee; -} -ul, -ol { - padding: 0; - margin: 0 0 10px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -li { - line-height: 20px; -} -ul.unstyled, -ol.unstyled { - margin-left: 0; - list-style: none; -} -ul.inline, -ol.inline { - margin-left: 0; - list-style: none; -} -ul.inline > li, -ol.inline > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding-left: 5px; - padding-right: 5px; -} -dl { - margin-bottom: 20px; -} -dt, -dd { - line-height: 20px; -} -dt { - font-weight: bold; -} -dd { - margin-left: 10px; -} -.dl-horizontal { - *zoom: 1; -} -.dl-horizontal:before, -.dl-horizontal:after { - display: table; - content: ""; - line-height: 0; -} -.dl-horizontal:after { - clear: both; -} -.dl-horizontal dt { - float: left; - width: 160px; - clear: left; - text-align: right; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.dl-horizontal dd { - margin-left: 180px; -} -hr { - margin: 20px 0; - border: 0; - border-top: 1px solid #222222; - border-bottom: 1px solid #ffffff; -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #adafae; -} -abbr.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 0 0 0 15px; - margin: 0 0 20px; - border-left: 5px solid #eeeeee; -} -blockquote p { - margin-bottom: 0; - font-size: 17.5px; - font-weight: 300; - line-height: 1.25; -} -blockquote small { - display: block; - line-height: 20px; - color: #adafae; -} -blockquote small:before { - content: '\2014 \00A0'; -} -blockquote.pull-right { - float: right; - padding-right: 15px; - padding-left: 0; - border-right: 5px solid #eeeeee; - border-left: 0; -} -blockquote.pull-right p, -blockquote.pull-right small { - text-align: right; -} -blockquote.pull-right small:before { - content: ''; -} -blockquote.pull-right small:after { - content: '\00A0 \2014'; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -address { - display: block; - margin-bottom: 20px; - font-style: normal; - line-height: 20px; -} -code, -pre { - padding: 0 3px 2px; - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 12px; - color: #222222; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - padding: 2px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; - white-space: nowrap; -} -pre { - display: block; - padding: 9.5px; - margin: 0 0 10px; - font-size: 13px; - line-height: 20px; - word-break: break-all; - word-wrap: break-word; - white-space: pre; - white-space: pre-wrap; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -pre.prettyprint { - margin-bottom: 20px; -} -pre code { - padding: 0; - color: inherit; - white-space: pre; - white-space: pre-wrap; - background-color: transparent; - border: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -form { - margin: 0 0 20px; -} -fieldset { - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 20px; - font-size: 21px; - line-height: 40px; - color: #222222; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -legend small { - font-size: 15px; - color: #adafae; -} -label, -input, -button, -select, -textarea { - font-size: 14px; - font-weight: normal; - line-height: 20px; -} -input, -button, -select, -textarea { - font-family: 'Droid Sans', sans-serif; -} -label { - display: block; - margin-bottom: 5px; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 20px; - padding: 4px 6px; - margin-bottom: 10px; - font-size: 14px; - line-height: 20px; - color: #999999; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - vertical-align: middle; -} -input, -textarea, -.uneditable-input { - width: 206px; -} -textarea { - height: auto; -} -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - background-color: #cccccc; - border: 1px solid #bbbbbb; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; -} -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - *margin-top: 0; - /* IE7 */ - - margin-top: 1px \9; - /* IE8-9 */ - - line-height: normal; -} -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} -select, -input[type="file"] { - height: 30px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 30px; -} -select { - width: 220px; - border: 1px solid #bbbbbb; - background-color: #cccccc; -} -select[multiple], -select[size] { - height: auto; -} -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.uneditable-input, -.uneditable-textarea { - color: #adafae; - background-color: #c9c9c9; - border-color: #bbbbbb; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -.uneditable-input { - overflow: hidden; - white-space: nowrap; -} -.uneditable-textarea { - width: auto; - height: auto; -} -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #adafae; -} -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #adafae; -} -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #adafae; -} -.radio, -.checkbox { - min-height: 20px; - padding-left: 20px; -} -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -20px; -} -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; -} -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; -} -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; -} -.input-mini { - width: 60px; -} -.input-small { - width: 90px; -} -.input-medium { - width: 150px; -} -.input-large { - width: 210px; -} -.input-xlarge { - width: 270px; -} -.input-xxlarge { - width: 530px; -} -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; -} -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; -} -input, -textarea, -.uneditable-input { - margin-left: 0; -} -.controls-row [class*="span"] + [class*="span"] { - margin-left: 20px; -} -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 926px; -} -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 846px; -} -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 766px; -} -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 686px; -} -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 606px; -} -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 526px; -} -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 446px; -} -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 366px; -} -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 286px; -} -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 206px; -} -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 126px; -} -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 46px; -} -.controls-row { - *zoom: 1; -} -.controls-row:before, -.controls-row:after { - display: table; - content: ""; - line-height: 0; -} -.controls-row:after { - clear: both; -} -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { - float: left; -} -.controls-row .checkbox[class*="span"], -.controls-row .radio[class*="span"] { - padding-top: 5px; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #555555; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #a47e3c; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #a47e3c; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #a47e3c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #7f612e; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ceae78; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ceae78; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ceae78; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #a47e3c; - background-color: #eeeeee; - border-color: #a47e3c; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #b94a48; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #b94a48; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #b94a48; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #953b39; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #b94a48; - background-color: #eeeeee; - border-color: #b94a48; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #468847; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #468847; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #468847; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #356635; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #468847; - background-color: #eeeeee; - border-color: #468847; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #0099cc; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #0099cc; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #0099cc; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #007399; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #33ccff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #33ccff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #33ccff; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #0099cc; - background-color: #eeeeee; - border-color: #0099cc; -} -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { - color: #b94a48; - border-color: #ee5f5b; -} -input:focus:invalid:focus, -textarea:focus:invalid:focus, -select:focus:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -.form-actions { - padding: 19px 20px 20px; - margin-top: 20px; - margin-bottom: 20px; - background-color: transparent; - border-top: 1px solid #e5e5e5; - *zoom: 1; -} -.form-actions:before, -.form-actions:after { - display: table; - content: ""; - line-height: 0; -} -.form-actions:after { - clear: both; -} -.help-block, -.help-inline { - color: #bfbfbf; -} -.help-block { - display: block; - margin-bottom: 10px; -} -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - vertical-align: middle; - padding-left: 5px; -} -.input-append, -.input-prepend { - display: inline-block; - margin-bottom: 10px; - vertical-align: middle; - font-size: 0; - white-space: nowrap; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input, -.input-append .dropdown-menu, -.input-prepend .dropdown-menu, -.input-append .popover, -.input-prepend .popover { - font-size: 14px; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input { - position: relative; - margin-bottom: 0; - *margin-left: 0; - vertical-align: top; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append input:focus, -.input-prepend input:focus, -.input-append select:focus, -.input-prepend select:focus, -.input-append .uneditable-input:focus, -.input-prepend .uneditable-input:focus { - z-index: 2; -} -.input-append .add-on, -.input-prepend .add-on { - display: inline-block; - width: auto; - height: 20px; - min-width: 16px; - padding: 4px 5px; - font-size: 14px; - font-weight: normal; - line-height: 20px; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - background-color: #eeeeee; - border: 1px solid #ccc; -} -.input-append .add-on, -.input-prepend .add-on, -.input-append .btn, -.input-prepend .btn, -.input-append .btn-group > .dropdown-toggle, -.input-prepend .btn-group > .dropdown-toggle { - vertical-align: top; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-append .active, -.input-prepend .active { - background-color: #bbff33; - border-color: #669900; -} -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; -} -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input + .btn-group .btn:last-child, -.input-append select + .btn-group .btn:last-child, -.input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append .add-on, -.input-append .btn, -.input-append .btn-group { - margin-left: -1px; -} -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-prepend.input-append input + .btn-group .btn, -.input-prepend.input-append select + .btn-group .btn, -.input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .btn-group:first-child { - margin-left: 0; -} -input.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - - margin-bottom: 0; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -/* Allow for input prepend/append in search forms */ -.form-search .input-append .search-query, -.form-search .input-prepend .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.form-search .input-append .search-query { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search .input-append .btn { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .search-query { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .btn { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input, -.form-search .input-prepend, -.form-inline .input-prepend, -.form-horizontal .input-prepend, -.form-search .input-append, -.form-inline .input-append, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; -} -.form-search label, -.form-inline label, -.form-search .btn-group, -.form-inline .btn-group { - display: inline-block; -} -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; -} -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; -} -.control-group { - margin-bottom: 10px; -} -legend + .control-group { - margin-top: 20px; - -webkit-margin-top-collapse: separate; -} -.form-horizontal .control-group { - margin-bottom: 20px; - *zoom: 1; -} -.form-horizontal .control-group:before, -.form-horizontal .control-group:after { - display: table; - content: ""; - line-height: 0; -} -.form-horizontal .control-group:after { - clear: both; -} -.form-horizontal .control-label { - float: left; - width: 160px; - padding-top: 5px; - text-align: right; -} -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 180px; - *margin-left: 0; -} -.form-horizontal .controls:first-child { - *padding-left: 180px; -} -.form-horizontal .help-block { - margin-bottom: 0; -} -.form-horizontal input + .help-block, -.form-horizontal select + .help-block, -.form-horizontal textarea + .help-block, -.form-horizontal .uneditable-input + .help-block, -.form-horizontal .input-prepend + .help-block, -.form-horizontal .input-append + .help-block { - margin-top: 10px; -} -.form-horizontal .form-actions { - padding-left: 180px; -} -table { - max-width: 100%; - background-color: transparent; - border-collapse: collapse; - border-spacing: 0; -} -.table { - width: 100%; - margin-bottom: 20px; -} -.table th, -.table td { - padding: 8px; - line-height: 20px; - text-align: left; - vertical-align: top; - border-top: 1px solid #222222; -} -.table th { - font-weight: bold; -} -.table thead th { - vertical-align: bottom; -} -.table caption + thead tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child th, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child th, -.table thead:first-child tr:first-child td { - border-top: 0; -} -.table tbody + tbody { - border-top: 2px solid #222222; -} -.table .table { - background-color: #060606; -} -.table-condensed th, -.table-condensed td { - padding: 4px 5px; -} -.table-bordered { - border: 1px solid #222222; - border-collapse: separate; - *border-collapse: collapse; - border-left: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.table-bordered th, -.table-bordered td { - border-left: 1px solid #222222; -} -.table-bordered caption + thead tr:first-child th, -.table-bordered caption + tbody tr:first-child th, -.table-bordered caption + tbody tr:first-child td, -.table-bordered colgroup + thead tr:first-child th, -.table-bordered colgroup + tbody tr:first-child th, -.table-bordered colgroup + tbody tr:first-child td, -.table-bordered thead:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} -.table-bordered thead:first-child tr:first-child > th:first-child, -.table-bordered tbody:first-child tr:first-child > td:first-child, -.table-bordered tbody:first-child tr:first-child > th:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered thead:first-child tr:first-child > th:last-child, -.table-bordered tbody:first-child tr:first-child > td:last-child, -.table-bordered tbody:first-child tr:first-child > th:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:first-child, -.table-bordered tbody:last-child tr:last-child > td:first-child, -.table-bordered tbody:last-child tr:last-child > th:first-child, -.table-bordered tfoot:last-child tr:last-child > td:first-child, -.table-bordered tfoot:last-child tr:last-child > th:first-child { - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:last-child, -.table-bordered tbody:last-child tr:last-child > td:last-child, -.table-bordered tbody:last-child tr:last-child > th:last-child, -.table-bordered tfoot:last-child tr:last-child > td:last-child, -.table-bordered tfoot:last-child tr:last-child > th:last-child { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered caption + thead tr:first-child th:first-child, -.table-bordered caption + tbody tr:first-child td:first-child, -.table-bordered colgroup + thead tr:first-child th:first-child, -.table-bordered colgroup + tbody tr:first-child td:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered caption + thead tr:first-child th:last-child, -.table-bordered caption + tbody tr:first-child td:last-child, -.table-bordered colgroup + thead tr:first-child th:last-child, -.table-bordered colgroup + tbody tr:first-child td:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-striped tbody > tr:nth-child(odd) > td, -.table-striped tbody > tr:nth-child(odd) > th { - background-color: rgba(100, 100, 100, 0.1); -} -.table-hover tbody tr:hover > td, -.table-hover tbody tr:hover > th { - background-color: #222222; -} -table td[class*="span"], -table th[class*="span"], -.row-fluid table td[class*="span"], -.row-fluid table th[class*="span"] { - display: table-cell; - float: none; - margin-left: 0; -} -.table td.span1, -.table th.span1 { - float: none; - width: 44px; - margin-left: 0; -} -.table td.span2, -.table th.span2 { - float: none; - width: 124px; - margin-left: 0; -} -.table td.span3, -.table th.span3 { - float: none; - width: 204px; - margin-left: 0; -} -.table td.span4, -.table th.span4 { - float: none; - width: 284px; - margin-left: 0; -} -.table td.span5, -.table th.span5 { - float: none; - width: 364px; - margin-left: 0; -} -.table td.span6, -.table th.span6 { - float: none; - width: 444px; - margin-left: 0; -} -.table td.span7, -.table th.span7 { - float: none; - width: 524px; - margin-left: 0; -} -.table td.span8, -.table th.span8 { - float: none; - width: 604px; - margin-left: 0; -} -.table td.span9, -.table th.span9 { - float: none; - width: 684px; - margin-left: 0; -} -.table td.span10, -.table th.span10 { - float: none; - width: 764px; - margin-left: 0; -} -.table td.span11, -.table th.span11 { - float: none; - width: 844px; - margin-left: 0; -} -.table td.span12, -.table th.span12 { - float: none; - width: 924px; - margin-left: 0; -} -.table tbody tr.success > td { - background-color: #eeeeee; -} -.table tbody tr.error > td { - background-color: #eeeeee; -} -.table tbody tr.warning > td { - background-color: #eeeeee; -} -.table tbody tr.info > td { - background-color: #eeeeee; -} -.table-hover tbody tr.success:hover > td { - background-color: #e1e1e1; -} -.table-hover tbody tr.error:hover > td { - background-color: #e1e1e1; -} -.table-hover tbody tr.warning:hover > td { - background-color: #e1e1e1; -} -.table-hover tbody tr.info:hover > td { - background-color: #e1e1e1; -} -[class^="icon-"], -[class*=" icon-"] { - display: inline-block; - width: 14px; - height: 14px; - *margin-right: .3em; - line-height: 14px; - vertical-align: text-top; - background-image: url("../img/glyphicons-halflings.png"); - background-position: 14px 14px; - background-repeat: no-repeat; - margin-top: 1px; -} -/* White icons with optional class, or on hover/focus/active states of certain elements */ -.icon-white, -.nav-pills > .active > a > [class^="icon-"], -.nav-pills > .active > a > [class*=" icon-"], -.nav-list > .active > a > [class^="icon-"], -.nav-list > .active > a > [class*=" icon-"], -.navbar-inverse .nav > .active > a > [class^="icon-"], -.navbar-inverse .nav > .active > a > [class*=" icon-"], -.dropdown-menu > li > a:hover > [class^="icon-"], -.dropdown-menu > li > a:focus > [class^="icon-"], -.dropdown-menu > li > a:hover > [class*=" icon-"], -.dropdown-menu > li > a:focus > [class*=" icon-"], -.dropdown-menu > .active > a > [class^="icon-"], -.dropdown-menu > .active > a > [class*=" icon-"], -.dropdown-submenu:hover > a > [class^="icon-"], -.dropdown-submenu:focus > a > [class^="icon-"], -.dropdown-submenu:hover > a > [class*=" icon-"], -.dropdown-submenu:focus > a > [class*=" icon-"] { - background-image: url("../img/glyphicons-halflings-white.png"); -} -.icon-glass { - background-position: 0 0; -} -.icon-music { - background-position: -24px 0; -} -.icon-search { - background-position: -48px 0; -} -.icon-envelope { - background-position: -72px 0; -} -.icon-heart { - background-position: -96px 0; -} -.icon-star { - background-position: -120px 0; -} -.icon-star-empty { - background-position: -144px 0; -} -.icon-user { - background-position: -168px 0; -} -.icon-film { - background-position: -192px 0; -} -.icon-th-large { - background-position: -216px 0; -} -.icon-th { - background-position: -240px 0; -} -.icon-th-list { - background-position: -264px 0; -} -.icon-ok { - background-position: -288px 0; -} -.icon-remove { - background-position: -312px 0; -} -.icon-zoom-in { - background-position: -336px 0; -} -.icon-zoom-out { - background-position: -360px 0; -} -.icon-off { - background-position: -384px 0; -} -.icon-signal { - background-position: -408px 0; -} -.icon-cog { - background-position: -432px 0; -} -.icon-trash { - background-position: -456px 0; -} -.icon-home { - background-position: 0 -24px; -} -.icon-file { - background-position: -24px -24px; -} -.icon-time { - background-position: -48px -24px; -} -.icon-road { - background-position: -72px -24px; -} -.icon-download-alt { - background-position: -96px -24px; -} -.icon-download { - background-position: -120px -24px; -} -.icon-upload { - background-position: -144px -24px; -} -.icon-inbox { - background-position: -168px -24px; -} -.icon-play-circle { - background-position: -192px -24px; -} -.icon-repeat { - background-position: -216px -24px; -} -.icon-refresh { - background-position: -240px -24px; -} -.icon-list-alt { - background-position: -264px -24px; -} -.icon-lock { - background-position: -287px -24px; -} -.icon-flag { - background-position: -312px -24px; -} -.icon-headphones { - background-position: -336px -24px; -} -.icon-volume-off { - background-position: -360px -24px; -} -.icon-volume-down { - background-position: -384px -24px; -} -.icon-volume-up { - background-position: -408px -24px; -} -.icon-qrcode { - background-position: -432px -24px; -} -.icon-barcode { - background-position: -456px -24px; -} -.icon-tag { - background-position: 0 -48px; -} -.icon-tags { - background-position: -25px -48px; -} -.icon-book { - background-position: -48px -48px; -} -.icon-bookmark { - background-position: -72px -48px; -} -.icon-print { - background-position: -96px -48px; -} -.icon-camera { - background-position: -120px -48px; -} -.icon-font { - background-position: -144px -48px; -} -.icon-bold { - background-position: -167px -48px; -} -.icon-italic { - background-position: -192px -48px; -} -.icon-text-height { - background-position: -216px -48px; -} -.icon-text-width { - background-position: -240px -48px; -} -.icon-align-left { - background-position: -264px -48px; -} -.icon-align-center { - background-position: -288px -48px; -} -.icon-align-right { - background-position: -312px -48px; -} -.icon-align-justify { - background-position: -336px -48px; -} -.icon-list { - background-position: -360px -48px; -} -.icon-indent-left { - background-position: -384px -48px; -} -.icon-indent-right { - background-position: -408px -48px; -} -.icon-facetime-video { - background-position: -432px -48px; -} -.icon-picture { - background-position: -456px -48px; -} -.icon-pencil { - background-position: 0 -72px; -} -.icon-map-marker { - background-position: -24px -72px; -} -.icon-adjust { - background-position: -48px -72px; -} -.icon-tint { - background-position: -72px -72px; -} -.icon-edit { - background-position: -96px -72px; -} -.icon-share { - background-position: -120px -72px; -} -.icon-check { - background-position: -144px -72px; -} -.icon-move { - background-position: -168px -72px; -} -.icon-step-backward { - background-position: -192px -72px; -} -.icon-fast-backward { - background-position: -216px -72px; -} -.icon-backward { - background-position: -240px -72px; -} -.icon-play { - background-position: -264px -72px; -} -.icon-pause { - background-position: -288px -72px; -} -.icon-stop { - background-position: -312px -72px; -} -.icon-forward { - background-position: -336px -72px; -} -.icon-fast-forward { - background-position: -360px -72px; -} -.icon-step-forward { - background-position: -384px -72px; -} -.icon-eject { - background-position: -408px -72px; -} -.icon-chevron-left { - background-position: -432px -72px; -} -.icon-chevron-right { - background-position: -456px -72px; -} -.icon-plus-sign { - background-position: 0 -96px; -} -.icon-minus-sign { - background-position: -24px -96px; -} -.icon-remove-sign { - background-position: -48px -96px; -} -.icon-ok-sign { - background-position: -72px -96px; -} -.icon-question-sign { - background-position: -96px -96px; -} -.icon-info-sign { - background-position: -120px -96px; -} -.icon-screenshot { - background-position: -144px -96px; -} -.icon-remove-circle { - background-position: -168px -96px; -} -.icon-ok-circle { - background-position: -192px -96px; -} -.icon-ban-circle { - background-position: -216px -96px; -} -.icon-arrow-left { - background-position: -240px -96px; -} -.icon-arrow-right { - background-position: -264px -96px; -} -.icon-arrow-up { - background-position: -289px -96px; -} -.icon-arrow-down { - background-position: -312px -96px; -} -.icon-share-alt { - background-position: -336px -96px; -} -.icon-resize-full { - background-position: -360px -96px; -} -.icon-resize-small { - background-position: -384px -96px; -} -.icon-plus { - background-position: -408px -96px; -} -.icon-minus { - background-position: -433px -96px; -} -.icon-asterisk { - background-position: -456px -96px; -} -.icon-exclamation-sign { - background-position: 0 -120px; -} -.icon-gift { - background-position: -24px -120px; -} -.icon-leaf { - background-position: -48px -120px; -} -.icon-fire { - background-position: -72px -120px; -} -.icon-eye-open { - background-position: -96px -120px; -} -.icon-eye-close { - background-position: -120px -120px; -} -.icon-warning-sign { - background-position: -144px -120px; -} -.icon-plane { - background-position: -168px -120px; -} -.icon-calendar { - background-position: -192px -120px; -} -.icon-random { - background-position: -216px -120px; - width: 16px; -} -.icon-comment { - background-position: -240px -120px; -} -.icon-magnet { - background-position: -264px -120px; -} -.icon-chevron-up { - background-position: -288px -120px; -} -.icon-chevron-down { - background-position: -313px -119px; -} -.icon-retweet { - background-position: -336px -120px; -} -.icon-shopping-cart { - background-position: -360px -120px; -} -.icon-folder-close { - background-position: -384px -120px; - width: 16px; -} -.icon-folder-open { - background-position: -408px -120px; - width: 16px; -} -.icon-resize-vertical { - background-position: -432px -119px; -} -.icon-resize-horizontal { - background-position: -456px -118px; -} -.icon-hdd { - background-position: 0 -144px; -} -.icon-bullhorn { - background-position: -24px -144px; -} -.icon-bell { - background-position: -48px -144px; -} -.icon-certificate { - background-position: -72px -144px; -} -.icon-thumbs-up { - background-position: -96px -144px; -} -.icon-thumbs-down { - background-position: -120px -144px; -} -.icon-hand-right { - background-position: -144px -144px; -} -.icon-hand-left { - background-position: -168px -144px; -} -.icon-hand-up { - background-position: -192px -144px; -} -.icon-hand-down { - background-position: -216px -144px; -} -.icon-circle-arrow-right { - background-position: -240px -144px; -} -.icon-circle-arrow-left { - background-position: -264px -144px; -} -.icon-circle-arrow-up { - background-position: -288px -144px; -} -.icon-circle-arrow-down { - background-position: -312px -144px; -} -.icon-globe { - background-position: -336px -144px; -} -.icon-wrench { - background-position: -360px -144px; -} -.icon-tasks { - background-position: -384px -144px; -} -.icon-filter { - background-position: -408px -144px; -} -.icon-briefcase { - background-position: -432px -144px; -} -.icon-fullscreen { - background-position: -456px -144px; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle { - *margin-bottom: -3px; -} -.dropdown-toggle:active, -.open .dropdown-toggle { - outline: 0; -} -.caret { - display: inline-block; - width: 0; - height: 0; - vertical-align: top; - border-top: 4px solid #000000; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - content: ""; -} -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - background-color: #131517; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: transparent; - border-bottom: 1px solid #222222; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 20px; - color: #999999; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, -.dropdown-submenu:hover > a, -.dropdown-submenu:focus > a { - text-decoration: none; - color: #ffffff; - background-color: #2ab2e4; - background-image: -moz-linear-gradient(top, #33b5e5, #1dade2); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#33b5e5), to(#1dade2)); - background-image: -webkit-linear-gradient(top, #33b5e5, #1dade2); - background-image: -o-linear-gradient(top, #33b5e5, #1dade2); - background-image: linear-gradient(to bottom, #33b5e5, #1dade2); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff33b5e5', endColorstr='#ff1dade2', GradientType=0); -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #ffffff; - text-decoration: none; - outline: 0; - background-color: #2ab2e4; - background-image: -moz-linear-gradient(top, #33b5e5, #1dade2); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#33b5e5), to(#1dade2)); - background-image: -webkit-linear-gradient(top, #33b5e5, #1dade2); - background-image: -o-linear-gradient(top, #33b5e5, #1dade2); - background-image: linear-gradient(to bottom, #33b5e5, #1dade2); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff33b5e5', endColorstr='#ff1dade2', GradientType=0); -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #adafae; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: default; -} -.open { - *z-index: 1000; -} -.open > .dropdown-menu { - display: block; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: ""; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -.dropdown-submenu { - position: relative; -} -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; - -webkit-border-radius: 5px 5px 5px 0; - -moz-border-radius: 5px 5px 5px 0; - border-radius: 5px 5px 5px 0; -} -.dropdown-submenu > a:after { - display: block; - content: " "; - float: right; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 5px 0 5px 5px; - border-left-color: #000000; - margin-top: 5px; - margin-right: -10px; -} -.dropdown-submenu:hover > a:after { - border-left-color: #ffffff; -} -.dropdown-submenu.pull-left { - float: none; -} -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.dropdown .dropdown-menu .nav-header { - padding-left: 20px; - padding-right: 20px; -} -.typeahead { - z-index: 1051; - margin-top: 2px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #131517; - border: 1px solid #030303; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} -.well-large { - padding: 24px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.well-small { - padding: 9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; -} -.collapse.in { - height: auto; -} -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 20px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover, -.close:focus { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} -.btn { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding: 4px 12px; - margin-bottom: 0; - font-size: 14px; - line-height: 20px; - text-align: center; - vertical-align: middle; - cursor: pointer; - color: #222222; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #616161; - background-image: -moz-linear-gradient(top, #666666, #595959); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#666666), to(#595959)); - background-image: -webkit-linear-gradient(top, #666666, #595959); - background-image: -o-linear-gradient(top, #666666, #595959); - background-image: linear-gradient(to bottom, #666666, #595959); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff666666', endColorstr='#ff595959', GradientType=0); - border-color: #595959 #595959 #333333; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #595959; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - border: 1px solid rgba(0, 0, 0, 0); - *border: 0; - border-bottom-color: rgba(0, 0, 0, 0); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - *margin-left: .3em; - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #222222; - background-color: #595959; - *background-color: #4d4d4d; -} -.btn:active, -.btn.active { - background-color: #404040 \9; -} -.btn:first-child { - *margin-left: 0; -} -.btn:hover, -.btn:focus { - color: #222222; - text-decoration: none; - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -.btn:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn.active, -.btn:active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn.disabled, -.btn[disabled] { - cursor: default; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-large { - padding: 11px 19px; - font-size: 17.5px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.btn-large [class^="icon-"], -.btn-large [class*=" icon-"] { - margin-top: 4px; -} -.btn-small { - padding: 2px 10px; - font-size: 11.9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-small [class^="icon-"], -.btn-small [class*=" icon-"] { - margin-top: 0; -} -.btn-mini [class^="icon-"], -.btn-mini [class*=" icon-"] { - margin-top: -1px; -} -.btn-mini { - padding: 0px 6px; - font-size: 10.5px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; - padding-left: 0; - padding-right: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active, -.btn-inverse.active { - color: rgba(255, 255, 255, 0.75); -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #008ab8; - background-image: -moz-linear-gradient(top, #0099cc, #007399); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0099cc), to(#007399)); - background-image: -webkit-linear-gradient(top, #0099cc, #007399); - background-image: -o-linear-gradient(top, #0099cc, #007399); - background-image: linear-gradient(to bottom, #0099cc, #007399); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0099cc', endColorstr='#ff007399', GradientType=0); - border-color: #007399 #007399 #00394d; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #007399; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #007399; - *background-color: #006080; -} -.btn-primary:active, -.btn-primary.active { - background-color: #004d66 \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #ff9d2e; - background-image: -moz-linear-gradient(top, #ffac4d, #ff8800); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffac4d), to(#ff8800)); - background-image: -webkit-linear-gradient(top, #ffac4d, #ff8800); - background-image: -o-linear-gradient(top, #ffac4d, #ff8800); - background-image: linear-gradient(to bottom, #ffac4d, #ff8800); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffac4d', endColorstr='#ffff8800', GradientType=0); - border-color: #ff8800 #ff8800 #b35f00; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #ff8800; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #ff8800; - *background-color: #e67a00; -} -.btn-warning:active, -.btn-warning.active { - background-color: #cc6d00 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #eb0000; - background-image: -moz-linear-gradient(top, #ff0000, #cc0000); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ff0000), to(#cc0000)); - background-image: -webkit-linear-gradient(top, #ff0000, #cc0000); - background-image: -o-linear-gradient(top, #ff0000, #cc0000); - background-image: linear-gradient(to bottom, #ff0000, #cc0000); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff0000', endColorstr='#ffcc0000', GradientType=0); - border-color: #cc0000 #cc0000 #800000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #cc0000; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #cc0000; - *background-color: #b30000; -} -.btn-danger:active, -.btn-danger.active { - background-color: #990000 \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #7ab800; - background-image: -moz-linear-gradient(top, #88cc00, #669900); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#88cc00), to(#669900)); - background-image: -webkit-linear-gradient(top, #88cc00, #669900); - background-image: -o-linear-gradient(top, #88cc00, #669900); - background-image: linear-gradient(to bottom, #88cc00, #669900); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff88cc00', endColorstr='#ff669900', GradientType=0); - border-color: #669900 #669900 #334d00; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #669900; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #669900; - *background-color: #558000; -} -.btn-success:active, -.btn-success.active { - background-color: #446600 \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #292929; - background-image: -moz-linear-gradient(top, #333333, #191919); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#191919)); - background-image: -webkit-linear-gradient(top, #333333, #191919); - background-image: -o-linear-gradient(top, #333333, #191919); - background-image: linear-gradient(to bottom, #333333, #191919); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff333333', endColorstr='#ff191919', GradientType=0); - border-color: #191919 #191919 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #191919; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #191919; - *background-color: #0d0d0d; -} -.btn-info:active, -.btn-info.active { - background-color: #000000 \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #9f3fcf; - background-image: -moz-linear-gradient(top, #a347d1, #9933cc); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a347d1), to(#9933cc)); - background-image: -webkit-linear-gradient(top, #a347d1, #9933cc); - background-image: -o-linear-gradient(top, #a347d1, #9933cc); - background-image: linear-gradient(to bottom, #a347d1, #9933cc); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffa347d1', endColorstr='#ff9933cc', GradientType=0); - border-color: #9933cc #9933cc #6b248f; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #9933cc; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #9933cc; - *background-color: #8a2eb8; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #7a29a3 \9; -} -button.btn, -input[type="submit"].btn { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn::-moz-focus-inner, -input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} -button.btn.btn-large, -input[type="submit"].btn.btn-large { - *padding-top: 7px; - *padding-bottom: 7px; -} -button.btn.btn-small, -input[type="submit"].btn.btn-small { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn.btn-mini, -input[type="submit"].btn.btn-mini { - *padding-top: 1px; - *padding-bottom: 1px; -} -.btn-link, -.btn-link:active, -.btn-link[disabled] { - background-color: transparent; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-link { - border-color: transparent; - cursor: pointer; - color: #33b5e5; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-link:hover, -.btn-link:focus { - color: #ffffff; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -.btn-link[disabled]:focus { - color: #222222; - text-decoration: none; -} -.btn-group { - position: relative; - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - font-size: 0; - vertical-align: middle; - white-space: nowrap; - *margin-left: .3em; -} -.btn-group:first-child { - *margin-left: 0; -} -.btn-group + .btn-group { - margin-left: 5px; -} -.btn-toolbar { - font-size: 0; - margin-top: 10px; - margin-bottom: 10px; -} -.btn-toolbar > .btn + .btn, -.btn-toolbar > .btn-group + .btn, -.btn-toolbar > .btn + .btn-group { - margin-left: 5px; -} -.btn-group > .btn { - position: relative; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group > .btn + .btn { - margin-left: -1px; -} -.btn-group > .btn, -.btn-group > .dropdown-menu, -.btn-group > .popover { - font-size: 14px; -} -.btn-group > .btn-mini { - font-size: 10.5px; -} -.btn-group > .btn-small { - font-size: 11.9px; -} -.btn-group > .btn-large { - font-size: 17.5px; -} -.btn-group > .btn:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.btn-group > .btn.large:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.btn-group > .btn.large:last-child, -.btn-group > .large.dropdown-toggle { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - *padding-top: 5px; - *padding-bottom: 5px; -} -.btn-group > .btn-mini + .dropdown-toggle { - padding-left: 5px; - padding-right: 5px; - *padding-top: 2px; - *padding-bottom: 2px; -} -.btn-group > .btn-small + .dropdown-toggle { - *padding-top: 5px; - *padding-bottom: 4px; -} -.btn-group > .btn-large + .dropdown-toggle { - padding-left: 12px; - padding-right: 12px; - *padding-top: 7px; - *padding-bottom: 7px; -} -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn-group.open .btn.dropdown-toggle { - background-color: #595959; -} -.btn-group.open .btn-primary.dropdown-toggle { - background-color: #007399; -} -.btn-group.open .btn-warning.dropdown-toggle { - background-color: #ff8800; -} -.btn-group.open .btn-danger.dropdown-toggle { - background-color: #cc0000; -} -.btn-group.open .btn-success.dropdown-toggle { - background-color: #669900; -} -.btn-group.open .btn-info.dropdown-toggle { - background-color: #191919; -} -.btn-group.open .btn-inverse.dropdown-toggle { - background-color: #9933cc; -} -.btn .caret { - margin-top: 8px; - margin-left: 0; -} -.btn-large .caret { - margin-top: 6px; -} -.btn-large .caret { - border-left-width: 5px; - border-right-width: 5px; - border-top-width: 5px; -} -.btn-mini .caret, -.btn-small .caret { - margin-top: 8px; -} -.dropup .btn-large .caret { - border-bottom-width: 5px; -} -.btn-primary .caret, -.btn-warning .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret, -.btn-inverse .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.btn-group-vertical { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} -.btn-group-vertical > .btn { - display: block; - float: none; - max-width: 100%; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group-vertical > .btn + .btn { - margin-left: 0; - margin-top: -1px; -} -.btn-group-vertical > .btn:first-child { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.btn-group-vertical > .btn:last-child { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.btn-group-vertical > .btn-large:first-child { - -webkit-border-radius: 6px 6px 0 0; - -moz-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; -} -.btn-group-vertical > .btn-large:last-child { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 20px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #eeeeee; - border: 1px solid transparent; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.alert, -.alert h4 { - color: #a47e3c; -} -.alert h4 { - margin: 0; -} -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 20px; -} -.alert-success { - background-color: #eeeeee; - border-color: #e1e1e1; - color: #468847; -} -.alert-success h4 { - color: #468847; -} -.alert-danger, -.alert-error { - background-color: #eeeeee; - border-color: #e6e6e6; - color: #b94a48; -} -.alert-danger h4, -.alert-error h4 { - color: #b94a48; -} -.alert-info { - background-color: #eeeeee; - border-color: #dcdcdc; - color: #0099cc; -} -.alert-info h4 { - color: #0099cc; -} -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; -} -.alert-block p + p { - margin-top: 5px; -} -.nav { - margin-left: 0; - margin-bottom: 20px; - list-style: none; -} -.nav > li > a { - display: block; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #eeeeee; -} -.nav > li > a > img { - max-width: none; -} -.nav > .pull-right { - float: right; -} -.nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 20px; - color: #adafae; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} -.nav li + .nav-header { - margin-top: 9px; -} -.nav-list { - padding-left: 15px; - padding-right: 15px; - margin-bottom: 0; -} -.nav-list > li > a, -.nav-list .nav-header { - margin-left: -15px; - margin-right: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.nav-list > li > a { - padding: 3px 15px; -} -.nav-list > .active > a, -.nav-list > .active > a:hover, -.nav-list > .active > a:focus { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #33b5e5; -} -.nav-list [class^="icon-"], -.nav-list [class*=" icon-"] { - margin-right: 2px; -} -.nav-list .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.nav-tabs, -.nav-pills { - *zoom: 1; -} -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; - line-height: 0; -} -.nav-tabs:after, -.nav-pills:after { - clear: both; -} -.nav-tabs > li, -.nav-pills > li { - float: left; -} -.nav-tabs > li > a, -.nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - margin-bottom: -1px; -} -.nav-tabs > li > a { - padding-top: 8px; - padding-bottom: 8px; - line-height: 20px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover, -.nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #dddddd; -} -.nav-tabs > .active > a, -.nav-tabs > .active > a:hover, -.nav-tabs > .active > a:focus { - color: #999999; - background-color: #060606; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.nav-pills > .active > a, -.nav-pills > .active > a:hover, -.nav-pills > .active > a:focus { - color: #ffffff; - background-color: #33b5e5; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li > a { - margin-right: 0; -} -.nav-tabs.nav-stacked { - border-bottom: 0; -} -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.nav-tabs.nav-stacked > li > a:hover, -.nav-tabs.nav-stacked > li > a:focus { - border-color: #ddd; - z-index: 2; -} -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.nav-pills .dropdown-menu { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.nav .dropdown-toggle .caret { - border-top-color: #33b5e5; - border-bottom-color: #33b5e5; - margin-top: 6px; -} -.nav .dropdown-toggle:hover .caret, -.nav .dropdown-toggle:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -/* move down carets for tabs */ -.nav-tabs .dropdown-toggle .caret { - margin-top: 8px; -} -.nav .active .dropdown-toggle .caret { - border-top-color: #fff; - border-bottom-color: #fff; -} -.nav-tabs .active .dropdown-toggle .caret { - border-top-color: #999999; - border-bottom-color: #999999; -} -.nav > .dropdown.active > a:hover, -.nav > .dropdown.active > a:focus { - cursor: pointer; -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover, -.nav > li.dropdown.open.active > a:focus { - color: #ffffff; - background-color: #adafae; - border-color: #adafae; -} -.nav li.dropdown.open .caret, -.nav li.dropdown.open.active .caret, -.nav li.dropdown.open a:hover .caret, -.nav li.dropdown.open a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} -.tabs-stacked .open > a:hover, -.tabs-stacked .open > a:focus { - border-color: #adafae; -} -.tabbable { - *zoom: 1; -} -.tabbable:before, -.tabbable:after { - display: table; - content: ""; - line-height: 0; -} -.tabbable:after { - clear: both; -} -.tab-content { - overflow: auto; -} -.tabs-below > .nav-tabs, -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} -.tab-content > .active, -.pill-content > .active { - display: block; -} -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; -} -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.tabs-below > .nav-tabs > li > a:hover, -.tabs-below > .nav-tabs > li > a:focus { - border-bottom-color: transparent; - border-top-color: #ddd; -} -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover, -.tabs-below > .nav-tabs > .active > a:focus { - border-color: transparent #ddd #ddd #ddd; -} -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.tabs-left > .nav-tabs > li > a:hover, -.tabs-left > .nav-tabs > li > a:focus { - border-color: #eeeeee #dddddd #eeeeee #eeeeee; -} -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover, -.tabs-left > .nav-tabs .active > a:focus { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.tabs-right > .nav-tabs > li > a:hover, -.tabs-right > .nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #eeeeee #dddddd; -} -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover, -.tabs-right > .nav-tabs .active > a:focus { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} -.nav > .disabled > a { - color: #adafae; -} -.nav > .disabled > a:hover, -.nav > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - cursor: default; -} -.navbar { - overflow: visible; - margin-bottom: 20px; - *position: relative; - *z-index: 2; -} -.navbar-inner { - min-height: 50px; - padding-left: 20px; - padding-right: 20px; - background-color: #020202; - background-image: -moz-linear-gradient(top, #020202, #020202); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#020202), to(#020202)); - background-image: -webkit-linear-gradient(top, #020202, #020202); - background-image: -o-linear-gradient(top, #020202, #020202); - background-image: linear-gradient(to bottom, #020202, #020202); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff020202', endColorstr='#ff020202', GradientType=0); - border: 1px solid #000000; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - *zoom: 1; -} -.navbar-inner:before, -.navbar-inner:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-inner:after { - clear: both; -} -.navbar .container { - width: auto; -} -.nav-collapse.collapse { - height: auto; - overflow: visible; -} -.navbar .brand { - float: left; - display: block; - padding: 15px 20px 15px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - color: #adafae; - text-shadow: 0 1px 0 #020202; -} -.navbar .brand:hover, -.navbar .brand:focus { - text-decoration: none; -} -.navbar-text { - margin-bottom: 0; - line-height: 50px; - color: #adafae; -} -.navbar-link { - color: #adafae; -} -.navbar-link:hover, -.navbar-link:focus { - color: #ffffff; -} -.navbar .divider-vertical { - height: 50px; - margin: 0 9px; - border-left: 1px solid #020202; - border-right: 1px solid #020202; -} -.navbar .btn, -.navbar .btn-group { - margin-top: 10px; -} -.navbar .btn-group .btn, -.navbar .input-prepend .btn, -.navbar .input-append .btn, -.navbar .input-prepend .btn-group, -.navbar .input-append .btn-group { - margin-top: 0; -} -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} -.navbar-form:before, -.navbar-form:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-form:after { - clear: both; -} -.navbar-form input, -.navbar-form select, -.navbar-form .radio, -.navbar-form .checkbox { - margin-top: 10px; -} -.navbar-form input, -.navbar-form select, -.navbar-form .btn { - display: inline-block; - margin-bottom: 0; -} -.navbar-form input[type="image"], -.navbar-form input[type="checkbox"], -.navbar-form input[type="radio"] { - margin-top: 3px; -} -.navbar-form .input-append, -.navbar-form .input-prepend { - margin-top: 5px; - white-space: nowrap; -} -.navbar-form .input-append input, -.navbar-form .input-prepend input { - margin-top: 0; -} -.navbar-search { - position: relative; - float: left; - margin-top: 10px; - margin-bottom: 0; -} -.navbar-search .search-query { - margin-bottom: 0; - padding: 4px 14px; - font-family: 'Droid Sans', sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.navbar-static-top { - position: static; - margin-bottom: 0; -} -.navbar-static-top .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; - margin-bottom: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - border-width: 0 0 1px; -} -.navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-fixed-bottom .navbar-inner { - padding-left: 0; - padding-right: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.navbar-fixed-top { - top: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 1px 10px rgba(0,0,0,.1); - box-shadow: 0 1px 10px rgba(0,0,0,.1); -} -.navbar-fixed-bottom { - bottom: 0; -} -.navbar-fixed-bottom .navbar-inner { - -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - box-shadow: 0 -1px 10px rgba(0,0,0,.1); -} -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} -.navbar .nav.pull-right { - float: right; - margin-right: 0; -} -.navbar .nav > li { - float: left; -} -.navbar .nav > li > a { - float: none; - padding: 15px 15px 15px; - color: #adafae; - text-decoration: none; - text-shadow: 0 1px 0 #020202; -} -.navbar .nav .dropdown-toggle .caret { - margin-top: 8px; -} -.navbar .nav > li > a:focus, -.navbar .nav > li > a:hover { - background-color: transparent; - color: #ffffff; - text-decoration: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - color: #ffffff; - text-decoration: none; - background-color: #020202; - -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); -} -.navbar .btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-left: 5px; - margin-right: 5px; - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #000000; - background-image: -moz-linear-gradient(top, #000000, #000000); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#000000), to(#000000)); - background-image: -webkit-linear-gradient(top, #000000, #000000); - background-image: -o-linear-gradient(top, #000000, #000000); - background-image: linear-gradient(to bottom, #000000, #000000); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff000000', endColorstr='#ff000000', GradientType=0); - border-color: #000000 #000000 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #000000; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); -} -.navbar .btn-navbar:hover, -.navbar .btn-navbar:focus, -.navbar .btn-navbar:active, -.navbar .btn-navbar.active, -.navbar .btn-navbar.disabled, -.navbar .btn-navbar[disabled] { - color: #ffffff; - background-color: #000000; - *background-color: #000000; -} -.navbar .btn-navbar:active, -.navbar .btn-navbar.active { - background-color: #000000 \9; -} -.navbar .btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} -.navbar .nav > li > .dropdown-menu:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: rgba(0, 0, 0, 0.2); - position: absolute; - top: -7px; - left: 9px; -} -.navbar .nav > li > .dropdown-menu:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #131517; - position: absolute; - top: -6px; - left: 10px; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:before { - border-top: 7px solid #ccc; - border-top-color: rgba(0, 0, 0, 0.2); - border-bottom: 0; - bottom: -7px; - top: auto; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:after { - border-top: 6px solid #131517; - border-bottom: 0; - bottom: -6px; - top: auto; -} -.navbar .nav li.dropdown > a:hover .caret, -.navbar .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #020202; - color: #ffffff; -} -.navbar .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #adafae; - border-bottom-color: #adafae; -} -.navbar .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .pull-right > li > .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right { - left: auto; - right: 0; -} -.navbar .pull-right > li > .dropdown-menu:before, -.navbar .nav > li > .dropdown-menu.pull-right:before { - left: auto; - right: 12px; -} -.navbar .pull-right > li > .dropdown-menu:after, -.navbar .nav > li > .dropdown-menu.pull-right:after { - left: auto; - right: 13px; -} -.navbar .pull-right > li > .dropdown-menu .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { - left: auto; - right: 100%; - margin-left: 0; - margin-right: -1px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.navbar-inverse .navbar-inner { - background-color: #252a30; - background-image: -moz-linear-gradient(top, #252a30, #252a30); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#252a30), to(#252a30)); - background-image: -webkit-linear-gradient(top, #252a30, #252a30); - background-image: -o-linear-gradient(top, #252a30, #252a30); - background-image: linear-gradient(to bottom, #252a30, #252a30); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff252a30', endColorstr='#ff252a30', GradientType=0); - border-color: transparent; -} -.navbar-inverse .brand, -.navbar-inverse .nav > li > a { - color: #adafae; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.navbar-inverse .brand:hover, -.navbar-inverse .nav > li > a:hover, -.navbar-inverse .brand:focus, -.navbar-inverse .nav > li > a:focus { - color: #ffffff; -} -.navbar-inverse .brand { - color: #adafae; -} -.navbar-inverse .navbar-text { - color: #adafae; -} -.navbar-inverse .nav > li > a:focus, -.navbar-inverse .nav > li > a:hover { - background-color: #242a31; - color: #ffffff; -} -.navbar-inverse .nav .active > a, -.navbar-inverse .nav .active > a:hover, -.navbar-inverse .nav .active > a:focus { - color: #ffffff; - background-color: #242a31; -} -.navbar-inverse .navbar-link { - color: #adafae; -} -.navbar-inverse .navbar-link:hover, -.navbar-inverse .navbar-link:focus { - color: #ffffff; -} -.navbar-inverse .divider-vertical { - border-left-color: #252a30; - border-right-color: #252a30; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #242a31; - color: #ffffff; -} -.navbar-inverse .nav li.dropdown > a:hover .caret, -.navbar-inverse .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #adafae; - border-bottom-color: #adafae; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .navbar-search .search-query { - color: #ffffff; - background-color: #5d6978; - border-color: #252a30; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -.navbar-inverse .navbar-search .search-query:-moz-placeholder { - color: #ffffff; -} -.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { - color: #ffffff; -} -.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { - color: #ffffff; -} -.navbar-inverse .navbar-search .search-query:focus, -.navbar-inverse .navbar-search .search-query.focused { - padding: 5px 15px; - color: #222222; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - outline: 0; -} -.navbar-inverse .btn-navbar { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #1a1d22; - background-image: -moz-linear-gradient(top, #1a1d22, #1a1d22); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#1a1d22), to(#1a1d22)); - background-image: -webkit-linear-gradient(top, #1a1d22, #1a1d22); - background-image: -o-linear-gradient(top, #1a1d22, #1a1d22); - background-image: linear-gradient(to bottom, #1a1d22, #1a1d22); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1a1d22', endColorstr='#ff1a1d22', GradientType=0); - border-color: #1a1d22 #1a1d22 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #1a1d22; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.navbar-inverse .btn-navbar:hover, -.navbar-inverse .btn-navbar:focus, -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active, -.navbar-inverse .btn-navbar.disabled, -.navbar-inverse .btn-navbar[disabled] { - color: #ffffff; - background-color: #1a1d22; - *background-color: #0f1113; -} -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active { - background-color: #040405 \9; -} -.breadcrumb { - padding: 8px 15px; - margin: 0 0 20px; - list-style: none; - background-color: #f5f5f5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.breadcrumb > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb > li > .divider { - padding: 0 5px; - color: #ccc; -} -.breadcrumb > .active { - color: #adafae; -} -.pagination { - margin: 20px 0; -} -.pagination ul { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-left: 0; - margin-bottom: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} -.pagination ul > li { - display: inline; -} -.pagination ul > li > a, -.pagination ul > li > span { - float: left; - padding: 4px 12px; - line-height: 20px; - text-decoration: none; - background-color: #060606; - border: 1px solid transparent; - border-left-width: 0; -} -.pagination ul > li > a:hover, -.pagination ul > li > a:focus, -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: #33b5e5; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - color: #adafae; - cursor: default; -} -.pagination ul > .disabled > span, -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > a:focus { - color: #adafae; - background-color: transparent; - cursor: default; -} -.pagination ul > li:first-child > a, -.pagination ul > li:first-child > span { - border-left-width: 1px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.pagination ul > li:last-child > a, -.pagination ul > li:last-child > span { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.pagination-centered { - text-align: center; -} -.pagination-right { - text-align: right; -} -.pagination-large ul > li > a, -.pagination-large ul > li > span { - padding: 11px 19px; - font-size: 17.5px; -} -.pagination-large ul > li:first-child > a, -.pagination-large ul > li:first-child > span { - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.pagination-large ul > li:last-child > a, -.pagination-large ul > li:last-child > span { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.pagination-mini ul > li:first-child > a, -.pagination-small ul > li:first-child > a, -.pagination-mini ul > li:first-child > span, -.pagination-small ul > li:first-child > span { - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topleft: 3px; - border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - border-bottom-left-radius: 3px; -} -.pagination-mini ul > li:last-child > a, -.pagination-small ul > li:last-child > a, -.pagination-mini ul > li:last-child > span, -.pagination-small ul > li:last-child > span { - -webkit-border-top-right-radius: 3px; - -moz-border-radius-topright: 3px; - border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - -moz-border-radius-bottomright: 3px; - border-bottom-right-radius: 3px; -} -.pagination-small ul > li > a, -.pagination-small ul > li > span { - padding: 2px 10px; - font-size: 11.9px; -} -.pagination-mini ul > li > a, -.pagination-mini ul > li > span { - padding: 0px 6px; - font-size: 10.5px; -} -.pager { - margin: 20px 0; - list-style: none; - text-align: center; - *zoom: 1; -} -.pager:before, -.pager:after { - display: table; - content: ""; - line-height: 0; -} -.pager:after { - clear: both; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #adafae; - background-color: #fff; - cursor: default; -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop, -.modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.modal { - position: fixed; - top: 10%; - left: 50%; - z-index: 1050; - width: 560px; - margin-left: -280px; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - /* IE6-7 */ - - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - outline: none; -} -.modal.fade { - -webkit-transition: opacity .3s linear, top .3s ease-out; - -moz-transition: opacity .3s linear, top .3s ease-out; - -o-transition: opacity .3s linear, top .3s ease-out; - transition: opacity .3s linear, top .3s ease-out; - top: -25%; -} -.modal.fade.in { - top: 10%; -} -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} -.modal-header .close { - margin-top: 2px; -} -.modal-header h3 { - margin: 0; - line-height: 30px; -} -.modal-body { - position: relative; - overflow-y: auto; - max-height: 400px; - padding: 15px; -} -.modal-form { - margin-bottom: 0; -} -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - text-align: right; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; - *zoom: 1; -} -.modal-footer:before, -.modal-footer:after { - display: table; - content: ""; - line-height: 0; -} -.modal-footer:after { - clear: both; -} -.modal-footer .btn + .btn { - margin-left: 5px; - margin-bottom: 0; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.tooltip { - position: absolute; - z-index: 1020; - display: block; - visibility: visible; - font-size: 11px; - line-height: 1.4; - opacity: 0; - filter: alpha(opacity=0); -} -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.tooltip.top { - margin-top: -3px; - padding: 5px 0; -} -.tooltip.right { - margin-left: 3px; - padding: 0 5px; -} -.tooltip.bottom { - margin-top: 3px; - padding: 5px 0; -} -.tooltip.left { - margin-left: -3px; - padding: 0 5px; -} -.tooltip-inner { - max-width: 200px; - padding: 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #131517; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #131517; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #131517; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #131517; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #131517; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - background-color: #131517; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - white-space: normal; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #131517; - border-bottom: 1px solid #070809; - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.popover-title:empty { - display: none; -} -.popover-content { - padding: 9px 14px; -} -.popover .arrow, -.popover .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover .arrow { - border-width: 11px; -} -.popover .arrow:after { - border-width: 10px; - content: ""; -} -.popover.top .arrow { - left: 50%; - margin-left: -11px; - border-bottom-width: 0; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, 0.25); - bottom: -11px; -} -.popover.top .arrow:after { - bottom: 1px; - margin-left: -10px; - border-bottom-width: 0; - border-top-color: #131517; -} -.popover.right .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-left-width: 0; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, 0.25); -} -.popover.right .arrow:after { - left: 1px; - bottom: -10px; - border-left-width: 0; - border-right-color: #131517; -} -.popover.bottom .arrow { - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, 0.25); - top: -11px; -} -.popover.bottom .arrow:after { - top: 1px; - margin-left: -10px; - border-top-width: 0; - border-bottom-color: #131517; -} -.popover.left .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, 0.25); -} -.popover.left .arrow:after { - right: 1px; - border-right-width: 0; - border-left-color: #131517; - bottom: -10px; -} -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} -.thumbnails:before, -.thumbnails:after { - display: table; - content: ""; - line-height: 0; -} -.thumbnails:after { - clear: both; -} -.row-fluid .thumbnails { - margin-left: 0; -} -.thumbnails > li { - float: left; - margin-bottom: 20px; - margin-left: 20px; -} -.thumbnail { - display: block; - padding: 4px; - line-height: 20px; - border: 1px solid #ddd; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -a.thumbnail:hover, -a.thumbnail:focus { - border-color: #33b5e5; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} -.thumbnail > img { - display: block; - max-width: 100%; - margin-left: auto; - margin-right: auto; -} -.thumbnail .caption { - padding: 9px; - color: #999999; -} -.media, -.media-body { - overflow: hidden; - *overflow: visible; - zoom: 1; -} -.media, -.media .media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media-object { - display: block; -} -.media-heading { - margin: 0 0 5px; -} -.media > .pull-left { - margin-right: 10px; -} -.media > .pull-right { - margin-left: 10px; -} -.media-list { - margin-left: 0; - list-style: none; -} -.label, -.badge { - display: inline-block; - padding: 2px 4px; - font-size: 11.844px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - vertical-align: baseline; - white-space: nowrap; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #adafae; -} -.label { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.badge { - padding-left: 9px; - padding-right: 9px; - -webkit-border-radius: 9px; - -moz-border-radius: 9px; - border-radius: 9px; -} -.label:empty, -.badge:empty { - display: none; -} -a.label:hover, -a.label:focus, -a.badge:hover, -a.badge:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.label-important, -.badge-important { - background-color: #b94a48; -} -.label-important[href], -.badge-important[href] { - background-color: #953b39; -} -.label-warning, -.badge-warning { - background-color: #ff8800; -} -.label-warning[href], -.badge-warning[href] { - background-color: #cc6d00; -} -.label-success, -.badge-success { - background-color: #468847; -} -.label-success[href], -.badge-success[href] { - background-color: #356635; -} -.label-info, -.badge-info { - background-color: #0099cc; -} -.label-info[href], -.badge-info[href] { - background-color: #007399; -} -.label-inverse, -.badge-inverse { - background-color: #222222; -} -.label-inverse[href], -.badge-inverse[href] { - background-color: #080808; -} -.btn .label, -.btn .badge { - position: relative; - top: -1px; -} -.btn-mini .label, -.btn-mini .badge { - top: 0; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-moz-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-ms-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - overflow: hidden; - height: 20px; - margin-bottom: 20px; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.progress .bar { - width: 0%; - height: 100%; - color: #ffffff; - float: left; - font-size: 12px; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(to bottom, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} -.progress .bar + .bar { - -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); -} -.progress-striped .bar { - background-color: #149bdf; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - -ms-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-danger .bar, -.progress .bar-danger { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); -} -.progress-danger.progress-striped .bar, -.progress-striped .bar-danger { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar, -.progress .bar-success { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(to bottom, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); -} -.progress-success.progress-striped .bar, -.progress-striped .bar-success { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar, -.progress .bar-info { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(to bottom, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); -} -.progress-info.progress-striped .bar, -.progress-striped .bar-info { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-warning .bar, -.progress .bar-warning { - background-color: #ff9d2e; - background-image: -moz-linear-gradient(top, #ffac4d, #ff8800); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffac4d), to(#ff8800)); - background-image: -webkit-linear-gradient(top, #ffac4d, #ff8800); - background-image: -o-linear-gradient(top, #ffac4d, #ff8800); - background-image: linear-gradient(to bottom, #ffac4d, #ff8800); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffac4d', endColorstr='#ffff8800', GradientType=0); -} -.progress-warning.progress-striped .bar, -.progress-striped .bar-warning { - background-color: #ffac4d; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.accordion { - margin-bottom: 20px; -} -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.accordion-heading { - border-bottom: 0; -} -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} -.accordion-toggle { - cursor: pointer; -} -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} -.carousel { - position: relative; - margin-bottom: 20px; - line-height: 1; -} -.carousel-inner { - overflow: hidden; - width: 100%; - position: relative; -} -.carousel-inner > .item { - display: none; - position: relative; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - line-height: 1; -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #020202; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.carousel-control.right { - left: auto; - right: 15px; -} -.carousel-control:hover, -.carousel-control:focus { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} -.carousel-indicators { - position: absolute; - top: 15px; - right: 15px; - z-index: 5; - margin: 0; - list-style: none; -} -.carousel-indicators li { - display: block; - float: left; - width: 10px; - height: 10px; - margin-left: 5px; - text-indent: -999px; - background-color: #ccc; - background-color: rgba(255, 255, 255, 0.25); - border-radius: 5px; -} -.carousel-indicators .active { - background-color: #fff; -} -.carousel-caption { - position: absolute; - left: 0; - right: 0; - bottom: 0; - padding: 15px; - background: #222222; - background: rgba(0, 0, 0, 0.75); -} -.carousel-caption h4, -.carousel-caption p { - color: #ffffff; - line-height: 20px; -} -.carousel-caption h4 { - margin: 0 0 5px; -} -.carousel-caption p { - margin-bottom: 0; -} -.hero-unit { - padding: 60px; - margin-bottom: 30px; - font-size: 18px; - font-weight: 200; - line-height: 30px; - color: inherit; - background-color: #131517; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - color: inherit; - letter-spacing: -1px; -} -.hero-unit li { - line-height: 30px; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.invisible { - visibility: hidden; -} -.affix { - position: fixed; -} -label, -input, -button, -select, -textarea, -.navbar .search-query:-moz-placeholder, -.navbar .search-query::-webkit-input-placeholder { - font-family: 'Droid Sans', sans-serif; - color: #999999; -} -code, -pre { - background-color: #eeeeee; -} -blockquote { - border-left: 5px solid #222222; -} -blockquote.pull-right { - border-right: 5px solid #222222; -} -html { - min-height: 100%; -} -body { - min-height: 100%; - background-color: #121417; - background-image: -moz-linear-gradient(top, #060606, #252a30); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#060606), to(#252a30)); - background-image: -webkit-linear-gradient(top, #060606, #252a30); - background-image: -o-linear-gradient(top, #060606, #252a30); - background-image: linear-gradient(to bottom, #060606, #252a30); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff060606', endColorstr='#ff252a30', GradientType=0); -} -.page-header { - border-bottom: 1px solid #222222; -} -hr { - border-bottom: none; -} -.navbar .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - border-bottom: 1px solid #222222; -} -.navbar .brand { - padding: 15px 20px 15px; - color: #eeeeee; - font-weight: normal; - text-shadow: none; -} -.navbar .nav > li > a { - padding: 15px 15px 14px; - border-bottom: 1px solid transparent; -} -.navbar .nav > li > a:hover, -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover { - border-bottom: 1px solid #33b5e5; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.navbar .navbar-text { - margin-bottom: 1px; - padding: 15px 15px 14px; - line-height: inherit; -} -.navbar .divider-vertical { - margin: 0; - border-left: 1px solid #222222; - border-right-width: 0; -} -.navbar .search-query, -.navbar .search-query:focus, -.navbar .search-query.focused { - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - background-color: #222222; - line-height: normal; - color: #adafae; - text-shadow: none; -} -.navbar .search-query:-moz-placeholder, -.navbar .search-query:focus:-moz-placeholder, -.navbar .search-query.focused:-moz-placeholder { - color: #999999; -} -.navbar .search-query:-ms-input-placeholder, -.navbar .search-query:focus:-ms-input-placeholder, -.navbar .search-query.focused:-ms-input-placeholder { - color: #999999; -} -.navbar .search-query::-webkit-input-placeholder, -.navbar .search-query:focus::-webkit-input-placeholder, -.navbar .search-query.focused::-webkit-input-placeholder { - color: #999999; -} -@media (max-width: 979px) { - .navbar .nav-collapse .nav li > a { - border: none; - color: #eeeeee; - font-weight: normal; - text-shadow: none; - } - .navbar .nav-collapse .nav li > a:hover { - border: none; - background-color: #33b5e5; - } - .navbar .nav-collapse .nav .active > a { - border: none; - background-color: #33b5e5; - } - .navbar .nav-collapse .dropdown-menu a:hover { - background-color: #33b5e5; - } - .navbar .nav-collapse .navbar-form, - .navbar .nav-collapse .navbar-search { - border-top: none; - border-bottom: none; - } - .navbar .nav-collapse .nav-header { - color: rgba(128, 128, 128, 0.6); - } - .navbar-inverse .nav-collapse .nav li > a:hover { - background-color: #111; - } - .navbar-inverse .nav-collapse .nav .active > a { - background-color: #111; - } - .navbar-inverse .nav-collapse .nav li.dropdown.open > .dropdown-toggle, - .navbar-inverse .nav-collapse .nav li.dropdown.active > .dropdown-toggle, - .navbar-inverse .nav-collapse .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #111; - } -} -div.subnav { - margin: 0 1px; - background-color: #020202; - background-image: none; - border: none; - border-bottom: 1px solid #222222; -} -div.subnav .nav > li > a, -div.subnav .nav > li:first-child > a, -div.subnav .nav > li:first-child > a:hover { - padding: 11px 12px; - border: none; - background-color: #020202; - color: #adafae; -} -div.subnav .nav > li > a:hover, -div.subnav .nav > li.active > a, -div.subnav .nav > li.active > a:hover, -div.subnav .nav > li:first-child > a:hover { - padding: 11px 12px; - background: transparent; - border: none; - border-bottom: 1px solid #33b5e5; - color: #ffffff; -} -div.subnav .nav li.nav-header { - text-shadow: none; -} -div.subnav-fixed { - top: 50px; - margin: 0; -} -.nav-tabs { - border-bottom: 1px solid #222222; -} -.nav-tabs li > a:hover, -.nav-tabs li.active > a, -.nav-tabs li.active > a:hover { - border-color: transparent; - background-color: #33b5e5; - color: #ffffff; -} -.nav-tabs li.disabled > a { - color: #999999; -} -.nav-tabs .open .dropdown-toggle { - background-color: #060606; - border-color: transparent; -} -.nav-pills li > a:hover { - background-color: #33b5e5; - color: #ffffff; -} -.nav-pills li.disabled > a { - color: #999999; -} -.nav-pills .open .dropdown-toggle { - background-color: #060606; -} -.nav-pills .dropdown-menu li > a:hover { - border: none; -} -.nav-list li > a { - text-shadow: none; -} -.nav-list li > a:hover { - background-color: #33b5e5; - color: #ffffff; -} -.nav-list .nav-header { - text-shadow: none; -} -.nav-list .divider { - background-color: transparent; - border-bottom: 1px solid #222222; -} -.nav-stacked li > a { - border: 1px solid #222222 !important; -} -.nav-stacked li > a:hover, -.nav-stacked li.active > a { - background-color: #33b5e5; - color: #ffffff; -} -.tabbable .nav-tabs, -.tabbable .nav-tabs li.active > a { - border-color: #222222; -} -.breadcrumb { - background-color: transparent; - background-image: none; - border-width: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - font-size: 14px; -} -.breadcrumb li { - text-shadow: none; -} -.breadcrumb li > a { - color: #33b5e5; - text-shadow: none; -} -.pagination ul { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > span, -.pagination ul > .disabled > span:hover { - background-color: rgba(0, 0, 0, 0.2); -} -.pager li > a, -.pager li > span { - background-color: #060606; - border: none; -} -.pager li > a:hover, -.pager li > span:hover { - background-color: #33b5e5; -} -.pager .disabled a, -.pager .disabled a:hover { - background-color: #060606; -} -.btn { - -webkit-box-shadow: 1px 1px 2px #111111; - -moz-box-shadow: 1px 1px 2px #111111; - box-shadow: 1px 1px 2px #111111; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #5c5c5c; - background-image: -moz-linear-gradient(top, #666666, #4d4d4d); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#666666), to(#4d4d4d)); - background-image: -webkit-linear-gradient(top, #666666, #4d4d4d); - background-image: -o-linear-gradient(top, #666666, #4d4d4d); - background-image: linear-gradient(to bottom, #666666, #4d4d4d); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff666666', endColorstr='#ff4d4d4d', GradientType=0); - border-color: #4d4d4d #4d4d4d #262626; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #4d4d4d; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - color: #ffffff; - text-shadow: none; -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #ffffff; - background-color: #4d4d4d; - *background-color: #404040; -} -.btn:active, -.btn.active { - background-color: #333333 \9; -} -.btn:hover { - text-shadow: none; - color: #ffffff; -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #008ab8; - background-image: -moz-linear-gradient(top, #0099cc, #007399); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0099cc), to(#007399)); - background-image: -webkit-linear-gradient(top, #0099cc, #007399); - background-image: -o-linear-gradient(top, #0099cc, #007399); - background-image: linear-gradient(to bottom, #0099cc, #007399); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0099cc', endColorstr='#ff007399', GradientType=0); - border-color: #007399 #007399 #00394d; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #007399; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #007399; - *background-color: #006080; -} -.btn-primary:active, -.btn-primary.active { - background-color: #004d66 \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #ff961f; - background-image: -moz-linear-gradient(top, #ffa033, #ff8800); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffa033), to(#ff8800)); - background-image: -webkit-linear-gradient(top, #ffa033, #ff8800); - background-image: -o-linear-gradient(top, #ffa033, #ff8800); - background-image: linear-gradient(to bottom, #ffa033, #ff8800); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffa033', endColorstr='#ffff8800', GradientType=0); - border-color: #ff8800 #ff8800 #b35f00; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #ff8800; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #ff8800; - *background-color: #e67a00; -} -.btn-warning:active, -.btn-warning.active { - background-color: #cc6d00 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #eb0000; - background-image: -moz-linear-gradient(top, #ff0000, #cc0000); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ff0000), to(#cc0000)); - background-image: -webkit-linear-gradient(top, #ff0000, #cc0000); - background-image: -o-linear-gradient(top, #ff0000, #cc0000); - background-image: linear-gradient(to bottom, #ff0000, #cc0000); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff0000', endColorstr='#ffcc0000', GradientType=0); - border-color: #cc0000 #cc0000 #800000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #cc0000; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #cc0000; - *background-color: #b30000; -} -.btn-danger:active, -.btn-danger.active { - background-color: #990000 \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #7ab800; - background-image: -moz-linear-gradient(top, #88cc00, #669900); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#88cc00), to(#669900)); - background-image: -webkit-linear-gradient(top, #88cc00, #669900); - background-image: -o-linear-gradient(top, #88cc00, #669900); - background-image: linear-gradient(to bottom, #88cc00, #669900); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff88cc00', endColorstr='#ff669900', GradientType=0); - border-color: #669900 #669900 #334d00; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #669900; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #669900; - *background-color: #558000; -} -.btn-success:active, -.btn-success.active { - background-color: #446600 \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #292929; - background-image: -moz-linear-gradient(top, #333333, #191919); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#191919)); - background-image: -webkit-linear-gradient(top, #333333, #191919); - background-image: -o-linear-gradient(top, #333333, #191919); - background-image: linear-gradient(to bottom, #333333, #191919); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff333333', endColorstr='#ff191919', GradientType=0); - border-color: #191919 #191919 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #191919; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #191919; - *background-color: #0d0d0d; -} -.btn-info:active, -.btn-info.active { - background-color: #000000 \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #9f3fcf; - background-image: -moz-linear-gradient(top, #a347d1, #9933cc); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a347d1), to(#9933cc)); - background-image: -webkit-linear-gradient(top, #a347d1, #9933cc); - background-image: -o-linear-gradient(top, #a347d1, #9933cc); - background-image: linear-gradient(to bottom, #a347d1, #9933cc); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffa347d1', endColorstr='#ff9933cc', GradientType=0); - border-color: #9933cc #9933cc #6b248f; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #9933cc; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #9933cc; - *background-color: #8a2eb8; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #7a29a3 \9; -} -.btn .caret { - border-top: 4px solid black; - opacity: 0.3; -} -.btn-group > .dropdown-menu > li > a:hover { - border-bottom: 0; -} -.btn.disabled, -.btn[disabled] { - background-color: #adafae; -} -input, -textarea, -select { - border-width: 2px; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - color: #222222; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly], -.uneditable-input { - border-color: #444; -} -input:focus, -textarea:focus, -input.focused, -textarea.focused { - border-color: #52a8ec; - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - -} -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus, -select:focus { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -legend, -label { - color: #999999; - border-bottom: 0px solid #222; -} -.form-actions { - border-top: 1px solid #222; -} -.table { - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; -} -.table tbody tr.success td { - background-color: #669900; - color: #ffffff; -} -.table tbody tr.error td { - background-color: #cc0000; - color: #ffffff; -} -.table tbody tr.info td { - background-color: #33b5e5; - color: #ffffff; -} -.dropdown-menu { - -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); - -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); -} -.alert, -.alert .alert-heading, -.alert-success, -.alert-success .alert-heading, -.alert-danger, -.alert-error, -.alert-danger .alert-heading, -.alert-error .alert-heading, -.alert-info, -.alert-info .alert-heading { - color: #eeeeee; - text-shadow: none; - border: none; -} -.label { - color: #eeeeee; -} -.label, -.alert { - background-color: #666666; -} -.label:hover { - background-color: #4d4d4d; -} -.label-important, -.alert-danger, -.alert-error { - background-color: #cc0000; -} -.label-important:hover { - background-color: #990000; -} -.label-warning { - background-color: #cc6d00; -} -.label-warning:hover { - background-color: #995200; -} -.label-success, -.alert-success { - background-color: #5c8a00; -} -.label-success:hover { - background-color: #3a5700; -} -.label-info, -.alert-info { - background-color: #007399; -} -.label-info:hover { - background-color: #004d66; -} -.well, -.hero-unit { - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; -} -.well, -.hero-unit { - border-top: solid 1px #2f2f2f; - -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); - -moz-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); - box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8); -} -.thumbnail { - border-color: #222222; -} -.progress { - background-color: #060606; - background-image: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.modal { - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - border-top: solid 1px #2f2f2f; - background-color: #222222; -} -.modal-header { - border-bottom: 1px solid #222222; -} -.modal-footer { - background-color: #222222; - border-top: 1px solid #222222; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.footer { - border-top: 1px solid #222222; -} -@media (max-width: 768px) { - div.subnav .nav > li + li > a, - div.subnav .nav > li:first-child > a { - border-top: 1px solid #222222; - border-left: 1px solid #222222; - } - .subnav .nav > li + li > a:hover, - .subnav .nav > li:first-child > a:hover { - border-bottom: 0; - background-color: #33b5e5; - } -} -#main { - margin-top: 56px; -} -.navbar-fixed-top .navbar-inner { - padding-left: 20px; - padding-right: 20px; -} -.navbar .dropdown-menu { - padding: 20px; - max-height: 300px; - overflow: auto; - width: 300px; - background-color: #252a30; -} -.navbar .dropdown-menu a, -.navbar .dropdown-menu a:visited { - color: #adafae; -} -.navbar .dropdown-menu a:hover { - color: #ffffff; - background-color: #242a31; -} -.navbar .dropdown-menu a:active { - color: #ffffff; - background-color: #242a31; -} -.navbar .dropdown-menu a { - padding-left: 0; - padding-right: 5px; - font-weight: 500; - font-size: 115%; -} -#toc { - position: fixed; - top: 56px; - width: 29%; - max-height: 90%; - overflow: auto; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px #020202 solid; - padding: 5px; -} -#toc .toc-active { - background-color: #020202; - color: #ffffff; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -#toc .toc-active a, -#toc .toc-active a:hover, -#toc .toc-active a:active, -#toc .toc-active a:visited { - background-color: #020202; - color: #ffffff; -} -.toc-shim { - padding-top: 56px; - margin-top: -56px; - display: block; -} -.toc-h1 { - margin-left: 2px; - margin-right: 2px; -} -.toc-h2 { - margin-left: 7px; - margin-right: 7px; -} -.toc-h3 { - margin-left: 14px; - margin-right: 7px; -} -.toc-h4 { - margin-left: 21px; - margin-right: 7px; -} -.copyright { - font-size: 90%; - text-align: center; - color: #252a30; - width: 100%; - display: block; -} -.jsdoc-message { - font-size: 90%; - text-align: center; - color: #252a30; - width: 100%; - display: block; -} -.page-title { - font-size: 220%; - color: #252a30; - font-weight: 700; - padding-top: 10px; - display: block; -} -footer { - border-top: 1px solid #252a30; - padding-top: 15px; -} -code { - background-color: none; - border: none; - color: #ff8800; -} -.buffered-name { - padding-top: 56px; - margin-top: -56px; -} -.member-collapsed { - background-color: #252a30; - color: #adafae; -} -.member-open { - background-color: inherit; - color: inherit; -} -.member { - -webkit-transition: background-color 0.5s linear; - -moz-transition: background-color 0.5s linear; - -o-transition: background-color 0.5s linear; - transition: background-color 0.5s linear; - -webkit-transition: color 0.5s linear; - -moz-transition: color 0.5s linear; - -o-transition: color 0.5s linear; - transition: color 0.5s linear; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 10px; -} diff --git a/docs/styles/site.darkstrap.css b/docs/styles/site.darkstrap.css deleted file mode 100644 index 5a67785e9a..0000000000 --- a/docs/styles/site.darkstrap.css +++ /dev/null @@ -1,5638 +0,0 @@ -@import url(http://fonts.googleapis.com/css?family=Telex); -/*! - * Bootstrap v2.3.1 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -.clearfix { - *zoom: 1; -} -.clearfix:before, -.clearfix:after { - display: table; - content: ""; - line-height: 0; -} -.clearfix:after { - clear: both; -} -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.input-block-level { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a:hover, -a:active { - outline: 0; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - /* Responsive images (ensure images don't scale beyond their parents) */ - - max-width: 100%; - /* Part 1: Set a maxium relative to the parent */ - - width: auto\9; - /* IE7-8 need help adjusting responsive images */ - - height: auto; - /* Part 2: Scale the height according to the width, otherwise you get stretching */ - - vertical-align: middle; - border: 0; - -ms-interpolation-mode: bicubic; -} -#map_canvas img, -.google-maps img { - max-width: none; -} -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} -button, -input { - *overflow: visible; - line-height: normal; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -label, -select, -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -input[type="radio"], -input[type="checkbox"] { - cursor: pointer; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -@media print { - * { - text-shadow: none !important; - color: #000 !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} -body { - margin: 0; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 14px; - line-height: 20px; - color: #555555; - background-color: #ffffff; -} -a { - color: #2fa4e7; - text-decoration: none; -} -a:hover, -a:focus { - color: #157ab5; - text-decoration: underline; -} -.img-rounded { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.img-polaroid { - padding: 4px; - background-color: #fff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} -.img-circle { - -webkit-border-radius: 500px; - -moz-border-radius: 500px; - border-radius: 500px; -} -.row { - margin-left: -20px; - *zoom: 1; -} -.row:before, -.row:after { - display: table; - content: ""; - line-height: 0; -} -.row:after { - clear: both; -} -[class*="span"] { - float: left; - min-height: 1px; - margin-left: 20px; -} -.container, -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.span12 { - width: 940px; -} -.span11 { - width: 860px; -} -.span10 { - width: 780px; -} -.span9 { - width: 700px; -} -.span8 { - width: 620px; -} -.span7 { - width: 540px; -} -.span6 { - width: 460px; -} -.span5 { - width: 380px; -} -.span4 { - width: 300px; -} -.span3 { - width: 220px; -} -.span2 { - width: 140px; -} -.span1 { - width: 60px; -} -.offset12 { - margin-left: 980px; -} -.offset11 { - margin-left: 900px; -} -.offset10 { - margin-left: 820px; -} -.offset9 { - margin-left: 740px; -} -.offset8 { - margin-left: 660px; -} -.offset7 { - margin-left: 580px; -} -.offset6 { - margin-left: 500px; -} -.offset5 { - margin-left: 420px; -} -.offset4 { - margin-left: 340px; -} -.offset3 { - margin-left: 260px; -} -.offset2 { - margin-left: 180px; -} -.offset1 { - margin-left: 100px; -} -.row-fluid { - width: 100%; - *zoom: 1; -} -.row-fluid:before, -.row-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.row-fluid:after { - clear: both; -} -.row-fluid [class*="span"] { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2.127659574468085%; - *margin-left: 2.074468085106383%; -} -.row-fluid [class*="span"]:first-child { - margin-left: 0; -} -.row-fluid .controls-row [class*="span"] + [class*="span"] { - margin-left: 2.127659574468085%; -} -.row-fluid .span12 { - width: 100%; - *width: 99.94680851063829%; -} -.row-fluid .span11 { - width: 91.48936170212765%; - *width: 91.43617021276594%; -} -.row-fluid .span10 { - width: 82.97872340425532%; - *width: 82.92553191489361%; -} -.row-fluid .span9 { - width: 74.46808510638297%; - *width: 74.41489361702126%; -} -.row-fluid .span8 { - width: 65.95744680851064%; - *width: 65.90425531914893%; -} -.row-fluid .span7 { - width: 57.44680851063829%; - *width: 57.39361702127659%; -} -.row-fluid .span6 { - width: 48.93617021276595%; - *width: 48.88297872340425%; -} -.row-fluid .span5 { - width: 40.42553191489362%; - *width: 40.37234042553192%; -} -.row-fluid .span4 { - width: 31.914893617021278%; - *width: 31.861702127659576%; -} -.row-fluid .span3 { - width: 23.404255319148934%; - *width: 23.351063829787233%; -} -.row-fluid .span2 { - width: 14.893617021276595%; - *width: 14.840425531914894%; -} -.row-fluid .span1 { - width: 6.382978723404255%; - *width: 6.329787234042553%; -} -.row-fluid .offset12 { - margin-left: 104.25531914893617%; - *margin-left: 104.14893617021275%; -} -.row-fluid .offset12:first-child { - margin-left: 102.12765957446808%; - *margin-left: 102.02127659574467%; -} -.row-fluid .offset11 { - margin-left: 95.74468085106382%; - *margin-left: 95.6382978723404%; -} -.row-fluid .offset11:first-child { - margin-left: 93.61702127659574%; - *margin-left: 93.51063829787232%; -} -.row-fluid .offset10 { - margin-left: 87.23404255319149%; - *margin-left: 87.12765957446807%; -} -.row-fluid .offset10:first-child { - margin-left: 85.1063829787234%; - *margin-left: 84.99999999999999%; -} -.row-fluid .offset9 { - margin-left: 78.72340425531914%; - *margin-left: 78.61702127659572%; -} -.row-fluid .offset9:first-child { - margin-left: 76.59574468085106%; - *margin-left: 76.48936170212764%; -} -.row-fluid .offset8 { - margin-left: 70.2127659574468%; - *margin-left: 70.10638297872339%; -} -.row-fluid .offset8:first-child { - margin-left: 68.08510638297872%; - *margin-left: 67.9787234042553%; -} -.row-fluid .offset7 { - margin-left: 61.70212765957446%; - *margin-left: 61.59574468085106%; -} -.row-fluid .offset7:first-child { - margin-left: 59.574468085106375%; - *margin-left: 59.46808510638297%; -} -.row-fluid .offset6 { - margin-left: 53.191489361702125%; - *margin-left: 53.085106382978715%; -} -.row-fluid .offset6:first-child { - margin-left: 51.063829787234035%; - *margin-left: 50.95744680851063%; -} -.row-fluid .offset5 { - margin-left: 44.68085106382979%; - *margin-left: 44.57446808510638%; -} -.row-fluid .offset5:first-child { - margin-left: 42.5531914893617%; - *margin-left: 42.4468085106383%; -} -.row-fluid .offset4 { - margin-left: 36.170212765957444%; - *margin-left: 36.06382978723405%; -} -.row-fluid .offset4:first-child { - margin-left: 34.04255319148936%; - *margin-left: 33.93617021276596%; -} -.row-fluid .offset3 { - margin-left: 27.659574468085104%; - *margin-left: 27.5531914893617%; -} -.row-fluid .offset3:first-child { - margin-left: 25.53191489361702%; - *margin-left: 25.425531914893618%; -} -.row-fluid .offset2 { - margin-left: 19.148936170212764%; - *margin-left: 19.04255319148936%; -} -.row-fluid .offset2:first-child { - margin-left: 17.02127659574468%; - *margin-left: 16.914893617021278%; -} -.row-fluid .offset1 { - margin-left: 10.638297872340425%; - *margin-left: 10.53191489361702%; -} -.row-fluid .offset1:first-child { - margin-left: 8.51063829787234%; - *margin-left: 8.404255319148938%; -} -[class*="span"].hide, -.row-fluid [class*="span"].hide { - display: none; -} -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { - float: right; -} -.container { - margin-right: auto; - margin-left: auto; - *zoom: 1; -} -.container:before, -.container:after { - display: table; - content: ""; - line-height: 0; -} -.container:after { - clear: both; -} -.container-fluid { - padding-right: 20px; - padding-left: 20px; - *zoom: 1; -} -.container-fluid:before, -.container-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.container-fluid:after { - clear: both; -} -p { - margin: 0 0 10px; -} -.lead { - margin-bottom: 20px; - font-size: 21px; - font-weight: 200; - line-height: 30px; -} -small { - font-size: 85%; -} -strong { - font-weight: bold; -} -em { - font-style: italic; -} -cite { - font-style: normal; -} -.muted { - color: #999999; -} -a.muted:hover, -a.muted:focus { - color: #808080; -} -.text-warning { - color: #dd5600; -} -a.text-warning:hover, -a.text-warning:focus { - color: #aa4200; -} -.text-error { - color: #bd4247; -} -a.text-error:hover, -a.text-error:focus { - color: #983538; -} -.text-info { - color: #178acc; -} -a.text-info:hover, -a.text-info:focus { - color: #126b9e; -} -.text-success { - color: #669533; -} -a.text-success:hover, -a.text-success:focus { - color: #4c6f26; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 10px 0; - font-family: 'Telex', sans-serif; - font-weight: bold; - line-height: 20px; - color: #317eac; - text-rendering: optimizelegibility; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - line-height: 1; - color: #999999; -} -h1, -h2, -h3 { - line-height: 40px; -} -h1 { - font-size: 38.5px; -} -h2 { - font-size: 31.5px; -} -h3 { - font-size: 24.5px; -} -h4 { - font-size: 17.5px; -} -h5 { - font-size: 14px; -} -h6 { - font-size: 11.9px; -} -h1 small { - font-size: 24.5px; -} -h2 small { - font-size: 17.5px; -} -h3 small { - font-size: 14px; -} -h4 small { - font-size: 14px; -} -.page-header { - padding-bottom: 9px; - margin: 20px 0 30px; - border-bottom: 1px solid #f5f5f5; -} -ul, -ol { - padding: 0; - margin: 0 0 10px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -li { - line-height: 20px; -} -ul.unstyled, -ol.unstyled { - margin-left: 0; - list-style: none; -} -ul.inline, -ol.inline { - margin-left: 0; - list-style: none; -} -ul.inline > li, -ol.inline > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding-left: 5px; - padding-right: 5px; -} -dl { - margin-bottom: 20px; -} -dt, -dd { - line-height: 20px; -} -dt { - font-weight: bold; -} -dd { - margin-left: 10px; -} -.dl-horizontal { - *zoom: 1; -} -.dl-horizontal:before, -.dl-horizontal:after { - display: table; - content: ""; - line-height: 0; -} -.dl-horizontal:after { - clear: both; -} -.dl-horizontal dt { - float: left; - width: 160px; - clear: left; - text-align: right; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.dl-horizontal dd { - margin-left: 180px; -} -hr { - margin: 20px 0; - border: 0; - border-top: 1px solid #f5f5f5; - border-bottom: 1px solid #ffffff; -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #999999; -} -abbr.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 0 0 0 15px; - margin: 0 0 20px; - border-left: 5px solid #f5f5f5; -} -blockquote p { - margin-bottom: 0; - font-size: 17.5px; - font-weight: 300; - line-height: 1.25; -} -blockquote small { - display: block; - line-height: 20px; - color: #999999; -} -blockquote small:before { - content: '\2014 \00A0'; -} -blockquote.pull-right { - float: right; - padding-right: 15px; - padding-left: 0; - border-right: 5px solid #f5f5f5; - border-left: 0; -} -blockquote.pull-right p, -blockquote.pull-right small { - text-align: right; -} -blockquote.pull-right small:before { - content: ''; -} -blockquote.pull-right small:after { - content: '\00A0 \2014'; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -address { - display: block; - margin-bottom: 20px; - font-style: normal; - line-height: 20px; -} -code, -pre { - padding: 0 3px 2px; - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 12px; - color: #333333; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - padding: 2px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; - white-space: nowrap; -} -pre { - display: block; - padding: 9.5px; - margin: 0 0 10px; - font-size: 13px; - line-height: 20px; - word-break: break-all; - word-wrap: break-word; - white-space: pre; - white-space: pre-wrap; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -pre.prettyprint { - margin-bottom: 20px; -} -pre code { - padding: 0; - color: inherit; - white-space: pre; - white-space: pre-wrap; - background-color: transparent; - border: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -form { - margin: 0 0 20px; -} -fieldset { - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 20px; - font-size: 21px; - line-height: 40px; - color: #333333; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -legend small { - font-size: 15px; - color: #999999; -} -label, -input, -button, -select, -textarea { - font-size: 14px; - font-weight: normal; - line-height: 20px; -} -input, -button, -select, -textarea { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} -label { - display: block; - margin-bottom: 5px; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 20px; - padding: 4px 6px; - margin-bottom: 10px; - font-size: 14px; - line-height: 20px; - color: #555555; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - vertical-align: middle; -} -input, -textarea, -.uneditable-input { - width: 206px; -} -textarea { - height: auto; -} -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - background-color: #ffffff; - border: 1px solid #cccccc; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; -} -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - *margin-top: 0; - /* IE7 */ - - margin-top: 1px \9; - /* IE8-9 */ - - line-height: normal; -} -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} -select, -input[type="file"] { - height: 30px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 30px; -} -select { - width: 220px; - border: 1px solid #cccccc; - background-color: #ffffff; -} -select[multiple], -select[size] { - height: auto; -} -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.uneditable-input, -.uneditable-textarea { - color: #999999; - background-color: #fcfcfc; - border-color: #cccccc; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -.uneditable-input { - overflow: hidden; - white-space: nowrap; -} -.uneditable-textarea { - width: auto; - height: auto; -} -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #999999; -} -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #999999; -} -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #999999; -} -.radio, -.checkbox { - min-height: 20px; - padding-left: 20px; -} -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -20px; -} -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; -} -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; -} -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; -} -.input-mini { - width: 60px; -} -.input-small { - width: 90px; -} -.input-medium { - width: 150px; -} -.input-large { - width: 210px; -} -.input-xlarge { - width: 270px; -} -.input-xxlarge { - width: 530px; -} -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; -} -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; -} -input, -textarea, -.uneditable-input { - margin-left: 0; -} -.controls-row [class*="span"] + [class*="span"] { - margin-left: 20px; -} -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 926px; -} -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 846px; -} -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 766px; -} -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 686px; -} -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 606px; -} -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 526px; -} -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 446px; -} -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 366px; -} -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 286px; -} -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 206px; -} -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 126px; -} -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 46px; -} -.controls-row { - *zoom: 1; -} -.controls-row:before, -.controls-row:after { - display: table; - content: ""; - line-height: 0; -} -.controls-row:after { - clear: both; -} -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { - float: left; -} -.controls-row .checkbox[class*="span"], -.controls-row .radio[class*="span"] { - padding-top: 5px; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #f5f5f5; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #dd5600; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #dd5600; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #dd5600; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #aa4200; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ff8d44; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ff8d44; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ff8d44; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #dd5600; - background-color: #f1ceab; - border-color: #dd5600; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #bd4247; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #bd4247; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #bd4247; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #983538; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d88e90; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d88e90; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d88e90; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #bd4247; - background-color: #f2bdb1; - border-color: #bd4247; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #669533; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #669533; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #669533; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #4c6f26; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #99ca63; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #99ca63; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #99ca63; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #669533; - background-color: #d5ecbf; - border-color: #669533; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #178acc; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #178acc; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #178acc; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #126b9e; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #5db8ec; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #5db8ec; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #5db8ec; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #178acc; - background-color: #a7dff1; - border-color: #178acc; -} -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { - color: #b94a48; - border-color: #ee5f5b; -} -input:focus:invalid:focus, -textarea:focus:invalid:focus, -select:focus:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -.form-actions { - padding: 19px 20px 20px; - margin-top: 20px; - margin-bottom: 20px; - background-color: #f5f5f5; - border-top: 1px solid #e5e5e5; - *zoom: 1; -} -.form-actions:before, -.form-actions:after { - display: table; - content: ""; - line-height: 0; -} -.form-actions:after { - clear: both; -} -.help-block, -.help-inline { - color: #7b7b7b; -} -.help-block { - display: block; - margin-bottom: 10px; -} -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - vertical-align: middle; - padding-left: 5px; -} -.input-append, -.input-prepend { - display: inline-block; - margin-bottom: 10px; - vertical-align: middle; - font-size: 0; - white-space: nowrap; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input, -.input-append .dropdown-menu, -.input-prepend .dropdown-menu, -.input-append .popover, -.input-prepend .popover { - font-size: 14px; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input { - position: relative; - margin-bottom: 0; - *margin-left: 0; - vertical-align: top; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append input:focus, -.input-prepend input:focus, -.input-append select:focus, -.input-prepend select:focus, -.input-append .uneditable-input:focus, -.input-prepend .uneditable-input:focus { - z-index: 2; -} -.input-append .add-on, -.input-prepend .add-on { - display: inline-block; - width: auto; - height: 20px; - min-width: 16px; - padding: 4px 5px; - font-size: 14px; - font-weight: normal; - line-height: 20px; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - background-color: #f5f5f5; - border: 1px solid #ccc; -} -.input-append .add-on, -.input-prepend .add-on, -.input-append .btn, -.input-prepend .btn, -.input-append .btn-group > .dropdown-toggle, -.input-prepend .btn-group > .dropdown-toggle { - vertical-align: top; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-append .active, -.input-prepend .active { - background-color: #bede9c; - border-color: #73a839; -} -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; -} -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input + .btn-group .btn:last-child, -.input-append select + .btn-group .btn:last-child, -.input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append .add-on, -.input-append .btn, -.input-append .btn-group { - margin-left: -1px; -} -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-prepend.input-append input + .btn-group .btn, -.input-prepend.input-append select + .btn-group .btn, -.input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .btn-group:first-child { - margin-left: 0; -} -input.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - - margin-bottom: 0; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -/* Allow for input prepend/append in search forms */ -.form-search .input-append .search-query, -.form-search .input-prepend .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.form-search .input-append .search-query { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search .input-append .btn { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .search-query { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .btn { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input, -.form-search .input-prepend, -.form-inline .input-prepend, -.form-horizontal .input-prepend, -.form-search .input-append, -.form-inline .input-append, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; -} -.form-search label, -.form-inline label, -.form-search .btn-group, -.form-inline .btn-group { - display: inline-block; -} -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; -} -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; -} -.control-group { - margin-bottom: 10px; -} -legend + .control-group { - margin-top: 20px; - -webkit-margin-top-collapse: separate; -} -.form-horizontal .control-group { - margin-bottom: 20px; - *zoom: 1; -} -.form-horizontal .control-group:before, -.form-horizontal .control-group:after { - display: table; - content: ""; - line-height: 0; -} -.form-horizontal .control-group:after { - clear: both; -} -.form-horizontal .control-label { - float: left; - width: 160px; - padding-top: 5px; - text-align: right; -} -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 180px; - *margin-left: 0; -} -.form-horizontal .controls:first-child { - *padding-left: 180px; -} -.form-horizontal .help-block { - margin-bottom: 0; -} -.form-horizontal input + .help-block, -.form-horizontal select + .help-block, -.form-horizontal textarea + .help-block, -.form-horizontal .uneditable-input + .help-block, -.form-horizontal .input-prepend + .help-block, -.form-horizontal .input-append + .help-block { - margin-top: 10px; -} -.form-horizontal .form-actions { - padding-left: 180px; -} -table { - max-width: 100%; - background-color: transparent; - border-collapse: collapse; - border-spacing: 0; -} -.table { - width: 100%; - margin-bottom: 20px; -} -.table th, -.table td { - padding: 8px; - line-height: 20px; - text-align: left; - vertical-align: top; - border-top: 1px solid #dddddd; -} -.table th { - font-weight: bold; -} -.table thead th { - vertical-align: bottom; -} -.table caption + thead tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child th, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child th, -.table thead:first-child tr:first-child td { - border-top: 0; -} -.table tbody + tbody { - border-top: 2px solid #dddddd; -} -.table .table { - background-color: #ffffff; -} -.table-condensed th, -.table-condensed td { - padding: 4px 5px; -} -.table-bordered { - border: 1px solid #dddddd; - border-collapse: separate; - *border-collapse: collapse; - border-left: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.table-bordered th, -.table-bordered td { - border-left: 1px solid #dddddd; -} -.table-bordered caption + thead tr:first-child th, -.table-bordered caption + tbody tr:first-child th, -.table-bordered caption + tbody tr:first-child td, -.table-bordered colgroup + thead tr:first-child th, -.table-bordered colgroup + tbody tr:first-child th, -.table-bordered colgroup + tbody tr:first-child td, -.table-bordered thead:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} -.table-bordered thead:first-child tr:first-child > th:first-child, -.table-bordered tbody:first-child tr:first-child > td:first-child, -.table-bordered tbody:first-child tr:first-child > th:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered thead:first-child tr:first-child > th:last-child, -.table-bordered tbody:first-child tr:first-child > td:last-child, -.table-bordered tbody:first-child tr:first-child > th:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:first-child, -.table-bordered tbody:last-child tr:last-child > td:first-child, -.table-bordered tbody:last-child tr:last-child > th:first-child, -.table-bordered tfoot:last-child tr:last-child > td:first-child, -.table-bordered tfoot:last-child tr:last-child > th:first-child { - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:last-child, -.table-bordered tbody:last-child tr:last-child > td:last-child, -.table-bordered tbody:last-child tr:last-child > th:last-child, -.table-bordered tfoot:last-child tr:last-child > td:last-child, -.table-bordered tfoot:last-child tr:last-child > th:last-child { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered caption + thead tr:first-child th:first-child, -.table-bordered caption + tbody tr:first-child td:first-child, -.table-bordered colgroup + thead tr:first-child th:first-child, -.table-bordered colgroup + tbody tr:first-child td:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered caption + thead tr:first-child th:last-child, -.table-bordered caption + tbody tr:first-child td:last-child, -.table-bordered colgroup + thead tr:first-child th:last-child, -.table-bordered colgroup + tbody tr:first-child td:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-striped tbody > tr:nth-child(odd) > td, -.table-striped tbody > tr:nth-child(odd) > th { - background-color: #f9f9f9; -} -.table-hover tbody tr:hover > td, -.table-hover tbody tr:hover > th { - background-color: #f5f5f5; -} -table td[class*="span"], -table th[class*="span"], -.row-fluid table td[class*="span"], -.row-fluid table th[class*="span"] { - display: table-cell; - float: none; - margin-left: 0; -} -.table td.span1, -.table th.span1 { - float: none; - width: 44px; - margin-left: 0; -} -.table td.span2, -.table th.span2 { - float: none; - width: 124px; - margin-left: 0; -} -.table td.span3, -.table th.span3 { - float: none; - width: 204px; - margin-left: 0; -} -.table td.span4, -.table th.span4 { - float: none; - width: 284px; - margin-left: 0; -} -.table td.span5, -.table th.span5 { - float: none; - width: 364px; - margin-left: 0; -} -.table td.span6, -.table th.span6 { - float: none; - width: 444px; - margin-left: 0; -} -.table td.span7, -.table th.span7 { - float: none; - width: 524px; - margin-left: 0; -} -.table td.span8, -.table th.span8 { - float: none; - width: 604px; - margin-left: 0; -} -.table td.span9, -.table th.span9 { - float: none; - width: 684px; - margin-left: 0; -} -.table td.span10, -.table th.span10 { - float: none; - width: 764px; - margin-left: 0; -} -.table td.span11, -.table th.span11 { - float: none; - width: 844px; - margin-left: 0; -} -.table td.span12, -.table th.span12 { - float: none; - width: 924px; - margin-left: 0; -} -.table tbody tr.success > td { - background-color: #d5ecbf; -} -.table tbody tr.error > td { - background-color: #f2bdb1; -} -.table tbody tr.warning > td { - background-color: #f1ceab; -} -.table tbody tr.info > td { - background-color: #a7dff1; -} -.table-hover tbody tr.success:hover > td { - background-color: #c8e6ab; -} -.table-hover tbody tr.error:hover > td { - background-color: #eeab9b; -} -.table-hover tbody tr.warning:hover > td { - background-color: #edc195; -} -.table-hover tbody tr.info:hover > td { - background-color: #91d7ee; -} -[class^="icon-"], -[class*=" icon-"] { - display: inline-block; - width: 14px; - height: 14px; - *margin-right: .3em; - line-height: 14px; - vertical-align: text-top; - background-image: url("../img/glyphicons-halflings.png"); - background-position: 14px 14px; - background-repeat: no-repeat; - margin-top: 1px; -} -/* White icons with optional class, or on hover/focus/active states of certain elements */ -.icon-white, -.nav-pills > .active > a > [class^="icon-"], -.nav-pills > .active > a > [class*=" icon-"], -.nav-list > .active > a > [class^="icon-"], -.nav-list > .active > a > [class*=" icon-"], -.navbar-inverse .nav > .active > a > [class^="icon-"], -.navbar-inverse .nav > .active > a > [class*=" icon-"], -.dropdown-menu > li > a:hover > [class^="icon-"], -.dropdown-menu > li > a:focus > [class^="icon-"], -.dropdown-menu > li > a:hover > [class*=" icon-"], -.dropdown-menu > li > a:focus > [class*=" icon-"], -.dropdown-menu > .active > a > [class^="icon-"], -.dropdown-menu > .active > a > [class*=" icon-"], -.dropdown-submenu:hover > a > [class^="icon-"], -.dropdown-submenu:focus > a > [class^="icon-"], -.dropdown-submenu:hover > a > [class*=" icon-"], -.dropdown-submenu:focus > a > [class*=" icon-"] { - background-image: url("../img/glyphicons-halflings-white.png"); -} -.icon-glass { - background-position: 0 0; -} -.icon-music { - background-position: -24px 0; -} -.icon-search { - background-position: -48px 0; -} -.icon-envelope { - background-position: -72px 0; -} -.icon-heart { - background-position: -96px 0; -} -.icon-star { - background-position: -120px 0; -} -.icon-star-empty { - background-position: -144px 0; -} -.icon-user { - background-position: -168px 0; -} -.icon-film { - background-position: -192px 0; -} -.icon-th-large { - background-position: -216px 0; -} -.icon-th { - background-position: -240px 0; -} -.icon-th-list { - background-position: -264px 0; -} -.icon-ok { - background-position: -288px 0; -} -.icon-remove { - background-position: -312px 0; -} -.icon-zoom-in { - background-position: -336px 0; -} -.icon-zoom-out { - background-position: -360px 0; -} -.icon-off { - background-position: -384px 0; -} -.icon-signal { - background-position: -408px 0; -} -.icon-cog { - background-position: -432px 0; -} -.icon-trash { - background-position: -456px 0; -} -.icon-home { - background-position: 0 -24px; -} -.icon-file { - background-position: -24px -24px; -} -.icon-time { - background-position: -48px -24px; -} -.icon-road { - background-position: -72px -24px; -} -.icon-download-alt { - background-position: -96px -24px; -} -.icon-download { - background-position: -120px -24px; -} -.icon-upload { - background-position: -144px -24px; -} -.icon-inbox { - background-position: -168px -24px; -} -.icon-play-circle { - background-position: -192px -24px; -} -.icon-repeat { - background-position: -216px -24px; -} -.icon-refresh { - background-position: -240px -24px; -} -.icon-list-alt { - background-position: -264px -24px; -} -.icon-lock { - background-position: -287px -24px; -} -.icon-flag { - background-position: -312px -24px; -} -.icon-headphones { - background-position: -336px -24px; -} -.icon-volume-off { - background-position: -360px -24px; -} -.icon-volume-down { - background-position: -384px -24px; -} -.icon-volume-up { - background-position: -408px -24px; -} -.icon-qrcode { - background-position: -432px -24px; -} -.icon-barcode { - background-position: -456px -24px; -} -.icon-tag { - background-position: 0 -48px; -} -.icon-tags { - background-position: -25px -48px; -} -.icon-book { - background-position: -48px -48px; -} -.icon-bookmark { - background-position: -72px -48px; -} -.icon-print { - background-position: -96px -48px; -} -.icon-camera { - background-position: -120px -48px; -} -.icon-font { - background-position: -144px -48px; -} -.icon-bold { - background-position: -167px -48px; -} -.icon-italic { - background-position: -192px -48px; -} -.icon-text-height { - background-position: -216px -48px; -} -.icon-text-width { - background-position: -240px -48px; -} -.icon-align-left { - background-position: -264px -48px; -} -.icon-align-center { - background-position: -288px -48px; -} -.icon-align-right { - background-position: -312px -48px; -} -.icon-align-justify { - background-position: -336px -48px; -} -.icon-list { - background-position: -360px -48px; -} -.icon-indent-left { - background-position: -384px -48px; -} -.icon-indent-right { - background-position: -408px -48px; -} -.icon-facetime-video { - background-position: -432px -48px; -} -.icon-picture { - background-position: -456px -48px; -} -.icon-pencil { - background-position: 0 -72px; -} -.icon-map-marker { - background-position: -24px -72px; -} -.icon-adjust { - background-position: -48px -72px; -} -.icon-tint { - background-position: -72px -72px; -} -.icon-edit { - background-position: -96px -72px; -} -.icon-share { - background-position: -120px -72px; -} -.icon-check { - background-position: -144px -72px; -} -.icon-move { - background-position: -168px -72px; -} -.icon-step-backward { - background-position: -192px -72px; -} -.icon-fast-backward { - background-position: -216px -72px; -} -.icon-backward { - background-position: -240px -72px; -} -.icon-play { - background-position: -264px -72px; -} -.icon-pause { - background-position: -288px -72px; -} -.icon-stop { - background-position: -312px -72px; -} -.icon-forward { - background-position: -336px -72px; -} -.icon-fast-forward { - background-position: -360px -72px; -} -.icon-step-forward { - background-position: -384px -72px; -} -.icon-eject { - background-position: -408px -72px; -} -.icon-chevron-left { - background-position: -432px -72px; -} -.icon-chevron-right { - background-position: -456px -72px; -} -.icon-plus-sign { - background-position: 0 -96px; -} -.icon-minus-sign { - background-position: -24px -96px; -} -.icon-remove-sign { - background-position: -48px -96px; -} -.icon-ok-sign { - background-position: -72px -96px; -} -.icon-question-sign { - background-position: -96px -96px; -} -.icon-info-sign { - background-position: -120px -96px; -} -.icon-screenshot { - background-position: -144px -96px; -} -.icon-remove-circle { - background-position: -168px -96px; -} -.icon-ok-circle { - background-position: -192px -96px; -} -.icon-ban-circle { - background-position: -216px -96px; -} -.icon-arrow-left { - background-position: -240px -96px; -} -.icon-arrow-right { - background-position: -264px -96px; -} -.icon-arrow-up { - background-position: -289px -96px; -} -.icon-arrow-down { - background-position: -312px -96px; -} -.icon-share-alt { - background-position: -336px -96px; -} -.icon-resize-full { - background-position: -360px -96px; -} -.icon-resize-small { - background-position: -384px -96px; -} -.icon-plus { - background-position: -408px -96px; -} -.icon-minus { - background-position: -433px -96px; -} -.icon-asterisk { - background-position: -456px -96px; -} -.icon-exclamation-sign { - background-position: 0 -120px; -} -.icon-gift { - background-position: -24px -120px; -} -.icon-leaf { - background-position: -48px -120px; -} -.icon-fire { - background-position: -72px -120px; -} -.icon-eye-open { - background-position: -96px -120px; -} -.icon-eye-close { - background-position: -120px -120px; -} -.icon-warning-sign { - background-position: -144px -120px; -} -.icon-plane { - background-position: -168px -120px; -} -.icon-calendar { - background-position: -192px -120px; -} -.icon-random { - background-position: -216px -120px; - width: 16px; -} -.icon-comment { - background-position: -240px -120px; -} -.icon-magnet { - background-position: -264px -120px; -} -.icon-chevron-up { - background-position: -288px -120px; -} -.icon-chevron-down { - background-position: -313px -119px; -} -.icon-retweet { - background-position: -336px -120px; -} -.icon-shopping-cart { - background-position: -360px -120px; -} -.icon-folder-close { - background-position: -384px -120px; - width: 16px; -} -.icon-folder-open { - background-position: -408px -120px; - width: 16px; -} -.icon-resize-vertical { - background-position: -432px -119px; -} -.icon-resize-horizontal { - background-position: -456px -118px; -} -.icon-hdd { - background-position: 0 -144px; -} -.icon-bullhorn { - background-position: -24px -144px; -} -.icon-bell { - background-position: -48px -144px; -} -.icon-certificate { - background-position: -72px -144px; -} -.icon-thumbs-up { - background-position: -96px -144px; -} -.icon-thumbs-down { - background-position: -120px -144px; -} -.icon-hand-right { - background-position: -144px -144px; -} -.icon-hand-left { - background-position: -168px -144px; -} -.icon-hand-up { - background-position: -192px -144px; -} -.icon-hand-down { - background-position: -216px -144px; -} -.icon-circle-arrow-right { - background-position: -240px -144px; -} -.icon-circle-arrow-left { - background-position: -264px -144px; -} -.icon-circle-arrow-up { - background-position: -288px -144px; -} -.icon-circle-arrow-down { - background-position: -312px -144px; -} -.icon-globe { - background-position: -336px -144px; -} -.icon-wrench { - background-position: -360px -144px; -} -.icon-tasks { - background-position: -384px -144px; -} -.icon-filter { - background-position: -408px -144px; -} -.icon-briefcase { - background-position: -432px -144px; -} -.icon-fullscreen { - background-position: -456px -144px; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle { - *margin-bottom: -3px; -} -.dropdown-toggle:active, -.open .dropdown-toggle { - outline: 0; -} -.caret { - display: inline-block; - width: 0; - height: 0; - vertical-align: top; - border-top: 4px solid #000000; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - content: ""; -} -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - background-color: #ffffff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 20px; - color: #333333; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, -.dropdown-submenu:hover > a, -.dropdown-submenu:focus > a { - text-decoration: none; - color: #ffffff; - background-color: #27a0e5; - background-image: -moz-linear-gradient(top, #2fa4e7, #1a99e2); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2fa4e7), to(#1a99e2)); - background-image: -webkit-linear-gradient(top, #2fa4e7, #1a99e2); - background-image: -o-linear-gradient(top, #2fa4e7, #1a99e2); - background-image: linear-gradient(to bottom, #2fa4e7, #1a99e2); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2fa4e7', endColorstr='#ff1a99e2', GradientType=0); -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #ffffff; - text-decoration: none; - outline: 0; - background-color: #27a0e5; - background-image: -moz-linear-gradient(top, #2fa4e7, #1a99e2); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2fa4e7), to(#1a99e2)); - background-image: -webkit-linear-gradient(top, #2fa4e7, #1a99e2); - background-image: -o-linear-gradient(top, #2fa4e7, #1a99e2); - background-image: linear-gradient(to bottom, #2fa4e7, #1a99e2); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2fa4e7', endColorstr='#ff1a99e2', GradientType=0); -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #999999; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: default; -} -.open { - *z-index: 1000; -} -.open > .dropdown-menu { - display: block; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: ""; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -.dropdown-submenu { - position: relative; -} -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; - -webkit-border-radius: 5px 5px 5px 0; - -moz-border-radius: 5px 5px 5px 0; - border-radius: 5px 5px 5px 0; -} -.dropdown-submenu > a:after { - display: block; - content: " "; - float: right; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 5px 0 5px 5px; - border-left-color: #cccccc; - margin-top: 5px; - margin-right: -10px; -} -.dropdown-submenu:hover > a:after { - border-left-color: #ffffff; -} -.dropdown-submenu.pull-left { - float: none; -} -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.dropdown .dropdown-menu .nav-header { - padding-left: 20px; - padding-right: 20px; -} -.typeahead { - z-index: 1051; - margin-top: 2px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #f5f5f5; - border: 1px solid #e3e3e3; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} -.well-large { - padding: 24px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.well-small { - padding: 9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; -} -.collapse.in { - height: auto; -} -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 20px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover, -.close:focus { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} -.btn { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding: 4px 12px; - margin-bottom: 0; - font-size: 14px; - line-height: 20px; - text-align: center; - vertical-align: middle; - cursor: pointer; - color: #333333; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #f5f5f5; - background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); - background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); - background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); - border-color: #e6e6e6 #e6e6e6 #bfbfbf; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e6e6e6; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - border: 1px solid #cccccc; - *border: 0; - border-bottom-color: #b3b3b3; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - *margin-left: .3em; - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #333333; - background-color: #e6e6e6; - *background-color: #d9d9d9; -} -.btn:active, -.btn.active { - background-color: #cccccc \9; -} -.btn:first-child { - *margin-left: 0; -} -.btn:hover, -.btn:focus { - color: #333333; - text-decoration: none; - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -.btn:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn.active, -.btn:active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn.disabled, -.btn[disabled] { - cursor: default; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-large { - padding: 11px 19px; - font-size: 17.5px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.btn-large [class^="icon-"], -.btn-large [class*=" icon-"] { - margin-top: 4px; -} -.btn-small { - padding: 2px 10px; - font-size: 11.9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-small [class^="icon-"], -.btn-small [class*=" icon-"] { - margin-top: 0; -} -.btn-mini [class^="icon-"], -.btn-mini [class*=" icon-"] { - margin-top: -1px; -} -.btn-mini { - padding: 0px 6px; - font-size: 10.5px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; - padding-left: 0; - padding-right: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active, -.btn-inverse.active { - color: rgba(255, 255, 255, 0.75); -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #2f92e7; - background-image: -moz-linear-gradient(top, #2fa4e7, #2f76e7); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2fa4e7), to(#2f76e7)); - background-image: -webkit-linear-gradient(top, #2fa4e7, #2f76e7); - background-image: -o-linear-gradient(top, #2fa4e7, #2f76e7); - background-image: linear-gradient(to bottom, #2fa4e7, #2f76e7); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2fa4e7', endColorstr='#ff2f76e7', GradientType=0); - border-color: #2f76e7 #2f76e7 #1553b5; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #2f76e7; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #2f76e7; - *background-color: #1a67e2; -} -.btn-primary:active, -.btn-primary.active { - background-color: #175dcc \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #dd5600; - background-image: -moz-linear-gradient(top, #dd5600, #dd5600); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dd5600), to(#dd5600)); - background-image: -webkit-linear-gradient(top, #dd5600, #dd5600); - background-image: -o-linear-gradient(top, #dd5600, #dd5600); - background-image: linear-gradient(to bottom, #dd5600, #dd5600); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd5600', endColorstr='#ffdd5600', GradientType=0); - border-color: #dd5600 #dd5600 #913800; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #dd5600; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #dd5600; - *background-color: #c44c00; -} -.btn-warning:active, -.btn-warning.active { - background-color: #aa4200 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #c32627; - background-image: -moz-linear-gradient(top, #c71c22, #bd362f); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#c71c22), to(#bd362f)); - background-image: -webkit-linear-gradient(top, #c71c22, #bd362f); - background-image: -o-linear-gradient(top, #c71c22, #bd362f); - background-image: linear-gradient(to bottom, #c71c22, #bd362f); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffc71c22', endColorstr='#ffbd362f', GradientType=0); - border-color: #bd362f #bd362f #802420; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #bd362f; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #bd362f; - *background-color: #a9302a; -} -.btn-danger:active, -.btn-danger.active { - background-color: #942a25 \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #65a643; - background-image: -moz-linear-gradient(top, #73a839, #51a351); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#73a839), to(#51a351)); - background-image: -webkit-linear-gradient(top, #73a839, #51a351); - background-image: -o-linear-gradient(top, #73a839, #51a351); - background-image: linear-gradient(to bottom, #73a839, #51a351); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff73a839', endColorstr='#ff51a351', GradientType=0); - border-color: #51a351 #51a351 #387038; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #51a351; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #51a351; - *background-color: #499249; -} -.btn-success:active, -.btn-success.active { - background-color: #408140 \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #6d76b3; - background-image: -moz-linear-gradient(top, #9760b3, #2f96b4); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#9760b3), to(#2f96b4)); - background-image: -webkit-linear-gradient(top, #9760b3, #2f96b4); - background-image: -o-linear-gradient(top, #9760b3, #2f96b4); - background-image: linear-gradient(to bottom, #9760b3, #2f96b4); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff9760b3', endColorstr='#ff2f96b4', GradientType=0); - border-color: #2f96b4 #2f96b4 #1f6377; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #2f96b4; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #2f96b4; - *background-color: #2a85a0; -} -.btn-info:active, -.btn-info.active { - background-color: #24748c \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0f3253; - background-image: -moz-linear-gradient(top, #033c73, #222222); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#033c73), to(#222222)); - background-image: -webkit-linear-gradient(top, #033c73, #222222); - background-image: -o-linear-gradient(top, #033c73, #222222); - background-image: linear-gradient(to bottom, #033c73, #222222); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff033c73', endColorstr='#ff222222', GradientType=0); - border-color: #222222 #222222 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #222222; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #222222; - *background-color: #151515; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #080808 \9; -} -button.btn, -input[type="submit"].btn { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn::-moz-focus-inner, -input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} -button.btn.btn-large, -input[type="submit"].btn.btn-large { - *padding-top: 7px; - *padding-bottom: 7px; -} -button.btn.btn-small, -input[type="submit"].btn.btn-small { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn.btn-mini, -input[type="submit"].btn.btn-mini { - *padding-top: 1px; - *padding-bottom: 1px; -} -.btn-link, -.btn-link:active, -.btn-link[disabled] { - background-color: transparent; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-link { - border-color: transparent; - cursor: pointer; - color: #2fa4e7; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-link:hover, -.btn-link:focus { - color: #157ab5; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -.btn-link[disabled]:focus { - color: #333333; - text-decoration: none; -} -.btn-group { - position: relative; - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - font-size: 0; - vertical-align: middle; - white-space: nowrap; - *margin-left: .3em; -} -.btn-group:first-child { - *margin-left: 0; -} -.btn-group + .btn-group { - margin-left: 5px; -} -.btn-toolbar { - font-size: 0; - margin-top: 10px; - margin-bottom: 10px; -} -.btn-toolbar > .btn + .btn, -.btn-toolbar > .btn-group + .btn, -.btn-toolbar > .btn + .btn-group { - margin-left: 5px; -} -.btn-group > .btn { - position: relative; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group > .btn + .btn { - margin-left: -1px; -} -.btn-group > .btn, -.btn-group > .dropdown-menu, -.btn-group > .popover { - font-size: 14px; -} -.btn-group > .btn-mini { - font-size: 10.5px; -} -.btn-group > .btn-small { - font-size: 11.9px; -} -.btn-group > .btn-large { - font-size: 17.5px; -} -.btn-group > .btn:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.btn-group > .btn.large:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.btn-group > .btn.large:last-child, -.btn-group > .large.dropdown-toggle { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - *padding-top: 5px; - *padding-bottom: 5px; -} -.btn-group > .btn-mini + .dropdown-toggle { - padding-left: 5px; - padding-right: 5px; - *padding-top: 2px; - *padding-bottom: 2px; -} -.btn-group > .btn-small + .dropdown-toggle { - *padding-top: 5px; - *padding-bottom: 4px; -} -.btn-group > .btn-large + .dropdown-toggle { - padding-left: 12px; - padding-right: 12px; - *padding-top: 7px; - *padding-bottom: 7px; -} -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn-group.open .btn.dropdown-toggle { - background-color: #e6e6e6; -} -.btn-group.open .btn-primary.dropdown-toggle { - background-color: #2f76e7; -} -.btn-group.open .btn-warning.dropdown-toggle { - background-color: #dd5600; -} -.btn-group.open .btn-danger.dropdown-toggle { - background-color: #bd362f; -} -.btn-group.open .btn-success.dropdown-toggle { - background-color: #51a351; -} -.btn-group.open .btn-info.dropdown-toggle { - background-color: #2f96b4; -} -.btn-group.open .btn-inverse.dropdown-toggle { - background-color: #222222; -} -.btn .caret { - margin-top: 8px; - margin-left: 0; -} -.btn-large .caret { - margin-top: 6px; -} -.btn-large .caret { - border-left-width: 5px; - border-right-width: 5px; - border-top-width: 5px; -} -.btn-mini .caret, -.btn-small .caret { - margin-top: 8px; -} -.dropup .btn-large .caret { - border-bottom-width: 5px; -} -.btn-primary .caret, -.btn-warning .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret, -.btn-inverse .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.btn-group-vertical { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} -.btn-group-vertical > .btn { - display: block; - float: none; - max-width: 100%; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group-vertical > .btn + .btn { - margin-left: 0; - margin-top: -1px; -} -.btn-group-vertical > .btn:first-child { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.btn-group-vertical > .btn:last-child { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.btn-group-vertical > .btn-large:first-child { - -webkit-border-radius: 6px 6px 0 0; - -moz-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; -} -.btn-group-vertical > .btn-large:last-child { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 20px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #f1ceab; - border: 1px solid #efb99e; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.alert, -.alert h4 { - color: #dd5600; -} -.alert h4 { - margin: 0; -} -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 20px; -} -.alert-success { - background-color: #d5ecbf; - border-color: #d2e6ab; - color: #669533; -} -.alert-success h4 { - color: #669533; -} -.alert-danger, -.alert-error { - background-color: #f2bdb1; - border-color: #f0a5a4; - color: #bd4247; -} -.alert-danger h4, -.alert-error h4 { - color: #bd4247; -} -.alert-info { - background-color: #a7dff1; - border-color: #88e4ec; - color: #178acc; -} -.alert-info h4 { - color: #178acc; -} -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; -} -.alert-block p + p { - margin-top: 5px; -} -.nav { - margin-left: 0; - margin-bottom: 20px; - list-style: none; -} -.nav > li > a { - display: block; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.nav > li > a > img { - max-width: none; -} -.nav > .pull-right { - float: right; -} -.nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 20px; - color: #999999; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} -.nav li + .nav-header { - margin-top: 9px; -} -.nav-list { - padding-left: 15px; - padding-right: 15px; - margin-bottom: 0; -} -.nav-list > li > a, -.nav-list .nav-header { - margin-left: -15px; - margin-right: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.nav-list > li > a { - padding: 3px 15px; -} -.nav-list > .active > a, -.nav-list > .active > a:hover, -.nav-list > .active > a:focus { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #2fa4e7; -} -.nav-list [class^="icon-"], -.nav-list [class*=" icon-"] { - margin-right: 2px; -} -.nav-list .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.nav-tabs, -.nav-pills { - *zoom: 1; -} -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; - line-height: 0; -} -.nav-tabs:after, -.nav-pills:after { - clear: both; -} -.nav-tabs > li, -.nav-pills > li { - float: left; -} -.nav-tabs > li > a, -.nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - margin-bottom: -1px; -} -.nav-tabs > li > a { - padding-top: 8px; - padding-bottom: 8px; - line-height: 20px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover, -.nav-tabs > li > a:focus { - border-color: #f5f5f5 #f5f5f5 #dddddd; -} -.nav-tabs > .active > a, -.nav-tabs > .active > a:hover, -.nav-tabs > .active > a:focus { - color: #555555; - background-color: #ffffff; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.nav-pills > .active > a, -.nav-pills > .active > a:hover, -.nav-pills > .active > a:focus { - color: #ffffff; - background-color: #2fa4e7; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li > a { - margin-right: 0; -} -.nav-tabs.nav-stacked { - border-bottom: 0; -} -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.nav-tabs.nav-stacked > li > a:hover, -.nav-tabs.nav-stacked > li > a:focus { - border-color: #ddd; - z-index: 2; -} -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.nav-pills .dropdown-menu { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.nav .dropdown-toggle .caret { - border-top-color: #2fa4e7; - border-bottom-color: #2fa4e7; - margin-top: 6px; -} -.nav .dropdown-toggle:hover .caret, -.nav .dropdown-toggle:focus .caret { - border-top-color: #157ab5; - border-bottom-color: #157ab5; -} -/* move down carets for tabs */ -.nav-tabs .dropdown-toggle .caret { - margin-top: 8px; -} -.nav .active .dropdown-toggle .caret { - border-top-color: #fff; - border-bottom-color: #fff; -} -.nav-tabs .active .dropdown-toggle .caret { - border-top-color: #555555; - border-bottom-color: #555555; -} -.nav > .dropdown.active > a:hover, -.nav > .dropdown.active > a:focus { - cursor: pointer; -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover, -.nav > li.dropdown.open.active > a:focus { - color: #ffffff; - background-color: #999999; - border-color: #999999; -} -.nav li.dropdown.open .caret, -.nav li.dropdown.open.active .caret, -.nav li.dropdown.open a:hover .caret, -.nav li.dropdown.open a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} -.tabs-stacked .open > a:hover, -.tabs-stacked .open > a:focus { - border-color: #999999; -} -.tabbable { - *zoom: 1; -} -.tabbable:before, -.tabbable:after { - display: table; - content: ""; - line-height: 0; -} -.tabbable:after { - clear: both; -} -.tab-content { - overflow: auto; -} -.tabs-below > .nav-tabs, -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} -.tab-content > .active, -.pill-content > .active { - display: block; -} -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; -} -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.tabs-below > .nav-tabs > li > a:hover, -.tabs-below > .nav-tabs > li > a:focus { - border-bottom-color: transparent; - border-top-color: #ddd; -} -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover, -.tabs-below > .nav-tabs > .active > a:focus { - border-color: transparent #ddd #ddd #ddd; -} -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.tabs-left > .nav-tabs > li > a:hover, -.tabs-left > .nav-tabs > li > a:focus { - border-color: #f5f5f5 #dddddd #f5f5f5 #f5f5f5; -} -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover, -.tabs-left > .nav-tabs .active > a:focus { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.tabs-right > .nav-tabs > li > a:hover, -.tabs-right > .nav-tabs > li > a:focus { - border-color: #f5f5f5 #f5f5f5 #f5f5f5 #dddddd; -} -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover, -.tabs-right > .nav-tabs .active > a:focus { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} -.nav > .disabled > a { - color: #999999; -} -.nav > .disabled > a:hover, -.nav > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - cursor: default; -} -.navbar { - overflow: visible; - margin-bottom: 20px; - *position: relative; - *z-index: 2; -} -.navbar-inner { - min-height: 50px; - padding-left: 20px; - padding-right: 20px; - background-color: #45aeea; - background-image: -moz-linear-gradient(top, #54b4eb, #2fa4e7); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#54b4eb), to(#2fa4e7)); - background-image: -webkit-linear-gradient(top, #54b4eb, #2fa4e7); - background-image: -o-linear-gradient(top, #54b4eb, #2fa4e7); - background-image: linear-gradient(to bottom, #54b4eb, #2fa4e7); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff54b4eb', endColorstr='#ff2fa4e7', GradientType=0); - border: 1px solid #1990d5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - *zoom: 1; -} -.navbar-inner:before, -.navbar-inner:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-inner:after { - clear: both; -} -.navbar .container { - width: auto; -} -.nav-collapse.collapse { - height: auto; - overflow: visible; -} -.navbar .brand { - float: left; - display: block; - padding: 15px 20px 15px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - color: #ffffff; - text-shadow: 0 1px 0 #54b4eb; -} -.navbar .brand:hover, -.navbar .brand:focus { - text-decoration: none; -} -.navbar-text { - margin-bottom: 0; - line-height: 50px; - color: #f5f5f5; -} -.navbar-link { - color: #ffffff; -} -.navbar-link:hover, -.navbar-link:focus { - color: #ffffff; -} -.navbar .divider-vertical { - height: 50px; - margin: 0 9px; - border-left: 1px solid #2fa4e7; - border-right: 1px solid #54b4eb; -} -.navbar .btn, -.navbar .btn-group { - margin-top: 10px; -} -.navbar .btn-group .btn, -.navbar .input-prepend .btn, -.navbar .input-append .btn, -.navbar .input-prepend .btn-group, -.navbar .input-append .btn-group { - margin-top: 0; -} -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} -.navbar-form:before, -.navbar-form:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-form:after { - clear: both; -} -.navbar-form input, -.navbar-form select, -.navbar-form .radio, -.navbar-form .checkbox { - margin-top: 10px; -} -.navbar-form input, -.navbar-form select, -.navbar-form .btn { - display: inline-block; - margin-bottom: 0; -} -.navbar-form input[type="image"], -.navbar-form input[type="checkbox"], -.navbar-form input[type="radio"] { - margin-top: 3px; -} -.navbar-form .input-append, -.navbar-form .input-prepend { - margin-top: 5px; - white-space: nowrap; -} -.navbar-form .input-append input, -.navbar-form .input-prepend input { - margin-top: 0; -} -.navbar-search { - position: relative; - float: left; - margin-top: 10px; - margin-bottom: 0; -} -.navbar-search .search-query { - margin-bottom: 0; - padding: 4px 14px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.navbar-static-top { - position: static; - margin-bottom: 0; -} -.navbar-static-top .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; - margin-bottom: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - border-width: 0 0 1px; -} -.navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-fixed-bottom .navbar-inner { - padding-left: 0; - padding-right: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.navbar-fixed-top { - top: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 1px 10px rgba(0,0,0,.1); - box-shadow: 0 1px 10px rgba(0,0,0,.1); -} -.navbar-fixed-bottom { - bottom: 0; -} -.navbar-fixed-bottom .navbar-inner { - -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - box-shadow: 0 -1px 10px rgba(0,0,0,.1); -} -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} -.navbar .nav.pull-right { - float: right; - margin-right: 0; -} -.navbar .nav > li { - float: left; -} -.navbar .nav > li > a { - float: none; - padding: 15px 15px 15px; - color: #ffffff; - text-decoration: none; - text-shadow: 0 1px 0 #54b4eb; -} -.navbar .nav .dropdown-toggle .caret { - margin-top: 8px; -} -.navbar .nav > li > a:focus, -.navbar .nav > li > a:hover { - background-color: #1684c2; - color: #ffffff; - text-decoration: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - color: #ffffff; - text-decoration: none; - background-color: #1684c2; - -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); -} -.navbar .btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-left: 5px; - margin-right: 5px; - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #2fa3e6; - background-image: -moz-linear-gradient(top, #3daae9, #1a99e2); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3daae9), to(#1a99e2)); - background-image: -webkit-linear-gradient(top, #3daae9, #1a99e2); - background-image: -o-linear-gradient(top, #3daae9, #1a99e2); - background-image: linear-gradient(to bottom, #3daae9, #1a99e2); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3daae9', endColorstr='#ff1a99e2', GradientType=0); - border-color: #1a99e2 #1a99e2 #126b9e; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #1a99e2; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); -} -.navbar .btn-navbar:hover, -.navbar .btn-navbar:focus, -.navbar .btn-navbar:active, -.navbar .btn-navbar.active, -.navbar .btn-navbar.disabled, -.navbar .btn-navbar[disabled] { - color: #ffffff; - background-color: #1a99e2; - *background-color: #178acc; -} -.navbar .btn-navbar:active, -.navbar .btn-navbar.active { - background-color: #157ab5 \9; -} -.navbar .btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} -.navbar .nav > li > .dropdown-menu:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: rgba(0, 0, 0, 0.2); - position: absolute; - top: -7px; - left: 9px; -} -.navbar .nav > li > .dropdown-menu:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #ffffff; - position: absolute; - top: -6px; - left: 10px; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:before { - border-top: 7px solid #ccc; - border-top-color: rgba(0, 0, 0, 0.2); - border-bottom: 0; - bottom: -7px; - top: auto; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:after { - border-top: 6px solid #ffffff; - border-bottom: 0; - bottom: -6px; - top: auto; -} -.navbar .nav li.dropdown > a:hover .caret, -.navbar .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #1684c2; - color: #ffffff; -} -.navbar .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .pull-right > li > .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right { - left: auto; - right: 0; -} -.navbar .pull-right > li > .dropdown-menu:before, -.navbar .nav > li > .dropdown-menu.pull-right:before { - left: auto; - right: 12px; -} -.navbar .pull-right > li > .dropdown-menu:after, -.navbar .nav > li > .dropdown-menu.pull-right:after { - left: auto; - right: 13px; -} -.navbar .pull-right > li > .dropdown-menu .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { - left: auto; - right: 100%; - margin-left: 0; - margin-right: -1px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.navbar-inverse .navbar-inner { - background-color: #034482; - background-image: -moz-linear-gradient(top, #04498c, #033c73); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#04498c), to(#033c73)); - background-image: -webkit-linear-gradient(top, #04498c, #033c73); - background-image: -o-linear-gradient(top, #04498c, #033c73); - background-image: linear-gradient(to bottom, #04498c, #033c73); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff04498c', endColorstr='#ff033c73', GradientType=0); - border-color: #033464; -} -.navbar-inverse .brand, -.navbar-inverse .nav > li > a { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.navbar-inverse .brand:hover, -.navbar-inverse .nav > li > a:hover, -.navbar-inverse .brand:focus, -.navbar-inverse .nav > li > a:focus { - color: #ffffff; -} -.navbar-inverse .brand { - color: #ffffff; -} -.navbar-inverse .navbar-text { - color: #ffffff; -} -.navbar-inverse .nav > li > a:focus, -.navbar-inverse .nav > li > a:hover { - background-color: #022c55; - color: #ffffff; -} -.navbar-inverse .nav .active > a, -.navbar-inverse .nav .active > a:hover, -.navbar-inverse .nav .active > a:focus { - color: #ffffff; - background-color: #022c55; -} -.navbar-inverse .navbar-link { - color: #ffffff; -} -.navbar-inverse .navbar-link:hover, -.navbar-inverse .navbar-link:focus { - color: #ffffff; -} -.navbar-inverse .divider-vertical { - border-left-color: #033c73; - border-right-color: #04498c; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #022c55; - color: #ffffff; -} -.navbar-inverse .nav li.dropdown > a:hover .caret, -.navbar-inverse .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .navbar-search .search-query { - color: #ffffff; - background-color: #ffffff; - border-color: #033c73; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -.navbar-inverse .navbar-search .search-query:-moz-placeholder { - color: #999999; -} -.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { - color: #999999; -} -.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { - color: #999999; -} -.navbar-inverse .navbar-search .search-query:focus, -.navbar-inverse .navbar-search .search-query.focused { - padding: 5px 15px; - color: #333333; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - outline: 0; -} -.navbar-inverse .btn-navbar { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #033769; - background-image: -moz-linear-gradient(top, #033c73, #022f5a); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#033c73), to(#022f5a)); - background-image: -webkit-linear-gradient(top, #033c73, #022f5a); - background-image: -o-linear-gradient(top, #033c73, #022f5a); - background-image: linear-gradient(to bottom, #033c73, #022f5a); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff033c73', endColorstr='#ff022f5a', GradientType=0); - border-color: #022f5a #022f5a #000810; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #022f5a; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.navbar-inverse .btn-navbar:hover, -.navbar-inverse .btn-navbar:focus, -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active, -.navbar-inverse .btn-navbar.disabled, -.navbar-inverse .btn-navbar[disabled] { - color: #ffffff; - background-color: #022f5a; - *background-color: #022241; -} -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active { - background-color: #011528 \9; -} -.breadcrumb { - padding: 8px 15px; - margin: 0 0 20px; - list-style: none; - background-color: #f5f5f5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.breadcrumb > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb > li > .divider { - padding: 0 5px; - color: #ccc; -} -.breadcrumb > .active { - color: #999999; -} -.pagination { - margin: 20px 0; -} -.pagination ul { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-left: 0; - margin-bottom: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} -.pagination ul > li { - display: inline; -} -.pagination ul > li > a, -.pagination ul > li > span { - float: left; - padding: 4px 12px; - line-height: 20px; - text-decoration: none; - background-color: #ffffff; - border: 1px solid #dddddd; - border-left-width: 0; -} -.pagination ul > li > a:hover, -.pagination ul > li > a:focus, -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: #f5f5f5; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - color: #999999; - cursor: default; -} -.pagination ul > .disabled > span, -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > a:focus { - color: #999999; - background-color: transparent; - cursor: default; -} -.pagination ul > li:first-child > a, -.pagination ul > li:first-child > span { - border-left-width: 1px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.pagination ul > li:last-child > a, -.pagination ul > li:last-child > span { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.pagination-centered { - text-align: center; -} -.pagination-right { - text-align: right; -} -.pagination-large ul > li > a, -.pagination-large ul > li > span { - padding: 11px 19px; - font-size: 17.5px; -} -.pagination-large ul > li:first-child > a, -.pagination-large ul > li:first-child > span { - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.pagination-large ul > li:last-child > a, -.pagination-large ul > li:last-child > span { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.pagination-mini ul > li:first-child > a, -.pagination-small ul > li:first-child > a, -.pagination-mini ul > li:first-child > span, -.pagination-small ul > li:first-child > span { - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topleft: 3px; - border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - border-bottom-left-radius: 3px; -} -.pagination-mini ul > li:last-child > a, -.pagination-small ul > li:last-child > a, -.pagination-mini ul > li:last-child > span, -.pagination-small ul > li:last-child > span { - -webkit-border-top-right-radius: 3px; - -moz-border-radius-topright: 3px; - border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - -moz-border-radius-bottomright: 3px; - border-bottom-right-radius: 3px; -} -.pagination-small ul > li > a, -.pagination-small ul > li > span { - padding: 2px 10px; - font-size: 11.9px; -} -.pagination-mini ul > li > a, -.pagination-mini ul > li > span { - padding: 0px 6px; - font-size: 10.5px; -} -.pager { - margin: 20px 0; - list-style: none; - text-align: center; - *zoom: 1; -} -.pager:before, -.pager:after { - display: table; - content: ""; - line-height: 0; -} -.pager:after { - clear: both; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #999999; - background-color: #fff; - cursor: default; -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop, -.modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.modal { - position: fixed; - top: 10%; - left: 50%; - z-index: 1050; - width: 560px; - margin-left: -280px; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - /* IE6-7 */ - - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - outline: none; -} -.modal.fade { - -webkit-transition: opacity .3s linear, top .3s ease-out; - -moz-transition: opacity .3s linear, top .3s ease-out; - -o-transition: opacity .3s linear, top .3s ease-out; - transition: opacity .3s linear, top .3s ease-out; - top: -25%; -} -.modal.fade.in { - top: 10%; -} -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} -.modal-header .close { - margin-top: 2px; -} -.modal-header h3 { - margin: 0; - line-height: 30px; -} -.modal-body { - position: relative; - overflow-y: auto; - max-height: 400px; - padding: 15px; -} -.modal-form { - margin-bottom: 0; -} -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - text-align: right; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; - *zoom: 1; -} -.modal-footer:before, -.modal-footer:after { - display: table; - content: ""; - line-height: 0; -} -.modal-footer:after { - clear: both; -} -.modal-footer .btn + .btn { - margin-left: 5px; - margin-bottom: 0; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.tooltip { - position: absolute; - z-index: 1020; - display: block; - visibility: visible; - font-size: 11px; - line-height: 1.4; - opacity: 0; - filter: alpha(opacity=0); -} -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.tooltip.top { - margin-top: -3px; - padding: 5px 0; -} -.tooltip.right { - margin-left: 3px; - padding: 0 5px; -} -.tooltip.bottom { - margin-top: 3px; - padding: 5px 0; -} -.tooltip.left { - margin-left: -3px; - padding: 0 5px; -} -.tooltip-inner { - max-width: 200px; - padding: 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #000000; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #000000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #000000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #000000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000000; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - background-color: #ffffff; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - white-space: normal; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #f7f7f7; - border-bottom: 1px solid #ebebeb; - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.popover-title:empty { - display: none; -} -.popover-content { - padding: 9px 14px; -} -.popover .arrow, -.popover .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover .arrow { - border-width: 11px; -} -.popover .arrow:after { - border-width: 10px; - content: ""; -} -.popover.top .arrow { - left: 50%; - margin-left: -11px; - border-bottom-width: 0; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, 0.25); - bottom: -11px; -} -.popover.top .arrow:after { - bottom: 1px; - margin-left: -10px; - border-bottom-width: 0; - border-top-color: #ffffff; -} -.popover.right .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-left-width: 0; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, 0.25); -} -.popover.right .arrow:after { - left: 1px; - bottom: -10px; - border-left-width: 0; - border-right-color: #ffffff; -} -.popover.bottom .arrow { - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, 0.25); - top: -11px; -} -.popover.bottom .arrow:after { - top: 1px; - margin-left: -10px; - border-top-width: 0; - border-bottom-color: #ffffff; -} -.popover.left .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, 0.25); -} -.popover.left .arrow:after { - right: 1px; - border-right-width: 0; - border-left-color: #ffffff; - bottom: -10px; -} -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} -.thumbnails:before, -.thumbnails:after { - display: table; - content: ""; - line-height: 0; -} -.thumbnails:after { - clear: both; -} -.row-fluid .thumbnails { - margin-left: 0; -} -.thumbnails > li { - float: left; - margin-bottom: 20px; - margin-left: 20px; -} -.thumbnail { - display: block; - padding: 4px; - line-height: 20px; - border: 1px solid #ddd; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -a.thumbnail:hover, -a.thumbnail:focus { - border-color: #2fa4e7; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} -.thumbnail > img { - display: block; - max-width: 100%; - margin-left: auto; - margin-right: auto; -} -.thumbnail .caption { - padding: 9px; - color: #555555; -} -.media, -.media-body { - overflow: hidden; - *overflow: visible; - zoom: 1; -} -.media, -.media .media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media-object { - display: block; -} -.media-heading { - margin: 0 0 5px; -} -.media > .pull-left { - margin-right: 10px; -} -.media > .pull-right { - margin-left: 10px; -} -.media-list { - margin-left: 0; - list-style: none; -} -.label, -.badge { - display: inline-block; - padding: 2px 4px; - font-size: 11.844px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - vertical-align: baseline; - white-space: nowrap; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #999999; -} -.label { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.badge { - padding-left: 9px; - padding-right: 9px; - -webkit-border-radius: 9px; - -moz-border-radius: 9px; - border-radius: 9px; -} -.label:empty, -.badge:empty { - display: none; -} -a.label:hover, -a.label:focus, -a.badge:hover, -a.badge:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.label-important, -.badge-important { - background-color: #bd4247; -} -.label-important[href], -.badge-important[href] { - background-color: #983538; -} -.label-warning, -.badge-warning { - background-color: #dd5600; -} -.label-warning[href], -.badge-warning[href] { - background-color: #aa4200; -} -.label-success, -.badge-success { - background-color: #669533; -} -.label-success[href], -.badge-success[href] { - background-color: #4c6f26; -} -.label-info, -.badge-info { - background-color: #178acc; -} -.label-info[href], -.badge-info[href] { - background-color: #126b9e; -} -.label-inverse, -.badge-inverse { - background-color: #333333; -} -.label-inverse[href], -.badge-inverse[href] { - background-color: #1a1a1a; -} -.btn .label, -.btn .badge { - position: relative; - top: -1px; -} -.btn-mini .label, -.btn-mini .badge { - top: 0; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-moz-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-ms-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - overflow: hidden; - height: 20px; - margin-bottom: 20px; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.progress .bar { - width: 0%; - height: 100%; - color: #ffffff; - float: left; - font-size: 12px; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(to bottom, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} -.progress .bar + .bar { - -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); -} -.progress-striped .bar { - background-color: #149bdf; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - -ms-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-danger .bar, -.progress .bar-danger { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); -} -.progress-danger.progress-striped .bar, -.progress-striped .bar-danger { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar, -.progress .bar-success { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(to bottom, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); -} -.progress-success.progress-striped .bar, -.progress-striped .bar-success { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar, -.progress .bar-info { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(to bottom, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); -} -.progress-info.progress-striped .bar, -.progress-striped .bar-info { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-warning .bar, -.progress .bar-warning { - background-color: #f16e1a; - background-image: -moz-linear-gradient(top, #ff7d2b, #dd5600); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ff7d2b), to(#dd5600)); - background-image: -webkit-linear-gradient(top, #ff7d2b, #dd5600); - background-image: -o-linear-gradient(top, #ff7d2b, #dd5600); - background-image: linear-gradient(to bottom, #ff7d2b, #dd5600); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff7d2b', endColorstr='#ffdd5600', GradientType=0); -} -.progress-warning.progress-striped .bar, -.progress-striped .bar-warning { - background-color: #ff7d2b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.accordion { - margin-bottom: 20px; -} -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.accordion-heading { - border-bottom: 0; -} -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} -.accordion-toggle { - cursor: pointer; -} -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} -.carousel { - position: relative; - margin-bottom: 20px; - line-height: 1; -} -.carousel-inner { - overflow: hidden; - width: 100%; - position: relative; -} -.carousel-inner > .item { - display: none; - position: relative; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - line-height: 1; -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #222222; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.carousel-control.right { - left: auto; - right: 15px; -} -.carousel-control:hover, -.carousel-control:focus { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} -.carousel-indicators { - position: absolute; - top: 15px; - right: 15px; - z-index: 5; - margin: 0; - list-style: none; -} -.carousel-indicators li { - display: block; - float: left; - width: 10px; - height: 10px; - margin-left: 5px; - text-indent: -999px; - background-color: #ccc; - background-color: rgba(255, 255, 255, 0.25); - border-radius: 5px; -} -.carousel-indicators .active { - background-color: #fff; -} -.carousel-caption { - position: absolute; - left: 0; - right: 0; - bottom: 0; - padding: 15px; - background: #333333; - background: rgba(0, 0, 0, 0.75); -} -.carousel-caption h4, -.carousel-caption p { - color: #ffffff; - line-height: 20px; -} -.carousel-caption h4 { - margin: 0 0 5px; -} -.carousel-caption p { - margin-bottom: 0; -} -.hero-unit { - padding: 60px; - margin-bottom: 30px; - font-size: 18px; - font-weight: 200; - line-height: 30px; - color: inherit; - background-color: #f5f5f5; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - color: inherit; - letter-spacing: -1px; -} -.hero-unit li { - line-height: 30px; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.invisible { - visibility: hidden; -} -.affix { - position: fixed; -} -.navbar .brand { - padding: 14px 20px 16px; - font-family: 'Telex', sans-serif; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2); -} -.navbar li { - line-height: 20px; -} -.navbar .nav > li > a { - padding: 16px 10px 14px; - font-family: 'Telex', sans-serif; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2); -} -.navbar .search-query { - border: 1px solid #178acc; - line-height: normal; -} -.navbar .navbar-text { - padding: 19px 10px 18px; - line-height: 13px; - color: rgba(0, 0, 0, 0.5); - text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3); -} -.navbar-inverse .navbar-search .search-query { - color: #555555; -} -@media (max-width: 979px) { - .navbar .nav-collapse .nav li > a { - font-family: 'Telex', sans-serif; - font-weight: normal; - color: #ffffff; - text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.2); - } - .navbar .nav-collapse .nav li > a:hover { - background-color: #2B7CAC; - } - .navbar .nav-collapse .nav .active > a { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - background-color: #2B7CAC; - } - .navbar .nav-collapse .dropdown-menu li > a:hover, - .navbar .nav-collapse .dropdown-menu li > a:focus, - .navbar .nav-collapse .dropdown-submenu:hover > a { - background-image: none; - } - .navbar .nav-collapse .navbar-form, - .navbar .nav-collapse .navbar-search { - border: none; - } - .navbar .nav-collapse .nav-header { - color: #2B7CAC; - } - .navbar-inverse .nav-collapse .nav li > a { - color: #ffffff; - } - .navbar-inverse .nav-collapse .nav li > a:hover { - background-color: rgba(0, 0, 0, 0.1); - } - .navbar-inverse .nav-collapse .nav .active > a, - .navbar-inverse .nav-collapse .nav > li > a:hover, - .navbar-inverse .nav-collapse .dropdown-menu a:hover { - background-color: rgba(0, 0, 0, 0.1) !important; - } -} -div.subnav { - font-family: 'Telex', sans-serif; - text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.2); -} -div.subnav-fixed { - top: 51px; -} -.btn { - background-color: #ffffff; - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), color-stop(5%, #ffffff), to(#ffffff)); - background-image: -webkit-linear-gradient(#ffffff, #ffffff 5%, #ffffff); - background-image: -moz-linear-gradient(top, #ffffff, #ffffff 5%, #ffffff); - background-image: -o-linear-gradient(#ffffff, #ffffff 5%, #ffffff); - background-image: linear-gradient(#ffffff, #ffffff 5%, #ffffff); - background-repeat: no-repeat; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffffffff', GradientType=0); - -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05); -} -.btn:hover { - background-position: 0 0; -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #3daae9; - background-image: -moz-linear-gradient(top, #46aeea, #2fa4e7); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#46aeea), to(#2fa4e7)); - background-image: -webkit-linear-gradient(top, #46aeea, #2fa4e7); - background-image: -o-linear-gradient(top, #46aeea, #2fa4e7); - background-image: linear-gradient(to bottom, #46aeea, #2fa4e7); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff46aeea', endColorstr='#ff2fa4e7', GradientType=0); - border-color: #2fa4e7 #2fa4e7 #157ab5; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #2fa4e7; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #2fa4e7; - *background-color: #1a99e2; -} -.btn-primary:active, -.btn-primary.active { - background-color: #178acc \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #9e6ab8; - background-image: -moz-linear-gradient(top, #a271bb, #9760b3); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#a271bb), to(#9760b3)); - background-image: -webkit-linear-gradient(top, #a271bb, #9760b3); - background-image: -o-linear-gradient(top, #a271bb, #9760b3); - background-image: linear-gradient(to bottom, #a271bb, #9760b3); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffa271bb', endColorstr='#ff9760b3', GradientType=0); - border-color: #9760b3 #9760b3 #6f4086; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #9760b3; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #9760b3; - *background-color: #8b51a9; -} -.btn-info:active, -.btn-info.active { - background-color: #7d4898 \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #7bb33d; - background-image: -moz-linear-gradient(top, #80bb3f, #73a839); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#80bb3f), to(#73a839)); - background-image: -webkit-linear-gradient(top, #80bb3f, #73a839); - background-image: -o-linear-gradient(top, #80bb3f, #73a839); - background-image: linear-gradient(to bottom, #80bb3f, #73a839); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff80bb3f', endColorstr='#ff73a839', GradientType=0); - border-color: #73a839 #73a839 #4c6f26; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #73a839; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #73a839; - *background-color: #669533; -} -.btn-success:active, -.btn-success.active { - background-color: #59822c \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #ec5c00; - background-image: -moz-linear-gradient(top, #f76000, #dd5600); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f76000), to(#dd5600)); - background-image: -webkit-linear-gradient(top, #f76000, #dd5600); - background-image: -o-linear-gradient(top, #f76000, #dd5600); - background-image: linear-gradient(to bottom, #f76000, #dd5600); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff76000', endColorstr='#ffdd5600', GradientType=0); - border-color: #dd5600 #dd5600 #913800; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #dd5600; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #dd5600; - *background-color: #c44c00; -} -.btn-warning:active, -.btn-warning.active { - background-color: #aa4200 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #d41e24; - background-image: -moz-linear-gradient(top, #dd1f26, #c71c22); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dd1f26), to(#c71c22)); - background-image: -webkit-linear-gradient(top, #dd1f26, #c71c22); - background-image: -o-linear-gradient(top, #dd1f26, #c71c22); - background-image: linear-gradient(to bottom, #dd1f26, #c71c22); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd1f26', endColorstr='#ffc71c22', GradientType=0); - border-color: #c71c22 #c71c22 #841317; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #c71c22; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #c71c22; - *background-color: #b1191e; -} -.btn-danger:active, -.btn-danger.active { - background-color: #9a161a \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #034482; - background-image: -moz-linear-gradient(top, #04498c, #033c73); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#04498c), to(#033c73)); - background-image: -webkit-linear-gradient(top, #04498c, #033c73); - background-image: -o-linear-gradient(top, #04498c, #033c73); - background-image: linear-gradient(to bottom, #04498c, #033c73); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff04498c', endColorstr='#ff033c73', GradientType=0); - border-color: #033c73 #033c73 #011528; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #033c73; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #033c73; - *background-color: #022f5a; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #022241 \9; -} -i[class^="icon-"] { - opacity: 0.8; -} -#main { - margin-top: 56px; -} -.navbar-fixed-top .navbar-inner { - padding-left: 20px; - padding-right: 20px; -} -.navbar .dropdown-menu { - padding: 20px; - max-height: 300px; - overflow: auto; - width: 300px; - background-color: #033c73; -} -.navbar .dropdown-menu a, -.navbar .dropdown-menu a:visited { - color: #ffffff; -} -.navbar .dropdown-menu a:hover { - color: #ffffff; - background-color: #022c55; -} -.navbar .dropdown-menu a:active { - color: #ffffff; - background-color: #022c55; -} -.navbar .dropdown-menu a { - padding-left: 0; - padding-right: 5px; - font-weight: 500; - font-size: 115%; -} -#toc { - width: 29%; -} -#toc .sub-header { - display: block !important; -} -#toc .nav-list > li > a, -#toc .nav-list .nav-header { - margin-right: 0 !important; -} -.copyright { - font-size: 90%; - text-align: center; - color: #033c73; - width: 100%; - display: block; -} -.jsdoc-message { - font-size: 90%; - text-align: center; - color: #033c73; - width: 100%; - display: block; -} -.page-title { - font-size: 220%; - color: #033c73; - font-weight: 700; - padding-top: 10px; - display: block; -} -footer { - border-top: 1px solid #04498c; - padding-top: 15px; -} -code { - background-color: none; - border: none; - color: #dd5600; -} -.buffered-name { - padding-top: 56px; - margin-top: -56px; -} -.member-collapsed { - background-color: #033c73; - color: #ffffff; -} -.member-open { - background-color: inherit; - color: inherit; -} -.member { - -webkit-transition: background-color 0.5s linear; - -moz-transition: background-color 0.5s linear; - -o-transition: background-color 0.5s linear; - transition: background-color 0.5s linear; - -webkit-transition: color 0.5s linear; - -moz-transition: color 0.5s linear; - -o-transition: color 0.5s linear; - transition: color 0.5s linear; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 10px; -} diff --git a/docs/styles/site.flatly.css b/docs/styles/site.flatly.css deleted file mode 100644 index 5e41ff194e..0000000000 --- a/docs/styles/site.flatly.css +++ /dev/null @@ -1,5949 +0,0 @@ -@import url("//fonts.googleapis.com/css?family=Lato:400,700,900,400italic"); -/*! - * Bootstrap v2.3.1 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -.clearfix { - *zoom: 1; -} -.clearfix:before, -.clearfix:after { - display: table; - content: ""; - line-height: 0; -} -.clearfix:after { - clear: both; -} -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.input-block-level { - display: block; - width: 100%; - min-height: 31px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a:hover, -a:active { - outline: 0; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - /* Responsive images (ensure images don't scale beyond their parents) */ - - max-width: 100%; - /* Part 1: Set a maxium relative to the parent */ - - width: auto\9; - /* IE7-8 need help adjusting responsive images */ - - height: auto; - /* Part 2: Scale the height according to the width, otherwise you get stretching */ - - vertical-align: middle; - border: 0; - -ms-interpolation-mode: bicubic; -} -#map_canvas img, -.google-maps img { - max-width: none; -} -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} -button, -input { - *overflow: visible; - line-height: normal; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -label, -select, -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -input[type="radio"], -input[type="checkbox"] { - cursor: pointer; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -@media print { - * { - text-shadow: none !important; - color: #000 !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} -body { - margin: 0; - font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 15px; - line-height: 21px; - color: #2c3e50; - background-color: #ffffff; -} -a { - color: #1abc9c; - text-decoration: none; -} -a:hover, -a:focus { - color: #1dd2af; - text-decoration: underline; -} -.img-rounded { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.img-polaroid { - padding: 4px; - background-color: #fff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} -.img-circle { - -webkit-border-radius: 500px; - -moz-border-radius: 500px; - border-radius: 500px; -} -.row { - margin-left: -20px; - *zoom: 1; -} -.row:before, -.row:after { - display: table; - content: ""; - line-height: 0; -} -.row:after { - clear: both; -} -[class*="span"] { - float: left; - min-height: 1px; - margin-left: 20px; -} -.container, -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.span12 { - width: 940px; -} -.span11 { - width: 860px; -} -.span10 { - width: 780px; -} -.span9 { - width: 700px; -} -.span8 { - width: 620px; -} -.span7 { - width: 540px; -} -.span6 { - width: 460px; -} -.span5 { - width: 380px; -} -.span4 { - width: 300px; -} -.span3 { - width: 220px; -} -.span2 { - width: 140px; -} -.span1 { - width: 60px; -} -.offset12 { - margin-left: 980px; -} -.offset11 { - margin-left: 900px; -} -.offset10 { - margin-left: 820px; -} -.offset9 { - margin-left: 740px; -} -.offset8 { - margin-left: 660px; -} -.offset7 { - margin-left: 580px; -} -.offset6 { - margin-left: 500px; -} -.offset5 { - margin-left: 420px; -} -.offset4 { - margin-left: 340px; -} -.offset3 { - margin-left: 260px; -} -.offset2 { - margin-left: 180px; -} -.offset1 { - margin-left: 100px; -} -.row-fluid { - width: 100%; - *zoom: 1; -} -.row-fluid:before, -.row-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.row-fluid:after { - clear: both; -} -.row-fluid [class*="span"] { - display: block; - width: 100%; - min-height: 31px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2.127659574468085%; - *margin-left: 2.074468085106383%; -} -.row-fluid [class*="span"]:first-child { - margin-left: 0; -} -.row-fluid .controls-row [class*="span"] + [class*="span"] { - margin-left: 2.127659574468085%; -} -.row-fluid .span12 { - width: 100%; - *width: 99.94680851063829%; -} -.row-fluid .span11 { - width: 91.48936170212765%; - *width: 91.43617021276594%; -} -.row-fluid .span10 { - width: 82.97872340425532%; - *width: 82.92553191489361%; -} -.row-fluid .span9 { - width: 74.46808510638297%; - *width: 74.41489361702126%; -} -.row-fluid .span8 { - width: 65.95744680851064%; - *width: 65.90425531914893%; -} -.row-fluid .span7 { - width: 57.44680851063829%; - *width: 57.39361702127659%; -} -.row-fluid .span6 { - width: 48.93617021276595%; - *width: 48.88297872340425%; -} -.row-fluid .span5 { - width: 40.42553191489362%; - *width: 40.37234042553192%; -} -.row-fluid .span4 { - width: 31.914893617021278%; - *width: 31.861702127659576%; -} -.row-fluid .span3 { - width: 23.404255319148934%; - *width: 23.351063829787233%; -} -.row-fluid .span2 { - width: 14.893617021276595%; - *width: 14.840425531914894%; -} -.row-fluid .span1 { - width: 6.382978723404255%; - *width: 6.329787234042553%; -} -.row-fluid .offset12 { - margin-left: 104.25531914893617%; - *margin-left: 104.14893617021275%; -} -.row-fluid .offset12:first-child { - margin-left: 102.12765957446808%; - *margin-left: 102.02127659574467%; -} -.row-fluid .offset11 { - margin-left: 95.74468085106382%; - *margin-left: 95.6382978723404%; -} -.row-fluid .offset11:first-child { - margin-left: 93.61702127659574%; - *margin-left: 93.51063829787232%; -} -.row-fluid .offset10 { - margin-left: 87.23404255319149%; - *margin-left: 87.12765957446807%; -} -.row-fluid .offset10:first-child { - margin-left: 85.1063829787234%; - *margin-left: 84.99999999999999%; -} -.row-fluid .offset9 { - margin-left: 78.72340425531914%; - *margin-left: 78.61702127659572%; -} -.row-fluid .offset9:first-child { - margin-left: 76.59574468085106%; - *margin-left: 76.48936170212764%; -} -.row-fluid .offset8 { - margin-left: 70.2127659574468%; - *margin-left: 70.10638297872339%; -} -.row-fluid .offset8:first-child { - margin-left: 68.08510638297872%; - *margin-left: 67.9787234042553%; -} -.row-fluid .offset7 { - margin-left: 61.70212765957446%; - *margin-left: 61.59574468085106%; -} -.row-fluid .offset7:first-child { - margin-left: 59.574468085106375%; - *margin-left: 59.46808510638297%; -} -.row-fluid .offset6 { - margin-left: 53.191489361702125%; - *margin-left: 53.085106382978715%; -} -.row-fluid .offset6:first-child { - margin-left: 51.063829787234035%; - *margin-left: 50.95744680851063%; -} -.row-fluid .offset5 { - margin-left: 44.68085106382979%; - *margin-left: 44.57446808510638%; -} -.row-fluid .offset5:first-child { - margin-left: 42.5531914893617%; - *margin-left: 42.4468085106383%; -} -.row-fluid .offset4 { - margin-left: 36.170212765957444%; - *margin-left: 36.06382978723405%; -} -.row-fluid .offset4:first-child { - margin-left: 34.04255319148936%; - *margin-left: 33.93617021276596%; -} -.row-fluid .offset3 { - margin-left: 27.659574468085104%; - *margin-left: 27.5531914893617%; -} -.row-fluid .offset3:first-child { - margin-left: 25.53191489361702%; - *margin-left: 25.425531914893618%; -} -.row-fluid .offset2 { - margin-left: 19.148936170212764%; - *margin-left: 19.04255319148936%; -} -.row-fluid .offset2:first-child { - margin-left: 17.02127659574468%; - *margin-left: 16.914893617021278%; -} -.row-fluid .offset1 { - margin-left: 10.638297872340425%; - *margin-left: 10.53191489361702%; -} -.row-fluid .offset1:first-child { - margin-left: 8.51063829787234%; - *margin-left: 8.404255319148938%; -} -[class*="span"].hide, -.row-fluid [class*="span"].hide { - display: none; -} -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { - float: right; -} -.container { - margin-right: auto; - margin-left: auto; - *zoom: 1; -} -.container:before, -.container:after { - display: table; - content: ""; - line-height: 0; -} -.container:after { - clear: both; -} -.container-fluid { - padding-right: 20px; - padding-left: 20px; - *zoom: 1; -} -.container-fluid:before, -.container-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.container-fluid:after { - clear: both; -} -p { - margin: 0 0 10.5px; -} -.lead { - margin-bottom: 21px; - font-size: 22.5px; - font-weight: 200; - line-height: 31.5px; -} -small { - font-size: 85%; -} -strong { - font-weight: bold; -} -em { - font-style: italic; -} -cite { - font-style: normal; -} -.muted { - color: #b4bcc2; -} -a.muted:hover, -a.muted:focus { - color: #98a3ab; -} -.text-warning { - color: #e6bb0d; -} -a.text-warning:hover, -a.text-warning:focus { - color: #b6940a; -} -.text-error { - color: #e74c3c; -} -a.text-error:hover, -a.text-error:focus { - color: #d62c1a; -} -.text-info { - color: #3498db; -} -a.text-info:hover, -a.text-info:focus { - color: #217dbb; -} -.text-success { - color: #18bc9c; -} -a.text-success:hover, -a.text-success:focus { - color: #128f76; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 10.5px 0; - font-family: inherit; - font-weight: bold; - line-height: 21px; - color: inherit; - text-rendering: optimizelegibility; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - line-height: 1; - color: #b4bcc2; -} -h1, -h2, -h3 { - line-height: 42px; -} -h1 { - font-size: 41.25px; -} -h2 { - font-size: 33.75px; -} -h3 { - font-size: 26.25px; -} -h4 { - font-size: 18.75px; -} -h5 { - font-size: 15px; -} -h6 { - font-size: 12.75px; -} -h1 small { - font-size: 26.25px; -} -h2 small { - font-size: 18.75px; -} -h3 small { - font-size: 15px; -} -h4 small { - font-size: 15px; -} -.page-header { - padding-bottom: 9.5px; - margin: 21px 0 31.5px; - border-bottom: 1px solid #ecf0f1; -} -ul, -ol { - padding: 0; - margin: 0 0 10.5px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -li { - line-height: 21px; -} -ul.unstyled, -ol.unstyled { - margin-left: 0; - list-style: none; -} -ul.inline, -ol.inline { - margin-left: 0; - list-style: none; -} -ul.inline > li, -ol.inline > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding-left: 5px; - padding-right: 5px; -} -dl { - margin-bottom: 21px; -} -dt, -dd { - line-height: 21px; -} -dt { - font-weight: bold; -} -dd { - margin-left: 10.5px; -} -.dl-horizontal { - *zoom: 1; -} -.dl-horizontal:before, -.dl-horizontal:after { - display: table; - content: ""; - line-height: 0; -} -.dl-horizontal:after { - clear: both; -} -.dl-horizontal dt { - float: left; - width: 160px; - clear: left; - text-align: right; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.dl-horizontal dd { - margin-left: 180px; -} -hr { - margin: 21px 0; - border: 0; - border-top: 1px solid #ecf0f1; - border-bottom: 1px solid #ffffff; -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #b4bcc2; -} -abbr.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 0 0 0 15px; - margin: 0 0 21px; - border-left: 5px solid #ecf0f1; -} -blockquote p { - margin-bottom: 0; - font-size: 18.75px; - font-weight: 300; - line-height: 1.25; -} -blockquote small { - display: block; - line-height: 21px; - color: #b4bcc2; -} -blockquote small:before { - content: '\2014 \00A0'; -} -blockquote.pull-right { - float: right; - padding-right: 15px; - padding-left: 0; - border-right: 5px solid #ecf0f1; - border-left: 0; -} -blockquote.pull-right p, -blockquote.pull-right small { - text-align: right; -} -blockquote.pull-right small:before { - content: ''; -} -blockquote.pull-right small:after { - content: '\00A0 \2014'; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -address { - display: block; - margin-bottom: 21px; - font-style: normal; - line-height: 21px; -} -code, -pre { - padding: 0 3px 2px; - font-family: Monaco, Menlo, Consolas, "Courier New", monospace; - font-size: 13px; - color: #7b8a8b; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - padding: 2px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; - white-space: nowrap; -} -pre { - display: block; - padding: 10px; - margin: 0 0 10.5px; - font-size: 14px; - line-height: 21px; - word-break: break-all; - word-wrap: break-word; - white-space: pre; - white-space: pre-wrap; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -pre.prettyprint { - margin-bottom: 21px; -} -pre code { - padding: 0; - color: inherit; - white-space: pre; - white-space: pre-wrap; - background-color: transparent; - border: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -form { - margin: 0 0 21px; -} -fieldset { - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 21px; - font-size: 22.5px; - line-height: 42px; - color: #7b8a8b; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -legend small { - font-size: 15.75px; - color: #b4bcc2; -} -label, -input, -button, -select, -textarea { - font-size: 15px; - font-weight: normal; - line-height: 21px; -} -input, -button, -select, -textarea { - font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif; -} -label { - display: block; - margin-bottom: 5px; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 21px; - padding: 4px 6px; - margin-bottom: 10.5px; - font-size: 15px; - line-height: 21px; - color: #95a5a6; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - vertical-align: middle; -} -input, -textarea, -.uneditable-input { - width: 206px; -} -textarea { - height: auto; -} -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - background-color: #ffffff; - border: 1px solid #dce4ec; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; -} -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - *margin-top: 0; - /* IE7 */ - - margin-top: 1px \9; - /* IE8-9 */ - - line-height: normal; -} -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} -select, -input[type="file"] { - height: 31px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 31px; -} -select { - width: 220px; - border: 1px solid #dce4ec; - background-color: #ffffff; -} -select[multiple], -select[size] { - height: auto; -} -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.uneditable-input, -.uneditable-textarea { - color: #b4bcc2; - background-color: #fcfcfc; - border-color: #dce4ec; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -.uneditable-input { - overflow: hidden; - white-space: nowrap; -} -.uneditable-textarea { - width: auto; - height: auto; -} -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #b4bcc2; -} -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #b4bcc2; -} -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #b4bcc2; -} -.radio, -.checkbox { - min-height: 21px; - padding-left: 20px; -} -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -20px; -} -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; -} -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; -} -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; -} -.input-mini { - width: 60px; -} -.input-small { - width: 90px; -} -.input-medium { - width: 150px; -} -.input-large { - width: 210px; -} -.input-xlarge { - width: 270px; -} -.input-xxlarge { - width: 530px; -} -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; -} -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; -} -input, -textarea, -.uneditable-input { - margin-left: 0; -} -.controls-row [class*="span"] + [class*="span"] { - margin-left: 20px; -} -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 926px; -} -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 846px; -} -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 766px; -} -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 686px; -} -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 606px; -} -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 526px; -} -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 446px; -} -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 366px; -} -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 286px; -} -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 206px; -} -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 126px; -} -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 46px; -} -.controls-row { - *zoom: 1; -} -.controls-row:before, -.controls-row:after { - display: table; - content: ""; - line-height: 0; -} -.controls-row:after { - clear: both; -} -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { - float: left; -} -.controls-row .checkbox[class*="span"], -.controls-row .radio[class*="span"] { - padding-top: 5px; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #eaeded; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #e6bb0d; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #e6bb0d; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #e6bb0d; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #b6940a; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f6d963; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f6d963; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f6d963; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #e6bb0d; - background-color: #f7f3e1; - border-color: #e6bb0d; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #e74c3c; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #e74c3c; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #e74c3c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #d62c1a; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f29f97; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f29f97; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f29f97; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #e74c3c; - background-color: #ffffff; - border-color: #e74c3c; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #18bc9c; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #18bc9c; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #18bc9c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #128f76; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #51e9cb; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #51e9cb; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #51e9cb; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #18bc9c; - background-color: #cdede7; - border-color: #18bc9c; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #3498db; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #3498db; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #3498db; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #217dbb; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #8bc4ea; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #8bc4ea; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #8bc4ea; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #3498db; - background-color: #f1f6f9; - border-color: #3498db; -} -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { - color: #b94a48; - border-color: #ee5f5b; -} -input:focus:invalid:focus, -textarea:focus:invalid:focus, -select:focus:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -.form-actions { - padding: 20px 20px 21px; - margin-top: 21px; - margin-bottom: 21px; - background-color: #f5f5f5; - border-top: 1px solid #e5e5e5; - *zoom: 1; -} -.form-actions:before, -.form-actions:after { - display: table; - content: ""; - line-height: 0; -} -.form-actions:after { - clear: both; -} -.help-block, -.help-inline { - color: #476481; -} -.help-block { - display: block; - margin-bottom: 10.5px; -} -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - vertical-align: middle; - padding-left: 5px; -} -.input-append, -.input-prepend { - display: inline-block; - margin-bottom: 10.5px; - vertical-align: middle; - font-size: 0; - white-space: nowrap; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input, -.input-append .dropdown-menu, -.input-prepend .dropdown-menu, -.input-append .popover, -.input-prepend .popover { - font-size: 15px; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input { - position: relative; - margin-bottom: 0; - *margin-left: 0; - vertical-align: top; - -webkit-border-radius: 0 6px 6px 0; - -moz-border-radius: 0 6px 6px 0; - border-radius: 0 6px 6px 0; -} -.input-append input:focus, -.input-prepend input:focus, -.input-append select:focus, -.input-prepend select:focus, -.input-append .uneditable-input:focus, -.input-prepend .uneditable-input:focus { - z-index: 2; -} -.input-append .add-on, -.input-prepend .add-on { - display: inline-block; - width: auto; - height: 21px; - min-width: 16px; - padding: 4px 5px; - font-size: 15px; - font-weight: normal; - line-height: 21px; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - background-color: #ecf0f1; - border: 1px solid #ccc; -} -.input-append .add-on, -.input-prepend .add-on, -.input-append .btn, -.input-prepend .btn, -.input-append .btn-group > .dropdown-toggle, -.input-prepend .btn-group > .dropdown-toggle { - vertical-align: top; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-append .active, -.input-prepend .active { - background-color: #7eefd9; - border-color: #18bc9c; -} -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; -} -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 6px 0 0 6px; - -moz-border-radius: 6px 0 0 6px; - border-radius: 6px 0 0 6px; -} -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 6px 0 0 6px; - -moz-border-radius: 6px 0 0 6px; - border-radius: 6px 0 0 6px; -} -.input-append input + .btn-group .btn:last-child, -.input-append select + .btn-group .btn:last-child, -.input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 6px 6px 0; - -moz-border-radius: 0 6px 6px 0; - border-radius: 0 6px 6px 0; -} -.input-append .add-on, -.input-append .btn, -.input-append .btn-group { - margin-left: -1px; -} -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 6px 6px 0; - -moz-border-radius: 0 6px 6px 0; - border-radius: 0 6px 6px 0; -} -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-prepend.input-append input + .btn-group .btn, -.input-prepend.input-append select + .btn-group .btn, -.input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 6px 6px 0; - -moz-border-radius: 0 6px 6px 0; - border-radius: 0 6px 6px 0; -} -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 6px 0 0 6px; - -moz-border-radius: 6px 0 0 6px; - border-radius: 6px 0 0 6px; -} -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 0; - -moz-border-radius: 0 6px 6px 0; - border-radius: 0 6px 6px 0; -} -.input-prepend.input-append .btn-group:first-child { - margin-left: 0; -} -input.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - - margin-bottom: 0; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -/* Allow for input prepend/append in search forms */ -.form-search .input-append .search-query, -.form-search .input-prepend .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.form-search .input-append .search-query { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search .input-append .btn { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .search-query { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .btn { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input, -.form-search .input-prepend, -.form-inline .input-prepend, -.form-horizontal .input-prepend, -.form-search .input-append, -.form-inline .input-append, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; -} -.form-search label, -.form-inline label, -.form-search .btn-group, -.form-inline .btn-group { - display: inline-block; -} -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; -} -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; -} -.control-group { - margin-bottom: 10.5px; -} -legend + .control-group { - margin-top: 21px; - -webkit-margin-top-collapse: separate; -} -.form-horizontal .control-group { - margin-bottom: 21px; - *zoom: 1; -} -.form-horizontal .control-group:before, -.form-horizontal .control-group:after { - display: table; - content: ""; - line-height: 0; -} -.form-horizontal .control-group:after { - clear: both; -} -.form-horizontal .control-label { - float: left; - width: 160px; - padding-top: 5px; - text-align: right; -} -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 180px; - *margin-left: 0; -} -.form-horizontal .controls:first-child { - *padding-left: 180px; -} -.form-horizontal .help-block { - margin-bottom: 0; -} -.form-horizontal input + .help-block, -.form-horizontal select + .help-block, -.form-horizontal textarea + .help-block, -.form-horizontal .uneditable-input + .help-block, -.form-horizontal .input-prepend + .help-block, -.form-horizontal .input-append + .help-block { - margin-top: 10.5px; -} -.form-horizontal .form-actions { - padding-left: 180px; -} -table { - max-width: 100%; - background-color: transparent; - border-collapse: collapse; - border-spacing: 0; -} -.table { - width: 100%; - margin-bottom: 21px; -} -.table th, -.table td { - padding: 8px; - line-height: 21px; - text-align: left; - vertical-align: top; - border-top: 1px solid #dddddd; -} -.table th { - font-weight: bold; -} -.table thead th { - vertical-align: bottom; -} -.table caption + thead tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child th, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child th, -.table thead:first-child tr:first-child td { - border-top: 0; -} -.table tbody + tbody { - border-top: 2px solid #dddddd; -} -.table .table { - background-color: #ffffff; -} -.table-condensed th, -.table-condensed td { - padding: 4px 5px; -} -.table-bordered { - border: 1px solid #dddddd; - border-collapse: separate; - *border-collapse: collapse; - border-left: 0; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.table-bordered th, -.table-bordered td { - border-left: 1px solid #dddddd; -} -.table-bordered caption + thead tr:first-child th, -.table-bordered caption + tbody tr:first-child th, -.table-bordered caption + tbody tr:first-child td, -.table-bordered colgroup + thead tr:first-child th, -.table-bordered colgroup + tbody tr:first-child th, -.table-bordered colgroup + tbody tr:first-child td, -.table-bordered thead:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} -.table-bordered thead:first-child tr:first-child > th:first-child, -.table-bordered tbody:first-child tr:first-child > td:first-child, -.table-bordered tbody:first-child tr:first-child > th:first-child { - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; -} -.table-bordered thead:first-child tr:first-child > th:last-child, -.table-bordered tbody:first-child tr:first-child > td:last-child, -.table-bordered tbody:first-child tr:first-child > th:last-child { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; -} -.table-bordered thead:last-child tr:last-child > th:first-child, -.table-bordered tbody:last-child tr:last-child > td:first-child, -.table-bordered tbody:last-child tr:last-child > th:first-child, -.table-bordered tfoot:last-child tr:last-child > td:first-child, -.table-bordered tfoot:last-child tr:last-child > th:first-child { - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.table-bordered thead:last-child tr:last-child > th:last-child, -.table-bordered tbody:last-child tr:last-child > td:last-child, -.table-bordered tbody:last-child tr:last-child > th:last-child, -.table-bordered tfoot:last-child tr:last-child > td:last-child, -.table-bordered tfoot:last-child tr:last-child > th:last-child { - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered caption + thead tr:first-child th:first-child, -.table-bordered caption + tbody tr:first-child td:first-child, -.table-bordered colgroup + thead tr:first-child th:first-child, -.table-bordered colgroup + tbody tr:first-child td:first-child { - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; -} -.table-bordered caption + thead tr:first-child th:last-child, -.table-bordered caption + tbody tr:first-child td:last-child, -.table-bordered colgroup + thead tr:first-child th:last-child, -.table-bordered colgroup + tbody tr:first-child td:last-child { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; -} -.table-striped tbody > tr:nth-child(odd) > td, -.table-striped tbody > tr:nth-child(odd) > th { - background-color: #f9f9f9; -} -.table-hover tbody tr:hover > td, -.table-hover tbody tr:hover > th { - background-color: #f5f5f5; -} -table td[class*="span"], -table th[class*="span"], -.row-fluid table td[class*="span"], -.row-fluid table th[class*="span"] { - display: table-cell; - float: none; - margin-left: 0; -} -.table td.span1, -.table th.span1 { - float: none; - width: 44px; - margin-left: 0; -} -.table td.span2, -.table th.span2 { - float: none; - width: 124px; - margin-left: 0; -} -.table td.span3, -.table th.span3 { - float: none; - width: 204px; - margin-left: 0; -} -.table td.span4, -.table th.span4 { - float: none; - width: 284px; - margin-left: 0; -} -.table td.span5, -.table th.span5 { - float: none; - width: 364px; - margin-left: 0; -} -.table td.span6, -.table th.span6 { - float: none; - width: 444px; - margin-left: 0; -} -.table td.span7, -.table th.span7 { - float: none; - width: 524px; - margin-left: 0; -} -.table td.span8, -.table th.span8 { - float: none; - width: 604px; - margin-left: 0; -} -.table td.span9, -.table th.span9 { - float: none; - width: 684px; - margin-left: 0; -} -.table td.span10, -.table th.span10 { - float: none; - width: 764px; - margin-left: 0; -} -.table td.span11, -.table th.span11 { - float: none; - width: 844px; - margin-left: 0; -} -.table td.span12, -.table th.span12 { - float: none; - width: 924px; - margin-left: 0; -} -.table tbody tr.success > td { - background-color: #cdede7; -} -.table tbody tr.error > td { - background-color: #ffffff; -} -.table tbody tr.warning > td { - background-color: #f7f3e1; -} -.table tbody tr.info > td { - background-color: #f1f6f9; -} -.table-hover tbody tr.success:hover > td { - background-color: #bae6de; -} -.table-hover tbody tr.error:hover > td { - background-color: #f2f2f2; -} -.table-hover tbody tr.warning:hover > td { - background-color: #f2ebcd; -} -.table-hover tbody tr.info:hover > td { - background-color: #dfeaf1; -} -[class^="icon-"], -[class*=" icon-"] { - display: inline-block; - width: 14px; - height: 14px; - *margin-right: .3em; - line-height: 14px; - vertical-align: text-top; - background-image: url("../img/glyphicons-halflings.png"); - background-position: 14px 14px; - background-repeat: no-repeat; - margin-top: 1px; -} -/* White icons with optional class, or on hover/focus/active states of certain elements */ -.icon-white, -.nav-pills > .active > a > [class^="icon-"], -.nav-pills > .active > a > [class*=" icon-"], -.nav-list > .active > a > [class^="icon-"], -.nav-list > .active > a > [class*=" icon-"], -.navbar-inverse .nav > .active > a > [class^="icon-"], -.navbar-inverse .nav > .active > a > [class*=" icon-"], -.dropdown-menu > li > a:hover > [class^="icon-"], -.dropdown-menu > li > a:focus > [class^="icon-"], -.dropdown-menu > li > a:hover > [class*=" icon-"], -.dropdown-menu > li > a:focus > [class*=" icon-"], -.dropdown-menu > .active > a > [class^="icon-"], -.dropdown-menu > .active > a > [class*=" icon-"], -.dropdown-submenu:hover > a > [class^="icon-"], -.dropdown-submenu:focus > a > [class^="icon-"], -.dropdown-submenu:hover > a > [class*=" icon-"], -.dropdown-submenu:focus > a > [class*=" icon-"] { - background-image: url("../img/glyphicons-halflings-white.png"); -} -.icon-glass { - background-position: 0 0; -} -.icon-music { - background-position: -24px 0; -} -.icon-search { - background-position: -48px 0; -} -.icon-envelope { - background-position: -72px 0; -} -.icon-heart { - background-position: -96px 0; -} -.icon-star { - background-position: -120px 0; -} -.icon-star-empty { - background-position: -144px 0; -} -.icon-user { - background-position: -168px 0; -} -.icon-film { - background-position: -192px 0; -} -.icon-th-large { - background-position: -216px 0; -} -.icon-th { - background-position: -240px 0; -} -.icon-th-list { - background-position: -264px 0; -} -.icon-ok { - background-position: -288px 0; -} -.icon-remove { - background-position: -312px 0; -} -.icon-zoom-in { - background-position: -336px 0; -} -.icon-zoom-out { - background-position: -360px 0; -} -.icon-off { - background-position: -384px 0; -} -.icon-signal { - background-position: -408px 0; -} -.icon-cog { - background-position: -432px 0; -} -.icon-trash { - background-position: -456px 0; -} -.icon-home { - background-position: 0 -24px; -} -.icon-file { - background-position: -24px -24px; -} -.icon-time { - background-position: -48px -24px; -} -.icon-road { - background-position: -72px -24px; -} -.icon-download-alt { - background-position: -96px -24px; -} -.icon-download { - background-position: -120px -24px; -} -.icon-upload { - background-position: -144px -24px; -} -.icon-inbox { - background-position: -168px -24px; -} -.icon-play-circle { - background-position: -192px -24px; -} -.icon-repeat { - background-position: -216px -24px; -} -.icon-refresh { - background-position: -240px -24px; -} -.icon-list-alt { - background-position: -264px -24px; -} -.icon-lock { - background-position: -287px -24px; -} -.icon-flag { - background-position: -312px -24px; -} -.icon-headphones { - background-position: -336px -24px; -} -.icon-volume-off { - background-position: -360px -24px; -} -.icon-volume-down { - background-position: -384px -24px; -} -.icon-volume-up { - background-position: -408px -24px; -} -.icon-qrcode { - background-position: -432px -24px; -} -.icon-barcode { - background-position: -456px -24px; -} -.icon-tag { - background-position: 0 -48px; -} -.icon-tags { - background-position: -25px -48px; -} -.icon-book { - background-position: -48px -48px; -} -.icon-bookmark { - background-position: -72px -48px; -} -.icon-print { - background-position: -96px -48px; -} -.icon-camera { - background-position: -120px -48px; -} -.icon-font { - background-position: -144px -48px; -} -.icon-bold { - background-position: -167px -48px; -} -.icon-italic { - background-position: -192px -48px; -} -.icon-text-height { - background-position: -216px -48px; -} -.icon-text-width { - background-position: -240px -48px; -} -.icon-align-left { - background-position: -264px -48px; -} -.icon-align-center { - background-position: -288px -48px; -} -.icon-align-right { - background-position: -312px -48px; -} -.icon-align-justify { - background-position: -336px -48px; -} -.icon-list { - background-position: -360px -48px; -} -.icon-indent-left { - background-position: -384px -48px; -} -.icon-indent-right { - background-position: -408px -48px; -} -.icon-facetime-video { - background-position: -432px -48px; -} -.icon-picture { - background-position: -456px -48px; -} -.icon-pencil { - background-position: 0 -72px; -} -.icon-map-marker { - background-position: -24px -72px; -} -.icon-adjust { - background-position: -48px -72px; -} -.icon-tint { - background-position: -72px -72px; -} -.icon-edit { - background-position: -96px -72px; -} -.icon-share { - background-position: -120px -72px; -} -.icon-check { - background-position: -144px -72px; -} -.icon-move { - background-position: -168px -72px; -} -.icon-step-backward { - background-position: -192px -72px; -} -.icon-fast-backward { - background-position: -216px -72px; -} -.icon-backward { - background-position: -240px -72px; -} -.icon-play { - background-position: -264px -72px; -} -.icon-pause { - background-position: -288px -72px; -} -.icon-stop { - background-position: -312px -72px; -} -.icon-forward { - background-position: -336px -72px; -} -.icon-fast-forward { - background-position: -360px -72px; -} -.icon-step-forward { - background-position: -384px -72px; -} -.icon-eject { - background-position: -408px -72px; -} -.icon-chevron-left { - background-position: -432px -72px; -} -.icon-chevron-right { - background-position: -456px -72px; -} -.icon-plus-sign { - background-position: 0 -96px; -} -.icon-minus-sign { - background-position: -24px -96px; -} -.icon-remove-sign { - background-position: -48px -96px; -} -.icon-ok-sign { - background-position: -72px -96px; -} -.icon-question-sign { - background-position: -96px -96px; -} -.icon-info-sign { - background-position: -120px -96px; -} -.icon-screenshot { - background-position: -144px -96px; -} -.icon-remove-circle { - background-position: -168px -96px; -} -.icon-ok-circle { - background-position: -192px -96px; -} -.icon-ban-circle { - background-position: -216px -96px; -} -.icon-arrow-left { - background-position: -240px -96px; -} -.icon-arrow-right { - background-position: -264px -96px; -} -.icon-arrow-up { - background-position: -289px -96px; -} -.icon-arrow-down { - background-position: -312px -96px; -} -.icon-share-alt { - background-position: -336px -96px; -} -.icon-resize-full { - background-position: -360px -96px; -} -.icon-resize-small { - background-position: -384px -96px; -} -.icon-plus { - background-position: -408px -96px; -} -.icon-minus { - background-position: -433px -96px; -} -.icon-asterisk { - background-position: -456px -96px; -} -.icon-exclamation-sign { - background-position: 0 -120px; -} -.icon-gift { - background-position: -24px -120px; -} -.icon-leaf { - background-position: -48px -120px; -} -.icon-fire { - background-position: -72px -120px; -} -.icon-eye-open { - background-position: -96px -120px; -} -.icon-eye-close { - background-position: -120px -120px; -} -.icon-warning-sign { - background-position: -144px -120px; -} -.icon-plane { - background-position: -168px -120px; -} -.icon-calendar { - background-position: -192px -120px; -} -.icon-random { - background-position: -216px -120px; - width: 16px; -} -.icon-comment { - background-position: -240px -120px; -} -.icon-magnet { - background-position: -264px -120px; -} -.icon-chevron-up { - background-position: -288px -120px; -} -.icon-chevron-down { - background-position: -313px -119px; -} -.icon-retweet { - background-position: -336px -120px; -} -.icon-shopping-cart { - background-position: -360px -120px; -} -.icon-folder-close { - background-position: -384px -120px; - width: 16px; -} -.icon-folder-open { - background-position: -408px -120px; - width: 16px; -} -.icon-resize-vertical { - background-position: -432px -119px; -} -.icon-resize-horizontal { - background-position: -456px -118px; -} -.icon-hdd { - background-position: 0 -144px; -} -.icon-bullhorn { - background-position: -24px -144px; -} -.icon-bell { - background-position: -48px -144px; -} -.icon-certificate { - background-position: -72px -144px; -} -.icon-thumbs-up { - background-position: -96px -144px; -} -.icon-thumbs-down { - background-position: -120px -144px; -} -.icon-hand-right { - background-position: -144px -144px; -} -.icon-hand-left { - background-position: -168px -144px; -} -.icon-hand-up { - background-position: -192px -144px; -} -.icon-hand-down { - background-position: -216px -144px; -} -.icon-circle-arrow-right { - background-position: -240px -144px; -} -.icon-circle-arrow-left { - background-position: -264px -144px; -} -.icon-circle-arrow-up { - background-position: -288px -144px; -} -.icon-circle-arrow-down { - background-position: -312px -144px; -} -.icon-globe { - background-position: -336px -144px; -} -.icon-wrench { - background-position: -360px -144px; -} -.icon-tasks { - background-position: -384px -144px; -} -.icon-filter { - background-position: -408px -144px; -} -.icon-briefcase { - background-position: -432px -144px; -} -.icon-fullscreen { - background-position: -456px -144px; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle { - *margin-bottom: -3px; -} -.dropdown-toggle:active, -.open .dropdown-toggle { - outline: 0; -} -.caret { - display: inline-block; - width: 0; - height: 0; - vertical-align: top; - border-top: 4px solid #000000; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - content: ""; -} -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - background-color: #2c3e50; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0); - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 9.5px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: rgba(0, 0, 0, 0.2); - border-bottom: 1px solid rgba(0, 0, 0, 0.2); -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 21px; - color: #ffffff; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, -.dropdown-submenu:hover > a, -.dropdown-submenu:focus > a { - text-decoration: none; - color: #ffffff; - background-color: #17b394; - background-image: -moz-linear-gradient(top, #18bc9c, #15a589); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#18bc9c), to(#15a589)); - background-image: -webkit-linear-gradient(top, #18bc9c, #15a589); - background-image: -o-linear-gradient(top, #18bc9c, #15a589); - background-image: linear-gradient(to bottom, #18bc9c, #15a589); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff18bc9c', endColorstr='#ff15a589', GradientType=0); -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #ffffff; - text-decoration: none; - outline: 0; - background-color: #17b394; - background-image: -moz-linear-gradient(top, #18bc9c, #15a589); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#18bc9c), to(#15a589)); - background-image: -webkit-linear-gradient(top, #18bc9c, #15a589); - background-image: -o-linear-gradient(top, #18bc9c, #15a589); - background-image: linear-gradient(to bottom, #18bc9c, #15a589); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff18bc9c', endColorstr='#ff15a589', GradientType=0); -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #b4bcc2; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: default; -} -.open { - *z-index: 1000; -} -.open > .dropdown-menu { - display: block; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: ""; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -.dropdown-submenu { - position: relative; -} -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; - -webkit-border-radius: 5px 5px 5px 0; - -moz-border-radius: 5px 5px 5px 0; - border-radius: 5px 5px 5px 0; -} -.dropdown-submenu > a:after { - display: block; - content: " "; - float: right; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 5px 0 5px 5px; - border-left-color: #080b0e; - margin-top: 5px; - margin-right: -10px; -} -.dropdown-submenu:hover > a:after { - border-left-color: #ffffff; -} -.dropdown-submenu.pull-left { - float: none; -} -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.dropdown .dropdown-menu .nav-header { - padding-left: 20px; - padding-right: 20px; -} -.typeahead { - z-index: 1051; - margin-top: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #ecf0f1; - border: 1px solid #d7e0e2; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} -.well-large { - padding: 24px; - -webkit-border-radius: 10px; - -moz-border-radius: 10px; - border-radius: 10px; -} -.well-small { - padding: 9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; -} -.collapse.in { - height: auto; -} -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 21px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover, -.close:focus { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} -.btn { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding: 4px 12px; - margin-bottom: 0; - font-size: 15px; - line-height: 21px; - text-align: center; - vertical-align: middle; - cursor: pointer; - color: #7b8a8b; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #bfc6cb; - background-image: -moz-linear-gradient(top, #b4bcc2, #d0d5d9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b4bcc2), to(#d0d5d9)); - background-image: -webkit-linear-gradient(top, #b4bcc2, #d0d5d9); - background-image: -o-linear-gradient(top, #b4bcc2, #d0d5d9); - background-image: linear-gradient(to bottom, #b4bcc2, #d0d5d9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb4bcc2', endColorstr='#ffd0d5d9', GradientType=0); - border-color: #d0d5d9 #d0d5d9 #a6afb7; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #d0d5d9; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - border: 1px solid #dddddd; - *border: 0; - border-bottom-color: #c4c4c4; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - *margin-left: .3em; - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #7b8a8b; - background-color: #d0d5d9; - *background-color: #c2c9cd; -} -.btn:active, -.btn.active { - background-color: #b4bcc2 \9; -} -.btn:first-child { - *margin-left: 0; -} -.btn:hover, -.btn:focus { - color: #7b8a8b; - text-decoration: none; - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -.btn:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn.active, -.btn:active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn.disabled, -.btn[disabled] { - cursor: default; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-large { - padding: 18px 36px; - font-size: 18.75px; - -webkit-border-radius: 10px; - -moz-border-radius: 10px; - border-radius: 10px; -} -.btn-large [class^="icon-"], -.btn-large [class*=" icon-"] { - margin-top: 4px; -} -.btn-small { - padding: 2px 12px; - font-size: 12.75px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-small [class^="icon-"], -.btn-small [class*=" icon-"] { - margin-top: 0; -} -.btn-mini [class^="icon-"], -.btn-mini [class*=" icon-"] { - margin-top: -1px; -} -.btn-mini { - padding: 1px 8px; - font-size: 11.25px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; - padding-left: 0; - padding-right: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active, -.btn-inverse.active { - color: rgba(255, 255, 255, 0.75); -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #33485d; - background-image: -moz-linear-gradient(top, #2c3e50, #3e5771); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2c3e50), to(#3e5771)); - background-image: -webkit-linear-gradient(top, #2c3e50, #3e5771); - background-image: -o-linear-gradient(top, #2c3e50, #3e5771); - background-image: linear-gradient(to bottom, #2c3e50, #3e5771); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2c3e50', endColorstr='#ff3e5771', GradientType=0); - border-color: #3e5771 #3e5771 #233140; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #3e5771; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #3e5771; - *background-color: #354b60; -} -.btn-primary:active, -.btn-primary.active { - background-color: #2c3e50 \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #f4a425; - background-image: -moz-linear-gradient(top, #f39c12, #f5b043); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f39c12), to(#f5b043)); - background-image: -webkit-linear-gradient(top, #f39c12, #f5b043); - background-image: -o-linear-gradient(top, #f39c12, #f5b043); - background-image: linear-gradient(to bottom, #f39c12, #f5b043); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff39c12', endColorstr='#fff5b043', GradientType=0); - border-color: #f5b043 #f5b043 #e08e0b; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #f5b043; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #f5b043; - *background-color: #f4a62a; -} -.btn-warning:active, -.btn-warning.active { - background-color: #f39c12 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #e95d4e; - background-image: -moz-linear-gradient(top, #e74c3c, #ed7669); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e74c3c), to(#ed7669)); - background-image: -webkit-linear-gradient(top, #e74c3c, #ed7669); - background-image: -o-linear-gradient(top, #e74c3c, #ed7669); - background-image: linear-gradient(to bottom, #e74c3c, #ed7669); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe74c3c', endColorstr='#ffed7669', GradientType=0); - border-color: #ed7669 #ed7669 #e43725; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #ed7669; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #ed7669; - *background-color: #ea6153; -} -.btn-danger:active, -.btn-danger.active { - background-color: #e74c3c \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #1dccaa; - background-image: -moz-linear-gradient(top, #18bc9c, #24e3be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#18bc9c), to(#24e3be)); - background-image: -webkit-linear-gradient(top, #18bc9c, #24e3be); - background-image: -o-linear-gradient(top, #18bc9c, #24e3be); - background-image: linear-gradient(to bottom, #18bc9c, #24e3be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff18bc9c', endColorstr='#ff24e3be', GradientType=0); - border-color: #24e3be #24e3be #15a589; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #24e3be; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #24e3be; - *background-color: #1bd3af; -} -.btn-success:active, -.btn-success.active { - background-color: #18bc9c \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #45a1de; - background-image: -moz-linear-gradient(top, #3498db, #5faee3); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3498db), to(#5faee3)); - background-image: -webkit-linear-gradient(top, #3498db, #5faee3); - background-image: -o-linear-gradient(top, #3498db, #5faee3); - background-image: linear-gradient(to bottom, #3498db, #5faee3); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3498db', endColorstr='#ff5faee3', GradientType=0); - border-color: #5faee3 #5faee3 #258cd1; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #5faee3; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #5faee3; - *background-color: #4aa3df; -} -.btn-info:active, -.btn-info.active { - background-color: #3498db \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #2c2c2c; - background-image: -moz-linear-gradient(top, #222222, #3c3c3c); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#3c3c3c)); - background-image: -webkit-linear-gradient(top, #222222, #3c3c3c); - background-image: -o-linear-gradient(top, #222222, #3c3c3c); - background-image: linear-gradient(to bottom, #222222, #3c3c3c); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff3c3c3c', GradientType=0); - border-color: #3c3c3c #3c3c3c #151515; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #3c3c3c; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #3c3c3c; - *background-color: #2f2f2f; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #222222 \9; -} -button.btn, -input[type="submit"].btn { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn::-moz-focus-inner, -input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} -button.btn.btn-large, -input[type="submit"].btn.btn-large { - *padding-top: 7px; - *padding-bottom: 7px; -} -button.btn.btn-small, -input[type="submit"].btn.btn-small { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn.btn-mini, -input[type="submit"].btn.btn-mini { - *padding-top: 1px; - *padding-bottom: 1px; -} -.btn-link, -.btn-link:active, -.btn-link[disabled] { - background-color: transparent; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-link { - border-color: transparent; - cursor: pointer; - color: #1abc9c; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-link:hover, -.btn-link:focus { - color: #1dd2af; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -.btn-link[disabled]:focus { - color: #7b8a8b; - text-decoration: none; -} -.btn-group { - position: relative; - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - font-size: 0; - vertical-align: middle; - white-space: nowrap; - *margin-left: .3em; -} -.btn-group:first-child { - *margin-left: 0; -} -.btn-group + .btn-group { - margin-left: 5px; -} -.btn-toolbar { - font-size: 0; - margin-top: 10.5px; - margin-bottom: 10.5px; -} -.btn-toolbar > .btn + .btn, -.btn-toolbar > .btn-group + .btn, -.btn-toolbar > .btn + .btn-group { - margin-left: 5px; -} -.btn-group > .btn { - position: relative; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group > .btn + .btn { - margin-left: -1px; -} -.btn-group > .btn, -.btn-group > .dropdown-menu, -.btn-group > .popover { - font-size: 15px; -} -.btn-group > .btn-mini { - font-size: 11.25px; -} -.btn-group > .btn-small { - font-size: 12.75px; -} -.btn-group > .btn-large { - font-size: 18.75px; -} -.btn-group > .btn:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.btn-group > .btn.large:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 10px; - -moz-border-radius-topleft: 10px; - border-top-left-radius: 10px; - -webkit-border-bottom-left-radius: 10px; - -moz-border-radius-bottomleft: 10px; - border-bottom-left-radius: 10px; -} -.btn-group > .btn.large:last-child, -.btn-group > .large.dropdown-toggle { - -webkit-border-top-right-radius: 10px; - -moz-border-radius-topright: 10px; - border-top-right-radius: 10px; - -webkit-border-bottom-right-radius: 10px; - -moz-border-radius-bottomright: 10px; - border-bottom-right-radius: 10px; -} -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - *padding-top: 5px; - *padding-bottom: 5px; -} -.btn-group > .btn-mini + .dropdown-toggle { - padding-left: 5px; - padding-right: 5px; - *padding-top: 2px; - *padding-bottom: 2px; -} -.btn-group > .btn-small + .dropdown-toggle { - *padding-top: 5px; - *padding-bottom: 4px; -} -.btn-group > .btn-large + .dropdown-toggle { - padding-left: 12px; - padding-right: 12px; - *padding-top: 7px; - *padding-bottom: 7px; -} -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn-group.open .btn.dropdown-toggle { - background-color: #d0d5d9; -} -.btn-group.open .btn-primary.dropdown-toggle { - background-color: #3e5771; -} -.btn-group.open .btn-warning.dropdown-toggle { - background-color: #f5b043; -} -.btn-group.open .btn-danger.dropdown-toggle { - background-color: #ed7669; -} -.btn-group.open .btn-success.dropdown-toggle { - background-color: #24e3be; -} -.btn-group.open .btn-info.dropdown-toggle { - background-color: #5faee3; -} -.btn-group.open .btn-inverse.dropdown-toggle { - background-color: #3c3c3c; -} -.btn .caret { - margin-top: 8px; - margin-left: 0; -} -.btn-large .caret { - margin-top: 6px; -} -.btn-large .caret { - border-left-width: 5px; - border-right-width: 5px; - border-top-width: 5px; -} -.btn-mini .caret, -.btn-small .caret { - margin-top: 8px; -} -.dropup .btn-large .caret { - border-bottom-width: 5px; -} -.btn-primary .caret, -.btn-warning .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret, -.btn-inverse .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.btn-group-vertical { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} -.btn-group-vertical > .btn { - display: block; - float: none; - max-width: 100%; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group-vertical > .btn + .btn { - margin-left: 0; - margin-top: -1px; -} -.btn-group-vertical > .btn:first-child { - -webkit-border-radius: 6px 6px 0 0; - -moz-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; -} -.btn-group-vertical > .btn:last-child { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.btn-group-vertical > .btn-large:first-child { - -webkit-border-radius: 10px 10px 0 0; - -moz-border-radius: 10px 10px 0 0; - border-radius: 10px 10px 0 0; -} -.btn-group-vertical > .btn-large:last-child { - -webkit-border-radius: 0 0 10px 10px; - -moz-border-radius: 0 0 10px 10px; - border-radius: 0 0 10px 10px; -} -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 21px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #f7f3e1; - border: 1px solid transparent; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.alert, -.alert h4 { - color: #e6bb0d; -} -.alert h4 { - margin: 0; -} -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 21px; -} -.alert-success { - background-color: #cdede7; - border-color: transparent; - color: #18bc9c; -} -.alert-success h4 { - color: #18bc9c; -} -.alert-danger, -.alert-error { - background-color: #ffffff; - border-color: transparent; - color: #e74c3c; -} -.alert-danger h4, -.alert-error h4 { - color: #e74c3c; -} -.alert-info { - background-color: #f1f6f9; - border-color: transparent; - color: #3498db; -} -.alert-info h4 { - color: #3498db; -} -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; -} -.alert-block p + p { - margin-top: 5px; -} -.nav { - margin-left: 0; - margin-bottom: 21px; - list-style: none; -} -.nav > li > a { - display: block; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #ecf0f1; -} -.nav > li > a > img { - max-width: none; -} -.nav > .pull-right { - float: right; -} -.nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 21px; - color: #b4bcc2; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} -.nav li + .nav-header { - margin-top: 9px; -} -.nav-list { - padding-left: 15px; - padding-right: 15px; - margin-bottom: 0; -} -.nav-list > li > a, -.nav-list .nav-header { - margin-left: -15px; - margin-right: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.nav-list > li > a { - padding: 3px 15px; -} -.nav-list > .active > a, -.nav-list > .active > a:hover, -.nav-list > .active > a:focus { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #1abc9c; -} -.nav-list [class^="icon-"], -.nav-list [class*=" icon-"] { - margin-right: 2px; -} -.nav-list .divider { - *width: 100%; - height: 1px; - margin: 9.5px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.nav-tabs, -.nav-pills { - *zoom: 1; -} -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; - line-height: 0; -} -.nav-tabs:after, -.nav-pills:after { - clear: both; -} -.nav-tabs > li, -.nav-pills > li { - float: left; -} -.nav-tabs > li > a, -.nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - margin-bottom: -1px; -} -.nav-tabs > li > a { - padding-top: 8px; - padding-bottom: 8px; - line-height: 21px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover, -.nav-tabs > li > a:focus { - border-color: #ecf0f1 #ecf0f1 #dddddd; -} -.nav-tabs > .active > a, -.nav-tabs > .active > a:hover, -.nav-tabs > .active > a:focus { - color: #95a5a6; - background-color: #ffffff; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.nav-pills > .active > a, -.nav-pills > .active > a:hover, -.nav-pills > .active > a:focus { - color: #ffffff; - background-color: #1abc9c; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li > a { - margin-right: 0; -} -.nav-tabs.nav-stacked { - border-bottom: 0; -} -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.nav-tabs.nav-stacked > li > a:hover, -.nav-tabs.nav-stacked > li > a:focus { - border-color: #ddd; - z-index: 2; -} -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.nav-pills .dropdown-menu { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.nav .dropdown-toggle .caret { - border-top-color: #1abc9c; - border-bottom-color: #1abc9c; - margin-top: 6px; -} -.nav .dropdown-toggle:hover .caret, -.nav .dropdown-toggle:focus .caret { - border-top-color: #1dd2af; - border-bottom-color: #1dd2af; -} -/* move down carets for tabs */ -.nav-tabs .dropdown-toggle .caret { - margin-top: 8px; -} -.nav .active .dropdown-toggle .caret { - border-top-color: #fff; - border-bottom-color: #fff; -} -.nav-tabs .active .dropdown-toggle .caret { - border-top-color: #95a5a6; - border-bottom-color: #95a5a6; -} -.nav > .dropdown.active > a:hover, -.nav > .dropdown.active > a:focus { - cursor: pointer; -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover, -.nav > li.dropdown.open.active > a:focus { - color: #ffffff; - background-color: #b4bcc2; - border-color: #b4bcc2; -} -.nav li.dropdown.open .caret, -.nav li.dropdown.open.active .caret, -.nav li.dropdown.open a:hover .caret, -.nav li.dropdown.open a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} -.tabs-stacked .open > a:hover, -.tabs-stacked .open > a:focus { - border-color: #b4bcc2; -} -.tabbable { - *zoom: 1; -} -.tabbable:before, -.tabbable:after { - display: table; - content: ""; - line-height: 0; -} -.tabbable:after { - clear: both; -} -.tab-content { - overflow: auto; -} -.tabs-below > .nav-tabs, -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} -.tab-content > .active, -.pill-content > .active { - display: block; -} -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; -} -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.tabs-below > .nav-tabs > li > a:hover, -.tabs-below > .nav-tabs > li > a:focus { - border-bottom-color: transparent; - border-top-color: #ddd; -} -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover, -.tabs-below > .nav-tabs > .active > a:focus { - border-color: transparent #ddd #ddd #ddd; -} -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.tabs-left > .nav-tabs > li > a:hover, -.tabs-left > .nav-tabs > li > a:focus { - border-color: #ecf0f1 #dddddd #ecf0f1 #ecf0f1; -} -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover, -.tabs-left > .nav-tabs .active > a:focus { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.tabs-right > .nav-tabs > li > a:hover, -.tabs-right > .nav-tabs > li > a:focus { - border-color: #ecf0f1 #ecf0f1 #ecf0f1 #dddddd; -} -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover, -.tabs-right > .nav-tabs .active > a:focus { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} -.nav > .disabled > a { - color: #b4bcc2; -} -.nav > .disabled > a:hover, -.nav > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - cursor: default; -} -.navbar { - overflow: visible; - margin-bottom: 21px; - *position: relative; - *z-index: 2; -} -.navbar-inner { - min-height: 50px; - padding-left: 20px; - padding-right: 20px; - background-color: #2c3e50; - background-image: -moz-linear-gradient(top, #2c3e50, #2c3e50); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2c3e50), to(#2c3e50)); - background-image: -webkit-linear-gradient(top, #2c3e50, #2c3e50); - background-image: -o-linear-gradient(top, #2c3e50, #2c3e50); - background-image: linear-gradient(to bottom, #2c3e50, #2c3e50); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2c3e50', endColorstr='#ff2c3e50', GradientType=0); - border: 1px solid #233140; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - *zoom: 1; -} -.navbar-inner:before, -.navbar-inner:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-inner:after { - clear: both; -} -.navbar .container { - width: auto; -} -.nav-collapse.collapse { - height: auto; - overflow: visible; -} -.navbar .brand { - float: left; - display: block; - padding: 14.5px 20px 14.5px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - color: #ffffff; - text-shadow: 0 1px 0 #2c3e50; -} -.navbar .brand:hover, -.navbar .brand:focus { - text-decoration: none; -} -.navbar-text { - margin-bottom: 0; - line-height: 50px; - color: #ffffff; -} -.navbar-link { - color: #ffffff; -} -.navbar-link:hover, -.navbar-link:focus { - color: #1abc9c; -} -.navbar .divider-vertical { - height: 50px; - margin: 0 9px; - border-left: 1px solid #2c3e50; - border-right: 1px solid #2c3e50; -} -.navbar .btn, -.navbar .btn-group { - margin-top: 10px; -} -.navbar .btn-group .btn, -.navbar .input-prepend .btn, -.navbar .input-append .btn, -.navbar .input-prepend .btn-group, -.navbar .input-append .btn-group { - margin-top: 0; -} -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} -.navbar-form:before, -.navbar-form:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-form:after { - clear: both; -} -.navbar-form input, -.navbar-form select, -.navbar-form .radio, -.navbar-form .checkbox { - margin-top: 10px; -} -.navbar-form input, -.navbar-form select, -.navbar-form .btn { - display: inline-block; - margin-bottom: 0; -} -.navbar-form input[type="image"], -.navbar-form input[type="checkbox"], -.navbar-form input[type="radio"] { - margin-top: 3px; -} -.navbar-form .input-append, -.navbar-form .input-prepend { - margin-top: 5px; - white-space: nowrap; -} -.navbar-form .input-append input, -.navbar-form .input-prepend input { - margin-top: 0; -} -.navbar-search { - position: relative; - float: left; - margin-top: 10px; - margin-bottom: 0; -} -.navbar-search .search-query { - margin-bottom: 0; - padding: 4px 14px; - font-family: "Lato", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.navbar-static-top { - position: static; - margin-bottom: 0; -} -.navbar-static-top .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; - margin-bottom: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - border-width: 0 0 1px; -} -.navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-fixed-bottom .navbar-inner { - padding-left: 0; - padding-right: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.navbar-fixed-top { - top: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 1px 10px rgba(0,0,0,.1); - box-shadow: 0 1px 10px rgba(0,0,0,.1); -} -.navbar-fixed-bottom { - bottom: 0; -} -.navbar-fixed-bottom .navbar-inner { - -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - box-shadow: 0 -1px 10px rgba(0,0,0,.1); -} -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} -.navbar .nav.pull-right { - float: right; - margin-right: 0; -} -.navbar .nav > li { - float: left; -} -.navbar .nav > li > a { - float: none; - padding: 14.5px 15px 14.5px; - color: #ffffff; - text-decoration: none; - text-shadow: 0 1px 0 #2c3e50; -} -.navbar .nav .dropdown-toggle .caret { - margin-top: 8px; -} -.navbar .nav > li > a:focus, -.navbar .nav > li > a:hover { - background-color: transparent; - color: #1abc9c; - text-decoration: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - color: #1abc9c; - text-decoration: none; - background-color: #233140; - -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); -} -.navbar .btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-left: 5px; - margin-right: 5px; - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #233140; - background-image: -moz-linear-gradient(top, #233140, #233140); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#233140), to(#233140)); - background-image: -webkit-linear-gradient(top, #233140, #233140); - background-image: -o-linear-gradient(top, #233140, #233140); - background-image: linear-gradient(to bottom, #233140, #233140); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff233140', endColorstr='#ff233140', GradientType=0); - border-color: #233140 #233140 #080b0e; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #233140; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); -} -.navbar .btn-navbar:hover, -.navbar .btn-navbar:focus, -.navbar .btn-navbar:active, -.navbar .btn-navbar.active, -.navbar .btn-navbar.disabled, -.navbar .btn-navbar[disabled] { - color: #ffffff; - background-color: #233140; - *background-color: #1a242f; -} -.navbar .btn-navbar:active, -.navbar .btn-navbar.active { - background-color: #11181f \9; -} -.navbar .btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} -.navbar .nav > li > .dropdown-menu:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: rgba(0, 0, 0, 0); - position: absolute; - top: -7px; - left: 9px; -} -.navbar .nav > li > .dropdown-menu:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #2c3e50; - position: absolute; - top: -6px; - left: 10px; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:before { - border-top: 7px solid #ccc; - border-top-color: rgba(0, 0, 0, 0); - border-bottom: 0; - bottom: -7px; - top: auto; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:after { - border-top: 6px solid #2c3e50; - border-bottom: 0; - bottom: -6px; - top: auto; -} -.navbar .nav li.dropdown > a:hover .caret, -.navbar .nav li.dropdown > a:focus .caret { - border-top-color: #1abc9c; - border-bottom-color: #1abc9c; -} -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #233140; - color: #1abc9c; -} -.navbar .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #1abc9c; - border-bottom-color: #1abc9c; -} -.navbar .pull-right > li > .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right { - left: auto; - right: 0; -} -.navbar .pull-right > li > .dropdown-menu:before, -.navbar .nav > li > .dropdown-menu.pull-right:before { - left: auto; - right: 12px; -} -.navbar .pull-right > li > .dropdown-menu:after, -.navbar .nav > li > .dropdown-menu.pull-right:after { - left: auto; - right: 13px; -} -.navbar .pull-right > li > .dropdown-menu .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { - left: auto; - right: 100%; - margin-left: 0; - margin-right: -1px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.navbar-inverse .navbar-inner { - background-color: #18bc9c; - background-image: -moz-linear-gradient(top, #18bc9c, #18bc9c); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#18bc9c), to(#18bc9c)); - background-image: -webkit-linear-gradient(top, #18bc9c, #18bc9c); - background-image: -o-linear-gradient(top, #18bc9c, #18bc9c); - background-image: linear-gradient(to bottom, #18bc9c, #18bc9c); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff18bc9c', endColorstr='#ff18bc9c', GradientType=0); - border-color: #15a589; -} -.navbar-inverse .brand, -.navbar-inverse .nav > li > a { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.navbar-inverse .brand:hover, -.navbar-inverse .nav > li > a:hover, -.navbar-inverse .brand:focus, -.navbar-inverse .nav > li > a:focus { - color: #2c3e50; -} -.navbar-inverse .brand { - color: #ffffff; -} -.navbar-inverse .navbar-text { - color: #ffffff; -} -.navbar-inverse .nav > li > a:focus, -.navbar-inverse .nav > li > a:hover { - background-color: transparent; - color: #2c3e50; -} -.navbar-inverse .nav .active > a, -.navbar-inverse .nav .active > a:hover, -.navbar-inverse .nav .active > a:focus { - color: #2c3e50; - background-color: #15a589; -} -.navbar-inverse .navbar-link { - color: #ffffff; -} -.navbar-inverse .navbar-link:hover, -.navbar-inverse .navbar-link:focus { - color: #2c3e50; -} -.navbar-inverse .divider-vertical { - border-left-color: #18bc9c; - border-right-color: #18bc9c; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #15a589; - color: #2c3e50; -} -.navbar-inverse .nav li.dropdown > a:hover .caret, -.navbar-inverse .nav li.dropdown > a:focus .caret { - border-top-color: #2c3e50; - border-bottom-color: #2c3e50; -} -.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #2c3e50; - border-bottom-color: #2c3e50; -} -.navbar-inverse .navbar-search .search-query { - color: #ffffff; - background-color: #ffffff; - border-color: #b4bcc2; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -.navbar-inverse .navbar-search .search-query:-moz-placeholder { - color: #95a5a6; -} -.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { - color: #95a5a6; -} -.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { - color: #95a5a6; -} -.navbar-inverse .navbar-search .search-query:focus, -.navbar-inverse .navbar-search .search-query.focused { - padding: 5px 15px; - color: #7b8a8b; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - outline: 0; -} -.navbar-inverse .btn-navbar { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #15a589; - background-image: -moz-linear-gradient(top, #15a589, #15a589); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#15a589), to(#15a589)); - background-image: -webkit-linear-gradient(top, #15a589, #15a589); - background-image: -o-linear-gradient(top, #15a589, #15a589); - background-image: linear-gradient(to bottom, #15a589, #15a589); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff15a589', endColorstr='#ff15a589', GradientType=0); - border-color: #15a589 #15a589 #0c6251; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #15a589; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.navbar-inverse .btn-navbar:hover, -.navbar-inverse .btn-navbar:focus, -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active, -.navbar-inverse .btn-navbar.disabled, -.navbar-inverse .btn-navbar[disabled] { - color: #ffffff; - background-color: #15a589; - *background-color: #128f76; -} -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active { - background-color: #0f7864 \9; -} -.breadcrumb { - padding: 8px 15px; - margin: 0 0 21px; - list-style: none; - background-color: #f5f5f5; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.breadcrumb > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb > li > .divider { - padding: 0 5px; - color: #ccc; -} -.breadcrumb > .active { - color: #b4bcc2; -} -.pagination { - margin: 21px 0; -} -.pagination ul { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-left: 0; - margin-bottom: 0; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} -.pagination ul > li { - display: inline; -} -.pagination ul > li > a, -.pagination ul > li > span { - float: left; - padding: 4px 12px; - line-height: 21px; - text-decoration: none; - background-color: #ffffff; - border: 1px solid #dddddd; - border-left-width: 0; -} -.pagination ul > li > a:hover, -.pagination ul > li > a:focus, -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: #ecf0f1; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - color: #b4bcc2; - cursor: default; -} -.pagination ul > .disabled > span, -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > a:focus { - color: #b4bcc2; - background-color: transparent; - cursor: default; -} -.pagination ul > li:first-child > a, -.pagination ul > li:first-child > span { - border-left-width: 1px; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.pagination ul > li:last-child > a, -.pagination ul > li:last-child > span { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.pagination-centered { - text-align: center; -} -.pagination-right { - text-align: right; -} -.pagination-large ul > li > a, -.pagination-large ul > li > span { - padding: 18px 36px; - font-size: 18.75px; -} -.pagination-large ul > li:first-child > a, -.pagination-large ul > li:first-child > span { - -webkit-border-top-left-radius: 10px; - -moz-border-radius-topleft: 10px; - border-top-left-radius: 10px; - -webkit-border-bottom-left-radius: 10px; - -moz-border-radius-bottomleft: 10px; - border-bottom-left-radius: 10px; -} -.pagination-large ul > li:last-child > a, -.pagination-large ul > li:last-child > span { - -webkit-border-top-right-radius: 10px; - -moz-border-radius-topright: 10px; - border-top-right-radius: 10px; - -webkit-border-bottom-right-radius: 10px; - -moz-border-radius-bottomright: 10px; - border-bottom-right-radius: 10px; -} -.pagination-mini ul > li:first-child > a, -.pagination-small ul > li:first-child > a, -.pagination-mini ul > li:first-child > span, -.pagination-small ul > li:first-child > span { - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topleft: 3px; - border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - border-bottom-left-radius: 3px; -} -.pagination-mini ul > li:last-child > a, -.pagination-small ul > li:last-child > a, -.pagination-mini ul > li:last-child > span, -.pagination-small ul > li:last-child > span { - -webkit-border-top-right-radius: 3px; - -moz-border-radius-topright: 3px; - border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - -moz-border-radius-bottomright: 3px; - border-bottom-right-radius: 3px; -} -.pagination-small ul > li > a, -.pagination-small ul > li > span { - padding: 2px 12px; - font-size: 12.75px; -} -.pagination-mini ul > li > a, -.pagination-mini ul > li > span { - padding: 1px 8px; - font-size: 11.25px; -} -.pager { - margin: 21px 0; - list-style: none; - text-align: center; - *zoom: 1; -} -.pager:before, -.pager:after { - display: table; - content: ""; - line-height: 0; -} -.pager:after { - clear: both; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #b4bcc2; - background-color: #fff; - cursor: default; -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop, -.modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.modal { - position: fixed; - top: 10%; - left: 50%; - z-index: 1050; - width: 560px; - margin-left: -280px; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - /* IE6-7 */ - - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - outline: none; -} -.modal.fade { - -webkit-transition: opacity .3s linear, top .3s ease-out; - -moz-transition: opacity .3s linear, top .3s ease-out; - -o-transition: opacity .3s linear, top .3s ease-out; - transition: opacity .3s linear, top .3s ease-out; - top: -25%; -} -.modal.fade.in { - top: 10%; -} -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} -.modal-header .close { - margin-top: 2px; -} -.modal-header h3 { - margin: 0; - line-height: 30px; -} -.modal-body { - position: relative; - overflow-y: auto; - max-height: 400px; - padding: 15px; -} -.modal-form { - margin-bottom: 0; -} -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - text-align: right; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; - *zoom: 1; -} -.modal-footer:before, -.modal-footer:after { - display: table; - content: ""; - line-height: 0; -} -.modal-footer:after { - clear: both; -} -.modal-footer .btn + .btn { - margin-left: 5px; - margin-bottom: 0; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.tooltip { - position: absolute; - z-index: 1030; - display: block; - visibility: visible; - font-size: 11px; - line-height: 1.4; - opacity: 0; - filter: alpha(opacity=0); -} -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.tooltip.top { - margin-top: -3px; - padding: 5px 0; -} -.tooltip.right { - margin-left: 3px; - padding: 0 5px; -} -.tooltip.bottom { - margin-top: 3px; - padding: 5px 0; -} -.tooltip.left { - margin-left: -3px; - padding: 0 5px; -} -.tooltip-inner { - max-width: 200px; - padding: 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #2c3e50; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #2c3e50; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #2c3e50; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #2c3e50; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #2c3e50; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - background-color: #2c3e50; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - white-space: normal; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #2c3e50; - border-bottom: 1px solid #233140; - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.popover-title:empty { - display: none; -} -.popover-content { - padding: 9px 14px; -} -.popover .arrow, -.popover .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover .arrow { - border-width: 11px; -} -.popover .arrow:after { - border-width: 10px; - content: ""; -} -.popover.top .arrow { - left: 50%; - margin-left: -11px; - border-bottom-width: 0; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, 0.25); - bottom: -11px; -} -.popover.top .arrow:after { - bottom: 1px; - margin-left: -10px; - border-bottom-width: 0; - border-top-color: #2c3e50; -} -.popover.right .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-left-width: 0; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, 0.25); -} -.popover.right .arrow:after { - left: 1px; - bottom: -10px; - border-left-width: 0; - border-right-color: #2c3e50; -} -.popover.bottom .arrow { - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, 0.25); - top: -11px; -} -.popover.bottom .arrow:after { - top: 1px; - margin-left: -10px; - border-top-width: 0; - border-bottom-color: #2c3e50; -} -.popover.left .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, 0.25); -} -.popover.left .arrow:after { - right: 1px; - border-right-width: 0; - border-left-color: #2c3e50; - bottom: -10px; -} -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} -.thumbnails:before, -.thumbnails:after { - display: table; - content: ""; - line-height: 0; -} -.thumbnails:after { - clear: both; -} -.row-fluid .thumbnails { - margin-left: 0; -} -.thumbnails > li { - float: left; - margin-bottom: 21px; - margin-left: 20px; -} -.thumbnail { - display: block; - padding: 4px; - line-height: 21px; - border: 1px solid #ddd; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -a.thumbnail:hover, -a.thumbnail:focus { - border-color: #1abc9c; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} -.thumbnail > img { - display: block; - max-width: 100%; - margin-left: auto; - margin-right: auto; -} -.thumbnail .caption { - padding: 9px; - color: #95a5a6; -} -.media, -.media-body { - overflow: hidden; - *overflow: visible; - zoom: 1; -} -.media, -.media .media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media-object { - display: block; -} -.media-heading { - margin: 0 0 5px; -} -.media > .pull-left { - margin-right: 10px; -} -.media > .pull-right { - margin-left: 10px; -} -.media-list { - margin-left: 0; - list-style: none; -} -.label, -.badge { - display: inline-block; - padding: 2px 4px; - font-size: 12.69px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - vertical-align: baseline; - white-space: nowrap; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #b4bcc2; -} -.label { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.badge { - padding-left: 9px; - padding-right: 9px; - -webkit-border-radius: 9px; - -moz-border-radius: 9px; - border-radius: 9px; -} -.label:empty, -.badge:empty { - display: none; -} -a.label:hover, -a.label:focus, -a.badge:hover, -a.badge:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.label-important, -.badge-important { - background-color: #e74c3c; -} -.label-important[href], -.badge-important[href] { - background-color: #d62c1a; -} -.label-warning, -.badge-warning { - background-color: #f39c12; -} -.label-warning[href], -.badge-warning[href] { - background-color: #c87f0a; -} -.label-success, -.badge-success { - background-color: #18bc9c; -} -.label-success[href], -.badge-success[href] { - background-color: #128f76; -} -.label-info, -.badge-info { - background-color: #3498db; -} -.label-info[href], -.badge-info[href] { - background-color: #217dbb; -} -.label-inverse, -.badge-inverse { - background-color: #7b8a8b; -} -.label-inverse[href], -.badge-inverse[href] { - background-color: #636f70; -} -.btn .label, -.btn .badge { - position: relative; - top: -1px; -} -.btn-mini .label, -.btn-mini .badge { - top: 0; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-moz-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-ms-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - overflow: hidden; - height: 21px; - margin-bottom: 21px; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.progress .bar { - width: 0%; - height: 100%; - color: #ffffff; - float: left; - font-size: 12px; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(to bottom, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} -.progress .bar + .bar { - -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); -} -.progress-striped .bar { - background-color: #149bdf; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - -ms-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-danger .bar, -.progress .bar-danger { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); -} -.progress-danger.progress-striped .bar, -.progress-striped .bar-danger { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar, -.progress .bar-success { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(to bottom, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); -} -.progress-success.progress-striped .bar, -.progress-striped .bar-success { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar, -.progress .bar-info { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(to bottom, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); -} -.progress-info.progress-striped .bar, -.progress-striped .bar-info { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-warning .bar, -.progress .bar-warning { - background-color: #f5ae3e; - background-image: -moz-linear-gradient(top, #f7ba5b, #f39c12); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f7ba5b), to(#f39c12)); - background-image: -webkit-linear-gradient(top, #f7ba5b, #f39c12); - background-image: -o-linear-gradient(top, #f7ba5b, #f39c12); - background-image: linear-gradient(to bottom, #f7ba5b, #f39c12); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff7ba5b', endColorstr='#fff39c12', GradientType=0); -} -.progress-warning.progress-striped .bar, -.progress-striped .bar-warning { - background-color: #f7ba5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.accordion { - margin-bottom: 21px; -} -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.accordion-heading { - border-bottom: 0; -} -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} -.accordion-toggle { - cursor: pointer; -} -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} -.carousel { - position: relative; - margin-bottom: 21px; - line-height: 1; -} -.carousel-inner { - overflow: hidden; - width: 100%; - position: relative; -} -.carousel-inner > .item { - display: none; - position: relative; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - line-height: 1; -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #222222; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.carousel-control.right { - left: auto; - right: 15px; -} -.carousel-control:hover, -.carousel-control:focus { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} -.carousel-indicators { - position: absolute; - top: 15px; - right: 15px; - z-index: 5; - margin: 0; - list-style: none; -} -.carousel-indicators li { - display: block; - float: left; - width: 10px; - height: 10px; - margin-left: 5px; - text-indent: -999px; - background-color: #ccc; - background-color: rgba(255, 255, 255, 0.25); - border-radius: 5px; -} -.carousel-indicators .active { - background-color: #fff; -} -.carousel-caption { - position: absolute; - left: 0; - right: 0; - bottom: 0; - padding: 15px; - background: #7b8a8b; - background: rgba(0, 0, 0, 0.75); -} -.carousel-caption h4, -.carousel-caption p { - color: #ffffff; - line-height: 21px; -} -.carousel-caption h4 { - margin: 0 0 5px; -} -.carousel-caption p { - margin-bottom: 0; -} -.hero-unit { - padding: 60px; - margin-bottom: 30px; - font-size: 18px; - font-weight: 200; - line-height: 31.5px; - color: inherit; - background-color: #ecf0f1; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - color: inherit; - letter-spacing: -1px; -} -.hero-unit li { - line-height: 31.5px; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.invisible { - visibility: hidden; -} -.affix { - position: fixed; -} -h1 { - font-size: 48px; - font-weight: 900; -} -h2 { - font-size: 36px; - font-weight: 700; -} -h3 { - font-size: 28px; - font-weight: 700; -} -h4 { - font-size: 24px; - font-weight: 500; -} -h5 { - font-size: 16px; - font-weight: 500; -} -h6 { - font-size: 13px; - font-weight: 500; - text-transform: none; -} -p { - margin-bottom: 1em; -} -.page-header { - border-bottom: none; -} -.navbar .brand { - text-shadow: none; -} -.navbar .brand:hover { - color: #1dd2af; -} -.navbar .navbar-inner { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.navbar .nav > li > a { - text-shadow: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.navbar .navbar-search .search-query { - border: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - line-height: normal; -} -.navbar .btn-navbar { - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.navbar .btn, -.navbar .btn-group { - margin-top: 6px; -} -.navbar-inverse .brand:hover { - color: #2c3e50; -} -.navbar-inverse .navbar-search .search-query { - border-color: transparent; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - line-height: normal; - color: #2c3e50; -} -.navbar-inverse .navbar-search .search-query:focus { - padding: 4px 14px; - color: #2c3e50; -} -div.subnav { - border-color: transparent; - background-image: none; - background-color: #ecf0f1; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -div.subnav-fixed { - top: 50px; -} -div.subnav .nav > li > a { - border-color: transparent; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - color: #2c3e50; -} -div.subnav .nav > .active > a, -div.subnav .nav > .active > a:hover { - border-color: transparent; - background-color: #cfd9db; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - color: #2c3e50; -} -.nav-list > li > a, -.nav-list > .active > a, -.nav-list .nav-header { - text-shadow: none; -} -.nav-list .divider { - background: none; - border-bottom: 2px solid rgba(0, 0, 0, 0.2); -} -.nav-pills .open .dropdown-toggle { - background-color: #2c3e50; -} -.pagination ul { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.pagination ul > li > a { - background-color: #18bc9c; - border-color: transparent; - color: #ffffff; -} -.pagination ul > li > a:hover { - background-color: #24e3be; -} -.pagination ul > .active > a, -.pagination ul > .active > a:hover { - background-color: #ecf0f1; - color: #2c3e50; -} -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover { - background-color: #24e3be; - color: #ffffff; -} -.pager li > a, -.pager li > span { - background-color: #18bc9c; - border: none; - color: #ffffff; -} -.pager li > a:hover, -.pager li > span:hover { - background-color: #24e3be; -} -.pager .disabled > a, -.pager .disabled > span, -.pager .disabled > a:hover, -.pager .disabled > span:hover { - background-color: #24e3be; - color: #ffffff; -} -.breadcrumb > li { - text-shadow: none; -} -.btn { - padding: 9px 20px; - border: none; - background-image: none; - color: #ffffff; - text-decoration: none; - text-shadow: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - -webkit-transition: 0.25s; - -moz-transition: 0.25s; - transition: 0.25s; -} -.btn:hover, -.btn:focus { - color: white; - -webkit-transition: 0.25s; - -moz-transition: 0.25s; - transition: 0.25s; -} -.btn:active, -.btn.active { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - color: rgba(255, 255, 255, 0.75); -} -.btn.disabled, -.btn[disabled] { - color: white; -} -.btn-large { - padding: 18px 36px; -} -.btn-small { - padding: 2px 12px; -} -.btn-mini { - padding: 1px 8px; -} -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - padding: 7px 6px; - border: 2px solid #dce4ec; - text-indent: 1px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -textarea:-moz-placeholder, -input[type="text"]:-moz-placeholder, -input[type="password"]:-moz-placeholder, -input[type="datetime"]:-moz-placeholder, -input[type="datetime-local"]:-moz-placeholder, -input[type="date"]:-moz-placeholder, -input[type="month"]:-moz-placeholder, -input[type="time"]:-moz-placeholder, -input[type="week"]:-moz-placeholder, -input[type="number"]:-moz-placeholder, -input[type="email"]:-moz-placeholder, -input[type="url"]:-moz-placeholder, -input[type="search"]:-moz-placeholder, -input[type="tel"]:-moz-placeholder, -input[type="color"]:-moz-placeholder, -.uneditable-input:-moz-placeholder { - color: #acb6c0; -} -textarea:-ms-input-placeholder, -input[type="text"]:-ms-input-placeholder, -input[type="password"]:-ms-input-placeholder, -input[type="datetime"]:-ms-input-placeholder, -input[type="datetime-local"]:-ms-input-placeholder, -input[type="date"]:-ms-input-placeholder, -input[type="month"]:-ms-input-placeholder, -input[type="time"]:-ms-input-placeholder, -input[type="week"]:-ms-input-placeholder, -input[type="number"]:-ms-input-placeholder, -input[type="email"]:-ms-input-placeholder, -input[type="url"]:-ms-input-placeholder, -input[type="search"]:-ms-input-placeholder, -input[type="tel"]:-ms-input-placeholder, -input[type="color"]:-ms-input-placeholder, -.uneditable-input:-ms-input-placeholder { - color: #acb6c0; -} -textarea::-webkit-input-placeholder, -input[type="text"]::-webkit-input-placeholder, -input[type="password"]::-webkit-input-placeholder, -input[type="datetime"]::-webkit-input-placeholder, -input[type="datetime-local"]::-webkit-input-placeholder, -input[type="date"]::-webkit-input-placeholder, -input[type="month"]::-webkit-input-placeholder, -input[type="time"]::-webkit-input-placeholder, -input[type="week"]::-webkit-input-placeholder, -input[type="number"]::-webkit-input-placeholder, -input[type="email"]::-webkit-input-placeholder, -input[type="url"]::-webkit-input-placeholder, -input[type="search"]::-webkit-input-placeholder, -input[type="tel"]::-webkit-input-placeholder, -input[type="color"]::-webkit-input-placeholder, -.uneditable-input::-webkit-input-placeholder { - color: #acb6c0; -} -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: #1abc9c; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 6px 0 0 6px; - -moz-border-radius: 6px 0 0 6px; - border-radius: 6px 0 0 6px; -} -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 6px 0 0 6px; - -moz-border-radius: 6px 0 0 6px; - border-radius: 6px 0 0 6px; -} -.input-append input + .btn-group .btn:last-child, -.input-append select + .btn-group .btn:last-child, -.input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 6px 6px 0; - -moz-border-radius: 0 6px 6px 0; - border-radius: 0 6px 6px 0; -} -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 6px 6px 0; - -moz-border-radius: 0 6px 6px 0; - border-radius: 0 6px 6px 0; -} -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-prepend.input-append input + .btn-group .btn, -.input-prepend.input-append select + .btn-group .btn, -.input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 6px 6px 0; - -moz-border-radius: 0 6px 6px 0; - border-radius: 0 6px 6px 0; -} -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - -webkit-border-radius: 6px 0 0 6px; - -moz-border-radius: 6px 0 0 6px; - border-radius: 6px 0 0 6px; -} -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - -webkit-border-radius: 0 6px 6px 0; - -moz-border-radius: 0 6px 6px 0; - border-radius: 0 6px 6px 0; -} -.input-append .add-on, -.input-prepend .add-on { - padding: 9px 5px; - text-shadow: none; -} -.control-group.error, -.control-group.error input:focus, -.control-group.error textarea:focus { - border-color: #e74c3c; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.control-group.success, -.control-group.success input:focus, -.control-group.success textarea:focus { - border-color: #2ecc71; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.control-group.warning, -.control-group.warning input:focus, -.control-group.warning textarea:focus { - border-color: #f1c40f; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.control-group.info, -.control-group.info input:focus, -.control-group.info textarea:focus { - border-color: #3498db; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -input[disabled], -input[readonly], -textarea[disabled], -textarea[readonly] { - background-color: #eaeded; - border-color: transparent; - color: #cad2d3; - cursor: default; -} -input[type="file"] { - line-height: 16px; -} -.input-append .add-on, -.input-prepend .add-on { - border: none; - background: none; -} -legend { - border-bottom: none; - color: #2c3e50; -} -.form-actions { - border-top: none; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - background-color: #dde4e6; -} -.alert { - background-color: #f39c12; - color: #ffffff; - text-shadow: none; -} -.alert h1, -.alert h2, -.alert h3, -.alert h4, -.alert h5, -.alert h6 { - color: #ffffff; -} -.alert-error { - background-color: #e74c3c; -} -.alert-success { - background-color: #18bc9c; -} -.alert-info { - background-color: #3498db; -} -.label { - padding: 6px 10px; - text-shadow: none; -} -.badge { - padding: 6px 10px; - -webkit-border-radius: 10px; - -moz-border-radius: 10px; - border-radius: 10px; - text-shadow: none; -} -.well { - border: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.progress { - background: #ecf0f1; - border-radius: 32px; - height: 12px; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.progress .bar { - background-color: #2c3e50; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.progress .bar + .bar { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.progress-striped .bar { - background-color: #2c3e50; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar, -.progress-success.progress-striped .bar, -.progress .bar-success { - background-color: #18bc9c; -} -.progress-warning .bar, -.progress-warning.progress-striped .bar, -.progress .bar-warning { - background-color: #e6bb0d; -} -.progress-danger .bar, -.progress-danger.progress-striped .bar, -.progress .bar-danger { - background-color: #e74c3c; -} -.progress-info .bar, -.progress-info.progress-striped .bar, -.progress .bar-info { - background-color: #3498db; -} -.tooltip.in { - opacity: 1; -} -.popover { - color: #ffffff; -} -.popover-title { - border-bottom: 2px solid rgba(0, 0, 0, 0.2); -} -.modal-header { - background-color: #2c3e50; - border-bottom: none; - color: #ffffff; -} -.modal-footer { - background-color: #ecf0f1; - border-top: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.close { - text-shadow: none; -} -@media (max-width: 767px) { - div.subnav .nav > li:first-child > a, - div.subnav .nav > li + li > a { - border-color: transparent; - } - div.subnav .nav > li:first-child > a:hover, - div.subnav .nav > li + li > a:hover { - background-color: #cfd9db; - } - div.subnav .nav > li:last-child > a { - border-radius: 0 0 4px 4px; - } -} -@media (max-width: 979px) { - .navbar .nav-collapse .nav > li > a { - color: #ffffff; - } - .navbar .nav-collapse .nav > li > a:hover { - background-color: #18bc9c; - } -} -#main { - margin-top: 56px; -} -.navbar-fixed-top .navbar-inner { - padding-left: 20px; - padding-right: 20px; -} -.navbar .dropdown-menu { - padding: 20px; - max-height: 300px; - overflow: auto; - width: 300px; - background-color: #18bc9c; -} -.navbar .dropdown-menu a, -.navbar .dropdown-menu a:visited { - color: #ffffff; -} -.navbar .dropdown-menu a:hover { - color: #2c3e50; - background-color: transparent; -} -.navbar .dropdown-menu a:active { - color: #2c3e50; - background-color: #15a589; -} -.navbar .dropdown-menu a { - padding-left: 0; - padding-right: 5px; - font-weight: 500; - font-size: 115%; -} -#toc { - position: fixed; - top: 56px; - width: 29%; - max-height: 90%; - overflow: auto; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px #2c3e50 solid; - padding: 5px; -} -#toc .toc-active { - background-color: #233140; - color: #1abc9c; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -#toc .toc-active a, -#toc .toc-active a:hover, -#toc .toc-active a:active, -#toc .toc-active a:visited { - background-color: #233140; - color: #1abc9c; -} -.toc-shim { - padding-top: 56px; - margin-top: -56px; - display: block; -} -.toc-h1 { - margin-left: 2px; - margin-right: 2px; -} -.toc-h2 { - margin-left: 7px; - margin-right: 7px; -} -.toc-h3 { - margin-left: 14px; - margin-right: 7px; -} -.toc-h4 { - margin-left: 21px; - margin-right: 7px; -} -.copyright { - font-size: 90%; - text-align: center; - color: #18bc9c; - width: 100%; - display: block; -} -.jsdoc-message { - font-size: 90%; - text-align: center; - color: #18bc9c; - width: 100%; - display: block; -} -.page-title { - font-size: 220%; - color: #18bc9c; - font-weight: 700; - padding-top: 10px; - display: block; -} -footer { - border-top: 1px solid #18bc9c; - padding-top: 15px; -} -code { - background-color: none; - border: none; - color: #f39c12; -} -.buffered-name { - padding-top: 56px; - margin-top: -56px; -} -.member-collapsed { - background-color: #18bc9c; - color: #ffffff; -} -.member-open { - background-color: inherit; - color: inherit; -} -.member { - -webkit-transition: background-color 0.5s linear; - -moz-transition: background-color 0.5s linear; - -o-transition: background-color 0.5s linear; - transition: background-color 0.5s linear; - -webkit-transition: color 0.5s linear; - -moz-transition: color 0.5s linear; - -o-transition: color 0.5s linear; - transition: color 0.5s linear; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 10px; -} diff --git a/docs/styles/site.journal.css b/docs/styles/site.journal.css deleted file mode 100644 index 5b132c40cf..0000000000 --- a/docs/styles/site.journal.css +++ /dev/null @@ -1,5719 +0,0 @@ -@import url(http://fonts.googleapis.com/css?family=News+Cycle:400,700); -/*! - * Bootstrap v2.3.1 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -.clearfix { - *zoom: 1; -} -.clearfix:before, -.clearfix:after { - display: table; - content: ""; - line-height: 0; -} -.clearfix:after { - clear: both; -} -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.input-block-level { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a:hover, -a:active { - outline: 0; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - /* Responsive images (ensure images don't scale beyond their parents) */ - - max-width: 100%; - /* Part 1: Set a maxium relative to the parent */ - - width: auto\9; - /* IE7-8 need help adjusting responsive images */ - - height: auto; - /* Part 2: Scale the height according to the width, otherwise you get stretching */ - - vertical-align: middle; - border: 0; - -ms-interpolation-mode: bicubic; -} -#map_canvas img, -.google-maps img { - max-width: none; -} -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} -button, -input { - *overflow: visible; - line-height: normal; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -label, -select, -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -input[type="radio"], -input[type="checkbox"] { - cursor: pointer; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -@media print { - * { - text-shadow: none !important; - color: #000 !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} -body { - margin: 0; - font-family: Georgia, "Times New Roman", Times, serif; - font-size: 14px; - line-height: 20px; - color: #777777; - background-color: #ffffff; -} -a { - color: #777777; - text-decoration: none; -} -a:hover, -a:focus { - color: #777777; - text-decoration: underline; -} -.img-rounded { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.img-polaroid { - padding: 4px; - background-color: #fff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} -.img-circle { - -webkit-border-radius: 500px; - -moz-border-radius: 500px; - border-radius: 500px; -} -.row { - margin-left: -20px; - *zoom: 1; -} -.row:before, -.row:after { - display: table; - content: ""; - line-height: 0; -} -.row:after { - clear: both; -} -[class*="span"] { - float: left; - min-height: 1px; - margin-left: 20px; -} -.container, -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.span12 { - width: 940px; -} -.span11 { - width: 860px; -} -.span10 { - width: 780px; -} -.span9 { - width: 700px; -} -.span8 { - width: 620px; -} -.span7 { - width: 540px; -} -.span6 { - width: 460px; -} -.span5 { - width: 380px; -} -.span4 { - width: 300px; -} -.span3 { - width: 220px; -} -.span2 { - width: 140px; -} -.span1 { - width: 60px; -} -.offset12 { - margin-left: 980px; -} -.offset11 { - margin-left: 900px; -} -.offset10 { - margin-left: 820px; -} -.offset9 { - margin-left: 740px; -} -.offset8 { - margin-left: 660px; -} -.offset7 { - margin-left: 580px; -} -.offset6 { - margin-left: 500px; -} -.offset5 { - margin-left: 420px; -} -.offset4 { - margin-left: 340px; -} -.offset3 { - margin-left: 260px; -} -.offset2 { - margin-left: 180px; -} -.offset1 { - margin-left: 100px; -} -.row-fluid { - width: 100%; - *zoom: 1; -} -.row-fluid:before, -.row-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.row-fluid:after { - clear: both; -} -.row-fluid [class*="span"] { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2.127659574468085%; - *margin-left: 2.074468085106383%; -} -.row-fluid [class*="span"]:first-child { - margin-left: 0; -} -.row-fluid .controls-row [class*="span"] + [class*="span"] { - margin-left: 2.127659574468085%; -} -.row-fluid .span12 { - width: 100%; - *width: 99.94680851063829%; -} -.row-fluid .span11 { - width: 91.48936170212765%; - *width: 91.43617021276594%; -} -.row-fluid .span10 { - width: 82.97872340425532%; - *width: 82.92553191489361%; -} -.row-fluid .span9 { - width: 74.46808510638297%; - *width: 74.41489361702126%; -} -.row-fluid .span8 { - width: 65.95744680851064%; - *width: 65.90425531914893%; -} -.row-fluid .span7 { - width: 57.44680851063829%; - *width: 57.39361702127659%; -} -.row-fluid .span6 { - width: 48.93617021276595%; - *width: 48.88297872340425%; -} -.row-fluid .span5 { - width: 40.42553191489362%; - *width: 40.37234042553192%; -} -.row-fluid .span4 { - width: 31.914893617021278%; - *width: 31.861702127659576%; -} -.row-fluid .span3 { - width: 23.404255319148934%; - *width: 23.351063829787233%; -} -.row-fluid .span2 { - width: 14.893617021276595%; - *width: 14.840425531914894%; -} -.row-fluid .span1 { - width: 6.382978723404255%; - *width: 6.329787234042553%; -} -.row-fluid .offset12 { - margin-left: 104.25531914893617%; - *margin-left: 104.14893617021275%; -} -.row-fluid .offset12:first-child { - margin-left: 102.12765957446808%; - *margin-left: 102.02127659574467%; -} -.row-fluid .offset11 { - margin-left: 95.74468085106382%; - *margin-left: 95.6382978723404%; -} -.row-fluid .offset11:first-child { - margin-left: 93.61702127659574%; - *margin-left: 93.51063829787232%; -} -.row-fluid .offset10 { - margin-left: 87.23404255319149%; - *margin-left: 87.12765957446807%; -} -.row-fluid .offset10:first-child { - margin-left: 85.1063829787234%; - *margin-left: 84.99999999999999%; -} -.row-fluid .offset9 { - margin-left: 78.72340425531914%; - *margin-left: 78.61702127659572%; -} -.row-fluid .offset9:first-child { - margin-left: 76.59574468085106%; - *margin-left: 76.48936170212764%; -} -.row-fluid .offset8 { - margin-left: 70.2127659574468%; - *margin-left: 70.10638297872339%; -} -.row-fluid .offset8:first-child { - margin-left: 68.08510638297872%; - *margin-left: 67.9787234042553%; -} -.row-fluid .offset7 { - margin-left: 61.70212765957446%; - *margin-left: 61.59574468085106%; -} -.row-fluid .offset7:first-child { - margin-left: 59.574468085106375%; - *margin-left: 59.46808510638297%; -} -.row-fluid .offset6 { - margin-left: 53.191489361702125%; - *margin-left: 53.085106382978715%; -} -.row-fluid .offset6:first-child { - margin-left: 51.063829787234035%; - *margin-left: 50.95744680851063%; -} -.row-fluid .offset5 { - margin-left: 44.68085106382979%; - *margin-left: 44.57446808510638%; -} -.row-fluid .offset5:first-child { - margin-left: 42.5531914893617%; - *margin-left: 42.4468085106383%; -} -.row-fluid .offset4 { - margin-left: 36.170212765957444%; - *margin-left: 36.06382978723405%; -} -.row-fluid .offset4:first-child { - margin-left: 34.04255319148936%; - *margin-left: 33.93617021276596%; -} -.row-fluid .offset3 { - margin-left: 27.659574468085104%; - *margin-left: 27.5531914893617%; -} -.row-fluid .offset3:first-child { - margin-left: 25.53191489361702%; - *margin-left: 25.425531914893618%; -} -.row-fluid .offset2 { - margin-left: 19.148936170212764%; - *margin-left: 19.04255319148936%; -} -.row-fluid .offset2:first-child { - margin-left: 17.02127659574468%; - *margin-left: 16.914893617021278%; -} -.row-fluid .offset1 { - margin-left: 10.638297872340425%; - *margin-left: 10.53191489361702%; -} -.row-fluid .offset1:first-child { - margin-left: 8.51063829787234%; - *margin-left: 8.404255319148938%; -} -[class*="span"].hide, -.row-fluid [class*="span"].hide { - display: none; -} -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { - float: right; -} -.container { - margin-right: auto; - margin-left: auto; - *zoom: 1; -} -.container:before, -.container:after { - display: table; - content: ""; - line-height: 0; -} -.container:after { - clear: both; -} -.container-fluid { - padding-right: 20px; - padding-left: 20px; - *zoom: 1; -} -.container-fluid:before, -.container-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.container-fluid:after { - clear: both; -} -p { - margin: 0 0 10px; -} -.lead { - margin-bottom: 20px; - font-size: 21px; - font-weight: 200; - line-height: 30px; -} -small { - font-size: 85%; -} -strong { - font-weight: bold; -} -em { - font-style: italic; -} -cite { - font-style: normal; -} -.muted { - color: #bbbbbb; -} -a.muted:hover, -a.muted:focus { - color: #a2a2a2; -} -.text-warning { - color: #c09853; -} -a.text-warning:hover, -a.text-warning:focus { - color: #a47e3c; -} -.text-error { - color: #b94a48; -} -a.text-error:hover, -a.text-error:focus { - color: #953b39; -} -.text-info { - color: #3a87ad; -} -a.text-info:hover, -a.text-info:focus { - color: #2d6987; -} -.text-success { - color: #468847; -} -a.text-success:hover, -a.text-success:focus { - color: #356635; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 10px 0; - font-family: "News Cycle", "Arial Narrow Bold", sans-serif; - font-weight: bold; - line-height: 20px; - color: #000000; - text-rendering: optimizelegibility; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - line-height: 1; - color: #bbbbbb; -} -h1, -h2, -h3 { - line-height: 40px; -} -h1 { - font-size: 38.5px; -} -h2 { - font-size: 31.5px; -} -h3 { - font-size: 24.5px; -} -h4 { - font-size: 17.5px; -} -h5 { - font-size: 14px; -} -h6 { - font-size: 11.9px; -} -h1 small { - font-size: 24.5px; -} -h2 small { - font-size: 17.5px; -} -h3 small { - font-size: 14px; -} -h4 small { - font-size: 14px; -} -.page-header { - padding-bottom: 9px; - margin: 20px 0 30px; - border-bottom: 1px solid #eeeeee; -} -ul, -ol { - padding: 0; - margin: 0 0 10px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -li { - line-height: 20px; -} -ul.unstyled, -ol.unstyled { - margin-left: 0; - list-style: none; -} -ul.inline, -ol.inline { - margin-left: 0; - list-style: none; -} -ul.inline > li, -ol.inline > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding-left: 5px; - padding-right: 5px; -} -dl { - margin-bottom: 20px; -} -dt, -dd { - line-height: 20px; -} -dt { - font-weight: bold; -} -dd { - margin-left: 10px; -} -.dl-horizontal { - *zoom: 1; -} -.dl-horizontal:before, -.dl-horizontal:after { - display: table; - content: ""; - line-height: 0; -} -.dl-horizontal:after { - clear: both; -} -.dl-horizontal dt { - float: left; - width: 160px; - clear: left; - text-align: right; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.dl-horizontal dd { - margin-left: 180px; -} -hr { - margin: 20px 0; - border: 0; - border-top: 1px solid #eeeeee; - border-bottom: 1px solid #ffffff; -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #bbbbbb; -} -abbr.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 0 0 0 15px; - margin: 0 0 20px; - border-left: 5px solid #eeeeee; -} -blockquote p { - margin-bottom: 0; - font-size: 17.5px; - font-weight: 300; - line-height: 1.25; -} -blockquote small { - display: block; - line-height: 20px; - color: #bbbbbb; -} -blockquote small:before { - content: '\2014 \00A0'; -} -blockquote.pull-right { - float: right; - padding-right: 15px; - padding-left: 0; - border-right: 5px solid #eeeeee; - border-left: 0; -} -blockquote.pull-right p, -blockquote.pull-right small { - text-align: right; -} -blockquote.pull-right small:before { - content: ''; -} -blockquote.pull-right small:after { - content: '\00A0 \2014'; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -address { - display: block; - margin-bottom: 20px; - font-style: normal; - line-height: 20px; -} -code, -pre { - padding: 0 3px 2px; - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 12px; - color: #777777; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - padding: 2px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; - white-space: nowrap; -} -pre { - display: block; - padding: 9.5px; - margin: 0 0 10px; - font-size: 13px; - line-height: 20px; - word-break: break-all; - word-wrap: break-word; - white-space: pre; - white-space: pre-wrap; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -pre.prettyprint { - margin-bottom: 20px; -} -pre code { - padding: 0; - color: inherit; - white-space: pre; - white-space: pre-wrap; - background-color: transparent; - border: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -form { - margin: 0 0 20px; -} -fieldset { - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 20px; - font-size: 21px; - line-height: 40px; - color: #777777; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -legend small { - font-size: 15px; - color: #bbbbbb; -} -label, -input, -button, -select, -textarea { - font-size: 14px; - font-weight: normal; - line-height: 20px; -} -input, -button, -select, -textarea { - font-family: Georgia, "Times New Roman", Times, serif; -} -label { - display: block; - margin-bottom: 5px; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 20px; - padding: 4px 6px; - margin-bottom: 10px; - font-size: 14px; - line-height: 20px; - color: #999999; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - vertical-align: middle; -} -input, -textarea, -.uneditable-input { - width: 206px; -} -textarea { - height: auto; -} -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - background-color: #ffffff; - border: 1px solid #cccccc; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; -} -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - *margin-top: 0; - /* IE7 */ - - margin-top: 1px \9; - /* IE8-9 */ - - line-height: normal; -} -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} -select, -input[type="file"] { - height: 30px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 30px; -} -select { - width: 220px; - border: 1px solid #cccccc; - background-color: #ffffff; -} -select[multiple], -select[size] { - height: auto; -} -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.uneditable-input, -.uneditable-textarea { - color: #bbbbbb; - background-color: #fcfcfc; - border-color: #cccccc; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -.uneditable-input { - overflow: hidden; - white-space: nowrap; -} -.uneditable-textarea { - width: auto; - height: auto; -} -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #bbbbbb; -} -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #bbbbbb; -} -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #bbbbbb; -} -.radio, -.checkbox { - min-height: 20px; - padding-left: 20px; -} -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -20px; -} -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; -} -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; -} -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; -} -.input-mini { - width: 60px; -} -.input-small { - width: 90px; -} -.input-medium { - width: 150px; -} -.input-large { - width: 210px; -} -.input-xlarge { - width: 270px; -} -.input-xxlarge { - width: 530px; -} -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; -} -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; -} -input, -textarea, -.uneditable-input { - margin-left: 0; -} -.controls-row [class*="span"] + [class*="span"] { - margin-left: 20px; -} -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 926px; -} -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 846px; -} -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 766px; -} -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 686px; -} -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 606px; -} -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 526px; -} -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 446px; -} -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 366px; -} -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 286px; -} -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 206px; -} -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 126px; -} -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 46px; -} -.controls-row { - *zoom: 1; -} -.controls-row:before, -.controls-row:after { - display: table; - content: ""; - line-height: 0; -} -.controls-row:after { - clear: both; -} -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { - float: left; -} -.controls-row .checkbox[class*="span"], -.controls-row .radio[class*="span"] { - padding-top: 5px; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #eeeeee; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #c09853; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #c09853; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #c09853; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #a47e3c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #c09853; - background-color: #fcf8e3; - border-color: #c09853; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #b94a48; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #b94a48; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #b94a48; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #953b39; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #b94a48; - background-color: #f2dede; - border-color: #b94a48; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #468847; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #468847; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #468847; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #356635; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #468847; - background-color: #dff0d8; - border-color: #468847; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #3a87ad; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #3a87ad; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #3a87ad; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #2d6987; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #3a87ad; - background-color: #d9edf7; - border-color: #3a87ad; -} -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { - color: #b94a48; - border-color: #ee5f5b; -} -input:focus:invalid:focus, -textarea:focus:invalid:focus, -select:focus:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -.form-actions { - padding: 19px 20px 20px; - margin-top: 20px; - margin-bottom: 20px; - background-color: #eeeeee; - border-top: 1px solid #e5e5e5; - *zoom: 1; -} -.form-actions:before, -.form-actions:after { - display: table; - content: ""; - line-height: 0; -} -.form-actions:after { - clear: both; -} -.help-block, -.help-inline { - color: #9d9d9d; -} -.help-block { - display: block; - margin-bottom: 10px; -} -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - vertical-align: middle; - padding-left: 5px; -} -.input-append, -.input-prepend { - display: inline-block; - margin-bottom: 10px; - vertical-align: middle; - font-size: 0; - white-space: nowrap; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input, -.input-append .dropdown-menu, -.input-prepend .dropdown-menu, -.input-append .popover, -.input-prepend .popover { - font-size: 14px; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input { - position: relative; - margin-bottom: 0; - *margin-left: 0; - vertical-align: top; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append input:focus, -.input-prepend input:focus, -.input-append select:focus, -.input-prepend select:focus, -.input-append .uneditable-input:focus, -.input-prepend .uneditable-input:focus { - z-index: 2; -} -.input-append .add-on, -.input-prepend .add-on { - display: inline-block; - width: auto; - height: 20px; - min-width: 16px; - padding: 4px 5px; - font-size: 14px; - font-weight: normal; - line-height: 20px; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - background-color: #eeeeee; - border: 1px solid #ccc; -} -.input-append .add-on, -.input-prepend .add-on, -.input-append .btn, -.input-prepend .btn, -.input-append .btn-group > .dropdown-toggle, -.input-prepend .btn-group > .dropdown-toggle { - vertical-align: top; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-append .active, -.input-prepend .active { - background-color: #85e8a2; - border-color: #22b24c; -} -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; -} -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input + .btn-group .btn:last-child, -.input-append select + .btn-group .btn:last-child, -.input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append .add-on, -.input-append .btn, -.input-append .btn-group { - margin-left: -1px; -} -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-prepend.input-append input + .btn-group .btn, -.input-prepend.input-append select + .btn-group .btn, -.input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .btn-group:first-child { - margin-left: 0; -} -input.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - - margin-bottom: 0; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -/* Allow for input prepend/append in search forms */ -.form-search .input-append .search-query, -.form-search .input-prepend .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.form-search .input-append .search-query { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search .input-append .btn { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .search-query { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .btn { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input, -.form-search .input-prepend, -.form-inline .input-prepend, -.form-horizontal .input-prepend, -.form-search .input-append, -.form-inline .input-append, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; -} -.form-search label, -.form-inline label, -.form-search .btn-group, -.form-inline .btn-group { - display: inline-block; -} -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; -} -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; -} -.control-group { - margin-bottom: 10px; -} -legend + .control-group { - margin-top: 20px; - -webkit-margin-top-collapse: separate; -} -.form-horizontal .control-group { - margin-bottom: 20px; - *zoom: 1; -} -.form-horizontal .control-group:before, -.form-horizontal .control-group:after { - display: table; - content: ""; - line-height: 0; -} -.form-horizontal .control-group:after { - clear: both; -} -.form-horizontal .control-label { - float: left; - width: 160px; - padding-top: 5px; - text-align: right; -} -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 180px; - *margin-left: 0; -} -.form-horizontal .controls:first-child { - *padding-left: 180px; -} -.form-horizontal .help-block { - margin-bottom: 0; -} -.form-horizontal input + .help-block, -.form-horizontal select + .help-block, -.form-horizontal textarea + .help-block, -.form-horizontal .uneditable-input + .help-block, -.form-horizontal .input-prepend + .help-block, -.form-horizontal .input-append + .help-block { - margin-top: 10px; -} -.form-horizontal .form-actions { - padding-left: 180px; -} -table { - max-width: 100%; - background-color: transparent; - border-collapse: collapse; - border-spacing: 0; -} -.table { - width: 100%; - margin-bottom: 20px; -} -.table th, -.table td { - padding: 8px; - line-height: 20px; - text-align: left; - vertical-align: top; - border-top: 1px solid #dddddd; -} -.table th { - font-weight: bold; -} -.table thead th { - vertical-align: bottom; -} -.table caption + thead tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child th, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child th, -.table thead:first-child tr:first-child td { - border-top: 0; -} -.table tbody + tbody { - border-top: 2px solid #dddddd; -} -.table .table { - background-color: #ffffff; -} -.table-condensed th, -.table-condensed td { - padding: 4px 5px; -} -.table-bordered { - border: 1px solid #dddddd; - border-collapse: separate; - *border-collapse: collapse; - border-left: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.table-bordered th, -.table-bordered td { - border-left: 1px solid #dddddd; -} -.table-bordered caption + thead tr:first-child th, -.table-bordered caption + tbody tr:first-child th, -.table-bordered caption + tbody tr:first-child td, -.table-bordered colgroup + thead tr:first-child th, -.table-bordered colgroup + tbody tr:first-child th, -.table-bordered colgroup + tbody tr:first-child td, -.table-bordered thead:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} -.table-bordered thead:first-child tr:first-child > th:first-child, -.table-bordered tbody:first-child tr:first-child > td:first-child, -.table-bordered tbody:first-child tr:first-child > th:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered thead:first-child tr:first-child > th:last-child, -.table-bordered tbody:first-child tr:first-child > td:last-child, -.table-bordered tbody:first-child tr:first-child > th:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:first-child, -.table-bordered tbody:last-child tr:last-child > td:first-child, -.table-bordered tbody:last-child tr:last-child > th:first-child, -.table-bordered tfoot:last-child tr:last-child > td:first-child, -.table-bordered tfoot:last-child tr:last-child > th:first-child { - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:last-child, -.table-bordered tbody:last-child tr:last-child > td:last-child, -.table-bordered tbody:last-child tr:last-child > th:last-child, -.table-bordered tfoot:last-child tr:last-child > td:last-child, -.table-bordered tfoot:last-child tr:last-child > th:last-child { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered caption + thead tr:first-child th:first-child, -.table-bordered caption + tbody tr:first-child td:first-child, -.table-bordered colgroup + thead tr:first-child th:first-child, -.table-bordered colgroup + tbody tr:first-child td:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered caption + thead tr:first-child th:last-child, -.table-bordered caption + tbody tr:first-child td:last-child, -.table-bordered colgroup + thead tr:first-child th:last-child, -.table-bordered colgroup + tbody tr:first-child td:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-striped tbody > tr:nth-child(odd) > td, -.table-striped tbody > tr:nth-child(odd) > th { - background-color: #f5f5f5; -} -.table-hover tbody tr:hover > td, -.table-hover tbody tr:hover > th { - background-color: #eeeeee; -} -table td[class*="span"], -table th[class*="span"], -.row-fluid table td[class*="span"], -.row-fluid table th[class*="span"] { - display: table-cell; - float: none; - margin-left: 0; -} -.table td.span1, -.table th.span1 { - float: none; - width: 44px; - margin-left: 0; -} -.table td.span2, -.table th.span2 { - float: none; - width: 124px; - margin-left: 0; -} -.table td.span3, -.table th.span3 { - float: none; - width: 204px; - margin-left: 0; -} -.table td.span4, -.table th.span4 { - float: none; - width: 284px; - margin-left: 0; -} -.table td.span5, -.table th.span5 { - float: none; - width: 364px; - margin-left: 0; -} -.table td.span6, -.table th.span6 { - float: none; - width: 444px; - margin-left: 0; -} -.table td.span7, -.table th.span7 { - float: none; - width: 524px; - margin-left: 0; -} -.table td.span8, -.table th.span8 { - float: none; - width: 604px; - margin-left: 0; -} -.table td.span9, -.table th.span9 { - float: none; - width: 684px; - margin-left: 0; -} -.table td.span10, -.table th.span10 { - float: none; - width: 764px; - margin-left: 0; -} -.table td.span11, -.table th.span11 { - float: none; - width: 844px; - margin-left: 0; -} -.table td.span12, -.table th.span12 { - float: none; - width: 924px; - margin-left: 0; -} -.table tbody tr.success > td { - background-color: #dff0d8; -} -.table tbody tr.error > td { - background-color: #f2dede; -} -.table tbody tr.warning > td { - background-color: #fcf8e3; -} -.table tbody tr.info > td { - background-color: #d9edf7; -} -.table-hover tbody tr.success:hover > td { - background-color: #d0e9c6; -} -.table-hover tbody tr.error:hover > td { - background-color: #ebcccc; -} -.table-hover tbody tr.warning:hover > td { - background-color: #faf2cc; -} -.table-hover tbody tr.info:hover > td { - background-color: #c4e3f3; -} -[class^="icon-"], -[class*=" icon-"] { - display: inline-block; - width: 14px; - height: 14px; - *margin-right: .3em; - line-height: 14px; - vertical-align: text-top; - background-image: url("../img/glyphicons-halflings.png"); - background-position: 14px 14px; - background-repeat: no-repeat; - margin-top: 1px; -} -/* White icons with optional class, or on hover/focus/active states of certain elements */ -.icon-white, -.nav-pills > .active > a > [class^="icon-"], -.nav-pills > .active > a > [class*=" icon-"], -.nav-list > .active > a > [class^="icon-"], -.nav-list > .active > a > [class*=" icon-"], -.navbar-inverse .nav > .active > a > [class^="icon-"], -.navbar-inverse .nav > .active > a > [class*=" icon-"], -.dropdown-menu > li > a:hover > [class^="icon-"], -.dropdown-menu > li > a:focus > [class^="icon-"], -.dropdown-menu > li > a:hover > [class*=" icon-"], -.dropdown-menu > li > a:focus > [class*=" icon-"], -.dropdown-menu > .active > a > [class^="icon-"], -.dropdown-menu > .active > a > [class*=" icon-"], -.dropdown-submenu:hover > a > [class^="icon-"], -.dropdown-submenu:focus > a > [class^="icon-"], -.dropdown-submenu:hover > a > [class*=" icon-"], -.dropdown-submenu:focus > a > [class*=" icon-"] { - background-image: url("../img/glyphicons-halflings-white.png"); -} -.icon-glass { - background-position: 0 0; -} -.icon-music { - background-position: -24px 0; -} -.icon-search { - background-position: -48px 0; -} -.icon-envelope { - background-position: -72px 0; -} -.icon-heart { - background-position: -96px 0; -} -.icon-star { - background-position: -120px 0; -} -.icon-star-empty { - background-position: -144px 0; -} -.icon-user { - background-position: -168px 0; -} -.icon-film { - background-position: -192px 0; -} -.icon-th-large { - background-position: -216px 0; -} -.icon-th { - background-position: -240px 0; -} -.icon-th-list { - background-position: -264px 0; -} -.icon-ok { - background-position: -288px 0; -} -.icon-remove { - background-position: -312px 0; -} -.icon-zoom-in { - background-position: -336px 0; -} -.icon-zoom-out { - background-position: -360px 0; -} -.icon-off { - background-position: -384px 0; -} -.icon-signal { - background-position: -408px 0; -} -.icon-cog { - background-position: -432px 0; -} -.icon-trash { - background-position: -456px 0; -} -.icon-home { - background-position: 0 -24px; -} -.icon-file { - background-position: -24px -24px; -} -.icon-time { - background-position: -48px -24px; -} -.icon-road { - background-position: -72px -24px; -} -.icon-download-alt { - background-position: -96px -24px; -} -.icon-download { - background-position: -120px -24px; -} -.icon-upload { - background-position: -144px -24px; -} -.icon-inbox { - background-position: -168px -24px; -} -.icon-play-circle { - background-position: -192px -24px; -} -.icon-repeat { - background-position: -216px -24px; -} -.icon-refresh { - background-position: -240px -24px; -} -.icon-list-alt { - background-position: -264px -24px; -} -.icon-lock { - background-position: -287px -24px; -} -.icon-flag { - background-position: -312px -24px; -} -.icon-headphones { - background-position: -336px -24px; -} -.icon-volume-off { - background-position: -360px -24px; -} -.icon-volume-down { - background-position: -384px -24px; -} -.icon-volume-up { - background-position: -408px -24px; -} -.icon-qrcode { - background-position: -432px -24px; -} -.icon-barcode { - background-position: -456px -24px; -} -.icon-tag { - background-position: 0 -48px; -} -.icon-tags { - background-position: -25px -48px; -} -.icon-book { - background-position: -48px -48px; -} -.icon-bookmark { - background-position: -72px -48px; -} -.icon-print { - background-position: -96px -48px; -} -.icon-camera { - background-position: -120px -48px; -} -.icon-font { - background-position: -144px -48px; -} -.icon-bold { - background-position: -167px -48px; -} -.icon-italic { - background-position: -192px -48px; -} -.icon-text-height { - background-position: -216px -48px; -} -.icon-text-width { - background-position: -240px -48px; -} -.icon-align-left { - background-position: -264px -48px; -} -.icon-align-center { - background-position: -288px -48px; -} -.icon-align-right { - background-position: -312px -48px; -} -.icon-align-justify { - background-position: -336px -48px; -} -.icon-list { - background-position: -360px -48px; -} -.icon-indent-left { - background-position: -384px -48px; -} -.icon-indent-right { - background-position: -408px -48px; -} -.icon-facetime-video { - background-position: -432px -48px; -} -.icon-picture { - background-position: -456px -48px; -} -.icon-pencil { - background-position: 0 -72px; -} -.icon-map-marker { - background-position: -24px -72px; -} -.icon-adjust { - background-position: -48px -72px; -} -.icon-tint { - background-position: -72px -72px; -} -.icon-edit { - background-position: -96px -72px; -} -.icon-share { - background-position: -120px -72px; -} -.icon-check { - background-position: -144px -72px; -} -.icon-move { - background-position: -168px -72px; -} -.icon-step-backward { - background-position: -192px -72px; -} -.icon-fast-backward { - background-position: -216px -72px; -} -.icon-backward { - background-position: -240px -72px; -} -.icon-play { - background-position: -264px -72px; -} -.icon-pause { - background-position: -288px -72px; -} -.icon-stop { - background-position: -312px -72px; -} -.icon-forward { - background-position: -336px -72px; -} -.icon-fast-forward { - background-position: -360px -72px; -} -.icon-step-forward { - background-position: -384px -72px; -} -.icon-eject { - background-position: -408px -72px; -} -.icon-chevron-left { - background-position: -432px -72px; -} -.icon-chevron-right { - background-position: -456px -72px; -} -.icon-plus-sign { - background-position: 0 -96px; -} -.icon-minus-sign { - background-position: -24px -96px; -} -.icon-remove-sign { - background-position: -48px -96px; -} -.icon-ok-sign { - background-position: -72px -96px; -} -.icon-question-sign { - background-position: -96px -96px; -} -.icon-info-sign { - background-position: -120px -96px; -} -.icon-screenshot { - background-position: -144px -96px; -} -.icon-remove-circle { - background-position: -168px -96px; -} -.icon-ok-circle { - background-position: -192px -96px; -} -.icon-ban-circle { - background-position: -216px -96px; -} -.icon-arrow-left { - background-position: -240px -96px; -} -.icon-arrow-right { - background-position: -264px -96px; -} -.icon-arrow-up { - background-position: -289px -96px; -} -.icon-arrow-down { - background-position: -312px -96px; -} -.icon-share-alt { - background-position: -336px -96px; -} -.icon-resize-full { - background-position: -360px -96px; -} -.icon-resize-small { - background-position: -384px -96px; -} -.icon-plus { - background-position: -408px -96px; -} -.icon-minus { - background-position: -433px -96px; -} -.icon-asterisk { - background-position: -456px -96px; -} -.icon-exclamation-sign { - background-position: 0 -120px; -} -.icon-gift { - background-position: -24px -120px; -} -.icon-leaf { - background-position: -48px -120px; -} -.icon-fire { - background-position: -72px -120px; -} -.icon-eye-open { - background-position: -96px -120px; -} -.icon-eye-close { - background-position: -120px -120px; -} -.icon-warning-sign { - background-position: -144px -120px; -} -.icon-plane { - background-position: -168px -120px; -} -.icon-calendar { - background-position: -192px -120px; -} -.icon-random { - background-position: -216px -120px; - width: 16px; -} -.icon-comment { - background-position: -240px -120px; -} -.icon-magnet { - background-position: -264px -120px; -} -.icon-chevron-up { - background-position: -288px -120px; -} -.icon-chevron-down { - background-position: -313px -119px; -} -.icon-retweet { - background-position: -336px -120px; -} -.icon-shopping-cart { - background-position: -360px -120px; -} -.icon-folder-close { - background-position: -384px -120px; - width: 16px; -} -.icon-folder-open { - background-position: -408px -120px; - width: 16px; -} -.icon-resize-vertical { - background-position: -432px -119px; -} -.icon-resize-horizontal { - background-position: -456px -118px; -} -.icon-hdd { - background-position: 0 -144px; -} -.icon-bullhorn { - background-position: -24px -144px; -} -.icon-bell { - background-position: -48px -144px; -} -.icon-certificate { - background-position: -72px -144px; -} -.icon-thumbs-up { - background-position: -96px -144px; -} -.icon-thumbs-down { - background-position: -120px -144px; -} -.icon-hand-right { - background-position: -144px -144px; -} -.icon-hand-left { - background-position: -168px -144px; -} -.icon-hand-up { - background-position: -192px -144px; -} -.icon-hand-down { - background-position: -216px -144px; -} -.icon-circle-arrow-right { - background-position: -240px -144px; -} -.icon-circle-arrow-left { - background-position: -264px -144px; -} -.icon-circle-arrow-up { - background-position: -288px -144px; -} -.icon-circle-arrow-down { - background-position: -312px -144px; -} -.icon-globe { - background-position: -336px -144px; -} -.icon-wrench { - background-position: -360px -144px; -} -.icon-tasks { - background-position: -384px -144px; -} -.icon-filter { - background-position: -408px -144px; -} -.icon-briefcase { - background-position: -432px -144px; -} -.icon-fullscreen { - background-position: -456px -144px; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle { - *margin-bottom: -3px; -} -.dropdown-toggle:active, -.open .dropdown-toggle { - outline: 0; -} -.caret { - display: inline-block; - width: 0; - height: 0; - vertical-align: top; - border-top: 4px solid #000000; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - content: ""; -} -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - background-color: #ffffff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #eeeeee; - border-bottom: 1px solid #eeeeee; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 20px; - color: #000000; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, -.dropdown-submenu:hover > a, -.dropdown-submenu:focus > a { - text-decoration: none; - color: #000000; - background-color: #e9e9e9; - background-image: -moz-linear-gradient(top, #eeeeee, #e1e1e1); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#eeeeee), to(#e1e1e1)); - background-image: -webkit-linear-gradient(top, #eeeeee, #e1e1e1); - background-image: -o-linear-gradient(top, #eeeeee, #e1e1e1); - background-image: linear-gradient(to bottom, #eeeeee, #e1e1e1); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffeeeeee', endColorstr='#ffe1e1e1', GradientType=0); -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #000000; - text-decoration: none; - outline: 0; - background-color: #e9e9e9; - background-image: -moz-linear-gradient(top, #eeeeee, #e1e1e1); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#eeeeee), to(#e1e1e1)); - background-image: -webkit-linear-gradient(top, #eeeeee, #e1e1e1); - background-image: -o-linear-gradient(top, #eeeeee, #e1e1e1); - background-image: linear-gradient(to bottom, #eeeeee, #e1e1e1); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffeeeeee', endColorstr='#ffe1e1e1', GradientType=0); -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #bbbbbb; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: default; -} -.open { - *z-index: 1000; -} -.open > .dropdown-menu { - display: block; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: ""; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -.dropdown-submenu { - position: relative; -} -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; - -webkit-border-radius: 5px 5px 5px 0; - -moz-border-radius: 5px 5px 5px 0; - border-radius: 5px 5px 5px 0; -} -.dropdown-submenu > a:after { - display: block; - content: " "; - float: right; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 5px 0 5px 5px; - border-left-color: #cccccc; - margin-top: 5px; - margin-right: -10px; -} -.dropdown-submenu:hover > a:after { - border-left-color: #000000; -} -.dropdown-submenu.pull-left { - float: none; -} -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.dropdown .dropdown-menu .nav-header { - padding-left: 20px; - padding-right: 20px; -} -.typeahead { - z-index: 1051; - margin-top: 2px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #eeeeee; - border: 1px solid #dcdcdc; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} -.well-large { - padding: 24px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.well-small { - padding: 9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; -} -.collapse.in { - height: auto; -} -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 20px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover, -.close:focus { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} -.btn { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding: 4px 12px; - margin-bottom: 0; - font-size: 14px; - line-height: 20px; - text-align: center; - vertical-align: middle; - cursor: pointer; - color: #777777; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #f5f5f5; - background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); - background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); - background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); - border-color: #e6e6e6 #e6e6e6 #bfbfbf; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e6e6e6; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - border: 1px solid #d9d9d9; - *border: 0; - border-bottom-color: #bfbfbf; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - *margin-left: .3em; - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #777777; - background-color: #e6e6e6; - *background-color: #d9d9d9; -} -.btn:active, -.btn.active { - background-color: #cccccc \9; -} -.btn:first-child { - *margin-left: 0; -} -.btn:hover, -.btn:focus { - color: #777777; - text-decoration: none; - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -.btn:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn.active, -.btn:active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn.disabled, -.btn[disabled] { - cursor: default; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-large { - padding: 11px 19px; - font-size: 17.5px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.btn-large [class^="icon-"], -.btn-large [class*=" icon-"] { - margin-top: 4px; -} -.btn-small { - padding: 2px 10px; - font-size: 11.9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-small [class^="icon-"], -.btn-small [class*=" icon-"] { - margin-top: 0; -} -.btn-mini [class^="icon-"], -.btn-mini [class*=" icon-"] { - margin-top: -1px; -} -.btn-mini { - padding: 0px 6px; - font-size: 10.5px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; - padding-left: 0; - padding-right: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active, -.btn-inverse.active { - color: rgba(255, 255, 255, 0.75); -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #7f7f7f; - background-image: -moz-linear-gradient(top, #848484, #777777); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#848484), to(#777777)); - background-image: -webkit-linear-gradient(top, #848484, #777777); - background-image: -o-linear-gradient(top, #848484, #777777); - background-image: linear-gradient(to bottom, #848484, #777777); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff848484', endColorstr='#ff777777', GradientType=0); - border-color: #777777 #777777 #515151; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #777777; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #777777; - *background-color: #6a6a6a; -} -.btn-primary:active, -.btn-primary.active { - background-color: #5e5e5e \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #ff8e1f; - background-image: -moz-linear-gradient(top, #ff9933, #ff7f00); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ff9933), to(#ff7f00)); - background-image: -webkit-linear-gradient(top, #ff9933, #ff7f00); - background-image: -o-linear-gradient(top, #ff9933, #ff7f00); - background-image: linear-gradient(to bottom, #ff9933, #ff7f00); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff9933', endColorstr='#ffff7f00', GradientType=0); - border-color: #ff7f00 #ff7f00 #b35900; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #ff7f00; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #ff7f00; - *background-color: #e67200; -} -.btn-warning:active, -.btn-warning.active { - background-color: #cc6600 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #eb0000; - background-image: -moz-linear-gradient(top, #ff0000, #cc0000); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ff0000), to(#cc0000)); - background-image: -webkit-linear-gradient(top, #ff0000, #cc0000); - background-image: -o-linear-gradient(top, #ff0000, #cc0000); - background-image: linear-gradient(to bottom, #ff0000, #cc0000); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff0000', endColorstr='#ffcc0000', GradientType=0); - border-color: #cc0000 #cc0000 #800000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #cc0000; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #cc0000; - *background-color: #b30000; -} -.btn-danger:active, -.btn-danger.active { - background-color: #990000 \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #24bf51; - background-image: -moz-linear-gradient(top, #26c755, #22b24c); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#26c755), to(#22b24c)); - background-image: -webkit-linear-gradient(top, #26c755, #22b24c); - background-image: -o-linear-gradient(top, #26c755, #22b24c); - background-image: linear-gradient(to bottom, #26c755, #22b24c); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff26c755', endColorstr='#ff22b24c', GradientType=0); - border-color: #22b24c #22b24c #167231; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #22b24c; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #22b24c; - *background-color: #1e9d43; -} -.btn-success:active, -.btn-success.active { - background-color: #1a873a \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #376ea4; - background-image: -moz-linear-gradient(top, #3973ac, #336699); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3973ac), to(#336699)); - background-image: -webkit-linear-gradient(top, #3973ac, #336699); - background-image: -o-linear-gradient(top, #3973ac, #336699); - background-image: linear-gradient(to bottom, #3973ac, #336699); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3973ac', endColorstr='#ff336699', GradientType=0); - border-color: #336699 #336699 #204060; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #336699; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #336699; - *background-color: #2d5986; -} -.btn-info:active, -.btn-info.active { - background-color: #264c73 \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #7f7f7f; - background-image: -moz-linear-gradient(top, #848484, #777777); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#848484), to(#777777)); - background-image: -webkit-linear-gradient(top, #848484, #777777); - background-image: -o-linear-gradient(top, #848484, #777777); - background-image: linear-gradient(to bottom, #848484, #777777); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff848484', endColorstr='#ff777777', GradientType=0); - border-color: #777777 #777777 #515151; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #777777; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #777777; - *background-color: #6a6a6a; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #5e5e5e \9; -} -button.btn, -input[type="submit"].btn { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn::-moz-focus-inner, -input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} -button.btn.btn-large, -input[type="submit"].btn.btn-large { - *padding-top: 7px; - *padding-bottom: 7px; -} -button.btn.btn-small, -input[type="submit"].btn.btn-small { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn.btn-mini, -input[type="submit"].btn.btn-mini { - *padding-top: 1px; - *padding-bottom: 1px; -} -.btn-link, -.btn-link:active, -.btn-link[disabled] { - background-color: transparent; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-link { - border-color: transparent; - cursor: pointer; - color: #777777; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-link:hover, -.btn-link:focus { - color: #777777; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -.btn-link[disabled]:focus { - color: #777777; - text-decoration: none; -} -.btn-group { - position: relative; - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - font-size: 0; - vertical-align: middle; - white-space: nowrap; - *margin-left: .3em; -} -.btn-group:first-child { - *margin-left: 0; -} -.btn-group + .btn-group { - margin-left: 5px; -} -.btn-toolbar { - font-size: 0; - margin-top: 10px; - margin-bottom: 10px; -} -.btn-toolbar > .btn + .btn, -.btn-toolbar > .btn-group + .btn, -.btn-toolbar > .btn + .btn-group { - margin-left: 5px; -} -.btn-group > .btn { - position: relative; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group > .btn + .btn { - margin-left: -1px; -} -.btn-group > .btn, -.btn-group > .dropdown-menu, -.btn-group > .popover { - font-size: 14px; -} -.btn-group > .btn-mini { - font-size: 10.5px; -} -.btn-group > .btn-small { - font-size: 11.9px; -} -.btn-group > .btn-large { - font-size: 17.5px; -} -.btn-group > .btn:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.btn-group > .btn.large:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.btn-group > .btn.large:last-child, -.btn-group > .large.dropdown-toggle { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - *padding-top: 5px; - *padding-bottom: 5px; -} -.btn-group > .btn-mini + .dropdown-toggle { - padding-left: 5px; - padding-right: 5px; - *padding-top: 2px; - *padding-bottom: 2px; -} -.btn-group > .btn-small + .dropdown-toggle { - *padding-top: 5px; - *padding-bottom: 4px; -} -.btn-group > .btn-large + .dropdown-toggle { - padding-left: 12px; - padding-right: 12px; - *padding-top: 7px; - *padding-bottom: 7px; -} -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn-group.open .btn.dropdown-toggle { - background-color: #e6e6e6; -} -.btn-group.open .btn-primary.dropdown-toggle { - background-color: #777777; -} -.btn-group.open .btn-warning.dropdown-toggle { - background-color: #ff7f00; -} -.btn-group.open .btn-danger.dropdown-toggle { - background-color: #cc0000; -} -.btn-group.open .btn-success.dropdown-toggle { - background-color: #22b24c; -} -.btn-group.open .btn-info.dropdown-toggle { - background-color: #336699; -} -.btn-group.open .btn-inverse.dropdown-toggle { - background-color: #777777; -} -.btn .caret { - margin-top: 8px; - margin-left: 0; -} -.btn-large .caret { - margin-top: 6px; -} -.btn-large .caret { - border-left-width: 5px; - border-right-width: 5px; - border-top-width: 5px; -} -.btn-mini .caret, -.btn-small .caret { - margin-top: 8px; -} -.dropup .btn-large .caret { - border-bottom-width: 5px; -} -.btn-primary .caret, -.btn-warning .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret, -.btn-inverse .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.btn-group-vertical { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} -.btn-group-vertical > .btn { - display: block; - float: none; - max-width: 100%; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group-vertical > .btn + .btn { - margin-left: 0; - margin-top: -1px; -} -.btn-group-vertical > .btn:first-child { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.btn-group-vertical > .btn:last-child { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.btn-group-vertical > .btn-large:first-child { - -webkit-border-radius: 6px 6px 0 0; - -moz-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; -} -.btn-group-vertical > .btn-large:last-child { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 20px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #fcf8e3; - border: 1px solid #fbeed5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.alert, -.alert h4 { - color: #c09853; -} -.alert h4 { - margin: 0; -} -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 20px; -} -.alert-success { - background-color: #dff0d8; - border-color: #d6e9c6; - color: #468847; -} -.alert-success h4 { - color: #468847; -} -.alert-danger, -.alert-error { - background-color: #f2dede; - border-color: #eed3d7; - color: #b94a48; -} -.alert-danger h4, -.alert-error h4 { - color: #b94a48; -} -.alert-info { - background-color: #d9edf7; - border-color: #bce8f1; - color: #3a87ad; -} -.alert-info h4 { - color: #3a87ad; -} -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; -} -.alert-block p + p { - margin-top: 5px; -} -.nav { - margin-left: 0; - margin-bottom: 20px; - list-style: none; -} -.nav > li > a { - display: block; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #eeeeee; -} -.nav > li > a > img { - max-width: none; -} -.nav > .pull-right { - float: right; -} -.nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 20px; - color: #bbbbbb; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} -.nav li + .nav-header { - margin-top: 9px; -} -.nav-list { - padding-left: 15px; - padding-right: 15px; - margin-bottom: 0; -} -.nav-list > li > a, -.nav-list .nav-header { - margin-left: -15px; - margin-right: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.nav-list > li > a { - padding: 3px 15px; -} -.nav-list > .active > a, -.nav-list > .active > a:hover, -.nav-list > .active > a:focus { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #777777; -} -.nav-list [class^="icon-"], -.nav-list [class*=" icon-"] { - margin-right: 2px; -} -.nav-list .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.nav-tabs, -.nav-pills { - *zoom: 1; -} -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; - line-height: 0; -} -.nav-tabs:after, -.nav-pills:after { - clear: both; -} -.nav-tabs > li, -.nav-pills > li { - float: left; -} -.nav-tabs > li > a, -.nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - margin-bottom: -1px; -} -.nav-tabs > li > a { - padding-top: 8px; - padding-bottom: 8px; - line-height: 20px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover, -.nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #dddddd; -} -.nav-tabs > .active > a, -.nav-tabs > .active > a:hover, -.nav-tabs > .active > a:focus { - color: #999999; - background-color: #ffffff; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.nav-pills > .active > a, -.nav-pills > .active > a:hover, -.nav-pills > .active > a:focus { - color: #ffffff; - background-color: #777777; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li > a { - margin-right: 0; -} -.nav-tabs.nav-stacked { - border-bottom: 0; -} -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.nav-tabs.nav-stacked > li > a:hover, -.nav-tabs.nav-stacked > li > a:focus { - border-color: #ddd; - z-index: 2; -} -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.nav-pills .dropdown-menu { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.nav .dropdown-toggle .caret { - border-top-color: #777777; - border-bottom-color: #777777; - margin-top: 6px; -} -.nav .dropdown-toggle:hover .caret, -.nav .dropdown-toggle:focus .caret { - border-top-color: #777777; - border-bottom-color: #777777; -} -/* move down carets for tabs */ -.nav-tabs .dropdown-toggle .caret { - margin-top: 8px; -} -.nav .active .dropdown-toggle .caret { - border-top-color: #fff; - border-bottom-color: #fff; -} -.nav-tabs .active .dropdown-toggle .caret { - border-top-color: #999999; - border-bottom-color: #999999; -} -.nav > .dropdown.active > a:hover, -.nav > .dropdown.active > a:focus { - cursor: pointer; -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover, -.nav > li.dropdown.open.active > a:focus { - color: #ffffff; - background-color: #bbbbbb; - border-color: #bbbbbb; -} -.nav li.dropdown.open .caret, -.nav li.dropdown.open.active .caret, -.nav li.dropdown.open a:hover .caret, -.nav li.dropdown.open a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} -.tabs-stacked .open > a:hover, -.tabs-stacked .open > a:focus { - border-color: #bbbbbb; -} -.tabbable { - *zoom: 1; -} -.tabbable:before, -.tabbable:after { - display: table; - content: ""; - line-height: 0; -} -.tabbable:after { - clear: both; -} -.tab-content { - overflow: auto; -} -.tabs-below > .nav-tabs, -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} -.tab-content > .active, -.pill-content > .active { - display: block; -} -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; -} -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.tabs-below > .nav-tabs > li > a:hover, -.tabs-below > .nav-tabs > li > a:focus { - border-bottom-color: transparent; - border-top-color: #ddd; -} -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover, -.tabs-below > .nav-tabs > .active > a:focus { - border-color: transparent #ddd #ddd #ddd; -} -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.tabs-left > .nav-tabs > li > a:hover, -.tabs-left > .nav-tabs > li > a:focus { - border-color: #eeeeee #dddddd #eeeeee #eeeeee; -} -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover, -.tabs-left > .nav-tabs .active > a:focus { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.tabs-right > .nav-tabs > li > a:hover, -.tabs-right > .nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #eeeeee #dddddd; -} -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover, -.tabs-right > .nav-tabs .active > a:focus { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} -.nav > .disabled > a { - color: #bbbbbb; -} -.nav > .disabled > a:hover, -.nav > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - cursor: default; -} -.navbar { - overflow: visible; - margin-bottom: 20px; - *position: relative; - *z-index: 2; -} -.navbar-inner { - min-height: 60px; - padding-left: 20px; - padding-right: 20px; - background-color: #ffffff; - background-image: -moz-linear-gradient(top, #ffffff, #ffffff); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#ffffff)); - background-image: -webkit-linear-gradient(top, #ffffff, #ffffff); - background-image: -o-linear-gradient(top, #ffffff, #ffffff); - background-image: linear-gradient(to bottom, #ffffff, #ffffff); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffffffff', GradientType=0); - border: 1px solid #e0e0e0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - *zoom: 1; -} -.navbar-inner:before, -.navbar-inner:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-inner:after { - clear: both; -} -.navbar .container { - width: auto; -} -.nav-collapse.collapse { - height: auto; - overflow: visible; -} -.navbar .brand { - float: left; - display: block; - padding: 20px 20px 20px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - color: #000000; - text-shadow: 0 1px 0 #ffffff; -} -.navbar .brand:hover, -.navbar .brand:focus { - text-decoration: none; -} -.navbar-text { - margin-bottom: 0; - line-height: 60px; - color: #777777; -} -.navbar-link { - color: #000000; -} -.navbar-link:hover, -.navbar-link:focus { - color: #000000; -} -.navbar .divider-vertical { - height: 60px; - margin: 0 9px; - border-left: 1px solid #ffffff; - border-right: 1px solid #ffffff; -} -.navbar .btn, -.navbar .btn-group { - margin-top: 15px; -} -.navbar .btn-group .btn, -.navbar .input-prepend .btn, -.navbar .input-append .btn, -.navbar .input-prepend .btn-group, -.navbar .input-append .btn-group { - margin-top: 0; -} -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} -.navbar-form:before, -.navbar-form:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-form:after { - clear: both; -} -.navbar-form input, -.navbar-form select, -.navbar-form .radio, -.navbar-form .checkbox { - margin-top: 15px; -} -.navbar-form input, -.navbar-form select, -.navbar-form .btn { - display: inline-block; - margin-bottom: 0; -} -.navbar-form input[type="image"], -.navbar-form input[type="checkbox"], -.navbar-form input[type="radio"] { - margin-top: 3px; -} -.navbar-form .input-append, -.navbar-form .input-prepend { - margin-top: 5px; - white-space: nowrap; -} -.navbar-form .input-append input, -.navbar-form .input-prepend input { - margin-top: 0; -} -.navbar-search { - position: relative; - float: left; - margin-top: 15px; - margin-bottom: 0; -} -.navbar-search .search-query { - margin-bottom: 0; - padding: 4px 14px; - font-family: "News Cycle", "Arial Narrow Bold", sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.navbar-static-top { - position: static; - margin-bottom: 0; -} -.navbar-static-top .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; - margin-bottom: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - border-width: 0 0 1px; -} -.navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-fixed-bottom .navbar-inner { - padding-left: 0; - padding-right: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.navbar-fixed-top { - top: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 1px 10px rgba(0,0,0,.1); - box-shadow: 0 1px 10px rgba(0,0,0,.1); -} -.navbar-fixed-bottom { - bottom: 0; -} -.navbar-fixed-bottom .navbar-inner { - -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - box-shadow: 0 -1px 10px rgba(0,0,0,.1); -} -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} -.navbar .nav.pull-right { - float: right; - margin-right: 0; -} -.navbar .nav > li { - float: left; -} -.navbar .nav > li > a { - float: none; - padding: 20px 15px 20px; - color: #000000; - text-decoration: none; - text-shadow: 0 1px 0 #ffffff; -} -.navbar .nav .dropdown-toggle .caret { - margin-top: 8px; -} -.navbar .nav > li > a:focus, -.navbar .nav > li > a:hover { - background-color: transparent; - color: #000000; - text-decoration: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - color: #000000; - text-decoration: none; - background-color: transparent; - -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); -} -.navbar .btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-left: 5px; - margin-right: 5px; - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #f2f2f2; - background-image: -moz-linear-gradient(top, #f2f2f2, #f2f2f2); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f2f2f2), to(#f2f2f2)); - background-image: -webkit-linear-gradient(top, #f2f2f2, #f2f2f2); - background-image: -o-linear-gradient(top, #f2f2f2, #f2f2f2); - background-image: linear-gradient(to bottom, #f2f2f2, #f2f2f2); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff2f2f2', endColorstr='#fff2f2f2', GradientType=0); - border-color: #f2f2f2 #f2f2f2 #cccccc; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #f2f2f2; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); -} -.navbar .btn-navbar:hover, -.navbar .btn-navbar:focus, -.navbar .btn-navbar:active, -.navbar .btn-navbar.active, -.navbar .btn-navbar.disabled, -.navbar .btn-navbar[disabled] { - color: #ffffff; - background-color: #f2f2f2; - *background-color: #e5e5e5; -} -.navbar .btn-navbar:active, -.navbar .btn-navbar.active { - background-color: #d9d9d9 \9; -} -.navbar .btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} -.navbar .nav > li > .dropdown-menu:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: rgba(0, 0, 0, 0.2); - position: absolute; - top: -7px; - left: 9px; -} -.navbar .nav > li > .dropdown-menu:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #ffffff; - position: absolute; - top: -6px; - left: 10px; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:before { - border-top: 7px solid #ccc; - border-top-color: rgba(0, 0, 0, 0.2); - border-bottom: 0; - bottom: -7px; - top: auto; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:after { - border-top: 6px solid #ffffff; - border-bottom: 0; - bottom: -6px; - top: auto; -} -.navbar .nav li.dropdown > a:hover .caret, -.navbar .nav li.dropdown > a:focus .caret { - border-top-color: #000000; - border-bottom-color: #000000; -} -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - background-color: transparent; - color: #000000; -} -.navbar .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #000000; - border-bottom-color: #000000; -} -.navbar .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #000000; - border-bottom-color: #000000; -} -.navbar .pull-right > li > .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right { - left: auto; - right: 0; -} -.navbar .pull-right > li > .dropdown-menu:before, -.navbar .nav > li > .dropdown-menu.pull-right:before { - left: auto; - right: 12px; -} -.navbar .pull-right > li > .dropdown-menu:after, -.navbar .nav > li > .dropdown-menu.pull-right:after { - left: auto; - right: 13px; -} -.navbar .pull-right > li > .dropdown-menu .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { - left: auto; - right: 100%; - margin-left: 0; - margin-right: -1px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.navbar-inverse .navbar-inner { - background-color: #1b1b1b; - background-image: -moz-linear-gradient(top, #222222, #111111); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#111111)); - background-image: -webkit-linear-gradient(top, #222222, #111111); - background-image: -o-linear-gradient(top, #222222, #111111); - background-image: linear-gradient(to bottom, #222222, #111111); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff111111', GradientType=0); - border-color: #252525; -} -.navbar-inverse .brand, -.navbar-inverse .nav > li > a { - color: #bbbbbb; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.navbar-inverse .brand:hover, -.navbar-inverse .nav > li > a:hover, -.navbar-inverse .brand:focus, -.navbar-inverse .nav > li > a:focus { - color: #ffffff; -} -.navbar-inverse .brand { - color: #bbbbbb; -} -.navbar-inverse .navbar-text { - color: #bbbbbb; -} -.navbar-inverse .nav > li > a:focus, -.navbar-inverse .nav > li > a:hover { - background-color: transparent; - color: #ffffff; -} -.navbar-inverse .nav .active > a, -.navbar-inverse .nav .active > a:hover, -.navbar-inverse .nav .active > a:focus { - color: #ffffff; - background-color: #111111; -} -.navbar-inverse .navbar-link { - color: #bbbbbb; -} -.navbar-inverse .navbar-link:hover, -.navbar-inverse .navbar-link:focus { - color: #ffffff; -} -.navbar-inverse .divider-vertical { - border-left-color: #111111; - border-right-color: #222222; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #111111; - color: #ffffff; -} -.navbar-inverse .nav li.dropdown > a:hover .caret, -.navbar-inverse .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #bbbbbb; - border-bottom-color: #bbbbbb; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .navbar-search .search-query { - color: #ffffff; - background-color: #515151; - border-color: #111111; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -.navbar-inverse .navbar-search .search-query:-moz-placeholder { - color: #cccccc; -} -.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { - color: #cccccc; -} -.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { - color: #cccccc; -} -.navbar-inverse .navbar-search .search-query:focus, -.navbar-inverse .navbar-search .search-query.focused { - padding: 5px 15px; - color: #777777; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - outline: 0; -} -.navbar-inverse .btn-navbar { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e0e0e; - background-image: -moz-linear-gradient(top, #151515, #040404); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#151515), to(#040404)); - background-image: -webkit-linear-gradient(top, #151515, #040404); - background-image: -o-linear-gradient(top, #151515, #040404); - background-image: linear-gradient(to bottom, #151515, #040404); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff151515', endColorstr='#ff040404', GradientType=0); - border-color: #040404 #040404 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #040404; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.navbar-inverse .btn-navbar:hover, -.navbar-inverse .btn-navbar:focus, -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active, -.navbar-inverse .btn-navbar.disabled, -.navbar-inverse .btn-navbar[disabled] { - color: #ffffff; - background-color: #040404; - *background-color: #000000; -} -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active { - background-color: #000000 \9; -} -.breadcrumb { - padding: 8px 15px; - margin: 0 0 20px; - list-style: none; - background-color: #f5f5f5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.breadcrumb > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb > li > .divider { - padding: 0 5px; - color: #ccc; -} -.breadcrumb > .active { - color: #bbbbbb; -} -.pagination { - margin: 20px 0; -} -.pagination ul { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-left: 0; - margin-bottom: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} -.pagination ul > li { - display: inline; -} -.pagination ul > li > a, -.pagination ul > li > span { - float: left; - padding: 4px 12px; - line-height: 20px; - text-decoration: none; - background-color: #ffffff; - border: 1px solid #dddddd; - border-left-width: 0; -} -.pagination ul > li > a:hover, -.pagination ul > li > a:focus, -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: #eeeeee; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - color: #bbbbbb; - cursor: default; -} -.pagination ul > .disabled > span, -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > a:focus { - color: #bbbbbb; - background-color: transparent; - cursor: default; -} -.pagination ul > li:first-child > a, -.pagination ul > li:first-child > span { - border-left-width: 1px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.pagination ul > li:last-child > a, -.pagination ul > li:last-child > span { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.pagination-centered { - text-align: center; -} -.pagination-right { - text-align: right; -} -.pagination-large ul > li > a, -.pagination-large ul > li > span { - padding: 11px 19px; - font-size: 17.5px; -} -.pagination-large ul > li:first-child > a, -.pagination-large ul > li:first-child > span { - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.pagination-large ul > li:last-child > a, -.pagination-large ul > li:last-child > span { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.pagination-mini ul > li:first-child > a, -.pagination-small ul > li:first-child > a, -.pagination-mini ul > li:first-child > span, -.pagination-small ul > li:first-child > span { - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topleft: 3px; - border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - border-bottom-left-radius: 3px; -} -.pagination-mini ul > li:last-child > a, -.pagination-small ul > li:last-child > a, -.pagination-mini ul > li:last-child > span, -.pagination-small ul > li:last-child > span { - -webkit-border-top-right-radius: 3px; - -moz-border-radius-topright: 3px; - border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - -moz-border-radius-bottomright: 3px; - border-bottom-right-radius: 3px; -} -.pagination-small ul > li > a, -.pagination-small ul > li > span { - padding: 2px 10px; - font-size: 11.9px; -} -.pagination-mini ul > li > a, -.pagination-mini ul > li > span { - padding: 0px 6px; - font-size: 10.5px; -} -.pager { - margin: 20px 0; - list-style: none; - text-align: center; - *zoom: 1; -} -.pager:before, -.pager:after { - display: table; - content: ""; - line-height: 0; -} -.pager:after { - clear: both; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #bbbbbb; - background-color: #fff; - cursor: default; -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop, -.modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.modal { - position: fixed; - top: 10%; - left: 50%; - z-index: 1050; - width: 560px; - margin-left: -280px; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - /* IE6-7 */ - - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - outline: none; -} -.modal.fade { - -webkit-transition: opacity .3s linear, top .3s ease-out; - -moz-transition: opacity .3s linear, top .3s ease-out; - -o-transition: opacity .3s linear, top .3s ease-out; - transition: opacity .3s linear, top .3s ease-out; - top: -25%; -} -.modal.fade.in { - top: 10%; -} -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} -.modal-header .close { - margin-top: 2px; -} -.modal-header h3 { - margin: 0; - line-height: 30px; -} -.modal-body { - position: relative; - overflow-y: auto; - max-height: 400px; - padding: 15px; -} -.modal-form { - margin-bottom: 0; -} -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - text-align: right; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; - *zoom: 1; -} -.modal-footer:before, -.modal-footer:after { - display: table; - content: ""; - line-height: 0; -} -.modal-footer:after { - clear: both; -} -.modal-footer .btn + .btn { - margin-left: 5px; - margin-bottom: 0; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.tooltip { - position: absolute; - z-index: 1020; - display: block; - visibility: visible; - font-size: 11px; - line-height: 1.4; - opacity: 0; - filter: alpha(opacity=0); -} -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.tooltip.top { - margin-top: -3px; - padding: 5px 0; -} -.tooltip.right { - margin-left: 3px; - padding: 0 5px; -} -.tooltip.bottom { - margin-top: 3px; - padding: 5px 0; -} -.tooltip.left { - margin-left: -3px; - padding: 0 5px; -} -.tooltip-inner { - max-width: 200px; - padding: 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #000000; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #000000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #000000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #000000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000000; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - background-color: #ffffff; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - white-space: normal; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #f7f7f7; - border-bottom: 1px solid #ebebeb; - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.popover-title:empty { - display: none; -} -.popover-content { - padding: 9px 14px; -} -.popover .arrow, -.popover .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover .arrow { - border-width: 11px; -} -.popover .arrow:after { - border-width: 10px; - content: ""; -} -.popover.top .arrow { - left: 50%; - margin-left: -11px; - border-bottom-width: 0; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, 0.25); - bottom: -11px; -} -.popover.top .arrow:after { - bottom: 1px; - margin-left: -10px; - border-bottom-width: 0; - border-top-color: #ffffff; -} -.popover.right .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-left-width: 0; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, 0.25); -} -.popover.right .arrow:after { - left: 1px; - bottom: -10px; - border-left-width: 0; - border-right-color: #ffffff; -} -.popover.bottom .arrow { - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, 0.25); - top: -11px; -} -.popover.bottom .arrow:after { - top: 1px; - margin-left: -10px; - border-top-width: 0; - border-bottom-color: #ffffff; -} -.popover.left .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, 0.25); -} -.popover.left .arrow:after { - right: 1px; - border-right-width: 0; - border-left-color: #ffffff; - bottom: -10px; -} -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} -.thumbnails:before, -.thumbnails:after { - display: table; - content: ""; - line-height: 0; -} -.thumbnails:after { - clear: both; -} -.row-fluid .thumbnails { - margin-left: 0; -} -.thumbnails > li { - float: left; - margin-bottom: 20px; - margin-left: 20px; -} -.thumbnail { - display: block; - padding: 4px; - line-height: 20px; - border: 1px solid #ddd; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -a.thumbnail:hover, -a.thumbnail:focus { - border-color: #777777; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} -.thumbnail > img { - display: block; - max-width: 100%; - margin-left: auto; - margin-right: auto; -} -.thumbnail .caption { - padding: 9px; - color: #999999; -} -.media, -.media-body { - overflow: hidden; - *overflow: visible; - zoom: 1; -} -.media, -.media .media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media-object { - display: block; -} -.media-heading { - margin: 0 0 5px; -} -.media > .pull-left { - margin-right: 10px; -} -.media > .pull-right { - margin-left: 10px; -} -.media-list { - margin-left: 0; - list-style: none; -} -.label, -.badge { - display: inline-block; - padding: 2px 4px; - font-size: 11.844px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - vertical-align: baseline; - white-space: nowrap; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #bbbbbb; -} -.label { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.badge { - padding-left: 9px; - padding-right: 9px; - -webkit-border-radius: 9px; - -moz-border-radius: 9px; - border-radius: 9px; -} -.label:empty, -.badge:empty { - display: none; -} -a.label:hover, -a.label:focus, -a.badge:hover, -a.badge:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.label-important, -.badge-important { - background-color: #b94a48; -} -.label-important[href], -.badge-important[href] { - background-color: #953b39; -} -.label-warning, -.badge-warning { - background-color: #ff7f00; -} -.label-warning[href], -.badge-warning[href] { - background-color: #cc6600; -} -.label-success, -.badge-success { - background-color: #468847; -} -.label-success[href], -.badge-success[href] { - background-color: #356635; -} -.label-info, -.badge-info { - background-color: #3a87ad; -} -.label-info[href], -.badge-info[href] { - background-color: #2d6987; -} -.label-inverse, -.badge-inverse { - background-color: #777777; -} -.label-inverse[href], -.badge-inverse[href] { - background-color: #5e5e5e; -} -.btn .label, -.btn .badge { - position: relative; - top: -1px; -} -.btn-mini .label, -.btn-mini .badge { - top: 0; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-moz-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-ms-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - overflow: hidden; - height: 20px; - margin-bottom: 20px; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.progress .bar { - width: 0%; - height: 100%; - color: #ffffff; - float: left; - font-size: 12px; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(to bottom, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} -.progress .bar + .bar { - -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); -} -.progress-striped .bar { - background-color: #149bdf; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - -ms-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-danger .bar, -.progress .bar-danger { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); -} -.progress-danger.progress-striped .bar, -.progress-striped .bar-danger { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar, -.progress .bar-success { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(to bottom, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); -} -.progress-success.progress-striped .bar, -.progress-striped .bar-success { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar, -.progress .bar-info { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(to bottom, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); -} -.progress-info.progress-striped .bar, -.progress-striped .bar-info { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-warning .bar, -.progress .bar-warning { - background-color: #ff962e; - background-image: -moz-linear-gradient(top, #ffa54d, #ff7f00); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffa54d), to(#ff7f00)); - background-image: -webkit-linear-gradient(top, #ffa54d, #ff7f00); - background-image: -o-linear-gradient(top, #ffa54d, #ff7f00); - background-image: linear-gradient(to bottom, #ffa54d, #ff7f00); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffa54d', endColorstr='#ffff7f00', GradientType=0); -} -.progress-warning.progress-striped .bar, -.progress-striped .bar-warning { - background-color: #ffa54d; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.accordion { - margin-bottom: 20px; -} -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.accordion-heading { - border-bottom: 0; -} -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} -.accordion-toggle { - cursor: pointer; -} -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} -.carousel { - position: relative; - margin-bottom: 20px; - line-height: 1; -} -.carousel-inner { - overflow: hidden; - width: 100%; - position: relative; -} -.carousel-inner > .item { - display: none; - position: relative; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - line-height: 1; -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #222222; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.carousel-control.right { - left: auto; - right: 15px; -} -.carousel-control:hover, -.carousel-control:focus { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} -.carousel-indicators { - position: absolute; - top: 15px; - right: 15px; - z-index: 5; - margin: 0; - list-style: none; -} -.carousel-indicators li { - display: block; - float: left; - width: 10px; - height: 10px; - margin-left: 5px; - text-indent: -999px; - background-color: #ccc; - background-color: rgba(255, 255, 255, 0.25); - border-radius: 5px; -} -.carousel-indicators .active { - background-color: #fff; -} -.carousel-caption { - position: absolute; - left: 0; - right: 0; - bottom: 0; - padding: 15px; - background: #777777; - background: rgba(0, 0, 0, 0.75); -} -.carousel-caption h4, -.carousel-caption p { - color: #ffffff; - line-height: 20px; -} -.carousel-caption h4 { - margin: 0 0 5px; -} -.carousel-caption p { - margin-bottom: 0; -} -.hero-unit { - padding: 60px; - margin-bottom: 30px; - font-size: 18px; - font-weight: 200; - line-height: 30px; - color: inherit; - background-color: #eeeeee; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - color: #000000; - letter-spacing: -1px; -} -.hero-unit li { - line-height: 30px; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.invisible { - visibility: hidden; -} -.affix { - position: fixed; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 0 0 10px; - line-height: 1.2; -} -h1 a, -h2 a, -h3 a, -h4 a, -h5 a, -h6 a { - color: #000000; -} -h1 { - font-size: 48px; -} -h2 { - font-size: 36px; -} -h3 { - font-size: 28px; -} -h4 { - font-size: 20px; -} -h5 { - font-size: 13px; -} -p > a, -address > a, -.breadcrumb a, -abbr[title] { - text-decoration: none; - border-bottom: 1px dotted; -} -p > a:hover, -address > a:hover, -.breadcrumb a:hover, -abbr[title]:hover { - text-decoration: none; - border-bottom: 1px solid; -} -code, -pre { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - background-color: #eeeeee; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.page-header { - border-bottom: 2px solid #eeeeee; -} -hr { - border-bottom: 1px solid #eeeeee; -} -.navbar { - font-family: "News Cycle", "Arial Narrow Bold", sans-serif; - font-weight: bold; -} -.navbar .navbar-inner { - border-bottom: 2px solid #eeeeee; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.navbar .brand { - padding: 19px 20px 21px; - font-size: 24px; - font-weight: bold; - text-shadow: none; - text-transform: uppercase; -} -.navbar .nav > li > a { - padding: 20px 10px 20px; - font-size: 18px; - text-shadow: none; - text-transform: uppercase; -} -.navbar .nav > .active > a { - background-color: transparent; -} -.navbar .navbar-text { - margin-top: 20px; - padding-left: 10px; - padding-right: 10px; - font-size: 18px; - line-height: 20px; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.navbar .divider-vertical { - border-left-color: #eeeeee; - border-right-color: #eeeeee; -} -.navbar .dropdown-menu { - top: 85%; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar .dropdown-menu a { - font-size: 15px; - font-weight: bold; -} -.navbar .navbar-search .search-query, -.navbar .navbar-search .search-query:hover { - border: 2px solid #eeeeee; - color: #777777; -} -.navbar .navbar-search .search-query:-moz-placeholder, -.navbar .navbar-search .search-query:hover:-moz-placeholder { - color: #999999; -} -.navbar .navbar-search .search-query:-ms-input-placeholder, -.navbar .navbar-search .search-query:hover:-ms-input-placeholder { - color: #999999; -} -.navbar .navbar-search .search-query::-webkit-input-placeholder, -.navbar .navbar-search .search-query:hover::-webkit-input-placeholder { - color: #999999; -} -@media (max-width: 979px) { - .nav-collapse .navbar-form, - .nav-collapse .navbar-search { - margin-bottom: 0; - border-top: 2px solid #eeeeee; - border-bottom: 2px solid #eeeeee; - } - .navbar .nav-collapse .nav li > a { - color: #000000; - } - .navbar .nav-collapse .nav li > a:hover { - background-color: #eeeeee; - } - .navbar .nav-collapse .navbar-text { - margin-top: 0; - } - .navbar-inverse .nav-collapse .nav li > a { - color: #bbbbbb; - } - .navbar-inverse .nav-collapse .nav li > a:hover { - background-color: #111; - background-image: none; - } -} -div.subnav { - margin: 0 1px; - height: 54px; - background: #ffffff none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - border: 2px solid #eeeeee; - border-left: none; - border-right: none; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -div.subnav.subnav-fixed { - top: 61px; - margin: 0; - border-top: none; -} -div.subnav .nav > li > a, -div.subnav .nav > li:first-child > a, -div.subnav .nav > li.active > a { - padding: 20px 15px; - border-left: none; - border-right: none; - background-color: transparent; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - font-family: "News Cycle", "Arial Narrow Bold", sans-serif; - color: #000000; - font-size: 15px; - font-weight: bold; -} -div.subnav .nav > li > a:hover, -div.subnav .nav > li:first-child > a:hover, -div.subnav .nav > li.active > a:hover { - padding: 20px 15px; - background-color: transparent; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - color: #000000; -} -div.subnav li.dropdown > .dropdown-toggle .caret, -div.subnav li.dropdown > .dropdown-toggle:hover .caret, -div.subnav li.dropdown.open > .dropdown-toggle .caret { - border-top-color: #000000; - border-bottom-color: #000000; - opacity: 1; -} -div.subnav li.dropdown.open .dropdown-toggle, -div.subnav li.dropdown.open .dropdown-toggle:hover { - background-color: #ffffff; - color: #000000; -} -[class^="icon-"], -[class*=" icon-"] { - vertical-align: baseline; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #141414; - background-image: -moz-linear-gradient(top, #222222, #000000); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#222222), to(#000000)); - background-image: -webkit-linear-gradient(top, #222222, #000000); - background-image: -o-linear-gradient(top, #222222, #000000); - background-image: linear-gradient(to bottom, #222222, #000000); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff222222', endColorstr='#ff000000', GradientType=0); - border-color: #000000 #000000 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #000000; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #000000; - *background-color: #000000; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #000000 \9; -} -.table-bordered { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -legend { - border-bottom: 2px solid #eeeeee; - font-family: "News Cycle", "Arial Narrow Bold", sans-serif; - font-weight: bold; - color: #000000; -} -.well { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.hero-unit { - padding: 30px 60px; - border: 1px solid rgba(0, 0, 0, 0.05); - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.hero-unit h1 { - margin: 0 0 10px; - line-height: 1.2; -} -.modal { - -webkit-border-radius: 0px; - -moz-border-radius: 0px; - border-radius: 0px; - background: #ffffff; -} -.modal-header { - border-bottom: none; -} -.modal-footer { - border-top: none; - background: transparent; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.close, -.close:hover { - border-bottom: none; -} -@media (max-width: 768px) { - div.subnav { - height: auto; - } - div.subnav .nav > li.active > a { - border-top: none; - } - div.subnav .nav > li:hover > a, - div.subnav .nav > li:first-child:hover > a, - div.subnav .nav > li.active:hover > a, - div.subnav .nav > li.dropdown.open .dropdown-toggle, - div.subnav .nav > li.dropdown.open .dropdown-toggle:hover { - background-color: #eeeeee; - } - .nav-tabs .open .dropdown-toggle, - .nav-pills .open .dropdown-toggle, - .nav > li.dropdown.open.active > a:hover { - border-color: #e5e5e5; - } -} -#main { - margin-top: 56px; -} -.navbar-fixed-top .navbar-inner { - padding-left: 20px; - padding-right: 20px; -} -.navbar .dropdown-menu { - padding: 20px; - max-height: 300px; - overflow: auto; - width: 300px; - background-color: #111111; -} -.navbar .dropdown-menu a, -.navbar .dropdown-menu a:visited { - color: #bbbbbb; -} -.navbar .dropdown-menu a:hover { - color: #ffffff; - background-color: transparent; -} -.navbar .dropdown-menu a:active { - color: #ffffff; - background-color: #111111; -} -.navbar .dropdown-menu a { - padding-left: 0; - padding-right: 5px; - font-weight: 500; - font-size: 115%; -} -#toc { - position: fixed; - top: 56px; - width: 29%; - max-height: 90%; - overflow: auto; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px #ffffff solid; - padding: 5px; -} -#toc .toc-active { - background-color: transparent; - color: #000000; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -#toc .toc-active a, -#toc .toc-active a:hover, -#toc .toc-active a:active, -#toc .toc-active a:visited { - background-color: transparent; - color: #000000; -} -.toc-shim { - padding-top: 56px; - margin-top: -56px; - display: block; -} -.toc-h1 { - margin-left: 2px; - margin-right: 2px; -} -.toc-h2 { - margin-left: 7px; - margin-right: 7px; -} -.toc-h3 { - margin-left: 14px; - margin-right: 7px; -} -.toc-h4 { - margin-left: 21px; - margin-right: 7px; -} -.copyright { - font-size: 90%; - text-align: center; - color: #111111; - width: 100%; - display: block; -} -.jsdoc-message { - font-size: 90%; - text-align: center; - color: #111111; - width: 100%; - display: block; -} -.page-title { - font-size: 220%; - color: #111111; - font-weight: 700; - padding-top: 10px; - display: block; -} -footer { - border-top: 1px solid #222222; - padding-top: 15px; -} -code { - background-color: none; - border: none; - color: #ff7f00; -} -.buffered-name { - padding-top: 56px; - margin-top: -56px; -} -.member-collapsed { - background-color: #111111; - color: #bbbbbb; -} -.member-open { - background-color: inherit; - color: inherit; -} -.member { - -webkit-transition: background-color 0.5s linear; - -moz-transition: background-color 0.5s linear; - -o-transition: background-color 0.5s linear; - transition: background-color 0.5s linear; - -webkit-transition: color 0.5s linear; - -moz-transition: color 0.5s linear; - -o-transition: color 0.5s linear; - transition: color 0.5s linear; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 10px; -} diff --git a/docs/styles/site.readable.css b/docs/styles/site.readable.css deleted file mode 100644 index 0eae4f0585..0000000000 --- a/docs/styles/site.readable.css +++ /dev/null @@ -1,5407 +0,0 @@ -@import url(http://fonts.googleapis.com/css?family=Lora:400,700,400italic,700italic); -/*! - * Bootstrap v2.3.1 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -.clearfix { - *zoom: 1; -} -.clearfix:before, -.clearfix:after { - display: table; - content: ""; - line-height: 0; -} -.clearfix:after { - clear: both; -} -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.input-block-level { - display: block; - width: 100%; - min-height: 36px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a:hover, -a:active { - outline: 0; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - /* Responsive images (ensure images don't scale beyond their parents) */ - - max-width: 100%; - /* Part 1: Set a maxium relative to the parent */ - - width: auto\9; - /* IE7-8 need help adjusting responsive images */ - - height: auto; - /* Part 2: Scale the height according to the width, otherwise you get stretching */ - - vertical-align: middle; - border: 0; - -ms-interpolation-mode: bicubic; -} -#map_canvas img, -.google-maps img { - max-width: none; -} -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} -button, -input { - *overflow: visible; - line-height: normal; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -label, -select, -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -input[type="radio"], -input[type="checkbox"] { - cursor: pointer; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -@media print { - * { - text-shadow: none !important; - color: #000 !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} -body { - margin: 0; - font-family: "Lora", Georgia, "Times New Roman", Times, serif; - font-size: 17px; - line-height: 26px; - color: #333333; - background-color: #f6f6f6; -} -a { - color: #e78b24; - text-decoration: none; -} -a:hover, -a:focus { - color: #da7e18; - text-decoration: underline; -} -.img-rounded { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.img-polaroid { - padding: 4px; - background-color: #fff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} -.img-circle { - -webkit-border-radius: 500px; - -moz-border-radius: 500px; - border-radius: 500px; -} -.row { - margin-left: -20px; - *zoom: 1; -} -.row:before, -.row:after { - display: table; - content: ""; - line-height: 0; -} -.row:after { - clear: both; -} -[class*="span"] { - float: left; - min-height: 1px; - margin-left: 20px; -} -.container, -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.span12 { - width: 940px; -} -.span11 { - width: 860px; -} -.span10 { - width: 780px; -} -.span9 { - width: 700px; -} -.span8 { - width: 620px; -} -.span7 { - width: 540px; -} -.span6 { - width: 460px; -} -.span5 { - width: 380px; -} -.span4 { - width: 300px; -} -.span3 { - width: 220px; -} -.span2 { - width: 140px; -} -.span1 { - width: 60px; -} -.offset12 { - margin-left: 980px; -} -.offset11 { - margin-left: 900px; -} -.offset10 { - margin-left: 820px; -} -.offset9 { - margin-left: 740px; -} -.offset8 { - margin-left: 660px; -} -.offset7 { - margin-left: 580px; -} -.offset6 { - margin-left: 500px; -} -.offset5 { - margin-left: 420px; -} -.offset4 { - margin-left: 340px; -} -.offset3 { - margin-left: 260px; -} -.offset2 { - margin-left: 180px; -} -.offset1 { - margin-left: 100px; -} -.row-fluid { - width: 100%; - *zoom: 1; -} -.row-fluid:before, -.row-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.row-fluid:after { - clear: both; -} -.row-fluid [class*="span"] { - display: block; - width: 100%; - min-height: 36px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2.127659574468085%; - *margin-left: 2.074468085106383%; -} -.row-fluid [class*="span"]:first-child { - margin-left: 0; -} -.row-fluid .controls-row [class*="span"] + [class*="span"] { - margin-left: 2.127659574468085%; -} -.row-fluid .span12 { - width: 100%; - *width: 99.94680851063829%; -} -.row-fluid .span11 { - width: 91.48936170212765%; - *width: 91.43617021276594%; -} -.row-fluid .span10 { - width: 82.97872340425532%; - *width: 82.92553191489361%; -} -.row-fluid .span9 { - width: 74.46808510638297%; - *width: 74.41489361702126%; -} -.row-fluid .span8 { - width: 65.95744680851064%; - *width: 65.90425531914893%; -} -.row-fluid .span7 { - width: 57.44680851063829%; - *width: 57.39361702127659%; -} -.row-fluid .span6 { - width: 48.93617021276595%; - *width: 48.88297872340425%; -} -.row-fluid .span5 { - width: 40.42553191489362%; - *width: 40.37234042553192%; -} -.row-fluid .span4 { - width: 31.914893617021278%; - *width: 31.861702127659576%; -} -.row-fluid .span3 { - width: 23.404255319148934%; - *width: 23.351063829787233%; -} -.row-fluid .span2 { - width: 14.893617021276595%; - *width: 14.840425531914894%; -} -.row-fluid .span1 { - width: 6.382978723404255%; - *width: 6.329787234042553%; -} -.row-fluid .offset12 { - margin-left: 104.25531914893617%; - *margin-left: 104.14893617021275%; -} -.row-fluid .offset12:first-child { - margin-left: 102.12765957446808%; - *margin-left: 102.02127659574467%; -} -.row-fluid .offset11 { - margin-left: 95.74468085106382%; - *margin-left: 95.6382978723404%; -} -.row-fluid .offset11:first-child { - margin-left: 93.61702127659574%; - *margin-left: 93.51063829787232%; -} -.row-fluid .offset10 { - margin-left: 87.23404255319149%; - *margin-left: 87.12765957446807%; -} -.row-fluid .offset10:first-child { - margin-left: 85.1063829787234%; - *margin-left: 84.99999999999999%; -} -.row-fluid .offset9 { - margin-left: 78.72340425531914%; - *margin-left: 78.61702127659572%; -} -.row-fluid .offset9:first-child { - margin-left: 76.59574468085106%; - *margin-left: 76.48936170212764%; -} -.row-fluid .offset8 { - margin-left: 70.2127659574468%; - *margin-left: 70.10638297872339%; -} -.row-fluid .offset8:first-child { - margin-left: 68.08510638297872%; - *margin-left: 67.9787234042553%; -} -.row-fluid .offset7 { - margin-left: 61.70212765957446%; - *margin-left: 61.59574468085106%; -} -.row-fluid .offset7:first-child { - margin-left: 59.574468085106375%; - *margin-left: 59.46808510638297%; -} -.row-fluid .offset6 { - margin-left: 53.191489361702125%; - *margin-left: 53.085106382978715%; -} -.row-fluid .offset6:first-child { - margin-left: 51.063829787234035%; - *margin-left: 50.95744680851063%; -} -.row-fluid .offset5 { - margin-left: 44.68085106382979%; - *margin-left: 44.57446808510638%; -} -.row-fluid .offset5:first-child { - margin-left: 42.5531914893617%; - *margin-left: 42.4468085106383%; -} -.row-fluid .offset4 { - margin-left: 36.170212765957444%; - *margin-left: 36.06382978723405%; -} -.row-fluid .offset4:first-child { - margin-left: 34.04255319148936%; - *margin-left: 33.93617021276596%; -} -.row-fluid .offset3 { - margin-left: 27.659574468085104%; - *margin-left: 27.5531914893617%; -} -.row-fluid .offset3:first-child { - margin-left: 25.53191489361702%; - *margin-left: 25.425531914893618%; -} -.row-fluid .offset2 { - margin-left: 19.148936170212764%; - *margin-left: 19.04255319148936%; -} -.row-fluid .offset2:first-child { - margin-left: 17.02127659574468%; - *margin-left: 16.914893617021278%; -} -.row-fluid .offset1 { - margin-left: 10.638297872340425%; - *margin-left: 10.53191489361702%; -} -.row-fluid .offset1:first-child { - margin-left: 8.51063829787234%; - *margin-left: 8.404255319148938%; -} -[class*="span"].hide, -.row-fluid [class*="span"].hide { - display: none; -} -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { - float: right; -} -.container { - margin-right: auto; - margin-left: auto; - *zoom: 1; -} -.container:before, -.container:after { - display: table; - content: ""; - line-height: 0; -} -.container:after { - clear: both; -} -.container-fluid { - padding-right: 20px; - padding-left: 20px; - *zoom: 1; -} -.container-fluid:before, -.container-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.container-fluid:after { - clear: both; -} -p { - margin: 0 0 13px; -} -.lead { - margin-bottom: 26px; - font-size: 25.5px; - font-weight: 200; - line-height: 39px; -} -small { - font-size: 85%; -} -strong { - font-weight: bold; -} -em { - font-style: italic; -} -cite { - font-style: normal; -} -.muted { - color: #999999; -} -a.muted:hover, -a.muted:focus { - color: #808080; -} -.text-warning { - color: #e78b24; -} -a.text-warning:hover, -a.text-warning:focus { - color: #c37115; -} -.text-error { - color: #9c0001; -} -a.text-error:hover, -a.text-error:focus { - color: #690001; -} -.text-info { - color: #0063ac; -} -a.text-info:hover, -a.text-info:focus { - color: #004679; -} -.text-success { - color: #1c9b47; -} -a.text-success:hover, -a.text-success:focus { - color: #147033; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 13px 0; - font-family: inherit; - font-weight: bold; - line-height: 26px; - color: inherit; - text-rendering: optimizelegibility; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - line-height: 1; - color: #999999; -} -h1, -h2, -h3 { - line-height: 52px; -} -h1 { - font-size: 46.75px; -} -h2 { - font-size: 38.25px; -} -h3 { - font-size: 29.75px; -} -h4 { - font-size: 21.25px; -} -h5 { - font-size: 17px; -} -h6 { - font-size: 14.45px; -} -h1 small { - font-size: 29.75px; -} -h2 small { - font-size: 21.25px; -} -h3 small { - font-size: 17px; -} -h4 small { - font-size: 17px; -} -.page-header { - padding-bottom: 12px; - margin: 26px 0 39px; - border-bottom: 1px solid #eeeeee; -} -ul, -ol { - padding: 0; - margin: 0 0 13px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -li { - line-height: 26px; -} -ul.unstyled, -ol.unstyled { - margin-left: 0; - list-style: none; -} -ul.inline, -ol.inline { - margin-left: 0; - list-style: none; -} -ul.inline > li, -ol.inline > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding-left: 5px; - padding-right: 5px; -} -dl { - margin-bottom: 26px; -} -dt, -dd { - line-height: 26px; -} -dt { - font-weight: bold; -} -dd { - margin-left: 13px; -} -.dl-horizontal { - *zoom: 1; -} -.dl-horizontal:before, -.dl-horizontal:after { - display: table; - content: ""; - line-height: 0; -} -.dl-horizontal:after { - clear: both; -} -.dl-horizontal dt { - float: left; - width: 160px; - clear: left; - text-align: right; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.dl-horizontal dd { - margin-left: 180px; -} -hr { - margin: 26px 0; - border: 0; - border-top: 1px solid #eeeeee; - border-bottom: 1px solid #ffffff; -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #999999; -} -abbr.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 0 0 0 15px; - margin: 0 0 26px; - border-left: 5px solid #eeeeee; -} -blockquote p { - margin-bottom: 0; - font-size: 21.25px; - font-weight: 300; - line-height: 1.25; -} -blockquote small { - display: block; - line-height: 26px; - color: #999999; -} -blockquote small:before { - content: '\2014 \00A0'; -} -blockquote.pull-right { - float: right; - padding-right: 15px; - padding-left: 0; - border-right: 5px solid #eeeeee; - border-left: 0; -} -blockquote.pull-right p, -blockquote.pull-right small { - text-align: right; -} -blockquote.pull-right small:before { - content: ''; -} -blockquote.pull-right small:after { - content: '\00A0 \2014'; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -address { - display: block; - margin-bottom: 26px; - font-style: normal; - line-height: 26px; -} -code, -pre { - padding: 0 3px 2px; - font-family: Monaco, Menlo, Consolas, "Courier New", monospace; - font-size: 15px; - color: #333333; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - padding: 2px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; - white-space: nowrap; -} -pre { - display: block; - padding: 12.5px; - margin: 0 0 13px; - font-size: 16px; - line-height: 26px; - word-break: break-all; - word-wrap: break-word; - white-space: pre; - white-space: pre-wrap; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -pre.prettyprint { - margin-bottom: 26px; -} -pre code { - padding: 0; - color: inherit; - white-space: pre; - white-space: pre-wrap; - background-color: transparent; - border: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -form { - margin: 0 0 26px; -} -fieldset { - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 26px; - font-size: 25.5px; - line-height: 52px; - color: #333333; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -legend small { - font-size: 19.5px; - color: #999999; -} -label, -input, -button, -select, -textarea { - font-size: 17px; - font-weight: normal; - line-height: 26px; -} -input, -button, -select, -textarea { - font-family: "Lora", Georgia, "Times New Roman", Times, serif; -} -label { - display: block; - margin-bottom: 5px; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 26px; - padding: 4px 6px; - margin-bottom: 13px; - font-size: 17px; - line-height: 26px; - color: #555555; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - vertical-align: middle; -} -input, -textarea, -.uneditable-input { - width: 206px; -} -textarea { - height: auto; -} -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - background-color: #ffffff; - border: 1px solid #cccccc; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; -} -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - *margin-top: 0; - /* IE7 */ - - margin-top: 1px \9; - /* IE8-9 */ - - line-height: normal; -} -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} -select, -input[type="file"] { - height: 36px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 36px; -} -select { - width: 220px; - border: 1px solid #cccccc; - background-color: #ffffff; -} -select[multiple], -select[size] { - height: auto; -} -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.uneditable-input, -.uneditable-textarea { - color: #999999; - background-color: #fcfcfc; - border-color: #cccccc; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -.uneditable-input { - overflow: hidden; - white-space: nowrap; -} -.uneditable-textarea { - width: auto; - height: auto; -} -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #999999; -} -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #999999; -} -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #999999; -} -.radio, -.checkbox { - min-height: 26px; - padding-left: 20px; -} -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -20px; -} -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; -} -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; -} -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; -} -.input-mini { - width: 60px; -} -.input-small { - width: 90px; -} -.input-medium { - width: 150px; -} -.input-large { - width: 210px; -} -.input-xlarge { - width: 270px; -} -.input-xxlarge { - width: 530px; -} -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; -} -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; -} -input, -textarea, -.uneditable-input { - margin-left: 0; -} -.controls-row [class*="span"] + [class*="span"] { - margin-left: 20px; -} -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 926px; -} -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 846px; -} -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 766px; -} -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 686px; -} -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 606px; -} -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 526px; -} -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 446px; -} -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 366px; -} -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 286px; -} -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 206px; -} -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 126px; -} -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 46px; -} -.controls-row { - *zoom: 1; -} -.controls-row:before, -.controls-row:after { - display: table; - content: ""; - line-height: 0; -} -.controls-row:after { - clear: both; -} -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { - float: left; -} -.controls-row .checkbox[class*="span"], -.controls-row .radio[class*="span"] { - padding-top: 5px; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #eeeeee; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #e78b24; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #e78b24; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #e78b24; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #c37115; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f1bc80; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f1bc80; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f1bc80; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #e78b24; - background-color: #fcf8e3; - border-color: #e78b24; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #9c0001; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #9c0001; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #9c0001; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #690001; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ff0305; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ff0305; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ff0305; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #9c0001; - background-color: #f2dede; - border-color: #9c0001; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #1c9b47; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #1c9b47; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #1c9b47; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #147033; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #40dd75; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #40dd75; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #40dd75; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #1c9b47; - background-color: #dff0d8; - border-color: #1c9b47; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #0063ac; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #0063ac; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #0063ac; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #004679; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #139bff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #139bff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #139bff; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #0063ac; - background-color: #d9edf7; - border-color: #0063ac; -} -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { - color: #b94a48; - border-color: #ee5f5b; -} -input:focus:invalid:focus, -textarea:focus:invalid:focus, -select:focus:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -.form-actions { - padding: 25px 20px 26px; - margin-top: 26px; - margin-bottom: 26px; - background-color: #f5f5f5; - border-top: 1px solid #e5e5e5; - *zoom: 1; -} -.form-actions:before, -.form-actions:after { - display: table; - content: ""; - line-height: 0; -} -.form-actions:after { - clear: both; -} -.help-block, -.help-inline { - color: #595959; -} -.help-block { - display: block; - margin-bottom: 13px; -} -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - vertical-align: middle; - padding-left: 5px; -} -.input-append, -.input-prepend { - display: inline-block; - margin-bottom: 13px; - vertical-align: middle; - font-size: 0; - white-space: nowrap; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input, -.input-append .dropdown-menu, -.input-prepend .dropdown-menu, -.input-append .popover, -.input-prepend .popover { - font-size: 17px; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input { - position: relative; - margin-bottom: 0; - *margin-left: 0; - vertical-align: top; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append input:focus, -.input-prepend input:focus, -.input-append select:focus, -.input-prepend select:focus, -.input-append .uneditable-input:focus, -.input-prepend .uneditable-input:focus { - z-index: 2; -} -.input-append .add-on, -.input-prepend .add-on { - display: inline-block; - width: auto; - height: 26px; - min-width: 16px; - padding: 4px 5px; - font-size: 17px; - font-weight: normal; - line-height: 26px; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - background-color: #eeeeee; - border: 1px solid #ccc; -} -.input-append .add-on, -.input-prepend .add-on, -.input-append .btn, -.input-prepend .btn, -.input-append .btn-group > .dropdown-toggle, -.input-prepend .btn-group > .dropdown-toggle { - vertical-align: top; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-append .active, -.input-prepend .active { - background-color: #6ce495; - border-color: #1c9b47; -} -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; -} -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input + .btn-group .btn:last-child, -.input-append select + .btn-group .btn:last-child, -.input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append .add-on, -.input-append .btn, -.input-append .btn-group { - margin-left: -1px; -} -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-prepend.input-append input + .btn-group .btn, -.input-prepend.input-append select + .btn-group .btn, -.input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .btn-group:first-child { - margin-left: 0; -} -input.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - - margin-bottom: 0; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -/* Allow for input prepend/append in search forms */ -.form-search .input-append .search-query, -.form-search .input-prepend .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.form-search .input-append .search-query { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search .input-append .btn { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .search-query { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .btn { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input, -.form-search .input-prepend, -.form-inline .input-prepend, -.form-horizontal .input-prepend, -.form-search .input-append, -.form-inline .input-append, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; -} -.form-search label, -.form-inline label, -.form-search .btn-group, -.form-inline .btn-group { - display: inline-block; -} -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; -} -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; -} -.control-group { - margin-bottom: 13px; -} -legend + .control-group { - margin-top: 26px; - -webkit-margin-top-collapse: separate; -} -.form-horizontal .control-group { - margin-bottom: 26px; - *zoom: 1; -} -.form-horizontal .control-group:before, -.form-horizontal .control-group:after { - display: table; - content: ""; - line-height: 0; -} -.form-horizontal .control-group:after { - clear: both; -} -.form-horizontal .control-label { - float: left; - width: 160px; - padding-top: 5px; - text-align: right; -} -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 180px; - *margin-left: 0; -} -.form-horizontal .controls:first-child { - *padding-left: 180px; -} -.form-horizontal .help-block { - margin-bottom: 0; -} -.form-horizontal input + .help-block, -.form-horizontal select + .help-block, -.form-horizontal textarea + .help-block, -.form-horizontal .uneditable-input + .help-block, -.form-horizontal .input-prepend + .help-block, -.form-horizontal .input-append + .help-block { - margin-top: 13px; -} -.form-horizontal .form-actions { - padding-left: 180px; -} -table { - max-width: 100%; - background-color: transparent; - border-collapse: collapse; - border-spacing: 0; -} -.table { - width: 100%; - margin-bottom: 26px; -} -.table th, -.table td { - padding: 8px; - line-height: 26px; - text-align: left; - vertical-align: top; - border-top: 1px solid #dddddd; -} -.table th { - font-weight: bold; -} -.table thead th { - vertical-align: bottom; -} -.table caption + thead tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child th, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child th, -.table thead:first-child tr:first-child td { - border-top: 0; -} -.table tbody + tbody { - border-top: 2px solid #dddddd; -} -.table .table { - background-color: #f6f6f6; -} -.table-condensed th, -.table-condensed td { - padding: 4px 5px; -} -.table-bordered { - border: 1px solid #dddddd; - border-collapse: separate; - *border-collapse: collapse; - border-left: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.table-bordered th, -.table-bordered td { - border-left: 1px solid #dddddd; -} -.table-bordered caption + thead tr:first-child th, -.table-bordered caption + tbody tr:first-child th, -.table-bordered caption + tbody tr:first-child td, -.table-bordered colgroup + thead tr:first-child th, -.table-bordered colgroup + tbody tr:first-child th, -.table-bordered colgroup + tbody tr:first-child td, -.table-bordered thead:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} -.table-bordered thead:first-child tr:first-child > th:first-child, -.table-bordered tbody:first-child tr:first-child > td:first-child, -.table-bordered tbody:first-child tr:first-child > th:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered thead:first-child tr:first-child > th:last-child, -.table-bordered tbody:first-child tr:first-child > td:last-child, -.table-bordered tbody:first-child tr:first-child > th:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:first-child, -.table-bordered tbody:last-child tr:last-child > td:first-child, -.table-bordered tbody:last-child tr:last-child > th:first-child, -.table-bordered tfoot:last-child tr:last-child > td:first-child, -.table-bordered tfoot:last-child tr:last-child > th:first-child { - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:last-child, -.table-bordered tbody:last-child tr:last-child > td:last-child, -.table-bordered tbody:last-child tr:last-child > th:last-child, -.table-bordered tfoot:last-child tr:last-child > td:last-child, -.table-bordered tfoot:last-child tr:last-child > th:last-child { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered caption + thead tr:first-child th:first-child, -.table-bordered caption + tbody tr:first-child td:first-child, -.table-bordered colgroup + thead tr:first-child th:first-child, -.table-bordered colgroup + tbody tr:first-child td:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered caption + thead tr:first-child th:last-child, -.table-bordered caption + tbody tr:first-child td:last-child, -.table-bordered colgroup + thead tr:first-child th:last-child, -.table-bordered colgroup + tbody tr:first-child td:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-striped tbody > tr:nth-child(odd) > td, -.table-striped tbody > tr:nth-child(odd) > th { - background-color: #f9f9f9; -} -.table-hover tbody tr:hover > td, -.table-hover tbody tr:hover > th { - background-color: #f5f5f5; -} -table td[class*="span"], -table th[class*="span"], -.row-fluid table td[class*="span"], -.row-fluid table th[class*="span"] { - display: table-cell; - float: none; - margin-left: 0; -} -.table td.span1, -.table th.span1 { - float: none; - width: 44px; - margin-left: 0; -} -.table td.span2, -.table th.span2 { - float: none; - width: 124px; - margin-left: 0; -} -.table td.span3, -.table th.span3 { - float: none; - width: 204px; - margin-left: 0; -} -.table td.span4, -.table th.span4 { - float: none; - width: 284px; - margin-left: 0; -} -.table td.span5, -.table th.span5 { - float: none; - width: 364px; - margin-left: 0; -} -.table td.span6, -.table th.span6 { - float: none; - width: 444px; - margin-left: 0; -} -.table td.span7, -.table th.span7 { - float: none; - width: 524px; - margin-left: 0; -} -.table td.span8, -.table th.span8 { - float: none; - width: 604px; - margin-left: 0; -} -.table td.span9, -.table th.span9 { - float: none; - width: 684px; - margin-left: 0; -} -.table td.span10, -.table th.span10 { - float: none; - width: 764px; - margin-left: 0; -} -.table td.span11, -.table th.span11 { - float: none; - width: 844px; - margin-left: 0; -} -.table td.span12, -.table th.span12 { - float: none; - width: 924px; - margin-left: 0; -} -.table tbody tr.success > td { - background-color: #dff0d8; -} -.table tbody tr.error > td { - background-color: #f2dede; -} -.table tbody tr.warning > td { - background-color: #fcf8e3; -} -.table tbody tr.info > td { - background-color: #d9edf7; -} -.table-hover tbody tr.success:hover > td { - background-color: #d0e9c6; -} -.table-hover tbody tr.error:hover > td { - background-color: #ebcccc; -} -.table-hover tbody tr.warning:hover > td { - background-color: #faf2cc; -} -.table-hover tbody tr.info:hover > td { - background-color: #c4e3f3; -} -[class^="icon-"], -[class*=" icon-"] { - display: inline-block; - width: 14px; - height: 14px; - *margin-right: .3em; - line-height: 14px; - vertical-align: text-top; - background-image: url("../img/glyphicons-halflings.png"); - background-position: 14px 14px; - background-repeat: no-repeat; - margin-top: 1px; -} -/* White icons with optional class, or on hover/focus/active states of certain elements */ -.icon-white, -.nav-pills > .active > a > [class^="icon-"], -.nav-pills > .active > a > [class*=" icon-"], -.nav-list > .active > a > [class^="icon-"], -.nav-list > .active > a > [class*=" icon-"], -.navbar-inverse .nav > .active > a > [class^="icon-"], -.navbar-inverse .nav > .active > a > [class*=" icon-"], -.dropdown-menu > li > a:hover > [class^="icon-"], -.dropdown-menu > li > a:focus > [class^="icon-"], -.dropdown-menu > li > a:hover > [class*=" icon-"], -.dropdown-menu > li > a:focus > [class*=" icon-"], -.dropdown-menu > .active > a > [class^="icon-"], -.dropdown-menu > .active > a > [class*=" icon-"], -.dropdown-submenu:hover > a > [class^="icon-"], -.dropdown-submenu:focus > a > [class^="icon-"], -.dropdown-submenu:hover > a > [class*=" icon-"], -.dropdown-submenu:focus > a > [class*=" icon-"] { - background-image: url("../img/glyphicons-halflings-white.png"); -} -.icon-glass { - background-position: 0 0; -} -.icon-music { - background-position: -24px 0; -} -.icon-search { - background-position: -48px 0; -} -.icon-envelope { - background-position: -72px 0; -} -.icon-heart { - background-position: -96px 0; -} -.icon-star { - background-position: -120px 0; -} -.icon-star-empty { - background-position: -144px 0; -} -.icon-user { - background-position: -168px 0; -} -.icon-film { - background-position: -192px 0; -} -.icon-th-large { - background-position: -216px 0; -} -.icon-th { - background-position: -240px 0; -} -.icon-th-list { - background-position: -264px 0; -} -.icon-ok { - background-position: -288px 0; -} -.icon-remove { - background-position: -312px 0; -} -.icon-zoom-in { - background-position: -336px 0; -} -.icon-zoom-out { - background-position: -360px 0; -} -.icon-off { - background-position: -384px 0; -} -.icon-signal { - background-position: -408px 0; -} -.icon-cog { - background-position: -432px 0; -} -.icon-trash { - background-position: -456px 0; -} -.icon-home { - background-position: 0 -24px; -} -.icon-file { - background-position: -24px -24px; -} -.icon-time { - background-position: -48px -24px; -} -.icon-road { - background-position: -72px -24px; -} -.icon-download-alt { - background-position: -96px -24px; -} -.icon-download { - background-position: -120px -24px; -} -.icon-upload { - background-position: -144px -24px; -} -.icon-inbox { - background-position: -168px -24px; -} -.icon-play-circle { - background-position: -192px -24px; -} -.icon-repeat { - background-position: -216px -24px; -} -.icon-refresh { - background-position: -240px -24px; -} -.icon-list-alt { - background-position: -264px -24px; -} -.icon-lock { - background-position: -287px -24px; -} -.icon-flag { - background-position: -312px -24px; -} -.icon-headphones { - background-position: -336px -24px; -} -.icon-volume-off { - background-position: -360px -24px; -} -.icon-volume-down { - background-position: -384px -24px; -} -.icon-volume-up { - background-position: -408px -24px; -} -.icon-qrcode { - background-position: -432px -24px; -} -.icon-barcode { - background-position: -456px -24px; -} -.icon-tag { - background-position: 0 -48px; -} -.icon-tags { - background-position: -25px -48px; -} -.icon-book { - background-position: -48px -48px; -} -.icon-bookmark { - background-position: -72px -48px; -} -.icon-print { - background-position: -96px -48px; -} -.icon-camera { - background-position: -120px -48px; -} -.icon-font { - background-position: -144px -48px; -} -.icon-bold { - background-position: -167px -48px; -} -.icon-italic { - background-position: -192px -48px; -} -.icon-text-height { - background-position: -216px -48px; -} -.icon-text-width { - background-position: -240px -48px; -} -.icon-align-left { - background-position: -264px -48px; -} -.icon-align-center { - background-position: -288px -48px; -} -.icon-align-right { - background-position: -312px -48px; -} -.icon-align-justify { - background-position: -336px -48px; -} -.icon-list { - background-position: -360px -48px; -} -.icon-indent-left { - background-position: -384px -48px; -} -.icon-indent-right { - background-position: -408px -48px; -} -.icon-facetime-video { - background-position: -432px -48px; -} -.icon-picture { - background-position: -456px -48px; -} -.icon-pencil { - background-position: 0 -72px; -} -.icon-map-marker { - background-position: -24px -72px; -} -.icon-adjust { - background-position: -48px -72px; -} -.icon-tint { - background-position: -72px -72px; -} -.icon-edit { - background-position: -96px -72px; -} -.icon-share { - background-position: -120px -72px; -} -.icon-check { - background-position: -144px -72px; -} -.icon-move { - background-position: -168px -72px; -} -.icon-step-backward { - background-position: -192px -72px; -} -.icon-fast-backward { - background-position: -216px -72px; -} -.icon-backward { - background-position: -240px -72px; -} -.icon-play { - background-position: -264px -72px; -} -.icon-pause { - background-position: -288px -72px; -} -.icon-stop { - background-position: -312px -72px; -} -.icon-forward { - background-position: -336px -72px; -} -.icon-fast-forward { - background-position: -360px -72px; -} -.icon-step-forward { - background-position: -384px -72px; -} -.icon-eject { - background-position: -408px -72px; -} -.icon-chevron-left { - background-position: -432px -72px; -} -.icon-chevron-right { - background-position: -456px -72px; -} -.icon-plus-sign { - background-position: 0 -96px; -} -.icon-minus-sign { - background-position: -24px -96px; -} -.icon-remove-sign { - background-position: -48px -96px; -} -.icon-ok-sign { - background-position: -72px -96px; -} -.icon-question-sign { - background-position: -96px -96px; -} -.icon-info-sign { - background-position: -120px -96px; -} -.icon-screenshot { - background-position: -144px -96px; -} -.icon-remove-circle { - background-position: -168px -96px; -} -.icon-ok-circle { - background-position: -192px -96px; -} -.icon-ban-circle { - background-position: -216px -96px; -} -.icon-arrow-left { - background-position: -240px -96px; -} -.icon-arrow-right { - background-position: -264px -96px; -} -.icon-arrow-up { - background-position: -289px -96px; -} -.icon-arrow-down { - background-position: -312px -96px; -} -.icon-share-alt { - background-position: -336px -96px; -} -.icon-resize-full { - background-position: -360px -96px; -} -.icon-resize-small { - background-position: -384px -96px; -} -.icon-plus { - background-position: -408px -96px; -} -.icon-minus { - background-position: -433px -96px; -} -.icon-asterisk { - background-position: -456px -96px; -} -.icon-exclamation-sign { - background-position: 0 -120px; -} -.icon-gift { - background-position: -24px -120px; -} -.icon-leaf { - background-position: -48px -120px; -} -.icon-fire { - background-position: -72px -120px; -} -.icon-eye-open { - background-position: -96px -120px; -} -.icon-eye-close { - background-position: -120px -120px; -} -.icon-warning-sign { - background-position: -144px -120px; -} -.icon-plane { - background-position: -168px -120px; -} -.icon-calendar { - background-position: -192px -120px; -} -.icon-random { - background-position: -216px -120px; - width: 16px; -} -.icon-comment { - background-position: -240px -120px; -} -.icon-magnet { - background-position: -264px -120px; -} -.icon-chevron-up { - background-position: -288px -120px; -} -.icon-chevron-down { - background-position: -313px -119px; -} -.icon-retweet { - background-position: -336px -120px; -} -.icon-shopping-cart { - background-position: -360px -120px; -} -.icon-folder-close { - background-position: -384px -120px; - width: 16px; -} -.icon-folder-open { - background-position: -408px -120px; - width: 16px; -} -.icon-resize-vertical { - background-position: -432px -119px; -} -.icon-resize-horizontal { - background-position: -456px -118px; -} -.icon-hdd { - background-position: 0 -144px; -} -.icon-bullhorn { - background-position: -24px -144px; -} -.icon-bell { - background-position: -48px -144px; -} -.icon-certificate { - background-position: -72px -144px; -} -.icon-thumbs-up { - background-position: -96px -144px; -} -.icon-thumbs-down { - background-position: -120px -144px; -} -.icon-hand-right { - background-position: -144px -144px; -} -.icon-hand-left { - background-position: -168px -144px; -} -.icon-hand-up { - background-position: -192px -144px; -} -.icon-hand-down { - background-position: -216px -144px; -} -.icon-circle-arrow-right { - background-position: -240px -144px; -} -.icon-circle-arrow-left { - background-position: -264px -144px; -} -.icon-circle-arrow-up { - background-position: -288px -144px; -} -.icon-circle-arrow-down { - background-position: -312px -144px; -} -.icon-globe { - background-position: -336px -144px; -} -.icon-wrench { - background-position: -360px -144px; -} -.icon-tasks { - background-position: -384px -144px; -} -.icon-filter { - background-position: -408px -144px; -} -.icon-briefcase { - background-position: -432px -144px; -} -.icon-fullscreen { - background-position: -456px -144px; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle { - *margin-bottom: -3px; -} -.dropdown-toggle:active, -.open .dropdown-toggle { - outline: 0; -} -.caret { - display: inline-block; - width: 0; - height: 0; - vertical-align: top; - border-top: 4px solid #000000; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - content: ""; -} -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - background-color: #f6f6f6; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 12px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 26px; - color: #333333; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, -.dropdown-submenu:hover > a, -.dropdown-submenu:focus > a { - text-decoration: none; - color: #ffffff; - background-color: #e2861f; - background-image: -moz-linear-gradient(top, #e78b24, #da7e18); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e78b24), to(#da7e18)); - background-image: -webkit-linear-gradient(top, #e78b24, #da7e18); - background-image: -o-linear-gradient(top, #e78b24, #da7e18); - background-image: linear-gradient(to bottom, #e78b24, #da7e18); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe78b24', endColorstr='#ffda7e18', GradientType=0); -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #ffffff; - text-decoration: none; - outline: 0; - background-color: #e2861f; - background-image: -moz-linear-gradient(top, #e78b24, #da7e18); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e78b24), to(#da7e18)); - background-image: -webkit-linear-gradient(top, #e78b24, #da7e18); - background-image: -o-linear-gradient(top, #e78b24, #da7e18); - background-image: linear-gradient(to bottom, #e78b24, #da7e18); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe78b24', endColorstr='#ffda7e18', GradientType=0); -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #999999; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: default; -} -.open { - *z-index: 1000; -} -.open > .dropdown-menu { - display: block; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: ""; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -.dropdown-submenu { - position: relative; -} -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; - -webkit-border-radius: 5px 5px 5px 0; - -moz-border-radius: 5px 5px 5px 0; - border-radius: 5px 5px 5px 0; -} -.dropdown-submenu > a:after { - display: block; - content: " "; - float: right; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 5px 0 5px 5px; - border-left-color: #c3c3c3; - margin-top: 5px; - margin-right: -10px; -} -.dropdown-submenu:hover > a:after { - border-left-color: #ffffff; -} -.dropdown-submenu.pull-left { - float: none; -} -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.dropdown .dropdown-menu .nav-header { - padding-left: 20px; - padding-right: 20px; -} -.typeahead { - z-index: 1051; - margin-top: 2px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #fefefe; - border: 1px solid #ececec; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} -.well-large { - padding: 24px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.well-small { - padding: 9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; -} -.collapse.in { - height: auto; -} -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 26px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover, -.close:focus { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} -.btn { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding: 4px 12px; - margin-bottom: 0; - font-size: 17px; - line-height: 26px; - text-align: center; - vertical-align: middle; - cursor: pointer; - color: #333333; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #e9e9e9; - background-image: -moz-linear-gradient(top, #eeeeee, #e1e1e1); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#eeeeee), to(#e1e1e1)); - background-image: -webkit-linear-gradient(top, #eeeeee, #e1e1e1); - background-image: -o-linear-gradient(top, #eeeeee, #e1e1e1); - background-image: linear-gradient(to bottom, #eeeeee, #e1e1e1); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffeeeeee', endColorstr='#ffe1e1e1', GradientType=0); - border-color: #e1e1e1 #e1e1e1 #bbbbbb; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e1e1e1; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - border: 1px solid #cccccc; - *border: 0; - border-bottom-color: #b3b3b3; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - *margin-left: .3em; - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #333333; - background-color: #e1e1e1; - *background-color: #d4d4d4; -} -.btn:active, -.btn.active { - background-color: #c8c8c8 \9; -} -.btn:first-child { - *margin-left: 0; -} -.btn:hover, -.btn:focus { - color: #333333; - text-decoration: none; - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -.btn:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn.active, -.btn:active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn.disabled, -.btn[disabled] { - cursor: default; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-large { - padding: 11px 19px; - font-size: 21.25px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.btn-large [class^="icon-"], -.btn-large [class*=" icon-"] { - margin-top: 4px; -} -.btn-small { - padding: 2px 10px; - font-size: 14.45px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-small [class^="icon-"], -.btn-small [class*=" icon-"] { - margin-top: 0; -} -.btn-mini [class^="icon-"], -.btn-mini [class*=" icon-"] { - margin-top: -1px; -} -.btn-mini { - padding: 0px 6px; - font-size: 12.75px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; - padding-left: 0; - padding-right: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active, -.btn-inverse.active { - color: rgba(255, 255, 255, 0.75); -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #e99232; - background-image: -moz-linear-gradient(top, #ea973b, #e78b24); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ea973b), to(#e78b24)); - background-image: -webkit-linear-gradient(top, #ea973b, #e78b24); - background-image: -o-linear-gradient(top, #ea973b, #e78b24); - background-image: linear-gradient(to bottom, #ea973b, #e78b24); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffea973b', endColorstr='#ffe78b24', GradientType=0); - border-color: #e78b24 #e78b24 #ac6413; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e78b24; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #e78b24; - *background-color: #da7e18; -} -.btn-primary:active, -.btn-primary.active { - background-color: #c37115 \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #f8d91c; - background-image: -moz-linear-gradient(top, #f9da26, #f8d60d); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f9da26), to(#f8d60d)); - background-image: -webkit-linear-gradient(top, #f9da26, #f8d60d); - background-image: -o-linear-gradient(top, #f9da26, #f8d60d); - background-image: linear-gradient(to bottom, #f9da26, #f8d60d); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff9da26', endColorstr='#fff8d60d', GradientType=0); - border-color: #f8d60d #f8d60d #b39a05; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #f8d60d; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #f8d60d; - *background-color: #e5c507; -} -.btn-warning:active, -.btn-warning.active { - background-color: #ccaf06 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #ab0001; - background-image: -moz-linear-gradient(top, #b60001, #9c0001); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b60001), to(#9c0001)); - background-image: -webkit-linear-gradient(top, #b60001, #9c0001); - background-image: -o-linear-gradient(top, #b60001, #9c0001); - background-image: linear-gradient(to bottom, #b60001, #9c0001); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb60001', endColorstr='#ff9c0001', GradientType=0); - border-color: #9c0001 #9c0001 #500001; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #9c0001; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #9c0001; - *background-color: #830001; -} -.btn-danger:active, -.btn-danger.active { - background-color: #690001 \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #1ea84d; - background-image: -moz-linear-gradient(top, #20b151, #1c9b47); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#20b151), to(#1c9b47)); - background-image: -webkit-linear-gradient(top, #20b151, #1c9b47); - background-image: -o-linear-gradient(top, #20b151, #1c9b47); - background-image: linear-gradient(to bottom, #20b151, #1c9b47); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff20b151', endColorstr='#ff1c9b47', GradientType=0); - border-color: #1c9b47 #1c9b47 #105a29; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #1c9b47; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #1c9b47; - *background-color: #18853d; -} -.btn-success:active, -.btn-success.active { - background-color: #147033 \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #006cbb; - background-image: -moz-linear-gradient(top, #0072c6, #0063ac); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0072c6), to(#0063ac)); - background-image: -webkit-linear-gradient(top, #0072c6, #0063ac); - background-image: -o-linear-gradient(top, #0072c6, #0063ac); - background-image: linear-gradient(to bottom, #0072c6, #0063ac); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0072c6', endColorstr='#ff0063ac', GradientType=0); - border-color: #0063ac #0063ac #003760; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #0063ac; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #0063ac; - *background-color: #005493; -} -.btn-info:active, -.btn-info.active { - background-color: #004679 \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #3b3b3b; - background-image: -moz-linear-gradient(top, #404040, #333333); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#404040), to(#333333)); - background-image: -webkit-linear-gradient(top, #404040, #333333); - background-image: -o-linear-gradient(top, #404040, #333333); - background-image: linear-gradient(to bottom, #404040, #333333); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff404040', endColorstr='#ff333333', GradientType=0); - border-color: #333333 #333333 #0d0d0d; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #333333; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #333333; - *background-color: #262626; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #1a1a1a \9; -} -button.btn, -input[type="submit"].btn { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn::-moz-focus-inner, -input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} -button.btn.btn-large, -input[type="submit"].btn.btn-large { - *padding-top: 7px; - *padding-bottom: 7px; -} -button.btn.btn-small, -input[type="submit"].btn.btn-small { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn.btn-mini, -input[type="submit"].btn.btn-mini { - *padding-top: 1px; - *padding-bottom: 1px; -} -.btn-link, -.btn-link:active, -.btn-link[disabled] { - background-color: transparent; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-link { - border-color: transparent; - cursor: pointer; - color: #e78b24; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-link:hover, -.btn-link:focus { - color: #da7e18; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -.btn-link[disabled]:focus { - color: #333333; - text-decoration: none; -} -.btn-group { - position: relative; - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - font-size: 0; - vertical-align: middle; - white-space: nowrap; - *margin-left: .3em; -} -.btn-group:first-child { - *margin-left: 0; -} -.btn-group + .btn-group { - margin-left: 5px; -} -.btn-toolbar { - font-size: 0; - margin-top: 13px; - margin-bottom: 13px; -} -.btn-toolbar > .btn + .btn, -.btn-toolbar > .btn-group + .btn, -.btn-toolbar > .btn + .btn-group { - margin-left: 5px; -} -.btn-group > .btn { - position: relative; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group > .btn + .btn { - margin-left: -1px; -} -.btn-group > .btn, -.btn-group > .dropdown-menu, -.btn-group > .popover { - font-size: 17px; -} -.btn-group > .btn-mini { - font-size: 12.75px; -} -.btn-group > .btn-small { - font-size: 14.45px; -} -.btn-group > .btn-large { - font-size: 21.25px; -} -.btn-group > .btn:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.btn-group > .btn.large:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.btn-group > .btn.large:last-child, -.btn-group > .large.dropdown-toggle { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - *padding-top: 5px; - *padding-bottom: 5px; -} -.btn-group > .btn-mini + .dropdown-toggle { - padding-left: 5px; - padding-right: 5px; - *padding-top: 2px; - *padding-bottom: 2px; -} -.btn-group > .btn-small + .dropdown-toggle { - *padding-top: 5px; - *padding-bottom: 4px; -} -.btn-group > .btn-large + .dropdown-toggle { - padding-left: 12px; - padding-right: 12px; - *padding-top: 7px; - *padding-bottom: 7px; -} -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn-group.open .btn.dropdown-toggle { - background-color: #e1e1e1; -} -.btn-group.open .btn-primary.dropdown-toggle { - background-color: #e78b24; -} -.btn-group.open .btn-warning.dropdown-toggle { - background-color: #f8d60d; -} -.btn-group.open .btn-danger.dropdown-toggle { - background-color: #9c0001; -} -.btn-group.open .btn-success.dropdown-toggle { - background-color: #1c9b47; -} -.btn-group.open .btn-info.dropdown-toggle { - background-color: #0063ac; -} -.btn-group.open .btn-inverse.dropdown-toggle { - background-color: #333333; -} -.btn .caret { - margin-top: 8px; - margin-left: 0; -} -.btn-large .caret { - margin-top: 6px; -} -.btn-large .caret { - border-left-width: 5px; - border-right-width: 5px; - border-top-width: 5px; -} -.btn-mini .caret, -.btn-small .caret { - margin-top: 8px; -} -.dropup .btn-large .caret { - border-bottom-width: 5px; -} -.btn-primary .caret, -.btn-warning .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret, -.btn-inverse .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.btn-group-vertical { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} -.btn-group-vertical > .btn { - display: block; - float: none; - max-width: 100%; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group-vertical > .btn + .btn { - margin-left: 0; - margin-top: -1px; -} -.btn-group-vertical > .btn:first-child { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.btn-group-vertical > .btn:last-child { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.btn-group-vertical > .btn-large:first-child { - -webkit-border-radius: 6px 6px 0 0; - -moz-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; -} -.btn-group-vertical > .btn-large:last-child { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 26px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #fcf8e3; - border: 1px solid #fbeed5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.alert, -.alert h4 { - color: #e78b24; -} -.alert h4 { - margin: 0; -} -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 26px; -} -.alert-success { - background-color: #dff0d8; - border-color: #d6e9c6; - color: #1c9b47; -} -.alert-success h4 { - color: #1c9b47; -} -.alert-danger, -.alert-error { - background-color: #f2dede; - border-color: #eed3d7; - color: #9c0001; -} -.alert-danger h4, -.alert-error h4 { - color: #9c0001; -} -.alert-info { - background-color: #d9edf7; - border-color: #bce8f1; - color: #0063ac; -} -.alert-info h4 { - color: #0063ac; -} -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; -} -.alert-block p + p { - margin-top: 5px; -} -.nav { - margin-left: 0; - margin-bottom: 26px; - list-style: none; -} -.nav > li > a { - display: block; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #eeeeee; -} -.nav > li > a > img { - max-width: none; -} -.nav > .pull-right { - float: right; -} -.nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 26px; - color: #999999; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} -.nav li + .nav-header { - margin-top: 9px; -} -.nav-list { - padding-left: 15px; - padding-right: 15px; - margin-bottom: 0; -} -.nav-list > li > a, -.nav-list .nav-header { - margin-left: -15px; - margin-right: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.nav-list > li > a { - padding: 3px 15px; -} -.nav-list > .active > a, -.nav-list > .active > a:hover, -.nav-list > .active > a:focus { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #e78b24; -} -.nav-list [class^="icon-"], -.nav-list [class*=" icon-"] { - margin-right: 2px; -} -.nav-list .divider { - *width: 100%; - height: 1px; - margin: 12px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.nav-tabs, -.nav-pills { - *zoom: 1; -} -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; - line-height: 0; -} -.nav-tabs:after, -.nav-pills:after { - clear: both; -} -.nav-tabs > li, -.nav-pills > li { - float: left; -} -.nav-tabs > li > a, -.nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - margin-bottom: -1px; -} -.nav-tabs > li > a { - padding-top: 8px; - padding-bottom: 8px; - line-height: 26px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover, -.nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #dddddd; -} -.nav-tabs > .active > a, -.nav-tabs > .active > a:hover, -.nav-tabs > .active > a:focus { - color: #555555; - background-color: #f6f6f6; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.nav-pills > .active > a, -.nav-pills > .active > a:hover, -.nav-pills > .active > a:focus { - color: #ffffff; - background-color: #e78b24; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li > a { - margin-right: 0; -} -.nav-tabs.nav-stacked { - border-bottom: 0; -} -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.nav-tabs.nav-stacked > li > a:hover, -.nav-tabs.nav-stacked > li > a:focus { - border-color: #ddd; - z-index: 2; -} -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.nav-pills .dropdown-menu { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.nav .dropdown-toggle .caret { - border-top-color: #e78b24; - border-bottom-color: #e78b24; - margin-top: 6px; -} -.nav .dropdown-toggle:hover .caret, -.nav .dropdown-toggle:focus .caret { - border-top-color: #da7e18; - border-bottom-color: #da7e18; -} -/* move down carets for tabs */ -.nav-tabs .dropdown-toggle .caret { - margin-top: 8px; -} -.nav .active .dropdown-toggle .caret { - border-top-color: #fff; - border-bottom-color: #fff; -} -.nav-tabs .active .dropdown-toggle .caret { - border-top-color: #555555; - border-bottom-color: #555555; -} -.nav > .dropdown.active > a:hover, -.nav > .dropdown.active > a:focus { - cursor: pointer; -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover, -.nav > li.dropdown.open.active > a:focus { - color: #ffffff; - background-color: #999999; - border-color: #999999; -} -.nav li.dropdown.open .caret, -.nav li.dropdown.open.active .caret, -.nav li.dropdown.open a:hover .caret, -.nav li.dropdown.open a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} -.tabs-stacked .open > a:hover, -.tabs-stacked .open > a:focus { - border-color: #999999; -} -.tabbable { - *zoom: 1; -} -.tabbable:before, -.tabbable:after { - display: table; - content: ""; - line-height: 0; -} -.tabbable:after { - clear: both; -} -.tab-content { - overflow: auto; -} -.tabs-below > .nav-tabs, -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} -.tab-content > .active, -.pill-content > .active { - display: block; -} -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; -} -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.tabs-below > .nav-tabs > li > a:hover, -.tabs-below > .nav-tabs > li > a:focus { - border-bottom-color: transparent; - border-top-color: #ddd; -} -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover, -.tabs-below > .nav-tabs > .active > a:focus { - border-color: transparent #ddd #ddd #ddd; -} -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.tabs-left > .nav-tabs > li > a:hover, -.tabs-left > .nav-tabs > li > a:focus { - border-color: #eeeeee #dddddd #eeeeee #eeeeee; -} -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover, -.tabs-left > .nav-tabs .active > a:focus { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.tabs-right > .nav-tabs > li > a:hover, -.tabs-right > .nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #eeeeee #dddddd; -} -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover, -.tabs-right > .nav-tabs .active > a:focus { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} -.nav > .disabled > a { - color: #999999; -} -.nav > .disabled > a:hover, -.nav > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - cursor: default; -} -.navbar { - overflow: visible; - margin-bottom: 26px; - *position: relative; - *z-index: 2; -} -.navbar-inner { - min-height: 60px; - padding-left: 20px; - padding-right: 20px; - background-color: #f6f6f6; - background-image: -moz-linear-gradient(top, #f6f6f6, #f6f6f6); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f6f6f6), to(#f6f6f6)); - background-image: -webkit-linear-gradient(top, #f6f6f6, #f6f6f6); - background-image: -o-linear-gradient(top, #f6f6f6, #f6f6f6); - background-image: linear-gradient(to bottom, #f6f6f6, #f6f6f6); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff6f6f6', endColorstr='#fff6f6f6', GradientType=0); - border: 1px solid #d7d7d7; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - *zoom: 1; -} -.navbar-inner:before, -.navbar-inner:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-inner:after { - clear: both; -} -.navbar .container { - width: auto; -} -.nav-collapse.collapse { - height: auto; - overflow: visible; -} -.navbar .brand { - float: left; - display: block; - padding: 17px 20px 17px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - color: #333333; - text-shadow: 0 1px 0 #f6f6f6; -} -.navbar .brand:hover, -.navbar .brand:focus { - text-decoration: none; -} -.navbar-text { - margin-bottom: 0; - line-height: 60px; - color: #333333; -} -.navbar-link { - color: #333333; -} -.navbar-link:hover, -.navbar-link:focus { - color: #333333; -} -.navbar .divider-vertical { - height: 60px; - margin: 0 9px; - border-left: 1px solid #f6f6f6; - border-right: 1px solid #f6f6f6; -} -.navbar .btn, -.navbar .btn-group { - margin-top: 15px; -} -.navbar .btn-group .btn, -.navbar .input-prepend .btn, -.navbar .input-append .btn, -.navbar .input-prepend .btn-group, -.navbar .input-append .btn-group { - margin-top: 0; -} -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} -.navbar-form:before, -.navbar-form:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-form:after { - clear: both; -} -.navbar-form input, -.navbar-form select, -.navbar-form .radio, -.navbar-form .checkbox { - margin-top: 15px; -} -.navbar-form input, -.navbar-form select, -.navbar-form .btn { - display: inline-block; - margin-bottom: 0; -} -.navbar-form input[type="image"], -.navbar-form input[type="checkbox"], -.navbar-form input[type="radio"] { - margin-top: 3px; -} -.navbar-form .input-append, -.navbar-form .input-prepend { - margin-top: 5px; - white-space: nowrap; -} -.navbar-form .input-append input, -.navbar-form .input-prepend input { - margin-top: 0; -} -.navbar-search { - position: relative; - float: left; - margin-top: 15px; - margin-bottom: 0; -} -.navbar-search .search-query { - margin-bottom: 0; - padding: 4px 14px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.navbar-static-top { - position: static; - margin-bottom: 0; -} -.navbar-static-top .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; - margin-bottom: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - border-width: 0 0 1px; -} -.navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-fixed-bottom .navbar-inner { - padding-left: 0; - padding-right: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.navbar-fixed-top { - top: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 1px 10px rgba(0,0,0,.1); - box-shadow: 0 1px 10px rgba(0,0,0,.1); -} -.navbar-fixed-bottom { - bottom: 0; -} -.navbar-fixed-bottom .navbar-inner { - -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - box-shadow: 0 -1px 10px rgba(0,0,0,.1); -} -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} -.navbar .nav.pull-right { - float: right; - margin-right: 0; -} -.navbar .nav > li { - float: left; -} -.navbar .nav > li > a { - float: none; - padding: 17px 15px 17px; - color: #333333; - text-decoration: none; - text-shadow: 0 1px 0 #f6f6f6; -} -.navbar .nav .dropdown-toggle .caret { - margin-top: 8px; -} -.navbar .nav > li > a:focus, -.navbar .nav > li > a:hover { - background-color: transparent; - color: #333333; - text-decoration: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - color: #333333; - text-decoration: none; - background-color: #e9e9e9; - -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); -} -.navbar .btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-left: 5px; - margin-right: 5px; - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #e9e9e9; - background-image: -moz-linear-gradient(top, #e9e9e9, #e9e9e9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e9e9e9), to(#e9e9e9)); - background-image: -webkit-linear-gradient(top, #e9e9e9, #e9e9e9); - background-image: -o-linear-gradient(top, #e9e9e9, #e9e9e9); - background-image: linear-gradient(to bottom, #e9e9e9, #e9e9e9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe9e9e9', endColorstr='#ffe9e9e9', GradientType=0); - border-color: #e9e9e9 #e9e9e9 #c3c3c3; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e9e9e9; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); -} -.navbar .btn-navbar:hover, -.navbar .btn-navbar:focus, -.navbar .btn-navbar:active, -.navbar .btn-navbar.active, -.navbar .btn-navbar.disabled, -.navbar .btn-navbar[disabled] { - color: #ffffff; - background-color: #e9e9e9; - *background-color: #dcdcdc; -} -.navbar .btn-navbar:active, -.navbar .btn-navbar.active { - background-color: #d0d0d0 \9; -} -.navbar .btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} -.navbar .nav > li > .dropdown-menu:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: rgba(0, 0, 0, 0.2); - position: absolute; - top: -7px; - left: 9px; -} -.navbar .nav > li > .dropdown-menu:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #f6f6f6; - position: absolute; - top: -6px; - left: 10px; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:before { - border-top: 7px solid #ccc; - border-top-color: rgba(0, 0, 0, 0.2); - border-bottom: 0; - bottom: -7px; - top: auto; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:after { - border-top: 6px solid #f6f6f6; - border-bottom: 0; - bottom: -6px; - top: auto; -} -.navbar .nav li.dropdown > a:hover .caret, -.navbar .nav li.dropdown > a:focus .caret { - border-top-color: #333333; - border-bottom-color: #333333; -} -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #e9e9e9; - color: #333333; -} -.navbar .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #333333; - border-bottom-color: #333333; -} -.navbar .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #333333; - border-bottom-color: #333333; -} -.navbar .pull-right > li > .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right { - left: auto; - right: 0; -} -.navbar .pull-right > li > .dropdown-menu:before, -.navbar .nav > li > .dropdown-menu.pull-right:before { - left: auto; - right: 12px; -} -.navbar .pull-right > li > .dropdown-menu:after, -.navbar .nav > li > .dropdown-menu.pull-right:after { - left: auto; - right: 13px; -} -.navbar .pull-right > li > .dropdown-menu .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { - left: auto; - right: 100%; - margin-left: 0; - margin-right: -1px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.navbar-inverse .navbar-inner { - background-color: #333333; - background-image: -moz-linear-gradient(top, #333333, #333333); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#333333), to(#333333)); - background-image: -webkit-linear-gradient(top, #333333, #333333); - background-image: -o-linear-gradient(top, #333333, #333333); - background-image: linear-gradient(to bottom, #333333, #333333); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff333333', endColorstr='#ff333333', GradientType=0); - border-color: #252525; -} -.navbar-inverse .brand, -.navbar-inverse .nav > li > a { - color: #999999; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.navbar-inverse .brand:hover, -.navbar-inverse .nav > li > a:hover, -.navbar-inverse .brand:focus, -.navbar-inverse .nav > li > a:focus { - color: #ffffff; -} -.navbar-inverse .brand { - color: #999999; -} -.navbar-inverse .navbar-text { - color: #999999; -} -.navbar-inverse .nav > li > a:focus, -.navbar-inverse .nav > li > a:hover { - background-color: transparent; - color: #ffffff; -} -.navbar-inverse .nav .active > a, -.navbar-inverse .nav .active > a:hover, -.navbar-inverse .nav .active > a:focus { - color: #ffffff; - background-color: #333333; -} -.navbar-inverse .navbar-link { - color: #999999; -} -.navbar-inverse .navbar-link:hover, -.navbar-inverse .navbar-link:focus { - color: #ffffff; -} -.navbar-inverse .divider-vertical { - border-left-color: #333333; - border-right-color: #333333; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #333333; - color: #ffffff; -} -.navbar-inverse .nav li.dropdown > a:hover .caret, -.navbar-inverse .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #999999; - border-bottom-color: #999999; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .navbar-search .search-query { - color: #ffffff; - background-color: #737373; - border-color: #333333; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -.navbar-inverse .navbar-search .search-query:-moz-placeholder { - color: #cccccc; -} -.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { - color: #cccccc; -} -.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { - color: #cccccc; -} -.navbar-inverse .navbar-search .search-query:focus, -.navbar-inverse .navbar-search .search-query.focused { - padding: 5px 15px; - color: #333333; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - outline: 0; -} -.navbar-inverse .btn-navbar { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #262626; - background-image: -moz-linear-gradient(top, #262626, #262626); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#262626), to(#262626)); - background-image: -webkit-linear-gradient(top, #262626, #262626); - background-image: -o-linear-gradient(top, #262626, #262626); - background-image: linear-gradient(to bottom, #262626, #262626); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff262626', endColorstr='#ff262626', GradientType=0); - border-color: #262626 #262626 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #262626; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.navbar-inverse .btn-navbar:hover, -.navbar-inverse .btn-navbar:focus, -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active, -.navbar-inverse .btn-navbar.disabled, -.navbar-inverse .btn-navbar[disabled] { - color: #ffffff; - background-color: #262626; - *background-color: #1a1a1a; -} -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active { - background-color: #0d0d0d \9; -} -.breadcrumb { - padding: 8px 15px; - margin: 0 0 26px; - list-style: none; - background-color: #f5f5f5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.breadcrumb > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb > li > .divider { - padding: 0 5px; - color: #ccc; -} -.breadcrumb > .active { - color: #999999; -} -.pagination { - margin: 26px 0; -} -.pagination ul { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-left: 0; - margin-bottom: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} -.pagination ul > li { - display: inline; -} -.pagination ul > li > a, -.pagination ul > li > span { - float: left; - padding: 4px 12px; - line-height: 26px; - text-decoration: none; - background-color: #ffffff; - border: 1px solid #dddddd; - border-left-width: 0; -} -.pagination ul > li > a:hover, -.pagination ul > li > a:focus, -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: #f5f5f5; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - color: #999999; - cursor: default; -} -.pagination ul > .disabled > span, -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > a:focus { - color: #999999; - background-color: transparent; - cursor: default; -} -.pagination ul > li:first-child > a, -.pagination ul > li:first-child > span { - border-left-width: 1px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.pagination ul > li:last-child > a, -.pagination ul > li:last-child > span { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.pagination-centered { - text-align: center; -} -.pagination-right { - text-align: right; -} -.pagination-large ul > li > a, -.pagination-large ul > li > span { - padding: 11px 19px; - font-size: 21.25px; -} -.pagination-large ul > li:first-child > a, -.pagination-large ul > li:first-child > span { - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.pagination-large ul > li:last-child > a, -.pagination-large ul > li:last-child > span { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.pagination-mini ul > li:first-child > a, -.pagination-small ul > li:first-child > a, -.pagination-mini ul > li:first-child > span, -.pagination-small ul > li:first-child > span { - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topleft: 3px; - border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - border-bottom-left-radius: 3px; -} -.pagination-mini ul > li:last-child > a, -.pagination-small ul > li:last-child > a, -.pagination-mini ul > li:last-child > span, -.pagination-small ul > li:last-child > span { - -webkit-border-top-right-radius: 3px; - -moz-border-radius-topright: 3px; - border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - -moz-border-radius-bottomright: 3px; - border-bottom-right-radius: 3px; -} -.pagination-small ul > li > a, -.pagination-small ul > li > span { - padding: 2px 10px; - font-size: 14.45px; -} -.pagination-mini ul > li > a, -.pagination-mini ul > li > span { - padding: 0px 6px; - font-size: 12.75px; -} -.pager { - margin: 26px 0; - list-style: none; - text-align: center; - *zoom: 1; -} -.pager:before, -.pager:after { - display: table; - content: ""; - line-height: 0; -} -.pager:after { - clear: both; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #999999; - background-color: #fff; - cursor: default; -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop, -.modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.modal { - position: fixed; - top: 10%; - left: 50%; - z-index: 1050; - width: 560px; - margin-left: -280px; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - /* IE6-7 */ - - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - outline: none; -} -.modal.fade { - -webkit-transition: opacity .3s linear, top .3s ease-out; - -moz-transition: opacity .3s linear, top .3s ease-out; - -o-transition: opacity .3s linear, top .3s ease-out; - transition: opacity .3s linear, top .3s ease-out; - top: -25%; -} -.modal.fade.in { - top: 10%; -} -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} -.modal-header .close { - margin-top: 2px; -} -.modal-header h3 { - margin: 0; - line-height: 30px; -} -.modal-body { - position: relative; - overflow-y: auto; - max-height: 400px; - padding: 15px; -} -.modal-form { - margin-bottom: 0; -} -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - text-align: right; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; - *zoom: 1; -} -.modal-footer:before, -.modal-footer:after { - display: table; - content: ""; - line-height: 0; -} -.modal-footer:after { - clear: both; -} -.modal-footer .btn + .btn { - margin-left: 5px; - margin-bottom: 0; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.tooltip { - position: absolute; - z-index: 1030; - display: block; - visibility: visible; - font-size: 11px; - line-height: 1.4; - opacity: 0; - filter: alpha(opacity=0); -} -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.tooltip.top { - margin-top: -3px; - padding: 5px 0; -} -.tooltip.right { - margin-left: 3px; - padding: 0 5px; -} -.tooltip.bottom { - margin-top: 3px; - padding: 5px 0; -} -.tooltip.left { - margin-left: -3px; - padding: 0 5px; -} -.tooltip-inner { - max-width: 200px; - padding: 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #000000; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #000000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #000000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #000000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000000; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - background-color: #ffffff; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - white-space: normal; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #f7f7f7; - border-bottom: 1px solid #ebebeb; - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.popover-title:empty { - display: none; -} -.popover-content { - padding: 9px 14px; -} -.popover .arrow, -.popover .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover .arrow { - border-width: 11px; -} -.popover .arrow:after { - border-width: 10px; - content: ""; -} -.popover.top .arrow { - left: 50%; - margin-left: -11px; - border-bottom-width: 0; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, 0.25); - bottom: -11px; -} -.popover.top .arrow:after { - bottom: 1px; - margin-left: -10px; - border-bottom-width: 0; - border-top-color: #ffffff; -} -.popover.right .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-left-width: 0; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, 0.25); -} -.popover.right .arrow:after { - left: 1px; - bottom: -10px; - border-left-width: 0; - border-right-color: #ffffff; -} -.popover.bottom .arrow { - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, 0.25); - top: -11px; -} -.popover.bottom .arrow:after { - top: 1px; - margin-left: -10px; - border-top-width: 0; - border-bottom-color: #ffffff; -} -.popover.left .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, 0.25); -} -.popover.left .arrow:after { - right: 1px; - border-right-width: 0; - border-left-color: #ffffff; - bottom: -10px; -} -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} -.thumbnails:before, -.thumbnails:after { - display: table; - content: ""; - line-height: 0; -} -.thumbnails:after { - clear: both; -} -.row-fluid .thumbnails { - margin-left: 0; -} -.thumbnails > li { - float: left; - margin-bottom: 26px; - margin-left: 20px; -} -.thumbnail { - display: block; - padding: 4px; - line-height: 26px; - border: 1px solid #ddd; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -a.thumbnail:hover, -a.thumbnail:focus { - border-color: #e78b24; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} -.thumbnail > img { - display: block; - max-width: 100%; - margin-left: auto; - margin-right: auto; -} -.thumbnail .caption { - padding: 9px; - color: #555555; -} -.media, -.media-body { - overflow: hidden; - *overflow: visible; - zoom: 1; -} -.media, -.media .media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media-object { - display: block; -} -.media-heading { - margin: 0 0 5px; -} -.media > .pull-left { - margin-right: 10px; -} -.media > .pull-right { - margin-left: 10px; -} -.media-list { - margin-left: 0; - list-style: none; -} -.label, -.badge { - display: inline-block; - padding: 2px 4px; - font-size: 14.382px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - vertical-align: baseline; - white-space: nowrap; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #999999; -} -.label { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.badge { - padding-left: 9px; - padding-right: 9px; - -webkit-border-radius: 9px; - -moz-border-radius: 9px; - border-radius: 9px; -} -.label:empty, -.badge:empty { - display: none; -} -a.label:hover, -a.label:focus, -a.badge:hover, -a.badge:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.label-important, -.badge-important { - background-color: #9c0001; -} -.label-important[href], -.badge-important[href] { - background-color: #690001; -} -.label-warning, -.badge-warning { - background-color: #e78b24; -} -.label-warning[href], -.badge-warning[href] { - background-color: #c37115; -} -.label-success, -.badge-success { - background-color: #1c9b47; -} -.label-success[href], -.badge-success[href] { - background-color: #147033; -} -.label-info, -.badge-info { - background-color: #0063ac; -} -.label-info[href], -.badge-info[href] { - background-color: #004679; -} -.label-inverse, -.badge-inverse { - background-color: #333333; -} -.label-inverse[href], -.badge-inverse[href] { - background-color: #1a1a1a; -} -.btn .label, -.btn .badge { - position: relative; - top: -1px; -} -.btn-mini .label, -.btn-mini .badge { - top: 0; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-moz-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-ms-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - overflow: hidden; - height: 26px; - margin-bottom: 26px; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.progress .bar { - width: 0%; - height: 100%; - color: #ffffff; - float: left; - font-size: 12px; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(to bottom, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} -.progress .bar + .bar { - -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); -} -.progress-striped .bar { - background-color: #149bdf; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - -ms-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-danger .bar, -.progress .bar-danger { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); -} -.progress-danger.progress-striped .bar, -.progress-striped .bar-danger { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar, -.progress .bar-success { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(to bottom, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); -} -.progress-success.progress-striped .bar, -.progress-striped .bar-success { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar, -.progress .bar-info { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(to bottom, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); -} -.progress-info.progress-striped .bar, -.progress-striped .bar-info { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-warning .bar, -.progress .bar-warning { - background-color: #eca14d; - background-image: -moz-linear-gradient(top, #efb069, #e78b24); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#efb069), to(#e78b24)); - background-image: -webkit-linear-gradient(top, #efb069, #e78b24); - background-image: -o-linear-gradient(top, #efb069, #e78b24); - background-image: linear-gradient(to bottom, #efb069, #e78b24); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffefb069', endColorstr='#ffe78b24', GradientType=0); -} -.progress-warning.progress-striped .bar, -.progress-striped .bar-warning { - background-color: #efb069; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.accordion { - margin-bottom: 26px; -} -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.accordion-heading { - border-bottom: 0; -} -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} -.accordion-toggle { - cursor: pointer; -} -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} -.carousel { - position: relative; - margin-bottom: 26px; - line-height: 1; -} -.carousel-inner { - overflow: hidden; - width: 100%; - position: relative; -} -.carousel-inner > .item { - display: none; - position: relative; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - line-height: 1; -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #222222; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.carousel-control.right { - left: auto; - right: 15px; -} -.carousel-control:hover, -.carousel-control:focus { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} -.carousel-indicators { - position: absolute; - top: 15px; - right: 15px; - z-index: 5; - margin: 0; - list-style: none; -} -.carousel-indicators li { - display: block; - float: left; - width: 10px; - height: 10px; - margin-left: 5px; - text-indent: -999px; - background-color: #ccc; - background-color: rgba(255, 255, 255, 0.25); - border-radius: 5px; -} -.carousel-indicators .active { - background-color: #fff; -} -.carousel-caption { - position: absolute; - left: 0; - right: 0; - bottom: 0; - padding: 15px; - background: #333333; - background: rgba(0, 0, 0, 0.75); -} -.carousel-caption h4, -.carousel-caption p { - color: #ffffff; - line-height: 26px; -} -.carousel-caption h4 { - margin: 0 0 5px; -} -.carousel-caption p { - margin-bottom: 0; -} -.hero-unit { - padding: 60px; - margin-bottom: 30px; - font-size: 18px; - font-weight: 200; - line-height: 39px; - color: inherit; - background-color: #fefefe; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - color: inherit; - letter-spacing: -1px; -} -.hero-unit li { - line-height: 39px; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.invisible { - visibility: hidden; -} -.affix { - position: fixed; -} -div.subnav .nav > li > a, -div.subnav .nav > .active > a, -div.subnav .nav > .active > a:hover { - color: #333333; -} -div.subnav-fixed { - top: 61px; -} -.hero-unit h1, -.hero-unit h2, -.hero-unit h3, -.hero-unit h4, -.hero-unit h5, -.hero-unit h6 { - margin: 13px 0; -} -#main { - margin-top: 56px; -} -.navbar-fixed-top .navbar-inner { - padding-left: 20px; - padding-right: 20px; -} -.navbar .dropdown-menu { - padding: 20px; - max-height: 300px; - overflow: auto; - width: 300px; - background-color: #333333; -} -.navbar .dropdown-menu a, -.navbar .dropdown-menu a:visited { - color: #999999; -} -.navbar .dropdown-menu a:hover { - color: #ffffff; - background-color: transparent; -} -.navbar .dropdown-menu a:active { - color: #ffffff; - background-color: #333333; -} -.navbar .dropdown-menu a { - padding-left: 0; - padding-right: 5px; - font-weight: 500; - font-size: 115%; -} -#toc { - position: fixed; - top: 56px; - width: 29%; - max-height: 90%; - overflow: auto; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px #f6f6f6 solid; - padding: 5px; -} -#toc .toc-active { - background-color: #e9e9e9; - color: #333333; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -#toc .toc-active a, -#toc .toc-active a:hover, -#toc .toc-active a:active, -#toc .toc-active a:visited { - background-color: #e9e9e9; - color: #333333; -} -.toc-shim { - padding-top: 56px; - margin-top: -56px; - display: block; -} -.toc-h1 { - margin-left: 2px; - margin-right: 2px; -} -.toc-h2 { - margin-left: 7px; - margin-right: 7px; -} -.toc-h3 { - margin-left: 14px; - margin-right: 7px; -} -.toc-h4 { - margin-left: 21px; - margin-right: 7px; -} -.copyright { - font-size: 90%; - text-align: center; - color: #333333; - width: 100%; - display: block; -} -.jsdoc-message { - font-size: 90%; - text-align: center; - color: #333333; - width: 100%; - display: block; -} -.page-title { - font-size: 220%; - color: #333333; - font-weight: 700; - padding-top: 10px; - display: block; -} -footer { - border-top: 1px solid #333333; - padding-top: 15px; -} -code { - background-color: none; - border: none; - color: #e78b24; -} -.buffered-name { - padding-top: 56px; - margin-top: -56px; -} -.member-collapsed { - background-color: #333333; - color: #999999; -} -.member-open { - background-color: inherit; - color: inherit; -} -.member { - -webkit-transition: background-color 0.5s linear; - -moz-transition: background-color 0.5s linear; - -o-transition: background-color 0.5s linear; - transition: background-color 0.5s linear; - -webkit-transition: color 0.5s linear; - -moz-transition: color 0.5s linear; - -o-transition: color 0.5s linear; - transition: color 0.5s linear; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 10px; -} diff --git a/docs/styles/site.simplex.css b/docs/styles/site.simplex.css deleted file mode 100644 index 0a7bbd9143..0000000000 --- a/docs/styles/site.simplex.css +++ /dev/null @@ -1,5732 +0,0 @@ -@import url(http://fonts.googleapis.com/css?family=Josefin+Sans:300,400,700); -/*! - * Bootstrap v2.3.1 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -.clearfix { - *zoom: 1; -} -.clearfix:before, -.clearfix:after { - display: table; - content: ""; - line-height: 0; -} -.clearfix:after { - clear: both; -} -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.input-block-level { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a:hover, -a:active { - outline: 0; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - /* Responsive images (ensure images don't scale beyond their parents) */ - - max-width: 100%; - /* Part 1: Set a maxium relative to the parent */ - - width: auto\9; - /* IE7-8 need help adjusting responsive images */ - - height: auto; - /* Part 2: Scale the height according to the width, otherwise you get stretching */ - - vertical-align: middle; - border: 0; - -ms-interpolation-mode: bicubic; -} -#map_canvas img, -.google-maps img { - max-width: none; -} -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} -button, -input { - *overflow: visible; - line-height: normal; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -label, -select, -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -input[type="radio"], -input[type="checkbox"] { - cursor: pointer; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -@media print { - * { - text-shadow: none !important; - color: #000 !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} -body { - margin: 0; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 14px; - line-height: 20px; - color: #555555; - background-color: #f7f7f7; -} -a { - color: #d9230f; - text-decoration: none; -} -a:hover, -a:focus { - color: #d9230f; - text-decoration: underline; -} -.img-rounded { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.img-polaroid { - padding: 4px; - background-color: #fff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} -.img-circle { - -webkit-border-radius: 500px; - -moz-border-radius: 500px; - border-radius: 500px; -} -.row { - margin-left: -20px; - *zoom: 1; -} -.row:before, -.row:after { - display: table; - content: ""; - line-height: 0; -} -.row:after { - clear: both; -} -[class*="span"] { - float: left; - min-height: 1px; - margin-left: 20px; -} -.container, -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.span12 { - width: 940px; -} -.span11 { - width: 860px; -} -.span10 { - width: 780px; -} -.span9 { - width: 700px; -} -.span8 { - width: 620px; -} -.span7 { - width: 540px; -} -.span6 { - width: 460px; -} -.span5 { - width: 380px; -} -.span4 { - width: 300px; -} -.span3 { - width: 220px; -} -.span2 { - width: 140px; -} -.span1 { - width: 60px; -} -.offset12 { - margin-left: 980px; -} -.offset11 { - margin-left: 900px; -} -.offset10 { - margin-left: 820px; -} -.offset9 { - margin-left: 740px; -} -.offset8 { - margin-left: 660px; -} -.offset7 { - margin-left: 580px; -} -.offset6 { - margin-left: 500px; -} -.offset5 { - margin-left: 420px; -} -.offset4 { - margin-left: 340px; -} -.offset3 { - margin-left: 260px; -} -.offset2 { - margin-left: 180px; -} -.offset1 { - margin-left: 100px; -} -.row-fluid { - width: 100%; - *zoom: 1; -} -.row-fluid:before, -.row-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.row-fluid:after { - clear: both; -} -.row-fluid [class*="span"] { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2.127659574468085%; - *margin-left: 2.074468085106383%; -} -.row-fluid [class*="span"]:first-child { - margin-left: 0; -} -.row-fluid .controls-row [class*="span"] + [class*="span"] { - margin-left: 2.127659574468085%; -} -.row-fluid .span12 { - width: 100%; - *width: 99.94680851063829%; -} -.row-fluid .span11 { - width: 91.48936170212765%; - *width: 91.43617021276594%; -} -.row-fluid .span10 { - width: 82.97872340425532%; - *width: 82.92553191489361%; -} -.row-fluid .span9 { - width: 74.46808510638297%; - *width: 74.41489361702126%; -} -.row-fluid .span8 { - width: 65.95744680851064%; - *width: 65.90425531914893%; -} -.row-fluid .span7 { - width: 57.44680851063829%; - *width: 57.39361702127659%; -} -.row-fluid .span6 { - width: 48.93617021276595%; - *width: 48.88297872340425%; -} -.row-fluid .span5 { - width: 40.42553191489362%; - *width: 40.37234042553192%; -} -.row-fluid .span4 { - width: 31.914893617021278%; - *width: 31.861702127659576%; -} -.row-fluid .span3 { - width: 23.404255319148934%; - *width: 23.351063829787233%; -} -.row-fluid .span2 { - width: 14.893617021276595%; - *width: 14.840425531914894%; -} -.row-fluid .span1 { - width: 6.382978723404255%; - *width: 6.329787234042553%; -} -.row-fluid .offset12 { - margin-left: 104.25531914893617%; - *margin-left: 104.14893617021275%; -} -.row-fluid .offset12:first-child { - margin-left: 102.12765957446808%; - *margin-left: 102.02127659574467%; -} -.row-fluid .offset11 { - margin-left: 95.74468085106382%; - *margin-left: 95.6382978723404%; -} -.row-fluid .offset11:first-child { - margin-left: 93.61702127659574%; - *margin-left: 93.51063829787232%; -} -.row-fluid .offset10 { - margin-left: 87.23404255319149%; - *margin-left: 87.12765957446807%; -} -.row-fluid .offset10:first-child { - margin-left: 85.1063829787234%; - *margin-left: 84.99999999999999%; -} -.row-fluid .offset9 { - margin-left: 78.72340425531914%; - *margin-left: 78.61702127659572%; -} -.row-fluid .offset9:first-child { - margin-left: 76.59574468085106%; - *margin-left: 76.48936170212764%; -} -.row-fluid .offset8 { - margin-left: 70.2127659574468%; - *margin-left: 70.10638297872339%; -} -.row-fluid .offset8:first-child { - margin-left: 68.08510638297872%; - *margin-left: 67.9787234042553%; -} -.row-fluid .offset7 { - margin-left: 61.70212765957446%; - *margin-left: 61.59574468085106%; -} -.row-fluid .offset7:first-child { - margin-left: 59.574468085106375%; - *margin-left: 59.46808510638297%; -} -.row-fluid .offset6 { - margin-left: 53.191489361702125%; - *margin-left: 53.085106382978715%; -} -.row-fluid .offset6:first-child { - margin-left: 51.063829787234035%; - *margin-left: 50.95744680851063%; -} -.row-fluid .offset5 { - margin-left: 44.68085106382979%; - *margin-left: 44.57446808510638%; -} -.row-fluid .offset5:first-child { - margin-left: 42.5531914893617%; - *margin-left: 42.4468085106383%; -} -.row-fluid .offset4 { - margin-left: 36.170212765957444%; - *margin-left: 36.06382978723405%; -} -.row-fluid .offset4:first-child { - margin-left: 34.04255319148936%; - *margin-left: 33.93617021276596%; -} -.row-fluid .offset3 { - margin-left: 27.659574468085104%; - *margin-left: 27.5531914893617%; -} -.row-fluid .offset3:first-child { - margin-left: 25.53191489361702%; - *margin-left: 25.425531914893618%; -} -.row-fluid .offset2 { - margin-left: 19.148936170212764%; - *margin-left: 19.04255319148936%; -} -.row-fluid .offset2:first-child { - margin-left: 17.02127659574468%; - *margin-left: 16.914893617021278%; -} -.row-fluid .offset1 { - margin-left: 10.638297872340425%; - *margin-left: 10.53191489361702%; -} -.row-fluid .offset1:first-child { - margin-left: 8.51063829787234%; - *margin-left: 8.404255319148938%; -} -[class*="span"].hide, -.row-fluid [class*="span"].hide { - display: none; -} -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { - float: right; -} -.container { - margin-right: auto; - margin-left: auto; - *zoom: 1; -} -.container:before, -.container:after { - display: table; - content: ""; - line-height: 0; -} -.container:after { - clear: both; -} -.container-fluid { - padding-right: 20px; - padding-left: 20px; - *zoom: 1; -} -.container-fluid:before, -.container-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.container-fluid:after { - clear: both; -} -p { - margin: 0 0 10px; -} -.lead { - margin-bottom: 20px; - font-size: 21px; - font-weight: 200; - line-height: 30px; -} -small { - font-size: 85%; -} -strong { - font-weight: bold; -} -em { - font-style: italic; -} -cite { - font-style: normal; -} -.muted { - color: #999999; -} -a.muted:hover, -a.muted:focus { - color: #808080; -} -.text-warning { - color: #d9831f; -} -a.text-warning:hover, -a.text-warning:focus { - color: #ac6819; -} -.text-error { - color: #d9230f; -} -a.text-error:hover, -a.text-error:focus { - color: #a91b0c; -} -.text-info { - color: #029acf; -} -a.text-info:hover, -a.text-info:focus { - color: #02749c; -} -.text-success { - color: #3d9400; -} -a.text-success:hover, -a.text-success:focus { - color: #286100; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 10px 0; - font-family: "Josefin Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: bold; - line-height: 20px; - color: inherit; - text-rendering: optimizelegibility; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - line-height: 1; - color: #999999; -} -h1, -h2, -h3 { - line-height: 40px; -} -h1 { - font-size: 38.5px; -} -h2 { - font-size: 31.5px; -} -h3 { - font-size: 24.5px; -} -h4 { - font-size: 17.5px; -} -h5 { - font-size: 14px; -} -h6 { - font-size: 11.9px; -} -h1 small { - font-size: 24.5px; -} -h2 small { - font-size: 17.5px; -} -h3 small { - font-size: 14px; -} -h4 small { - font-size: 14px; -} -.page-header { - padding-bottom: 9px; - margin: 20px 0 30px; - border-bottom: 1px solid #eeeeee; -} -ul, -ol { - padding: 0; - margin: 0 0 10px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -li { - line-height: 20px; -} -ul.unstyled, -ol.unstyled { - margin-left: 0; - list-style: none; -} -ul.inline, -ol.inline { - margin-left: 0; - list-style: none; -} -ul.inline > li, -ol.inline > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding-left: 5px; - padding-right: 5px; -} -dl { - margin-bottom: 20px; -} -dt, -dd { - line-height: 20px; -} -dt { - font-weight: bold; -} -dd { - margin-left: 10px; -} -.dl-horizontal { - *zoom: 1; -} -.dl-horizontal:before, -.dl-horizontal:after { - display: table; - content: ""; - line-height: 0; -} -.dl-horizontal:after { - clear: both; -} -.dl-horizontal dt { - float: left; - width: 160px; - clear: left; - text-align: right; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.dl-horizontal dd { - margin-left: 180px; -} -hr { - margin: 20px 0; - border: 0; - border-top: 1px solid #eeeeee; - border-bottom: 1px solid #ffffff; -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #999999; -} -abbr.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 0 0 0 15px; - margin: 0 0 20px; - border-left: 5px solid #eeeeee; -} -blockquote p { - margin-bottom: 0; - font-size: 17.5px; - font-weight: 300; - line-height: 1.25; -} -blockquote small { - display: block; - line-height: 20px; - color: #999999; -} -blockquote small:before { - content: '\2014 \00A0'; -} -blockquote.pull-right { - float: right; - padding-right: 15px; - padding-left: 0; - border-right: 5px solid #eeeeee; - border-left: 0; -} -blockquote.pull-right p, -blockquote.pull-right small { - text-align: right; -} -blockquote.pull-right small:before { - content: ''; -} -blockquote.pull-right small:after { - content: '\00A0 \2014'; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -address { - display: block; - margin-bottom: 20px; - font-style: normal; - line-height: 20px; -} -code, -pre { - padding: 0 3px 2px; - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 12px; - color: #333333; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - padding: 2px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; - white-space: nowrap; -} -pre { - display: block; - padding: 9.5px; - margin: 0 0 10px; - font-size: 13px; - line-height: 20px; - word-break: break-all; - word-wrap: break-word; - white-space: pre; - white-space: pre-wrap; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -pre.prettyprint { - margin-bottom: 20px; -} -pre code { - padding: 0; - color: inherit; - white-space: pre; - white-space: pre-wrap; - background-color: transparent; - border: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -form { - margin: 0 0 20px; -} -fieldset { - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 20px; - font-size: 21px; - line-height: 40px; - color: #333333; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -legend small { - font-size: 15px; - color: #999999; -} -label, -input, -button, -select, -textarea { - font-size: 14px; - font-weight: normal; - line-height: 20px; -} -input, -button, -select, -textarea { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} -label { - display: block; - margin-bottom: 5px; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 20px; - padding: 4px 6px; - margin-bottom: 10px; - font-size: 14px; - line-height: 20px; - color: #555555; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - vertical-align: middle; -} -input, -textarea, -.uneditable-input { - width: 206px; -} -textarea { - height: auto; -} -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - background-color: #ffffff; - border: 1px solid #cccccc; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; -} -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - *margin-top: 0; - /* IE7 */ - - margin-top: 1px \9; - /* IE8-9 */ - - line-height: normal; -} -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} -select, -input[type="file"] { - height: 30px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 30px; -} -select { - width: 220px; - border: 1px solid #cccccc; - background-color: #ffffff; -} -select[multiple], -select[size] { - height: auto; -} -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.uneditable-input, -.uneditable-textarea { - color: #999999; - background-color: #fcfcfc; - border-color: #cccccc; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -.uneditable-input { - overflow: hidden; - white-space: nowrap; -} -.uneditable-textarea { - width: auto; - height: auto; -} -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #999999; -} -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #999999; -} -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #999999; -} -.radio, -.checkbox { - min-height: 20px; - padding-left: 20px; -} -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -20px; -} -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; -} -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; -} -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; -} -.input-mini { - width: 60px; -} -.input-small { - width: 90px; -} -.input-medium { - width: 150px; -} -.input-large { - width: 210px; -} -.input-xlarge { - width: 270px; -} -.input-xxlarge { - width: 530px; -} -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; -} -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; -} -input, -textarea, -.uneditable-input { - margin-left: 0; -} -.controls-row [class*="span"] + [class*="span"] { - margin-left: 20px; -} -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 926px; -} -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 846px; -} -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 766px; -} -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 686px; -} -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 606px; -} -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 526px; -} -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 446px; -} -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 366px; -} -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 286px; -} -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 206px; -} -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 126px; -} -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 46px; -} -.controls-row { - *zoom: 1; -} -.controls-row:before, -.controls-row:after { - display: table; - content: ""; - line-height: 0; -} -.controls-row:after { - clear: both; -} -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { - float: left; -} -.controls-row .checkbox[class*="span"], -.controls-row .radio[class*="span"] { - padding-top: 5px; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #eeeeee; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #d9831f; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #d9831f; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #d9831f; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #ac6819; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ebb473; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ebb473; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ebb473; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #d9831f; - background-color: #fcf8e3; - border-color: #d9831f; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #d9230f; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #d9230f; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #d9230f; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #a91b0c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f46a5a; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f46a5a; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f46a5a; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #d9230f; - background-color: #f2dede; - border-color: #d9230f; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #3d9400; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #3d9400; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #3d9400; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #286100; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67fa00; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67fa00; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #67fa00; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #3d9400; - background-color: #dff0d8; - border-color: #3d9400; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #029acf; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #029acf; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #029acf; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #02749c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #3acbfd; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #3acbfd; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #3acbfd; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #029acf; - background-color: #d9edf7; - border-color: #029acf; -} -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { - color: #b94a48; - border-color: #ee5f5b; -} -input:focus:invalid:focus, -textarea:focus:invalid:focus, -select:focus:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -.form-actions { - padding: 19px 20px 20px; - margin-top: 20px; - margin-bottom: 20px; - background-color: #f5f5f5; - border-top: 1px solid #e5e5e5; - *zoom: 1; -} -.form-actions:before, -.form-actions:after { - display: table; - content: ""; - line-height: 0; -} -.form-actions:after { - clear: both; -} -.help-block, -.help-inline { - color: #7b7b7b; -} -.help-block { - display: block; - margin-bottom: 10px; -} -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - vertical-align: middle; - padding-left: 5px; -} -.input-append, -.input-prepend { - display: inline-block; - margin-bottom: 10px; - vertical-align: middle; - font-size: 0; - white-space: nowrap; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input, -.input-append .dropdown-menu, -.input-prepend .dropdown-menu, -.input-append .popover, -.input-prepend .popover { - font-size: 14px; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input { - position: relative; - margin-bottom: 0; - *margin-left: 0; - vertical-align: top; - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-append input:focus, -.input-prepend input:focus, -.input-append select:focus, -.input-prepend select:focus, -.input-append .uneditable-input:focus, -.input-prepend .uneditable-input:focus { - z-index: 2; -} -.input-append .add-on, -.input-prepend .add-on { - display: inline-block; - width: auto; - height: 20px; - min-width: 16px; - padding: 4px 5px; - font-size: 14px; - font-weight: normal; - line-height: 20px; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - background-color: #eeeeee; - border: 1px solid #ccc; -} -.input-append .add-on, -.input-prepend .add-on, -.input-append .btn, -.input-prepend .btn, -.input-append .btn-group > .dropdown-toggle, -.input-prepend .btn-group > .dropdown-toggle { - vertical-align: top; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-append .active, -.input-prepend .active { - background-color: #84ff2e; - border-color: #3d9400; -} -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; -} -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-append input + .btn-group .btn:last-child, -.input-append select + .btn-group .btn:last-child, -.input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-append .add-on, -.input-append .btn, -.input-append .btn-group { - margin-left: -1px; -} -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-prepend.input-append input + .btn-group .btn, -.input-prepend.input-append select + .btn-group .btn, -.input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.input-prepend.input-append .btn-group:first-child { - margin-left: 0; -} -input.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - - margin-bottom: 0; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -/* Allow for input prepend/append in search forms */ -.form-search .input-append .search-query, -.form-search .input-prepend .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.form-search .input-append .search-query { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search .input-append .btn { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .search-query { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .btn { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input, -.form-search .input-prepend, -.form-inline .input-prepend, -.form-horizontal .input-prepend, -.form-search .input-append, -.form-inline .input-append, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; -} -.form-search label, -.form-inline label, -.form-search .btn-group, -.form-inline .btn-group { - display: inline-block; -} -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; -} -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; -} -.control-group { - margin-bottom: 10px; -} -legend + .control-group { - margin-top: 20px; - -webkit-margin-top-collapse: separate; -} -.form-horizontal .control-group { - margin-bottom: 20px; - *zoom: 1; -} -.form-horizontal .control-group:before, -.form-horizontal .control-group:after { - display: table; - content: ""; - line-height: 0; -} -.form-horizontal .control-group:after { - clear: both; -} -.form-horizontal .control-label { - float: left; - width: 160px; - padding-top: 5px; - text-align: right; -} -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 180px; - *margin-left: 0; -} -.form-horizontal .controls:first-child { - *padding-left: 180px; -} -.form-horizontal .help-block { - margin-bottom: 0; -} -.form-horizontal input + .help-block, -.form-horizontal select + .help-block, -.form-horizontal textarea + .help-block, -.form-horizontal .uneditable-input + .help-block, -.form-horizontal .input-prepend + .help-block, -.form-horizontal .input-append + .help-block { - margin-top: 10px; -} -.form-horizontal .form-actions { - padding-left: 180px; -} -table { - max-width: 100%; - background-color: transparent; - border-collapse: collapse; - border-spacing: 0; -} -.table { - width: 100%; - margin-bottom: 20px; -} -.table th, -.table td { - padding: 8px; - line-height: 20px; - text-align: left; - vertical-align: top; - border-top: 1px solid #dddddd; -} -.table th { - font-weight: bold; -} -.table thead th { - vertical-align: bottom; -} -.table caption + thead tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child th, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child th, -.table thead:first-child tr:first-child td { - border-top: 0; -} -.table tbody + tbody { - border-top: 2px solid #dddddd; -} -.table .table { - background-color: #f7f7f7; -} -.table-condensed th, -.table-condensed td { - padding: 4px 5px; -} -.table-bordered { - border: 1px solid #dddddd; - border-collapse: separate; - *border-collapse: collapse; - border-left: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.table-bordered th, -.table-bordered td { - border-left: 1px solid #dddddd; -} -.table-bordered caption + thead tr:first-child th, -.table-bordered caption + tbody tr:first-child th, -.table-bordered caption + tbody tr:first-child td, -.table-bordered colgroup + thead tr:first-child th, -.table-bordered colgroup + tbody tr:first-child th, -.table-bordered colgroup + tbody tr:first-child td, -.table-bordered thead:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} -.table-bordered thead:first-child tr:first-child > th:first-child, -.table-bordered tbody:first-child tr:first-child > td:first-child, -.table-bordered tbody:first-child tr:first-child > th:first-child { - -webkit-border-top-left-radius: 0; - -moz-border-radius-topleft: 0; - border-top-left-radius: 0; -} -.table-bordered thead:first-child tr:first-child > th:last-child, -.table-bordered tbody:first-child tr:first-child > td:last-child, -.table-bordered tbody:first-child tr:first-child > th:last-child { - -webkit-border-top-right-radius: 0; - -moz-border-radius-topright: 0; - border-top-right-radius: 0; -} -.table-bordered thead:last-child tr:last-child > th:first-child, -.table-bordered tbody:last-child tr:last-child > td:first-child, -.table-bordered tbody:last-child tr:last-child > th:first-child, -.table-bordered tfoot:last-child tr:last-child > td:first-child, -.table-bordered tfoot:last-child tr:last-child > th:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered thead:last-child tr:last-child > th:last-child, -.table-bordered tbody:last-child tr:last-child > td:last-child, -.table-bordered tbody:last-child tr:last-child > th:last-child, -.table-bordered tfoot:last-child tr:last-child > td:last-child, -.table-bordered tfoot:last-child tr:last-child > th:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered caption + thead tr:first-child th:first-child, -.table-bordered caption + tbody tr:first-child td:first-child, -.table-bordered colgroup + thead tr:first-child th:first-child, -.table-bordered colgroup + tbody tr:first-child td:first-child { - -webkit-border-top-left-radius: 0; - -moz-border-radius-topleft: 0; - border-top-left-radius: 0; -} -.table-bordered caption + thead tr:first-child th:last-child, -.table-bordered caption + tbody tr:first-child td:last-child, -.table-bordered colgroup + thead tr:first-child th:last-child, -.table-bordered colgroup + tbody tr:first-child td:last-child { - -webkit-border-top-right-radius: 0; - -moz-border-radius-topright: 0; - border-top-right-radius: 0; -} -.table-striped tbody > tr:nth-child(odd) > td, -.table-striped tbody > tr:nth-child(odd) > th { - background-color: #f9f9f9; -} -.table-hover tbody tr:hover > td, -.table-hover tbody tr:hover > th { - background-color: #f5f5f5; -} -table td[class*="span"], -table th[class*="span"], -.row-fluid table td[class*="span"], -.row-fluid table th[class*="span"] { - display: table-cell; - float: none; - margin-left: 0; -} -.table td.span1, -.table th.span1 { - float: none; - width: 44px; - margin-left: 0; -} -.table td.span2, -.table th.span2 { - float: none; - width: 124px; - margin-left: 0; -} -.table td.span3, -.table th.span3 { - float: none; - width: 204px; - margin-left: 0; -} -.table td.span4, -.table th.span4 { - float: none; - width: 284px; - margin-left: 0; -} -.table td.span5, -.table th.span5 { - float: none; - width: 364px; - margin-left: 0; -} -.table td.span6, -.table th.span6 { - float: none; - width: 444px; - margin-left: 0; -} -.table td.span7, -.table th.span7 { - float: none; - width: 524px; - margin-left: 0; -} -.table td.span8, -.table th.span8 { - float: none; - width: 604px; - margin-left: 0; -} -.table td.span9, -.table th.span9 { - float: none; - width: 684px; - margin-left: 0; -} -.table td.span10, -.table th.span10 { - float: none; - width: 764px; - margin-left: 0; -} -.table td.span11, -.table th.span11 { - float: none; - width: 844px; - margin-left: 0; -} -.table td.span12, -.table th.span12 { - float: none; - width: 924px; - margin-left: 0; -} -.table tbody tr.success > td { - background-color: #dff0d8; -} -.table tbody tr.error > td { - background-color: #f2dede; -} -.table tbody tr.warning > td { - background-color: #fcf8e3; -} -.table tbody tr.info > td { - background-color: #d9edf7; -} -.table-hover tbody tr.success:hover > td { - background-color: #d0e9c6; -} -.table-hover tbody tr.error:hover > td { - background-color: #ebcccc; -} -.table-hover tbody tr.warning:hover > td { - background-color: #faf2cc; -} -.table-hover tbody tr.info:hover > td { - background-color: #c4e3f3; -} -[class^="icon-"], -[class*=" icon-"] { - display: inline-block; - width: 14px; - height: 14px; - *margin-right: .3em; - line-height: 14px; - vertical-align: text-top; - background-image: url("../img/glyphicons-halflings.png"); - background-position: 14px 14px; - background-repeat: no-repeat; - margin-top: 1px; -} -/* White icons with optional class, or on hover/focus/active states of certain elements */ -.icon-white, -.nav-pills > .active > a > [class^="icon-"], -.nav-pills > .active > a > [class*=" icon-"], -.nav-list > .active > a > [class^="icon-"], -.nav-list > .active > a > [class*=" icon-"], -.navbar-inverse .nav > .active > a > [class^="icon-"], -.navbar-inverse .nav > .active > a > [class*=" icon-"], -.dropdown-menu > li > a:hover > [class^="icon-"], -.dropdown-menu > li > a:focus > [class^="icon-"], -.dropdown-menu > li > a:hover > [class*=" icon-"], -.dropdown-menu > li > a:focus > [class*=" icon-"], -.dropdown-menu > .active > a > [class^="icon-"], -.dropdown-menu > .active > a > [class*=" icon-"], -.dropdown-submenu:hover > a > [class^="icon-"], -.dropdown-submenu:focus > a > [class^="icon-"], -.dropdown-submenu:hover > a > [class*=" icon-"], -.dropdown-submenu:focus > a > [class*=" icon-"] { - background-image: url("../img/glyphicons-halflings-white.png"); -} -.icon-glass { - background-position: 0 0; -} -.icon-music { - background-position: -24px 0; -} -.icon-search { - background-position: -48px 0; -} -.icon-envelope { - background-position: -72px 0; -} -.icon-heart { - background-position: -96px 0; -} -.icon-star { - background-position: -120px 0; -} -.icon-star-empty { - background-position: -144px 0; -} -.icon-user { - background-position: -168px 0; -} -.icon-film { - background-position: -192px 0; -} -.icon-th-large { - background-position: -216px 0; -} -.icon-th { - background-position: -240px 0; -} -.icon-th-list { - background-position: -264px 0; -} -.icon-ok { - background-position: -288px 0; -} -.icon-remove { - background-position: -312px 0; -} -.icon-zoom-in { - background-position: -336px 0; -} -.icon-zoom-out { - background-position: -360px 0; -} -.icon-off { - background-position: -384px 0; -} -.icon-signal { - background-position: -408px 0; -} -.icon-cog { - background-position: -432px 0; -} -.icon-trash { - background-position: -456px 0; -} -.icon-home { - background-position: 0 -24px; -} -.icon-file { - background-position: -24px -24px; -} -.icon-time { - background-position: -48px -24px; -} -.icon-road { - background-position: -72px -24px; -} -.icon-download-alt { - background-position: -96px -24px; -} -.icon-download { - background-position: -120px -24px; -} -.icon-upload { - background-position: -144px -24px; -} -.icon-inbox { - background-position: -168px -24px; -} -.icon-play-circle { - background-position: -192px -24px; -} -.icon-repeat { - background-position: -216px -24px; -} -.icon-refresh { - background-position: -240px -24px; -} -.icon-list-alt { - background-position: -264px -24px; -} -.icon-lock { - background-position: -287px -24px; -} -.icon-flag { - background-position: -312px -24px; -} -.icon-headphones { - background-position: -336px -24px; -} -.icon-volume-off { - background-position: -360px -24px; -} -.icon-volume-down { - background-position: -384px -24px; -} -.icon-volume-up { - background-position: -408px -24px; -} -.icon-qrcode { - background-position: -432px -24px; -} -.icon-barcode { - background-position: -456px -24px; -} -.icon-tag { - background-position: 0 -48px; -} -.icon-tags { - background-position: -25px -48px; -} -.icon-book { - background-position: -48px -48px; -} -.icon-bookmark { - background-position: -72px -48px; -} -.icon-print { - background-position: -96px -48px; -} -.icon-camera { - background-position: -120px -48px; -} -.icon-font { - background-position: -144px -48px; -} -.icon-bold { - background-position: -167px -48px; -} -.icon-italic { - background-position: -192px -48px; -} -.icon-text-height { - background-position: -216px -48px; -} -.icon-text-width { - background-position: -240px -48px; -} -.icon-align-left { - background-position: -264px -48px; -} -.icon-align-center { - background-position: -288px -48px; -} -.icon-align-right { - background-position: -312px -48px; -} -.icon-align-justify { - background-position: -336px -48px; -} -.icon-list { - background-position: -360px -48px; -} -.icon-indent-left { - background-position: -384px -48px; -} -.icon-indent-right { - background-position: -408px -48px; -} -.icon-facetime-video { - background-position: -432px -48px; -} -.icon-picture { - background-position: -456px -48px; -} -.icon-pencil { - background-position: 0 -72px; -} -.icon-map-marker { - background-position: -24px -72px; -} -.icon-adjust { - background-position: -48px -72px; -} -.icon-tint { - background-position: -72px -72px; -} -.icon-edit { - background-position: -96px -72px; -} -.icon-share { - background-position: -120px -72px; -} -.icon-check { - background-position: -144px -72px; -} -.icon-move { - background-position: -168px -72px; -} -.icon-step-backward { - background-position: -192px -72px; -} -.icon-fast-backward { - background-position: -216px -72px; -} -.icon-backward { - background-position: -240px -72px; -} -.icon-play { - background-position: -264px -72px; -} -.icon-pause { - background-position: -288px -72px; -} -.icon-stop { - background-position: -312px -72px; -} -.icon-forward { - background-position: -336px -72px; -} -.icon-fast-forward { - background-position: -360px -72px; -} -.icon-step-forward { - background-position: -384px -72px; -} -.icon-eject { - background-position: -408px -72px; -} -.icon-chevron-left { - background-position: -432px -72px; -} -.icon-chevron-right { - background-position: -456px -72px; -} -.icon-plus-sign { - background-position: 0 -96px; -} -.icon-minus-sign { - background-position: -24px -96px; -} -.icon-remove-sign { - background-position: -48px -96px; -} -.icon-ok-sign { - background-position: -72px -96px; -} -.icon-question-sign { - background-position: -96px -96px; -} -.icon-info-sign { - background-position: -120px -96px; -} -.icon-screenshot { - background-position: -144px -96px; -} -.icon-remove-circle { - background-position: -168px -96px; -} -.icon-ok-circle { - background-position: -192px -96px; -} -.icon-ban-circle { - background-position: -216px -96px; -} -.icon-arrow-left { - background-position: -240px -96px; -} -.icon-arrow-right { - background-position: -264px -96px; -} -.icon-arrow-up { - background-position: -289px -96px; -} -.icon-arrow-down { - background-position: -312px -96px; -} -.icon-share-alt { - background-position: -336px -96px; -} -.icon-resize-full { - background-position: -360px -96px; -} -.icon-resize-small { - background-position: -384px -96px; -} -.icon-plus { - background-position: -408px -96px; -} -.icon-minus { - background-position: -433px -96px; -} -.icon-asterisk { - background-position: -456px -96px; -} -.icon-exclamation-sign { - background-position: 0 -120px; -} -.icon-gift { - background-position: -24px -120px; -} -.icon-leaf { - background-position: -48px -120px; -} -.icon-fire { - background-position: -72px -120px; -} -.icon-eye-open { - background-position: -96px -120px; -} -.icon-eye-close { - background-position: -120px -120px; -} -.icon-warning-sign { - background-position: -144px -120px; -} -.icon-plane { - background-position: -168px -120px; -} -.icon-calendar { - background-position: -192px -120px; -} -.icon-random { - background-position: -216px -120px; - width: 16px; -} -.icon-comment { - background-position: -240px -120px; -} -.icon-magnet { - background-position: -264px -120px; -} -.icon-chevron-up { - background-position: -288px -120px; -} -.icon-chevron-down { - background-position: -313px -119px; -} -.icon-retweet { - background-position: -336px -120px; -} -.icon-shopping-cart { - background-position: -360px -120px; -} -.icon-folder-close { - background-position: -384px -120px; - width: 16px; -} -.icon-folder-open { - background-position: -408px -120px; - width: 16px; -} -.icon-resize-vertical { - background-position: -432px -119px; -} -.icon-resize-horizontal { - background-position: -456px -118px; -} -.icon-hdd { - background-position: 0 -144px; -} -.icon-bullhorn { - background-position: -24px -144px; -} -.icon-bell { - background-position: -48px -144px; -} -.icon-certificate { - background-position: -72px -144px; -} -.icon-thumbs-up { - background-position: -96px -144px; -} -.icon-thumbs-down { - background-position: -120px -144px; -} -.icon-hand-right { - background-position: -144px -144px; -} -.icon-hand-left { - background-position: -168px -144px; -} -.icon-hand-up { - background-position: -192px -144px; -} -.icon-hand-down { - background-position: -216px -144px; -} -.icon-circle-arrow-right { - background-position: -240px -144px; -} -.icon-circle-arrow-left { - background-position: -264px -144px; -} -.icon-circle-arrow-up { - background-position: -288px -144px; -} -.icon-circle-arrow-down { - background-position: -312px -144px; -} -.icon-globe { - background-position: -336px -144px; -} -.icon-wrench { - background-position: -360px -144px; -} -.icon-tasks { - background-position: -384px -144px; -} -.icon-filter { - background-position: -408px -144px; -} -.icon-briefcase { - background-position: -432px -144px; -} -.icon-fullscreen { - background-position: -456px -144px; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle { - *margin-bottom: -3px; -} -.dropdown-toggle:active, -.open .dropdown-toggle { - outline: 0; -} -.caret { - display: inline-block; - width: 0; - height: 0; - vertical-align: top; - border-top: 4px solid #000000; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - content: ""; -} -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - background-color: #ffffff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 20px; - color: #555555; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, -.dropdown-submenu:hover > a, -.dropdown-submenu:focus > a { - text-decoration: none; - color: #555555; - background-color: #f9e3e0; - background-image: -moz-linear-gradient(top, #fbebe9, #f7d7d3); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbebe9), to(#f7d7d3)); - background-image: -webkit-linear-gradient(top, #fbebe9, #f7d7d3); - background-image: -o-linear-gradient(top, #fbebe9, #f7d7d3); - background-image: linear-gradient(to bottom, #fbebe9, #f7d7d3); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbebe9', endColorstr='#fff7d7d3', GradientType=0); -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #555555; - text-decoration: none; - outline: 0; - background-color: #cf210e; - background-image: -moz-linear-gradient(top, #d9230f, #c11f0d); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#d9230f), to(#c11f0d)); - background-image: -webkit-linear-gradient(top, #d9230f, #c11f0d); - background-image: -o-linear-gradient(top, #d9230f, #c11f0d); - background-image: linear-gradient(to bottom, #d9230f, #c11f0d); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd9230f', endColorstr='#ffc11f0d', GradientType=0); -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #999999; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: default; -} -.open { - *z-index: 1000; -} -.open > .dropdown-menu { - display: block; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: ""; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -.dropdown-submenu { - position: relative; -} -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; - -webkit-border-radius: 5px 5px 5px 0; - -moz-border-radius: 5px 5px 5px 0; - border-radius: 5px 5px 5px 0; -} -.dropdown-submenu > a:after { - display: block; - content: " "; - float: right; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 5px 0 5px 5px; - border-left-color: #cccccc; - margin-top: 5px; - margin-right: -10px; -} -.dropdown-submenu:hover > a:after { - border-left-color: #555555; -} -.dropdown-submenu.pull-left { - float: none; -} -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.dropdown .dropdown-menu .nav-header { - padding-left: 20px; - padding-right: 20px; -} -.typeahead { - z-index: 1051; - margin-top: 2px; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #ffffff; - border: 1px solid #ededed; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} -.well-large { - padding: 24px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.well-small { - padding: 9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; -} -.collapse.in { - height: auto; -} -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 20px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover, -.close:focus { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} -.btn { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding: 4px 12px; - margin-bottom: 0; - font-size: 14px; - line-height: 20px; - text-align: center; - vertical-align: middle; - cursor: pointer; - color: #333333; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #f5f5f5; - background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); - background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); - background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); - border-color: #e6e6e6 #e6e6e6 #bfbfbf; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e6e6e6; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - border: 1px solid #cccccc; - *border: 0; - border-bottom-color: #b3b3b3; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - *margin-left: .3em; - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #333333; - background-color: #e6e6e6; - *background-color: #d9d9d9; -} -.btn:active, -.btn.active { - background-color: #cccccc \9; -} -.btn:first-child { - *margin-left: 0; -} -.btn:hover, -.btn:focus { - color: #333333; - text-decoration: none; - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -.btn:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn.active, -.btn:active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn.disabled, -.btn[disabled] { - cursor: default; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-large { - padding: 11px 19px; - font-size: 17.5px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.btn-large [class^="icon-"], -.btn-large [class*=" icon-"] { - margin-top: 4px; -} -.btn-small { - padding: 2px 10px; - font-size: 11.9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-small [class^="icon-"], -.btn-small [class*=" icon-"] { - margin-top: 0; -} -.btn-mini [class^="icon-"], -.btn-mini [class*=" icon-"] { - margin-top: -1px; -} -.btn-mini { - padding: 0px 6px; - font-size: 10.5px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; - padding-left: 0; - padding-right: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active, -.btn-inverse.active { - color: rgba(255, 255, 255, 0.75); -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #e62611; - background-image: -moz-linear-gradient(top, #ef2913, #d9230f); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ef2913), to(#d9230f)); - background-image: -webkit-linear-gradient(top, #ef2913, #d9230f); - background-image: -o-linear-gradient(top, #ef2913, #d9230f); - background-image: linear-gradient(to bottom, #ef2913, #d9230f); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffef2913', endColorstr='#ffd9230f', GradientType=0); - border-color: #d9230f #d9230f #91170a; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #d9230f; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #d9230f; - *background-color: #c11f0d; -} -.btn-primary:active, -.btn-primary.active { - background-color: #a91b0c \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #ffce36; - background-image: -moz-linear-gradient(top, #ffd041, #ffca27); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffd041), to(#ffca27)); - background-image: -webkit-linear-gradient(top, #ffd041, #ffca27); - background-image: -o-linear-gradient(top, #ffd041, #ffca27); - background-image: linear-gradient(to bottom, #ffd041, #ffca27); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffd041', endColorstr='#ffffca27', GradientType=0); - border-color: #ffca27 #ffca27 #d9a400; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #ffca27; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #ffca27; - *background-color: #ffc40d; -} -.btn-warning:active, -.btn-warning.active { - background-color: #f3b700 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #e62611; - background-image: -moz-linear-gradient(top, #ef2913, #d9230f); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ef2913), to(#d9230f)); - background-image: -webkit-linear-gradient(top, #ef2913, #d9230f); - background-image: -o-linear-gradient(top, #ef2913, #d9230f); - background-image: linear-gradient(to bottom, #ef2913, #d9230f); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffef2913', endColorstr='#ffd9230f', GradientType=0); - border-color: #d9230f #d9230f #91170a; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #d9230f; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #d9230f; - *background-color: #c11f0d; -} -.btn-danger:active, -.btn-danger.active { - background-color: #a91b0c \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #43a300; - background-image: -moz-linear-gradient(top, #48ae00, #3d9400); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#48ae00), to(#3d9400)); - background-image: -webkit-linear-gradient(top, #48ae00, #3d9400); - background-image: -o-linear-gradient(top, #48ae00, #3d9400); - background-image: linear-gradient(to bottom, #48ae00, #3d9400); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff48ae00', endColorstr='#ff3d9400', GradientType=0); - border-color: #3d9400 #3d9400 #1d4800; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #3d9400; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #3d9400; - *background-color: #327b00; -} -.btn-success:active, -.btn-success.active { - background-color: #286100 \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #68c5e1; - background-image: -moz-linear-gradient(top, #70c8e2, #5bc0de); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#70c8e2), to(#5bc0de)); - background-image: -webkit-linear-gradient(top, #70c8e2, #5bc0de); - background-image: -o-linear-gradient(top, #70c8e2, #5bc0de); - background-image: linear-gradient(to bottom, #70c8e2, #5bc0de); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff70c8e2', endColorstr='#ff5bc0de', GradientType=0); - border-color: #5bc0de #5bc0de #28a1c5; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #5bc0de; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #5bc0de; - *background-color: #46b8da; -} -.btn-info:active, -.btn-info.active { - background-color: #31b0d5 \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #454545; - background-image: -moz-linear-gradient(top, #555555, #2c2c2c); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#2c2c2c)); - background-image: -webkit-linear-gradient(top, #555555, #2c2c2c); - background-image: -o-linear-gradient(top, #555555, #2c2c2c); - background-image: linear-gradient(to bottom, #555555, #2c2c2c); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff555555', endColorstr='#ff2c2c2c', GradientType=0); - border-color: #2c2c2c #2c2c2c #060606; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #2c2c2c; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #2c2c2c; - *background-color: #1f1f1f; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #121212 \9; -} -button.btn, -input[type="submit"].btn { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn::-moz-focus-inner, -input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} -button.btn.btn-large, -input[type="submit"].btn.btn-large { - *padding-top: 7px; - *padding-bottom: 7px; -} -button.btn.btn-small, -input[type="submit"].btn.btn-small { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn.btn-mini, -input[type="submit"].btn.btn-mini { - *padding-top: 1px; - *padding-bottom: 1px; -} -.btn-link, -.btn-link:active, -.btn-link[disabled] { - background-color: transparent; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-link { - border-color: transparent; - cursor: pointer; - color: #d9230f; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-link:hover, -.btn-link:focus { - color: #d9230f; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -.btn-link[disabled]:focus { - color: #333333; - text-decoration: none; -} -.btn-group { - position: relative; - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - font-size: 0; - vertical-align: middle; - white-space: nowrap; - *margin-left: .3em; -} -.btn-group:first-child { - *margin-left: 0; -} -.btn-group + .btn-group { - margin-left: 5px; -} -.btn-toolbar { - font-size: 0; - margin-top: 10px; - margin-bottom: 10px; -} -.btn-toolbar > .btn + .btn, -.btn-toolbar > .btn-group + .btn, -.btn-toolbar > .btn + .btn-group { - margin-left: 5px; -} -.btn-group > .btn { - position: relative; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group > .btn + .btn { - margin-left: -1px; -} -.btn-group > .btn, -.btn-group > .dropdown-menu, -.btn-group > .popover { - font-size: 14px; -} -.btn-group > .btn-mini { - font-size: 10.5px; -} -.btn-group > .btn-small { - font-size: 11.9px; -} -.btn-group > .btn-large { - font-size: 17.5px; -} -.btn-group > .btn:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 0; - -moz-border-radius-topleft: 0; - border-top-left-radius: 0; - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-top-right-radius: 0; - -moz-border-radius-topright: 0; - border-top-right-radius: 0; - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.btn-group > .btn.large:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.btn-group > .btn.large:last-child, -.btn-group > .large.dropdown-toggle { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - *padding-top: 5px; - *padding-bottom: 5px; -} -.btn-group > .btn-mini + .dropdown-toggle { - padding-left: 5px; - padding-right: 5px; - *padding-top: 2px; - *padding-bottom: 2px; -} -.btn-group > .btn-small + .dropdown-toggle { - *padding-top: 5px; - *padding-bottom: 4px; -} -.btn-group > .btn-large + .dropdown-toggle { - padding-left: 12px; - padding-right: 12px; - *padding-top: 7px; - *padding-bottom: 7px; -} -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn-group.open .btn.dropdown-toggle { - background-color: #e6e6e6; -} -.btn-group.open .btn-primary.dropdown-toggle { - background-color: #d9230f; -} -.btn-group.open .btn-warning.dropdown-toggle { - background-color: #ffca27; -} -.btn-group.open .btn-danger.dropdown-toggle { - background-color: #d9230f; -} -.btn-group.open .btn-success.dropdown-toggle { - background-color: #3d9400; -} -.btn-group.open .btn-info.dropdown-toggle { - background-color: #5bc0de; -} -.btn-group.open .btn-inverse.dropdown-toggle { - background-color: #2c2c2c; -} -.btn .caret { - margin-top: 8px; - margin-left: 0; -} -.btn-large .caret { - margin-top: 6px; -} -.btn-large .caret { - border-left-width: 5px; - border-right-width: 5px; - border-top-width: 5px; -} -.btn-mini .caret, -.btn-small .caret { - margin-top: 8px; -} -.dropup .btn-large .caret { - border-bottom-width: 5px; -} -.btn-primary .caret, -.btn-warning .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret, -.btn-inverse .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.btn-group-vertical { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} -.btn-group-vertical > .btn { - display: block; - float: none; - max-width: 100%; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group-vertical > .btn + .btn { - margin-left: 0; - margin-top: -1px; -} -.btn-group-vertical > .btn:first-child { - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.btn-group-vertical > .btn:last-child { - -webkit-border-radius: 0 0 0 0; - -moz-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.btn-group-vertical > .btn-large:first-child { - -webkit-border-radius: 6px 6px 0 0; - -moz-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; -} -.btn-group-vertical > .btn-large:last-child { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 20px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #fcf8e3; - border: 1px solid #fbeed5; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.alert, -.alert h4 { - color: #d9831f; -} -.alert h4 { - margin: 0; -} -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 20px; -} -.alert-success { - background-color: #dff0d8; - border-color: #d6e9c6; - color: #3d9400; -} -.alert-success h4 { - color: #3d9400; -} -.alert-danger, -.alert-error { - background-color: #f2dede; - border-color: #eed3d7; - color: #d9230f; -} -.alert-danger h4, -.alert-error h4 { - color: #d9230f; -} -.alert-info { - background-color: #d9edf7; - border-color: #bce8f1; - color: #029acf; -} -.alert-info h4 { - color: #029acf; -} -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; -} -.alert-block p + p { - margin-top: 5px; -} -.nav { - margin-left: 0; - margin-bottom: 20px; - list-style: none; -} -.nav > li > a { - display: block; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #eeeeee; -} -.nav > li > a > img { - max-width: none; -} -.nav > .pull-right { - float: right; -} -.nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 20px; - color: #999999; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} -.nav li + .nav-header { - margin-top: 9px; -} -.nav-list { - padding-left: 15px; - padding-right: 15px; - margin-bottom: 0; -} -.nav-list > li > a, -.nav-list .nav-header { - margin-left: -15px; - margin-right: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.nav-list > li > a { - padding: 3px 15px; -} -.nav-list > .active > a, -.nav-list > .active > a:hover, -.nav-list > .active > a:focus { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #d9230f; -} -.nav-list [class^="icon-"], -.nav-list [class*=" icon-"] { - margin-right: 2px; -} -.nav-list .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.nav-tabs, -.nav-pills { - *zoom: 1; -} -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; - line-height: 0; -} -.nav-tabs:after, -.nav-pills:after { - clear: both; -} -.nav-tabs > li, -.nav-pills > li { - float: left; -} -.nav-tabs > li > a, -.nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - margin-bottom: -1px; -} -.nav-tabs > li > a { - padding-top: 8px; - padding-bottom: 8px; - line-height: 20px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover, -.nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #dddddd; -} -.nav-tabs > .active > a, -.nav-tabs > .active > a:hover, -.nav-tabs > .active > a:focus { - color: #555555; - background-color: #f7f7f7; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.nav-pills > .active > a, -.nav-pills > .active > a:hover, -.nav-pills > .active > a:focus { - color: #ffffff; - background-color: #d9230f; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li > a { - margin-right: 0; -} -.nav-tabs.nav-stacked { - border-bottom: 0; -} -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.nav-tabs.nav-stacked > li > a:hover, -.nav-tabs.nav-stacked > li > a:focus { - border-color: #ddd; - z-index: 2; -} -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.nav-pills .dropdown-menu { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.nav .dropdown-toggle .caret { - border-top-color: #d9230f; - border-bottom-color: #d9230f; - margin-top: 6px; -} -.nav .dropdown-toggle:hover .caret, -.nav .dropdown-toggle:focus .caret { - border-top-color: #d9230f; - border-bottom-color: #d9230f; -} -/* move down carets for tabs */ -.nav-tabs .dropdown-toggle .caret { - margin-top: 8px; -} -.nav .active .dropdown-toggle .caret { - border-top-color: #fff; - border-bottom-color: #fff; -} -.nav-tabs .active .dropdown-toggle .caret { - border-top-color: #555555; - border-bottom-color: #555555; -} -.nav > .dropdown.active > a:hover, -.nav > .dropdown.active > a:focus { - cursor: pointer; -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover, -.nav > li.dropdown.open.active > a:focus { - color: #ffffff; - background-color: #999999; - border-color: #999999; -} -.nav li.dropdown.open .caret, -.nav li.dropdown.open.active .caret, -.nav li.dropdown.open a:hover .caret, -.nav li.dropdown.open a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} -.tabs-stacked .open > a:hover, -.tabs-stacked .open > a:focus { - border-color: #999999; -} -.tabbable { - *zoom: 1; -} -.tabbable:before, -.tabbable:after { - display: table; - content: ""; - line-height: 0; -} -.tabbable:after { - clear: both; -} -.tab-content { - overflow: auto; -} -.tabs-below > .nav-tabs, -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} -.tab-content > .active, -.pill-content > .active { - display: block; -} -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; -} -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.tabs-below > .nav-tabs > li > a:hover, -.tabs-below > .nav-tabs > li > a:focus { - border-bottom-color: transparent; - border-top-color: #ddd; -} -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover, -.tabs-below > .nav-tabs > .active > a:focus { - border-color: transparent #ddd #ddd #ddd; -} -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.tabs-left > .nav-tabs > li > a:hover, -.tabs-left > .nav-tabs > li > a:focus { - border-color: #eeeeee #dddddd #eeeeee #eeeeee; -} -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover, -.tabs-left > .nav-tabs .active > a:focus { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.tabs-right > .nav-tabs > li > a:hover, -.tabs-right > .nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #eeeeee #dddddd; -} -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover, -.tabs-right > .nav-tabs .active > a:focus { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} -.nav > .disabled > a { - color: #999999; -} -.nav > .disabled > a:hover, -.nav > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - cursor: default; -} -.navbar { - overflow: visible; - margin-bottom: 20px; - *position: relative; - *z-index: 2; -} -.navbar-inner { - min-height: 40px; - padding-left: 20px; - padding-right: 20px; - background-color: #fefefe; - background-image: -moz-linear-gradient(top, #fefefe, #fefefe); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fefefe), to(#fefefe)); - background-image: -webkit-linear-gradient(top, #fefefe, #fefefe); - background-image: -o-linear-gradient(top, #fefefe, #fefefe); - background-image: linear-gradient(to bottom, #fefefe, #fefefe); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffefefe', endColorstr='#fffefefe', GradientType=0); - border: 1px solid #dfdfdf; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - *zoom: 1; -} -.navbar-inner:before, -.navbar-inner:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-inner:after { - clear: both; -} -.navbar .container { - width: auto; -} -.nav-collapse.collapse { - height: auto; - overflow: visible; -} -.navbar .brand { - float: left; - display: block; - padding: 10px 20px 10px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - color: inherit; - text-shadow: 0 1px 0 #fefefe; -} -.navbar .brand:hover, -.navbar .brand:focus { - text-decoration: none; -} -.navbar-text { - margin-bottom: 0; - line-height: 40px; - color: #555555; -} -.navbar-link { - color: #555555; -} -.navbar-link:hover, -.navbar-link:focus { - color: #d9230f; -} -.navbar .divider-vertical { - height: 40px; - margin: 0 9px; - border-left: 1px solid #fefefe; - border-right: 1px solid #fefefe; -} -.navbar .btn, -.navbar .btn-group { - margin-top: 5px; -} -.navbar .btn-group .btn, -.navbar .input-prepend .btn, -.navbar .input-append .btn, -.navbar .input-prepend .btn-group, -.navbar .input-append .btn-group { - margin-top: 0; -} -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} -.navbar-form:before, -.navbar-form:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-form:after { - clear: both; -} -.navbar-form input, -.navbar-form select, -.navbar-form .radio, -.navbar-form .checkbox { - margin-top: 5px; -} -.navbar-form input, -.navbar-form select, -.navbar-form .btn { - display: inline-block; - margin-bottom: 0; -} -.navbar-form input[type="image"], -.navbar-form input[type="checkbox"], -.navbar-form input[type="radio"] { - margin-top: 3px; -} -.navbar-form .input-append, -.navbar-form .input-prepend { - margin-top: 5px; - white-space: nowrap; -} -.navbar-form .input-append input, -.navbar-form .input-prepend input { - margin-top: 0; -} -.navbar-search { - position: relative; - float: left; - margin-top: 5px; - margin-bottom: 0; -} -.navbar-search .search-query { - margin-bottom: 0; - padding: 4px 14px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.navbar-static-top { - position: static; - margin-bottom: 0; -} -.navbar-static-top .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; - margin-bottom: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - border-width: 0 0 1px; -} -.navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-fixed-bottom .navbar-inner { - padding-left: 0; - padding-right: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.navbar-fixed-top { - top: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 1px 10px rgba(0,0,0,.1); - box-shadow: 0 1px 10px rgba(0,0,0,.1); -} -.navbar-fixed-bottom { - bottom: 0; -} -.navbar-fixed-bottom .navbar-inner { - -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - box-shadow: 0 -1px 10px rgba(0,0,0,.1); -} -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} -.navbar .nav.pull-right { - float: right; - margin-right: 0; -} -.navbar .nav > li { - float: left; -} -.navbar .nav > li > a { - float: none; - padding: 10px 15px 10px; - color: #555555; - text-decoration: none; - text-shadow: 0 1px 0 #fefefe; -} -.navbar .nav .dropdown-toggle .caret { - margin-top: 8px; -} -.navbar .nav > li > a:focus, -.navbar .nav > li > a:hover { - background-color: transparent; - color: #d9230f; - text-decoration: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - color: #d9230f; - text-decoration: none; - background-color: #fefefe; - -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); -} -.navbar .btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-left: 5px; - margin-right: 5px; - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #f1f1f1; - background-image: -moz-linear-gradient(top, #f1f1f1, #f1f1f1); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f1f1f1), to(#f1f1f1)); - background-image: -webkit-linear-gradient(top, #f1f1f1, #f1f1f1); - background-image: -o-linear-gradient(top, #f1f1f1, #f1f1f1); - background-image: linear-gradient(to bottom, #f1f1f1, #f1f1f1); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff1f1f1', endColorstr='#fff1f1f1', GradientType=0); - border-color: #f1f1f1 #f1f1f1 #cbcbcb; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #f1f1f1; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); -} -.navbar .btn-navbar:hover, -.navbar .btn-navbar:focus, -.navbar .btn-navbar:active, -.navbar .btn-navbar.active, -.navbar .btn-navbar.disabled, -.navbar .btn-navbar[disabled] { - color: #ffffff; - background-color: #f1f1f1; - *background-color: #e4e4e4; -} -.navbar .btn-navbar:active, -.navbar .btn-navbar.active { - background-color: #d8d8d8 \9; -} -.navbar .btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} -.navbar .nav > li > .dropdown-menu:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: rgba(0, 0, 0, 0.2); - position: absolute; - top: -7px; - left: 9px; -} -.navbar .nav > li > .dropdown-menu:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #ffffff; - position: absolute; - top: -6px; - left: 10px; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:before { - border-top: 7px solid #ccc; - border-top-color: rgba(0, 0, 0, 0.2); - border-bottom: 0; - bottom: -7px; - top: auto; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:after { - border-top: 6px solid #ffffff; - border-bottom: 0; - bottom: -6px; - top: auto; -} -.navbar .nav li.dropdown > a:hover .caret, -.navbar .nav li.dropdown > a:focus .caret { - border-top-color: #d9230f; - border-bottom-color: #d9230f; -} -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #fefefe; - color: #d9230f; -} -.navbar .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #555555; - border-bottom-color: #555555; -} -.navbar .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #d9230f; - border-bottom-color: #d9230f; -} -.navbar .pull-right > li > .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right { - left: auto; - right: 0; -} -.navbar .pull-right > li > .dropdown-menu:before, -.navbar .nav > li > .dropdown-menu.pull-right:before { - left: auto; - right: 12px; -} -.navbar .pull-right > li > .dropdown-menu:after, -.navbar .nav > li > .dropdown-menu.pull-right:after { - left: auto; - right: 13px; -} -.navbar .pull-right > li > .dropdown-menu .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { - left: auto; - right: 100%; - margin-left: 0; - margin-right: -1px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.navbar-inverse .navbar-inner { - background-color: #e62914; - background-image: -moz-linear-gradient(top, #ef2d18, #d9230f); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ef2d18), to(#d9230f)); - background-image: -webkit-linear-gradient(top, #ef2d18, #d9230f); - background-image: -o-linear-gradient(top, #ef2d18, #d9230f); - background-image: linear-gradient(to bottom, #ef2d18, #d9230f); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffef2d18', endColorstr='#ffd9230f', GradientType=0); - border-color: #f03621; -} -.navbar-inverse .brand, -.navbar-inverse .nav > li > a { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.navbar-inverse .brand:hover, -.navbar-inverse .nav > li > a:hover, -.navbar-inverse .brand:focus, -.navbar-inverse .nav > li > a:focus { - color: #ffffff; -} -.navbar-inverse .brand { - color: #ffffff; -} -.navbar-inverse .navbar-text { - color: #ffffff; -} -.navbar-inverse .nav > li > a:focus, -.navbar-inverse .nav > li > a:hover { - background-color: transparent; - color: #ffffff; -} -.navbar-inverse .nav .active > a, -.navbar-inverse .nav .active > a:hover, -.navbar-inverse .nav .active > a:focus { - color: #ffffff; - background-color: #d9230f; -} -.navbar-inverse .navbar-link { - color: #ffffff; -} -.navbar-inverse .navbar-link:hover, -.navbar-inverse .navbar-link:focus { - color: #ffffff; -} -.navbar-inverse .divider-vertical { - border-left-color: #d9230f; - border-right-color: #ef2d18; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #d9230f; - color: #ffffff; -} -.navbar-inverse .nav li.dropdown > a:hover .caret, -.navbar-inverse .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .navbar-search .search-query { - color: #ffffff; - background-color: #f57f72; - border-color: #d9230f; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -.navbar-inverse .navbar-search .search-query:-moz-placeholder { - color: #ffffff; -} -.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { - color: #ffffff; -} -.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { - color: #ffffff; -} -.navbar-inverse .navbar-search .search-query:focus, -.navbar-inverse .navbar-search .search-query.focused { - padding: 5px 15px; - color: #333333; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - outline: 0; -} -.navbar-inverse .btn-navbar { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #d2220f; - background-image: -moz-linear-gradient(top, #de240f, #c11f0d); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#de240f), to(#c11f0d)); - background-image: -webkit-linear-gradient(top, #de240f, #c11f0d); - background-image: -o-linear-gradient(top, #de240f, #c11f0d); - background-image: linear-gradient(to bottom, #de240f, #c11f0d); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffde240f', endColorstr='#ffc11f0d', GradientType=0); - border-color: #c11f0d #c11f0d #7a1408; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #c11f0d; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.navbar-inverse .btn-navbar:hover, -.navbar-inverse .btn-navbar:focus, -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active, -.navbar-inverse .btn-navbar.disabled, -.navbar-inverse .btn-navbar[disabled] { - color: #ffffff; - background-color: #c11f0d; - *background-color: #a91b0c; -} -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active { - background-color: #91170a \9; -} -.breadcrumb { - padding: 8px 15px; - margin: 0 0 20px; - list-style: none; - background-color: #f5f5f5; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.breadcrumb > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb > li > .divider { - padding: 0 5px; - color: #ccc; -} -.breadcrumb > .active { - color: #999999; -} -.pagination { - margin: 20px 0; -} -.pagination ul { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-left: 0; - margin-bottom: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} -.pagination ul > li { - display: inline; -} -.pagination ul > li > a, -.pagination ul > li > span { - float: left; - padding: 4px 12px; - line-height: 20px; - text-decoration: none; - background-color: #ffffff; - border: 1px solid #dddddd; - border-left-width: 0; -} -.pagination ul > li > a:hover, -.pagination ul > li > a:focus, -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: #fbebe9; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - color: #999999; - cursor: default; -} -.pagination ul > .disabled > span, -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > a:focus { - color: #999999; - background-color: transparent; - cursor: default; -} -.pagination ul > li:first-child > a, -.pagination ul > li:first-child > span { - border-left-width: 1px; - -webkit-border-top-left-radius: 0; - -moz-border-radius-topleft: 0; - border-top-left-radius: 0; - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.pagination ul > li:last-child > a, -.pagination ul > li:last-child > span { - -webkit-border-top-right-radius: 0; - -moz-border-radius-topright: 0; - border-top-right-radius: 0; - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.pagination-centered { - text-align: center; -} -.pagination-right { - text-align: right; -} -.pagination-large ul > li > a, -.pagination-large ul > li > span { - padding: 11px 19px; - font-size: 17.5px; -} -.pagination-large ul > li:first-child > a, -.pagination-large ul > li:first-child > span { - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.pagination-large ul > li:last-child > a, -.pagination-large ul > li:last-child > span { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.pagination-mini ul > li:first-child > a, -.pagination-small ul > li:first-child > a, -.pagination-mini ul > li:first-child > span, -.pagination-small ul > li:first-child > span { - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topleft: 3px; - border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - border-bottom-left-radius: 3px; -} -.pagination-mini ul > li:last-child > a, -.pagination-small ul > li:last-child > a, -.pagination-mini ul > li:last-child > span, -.pagination-small ul > li:last-child > span { - -webkit-border-top-right-radius: 3px; - -moz-border-radius-topright: 3px; - border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - -moz-border-radius-bottomright: 3px; - border-bottom-right-radius: 3px; -} -.pagination-small ul > li > a, -.pagination-small ul > li > span { - padding: 2px 10px; - font-size: 11.9px; -} -.pagination-mini ul > li > a, -.pagination-mini ul > li > span { - padding: 0px 6px; - font-size: 10.5px; -} -.pager { - margin: 20px 0; - list-style: none; - text-align: center; - *zoom: 1; -} -.pager:before, -.pager:after { - display: table; - content: ""; - line-height: 0; -} -.pager:after { - clear: both; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #999999; - background-color: #fff; - cursor: default; -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop, -.modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.modal { - position: fixed; - top: 10%; - left: 50%; - z-index: 1050; - width: 560px; - margin-left: -280px; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - /* IE6-7 */ - - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - outline: none; -} -.modal.fade { - -webkit-transition: opacity .3s linear, top .3s ease-out; - -moz-transition: opacity .3s linear, top .3s ease-out; - -o-transition: opacity .3s linear, top .3s ease-out; - transition: opacity .3s linear, top .3s ease-out; - top: -25%; -} -.modal.fade.in { - top: 10%; -} -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} -.modal-header .close { - margin-top: 2px; -} -.modal-header h3 { - margin: 0; - line-height: 30px; -} -.modal-body { - position: relative; - overflow-y: auto; - max-height: 400px; - padding: 15px; -} -.modal-form { - margin-bottom: 0; -} -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - text-align: right; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; - *zoom: 1; -} -.modal-footer:before, -.modal-footer:after { - display: table; - content: ""; - line-height: 0; -} -.modal-footer:after { - clear: both; -} -.modal-footer .btn + .btn { - margin-left: 5px; - margin-bottom: 0; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.tooltip { - position: absolute; - z-index: 1030; - display: block; - visibility: visible; - font-size: 11px; - line-height: 1.4; - opacity: 0; - filter: alpha(opacity=0); -} -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.tooltip.top { - margin-top: -3px; - padding: 5px 0; -} -.tooltip.right { - margin-left: 3px; - padding: 0 5px; -} -.tooltip.bottom { - margin-top: 3px; - padding: 5px 0; -} -.tooltip.left { - margin-left: -3px; - padding: 0 5px; -} -.tooltip-inner { - max-width: 200px; - padding: 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #000000; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #000000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #000000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #000000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000000; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - background-color: #ffffff; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - white-space: normal; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #f7f7f7; - border-bottom: 1px solid #ebebeb; - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.popover-title:empty { - display: none; -} -.popover-content { - padding: 9px 14px; -} -.popover .arrow, -.popover .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover .arrow { - border-width: 11px; -} -.popover .arrow:after { - border-width: 10px; - content: ""; -} -.popover.top .arrow { - left: 50%; - margin-left: -11px; - border-bottom-width: 0; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, 0.25); - bottom: -11px; -} -.popover.top .arrow:after { - bottom: 1px; - margin-left: -10px; - border-bottom-width: 0; - border-top-color: #ffffff; -} -.popover.right .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-left-width: 0; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, 0.25); -} -.popover.right .arrow:after { - left: 1px; - bottom: -10px; - border-left-width: 0; - border-right-color: #ffffff; -} -.popover.bottom .arrow { - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, 0.25); - top: -11px; -} -.popover.bottom .arrow:after { - top: 1px; - margin-left: -10px; - border-top-width: 0; - border-bottom-color: #ffffff; -} -.popover.left .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, 0.25); -} -.popover.left .arrow:after { - right: 1px; - border-right-width: 0; - border-left-color: #ffffff; - bottom: -10px; -} -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} -.thumbnails:before, -.thumbnails:after { - display: table; - content: ""; - line-height: 0; -} -.thumbnails:after { - clear: both; -} -.row-fluid .thumbnails { - margin-left: 0; -} -.thumbnails > li { - float: left; - margin-bottom: 20px; - margin-left: 20px; -} -.thumbnail { - display: block; - padding: 4px; - line-height: 20px; - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -a.thumbnail:hover, -a.thumbnail:focus { - border-color: #d9230f; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} -.thumbnail > img { - display: block; - max-width: 100%; - margin-left: auto; - margin-right: auto; -} -.thumbnail .caption { - padding: 9px; - color: #555555; -} -.media, -.media-body { - overflow: hidden; - *overflow: visible; - zoom: 1; -} -.media, -.media .media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media-object { - display: block; -} -.media-heading { - margin: 0 0 5px; -} -.media > .pull-left { - margin-right: 10px; -} -.media > .pull-right { - margin-left: 10px; -} -.media-list { - margin-left: 0; - list-style: none; -} -.label, -.badge { - display: inline-block; - padding: 2px 4px; - font-size: 11.844px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - vertical-align: baseline; - white-space: nowrap; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #999999; -} -.label { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.badge { - padding-left: 9px; - padding-right: 9px; - -webkit-border-radius: 9px; - -moz-border-radius: 9px; - border-radius: 9px; -} -.label:empty, -.badge:empty { - display: none; -} -a.label:hover, -a.label:focus, -a.badge:hover, -a.badge:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.label-important, -.badge-important { - background-color: #d9230f; -} -.label-important[href], -.badge-important[href] { - background-color: #a91b0c; -} -.label-warning, -.badge-warning { - background-color: #d9831f; -} -.label-warning[href], -.badge-warning[href] { - background-color: #ac6819; -} -.label-success, -.badge-success { - background-color: #3d9400; -} -.label-success[href], -.badge-success[href] { - background-color: #286100; -} -.label-info, -.badge-info { - background-color: #029acf; -} -.label-info[href], -.badge-info[href] { - background-color: #02749c; -} -.label-inverse, -.badge-inverse { - background-color: #333333; -} -.label-inverse[href], -.badge-inverse[href] { - background-color: #1a1a1a; -} -.btn .label, -.btn .badge { - position: relative; - top: -1px; -} -.btn-mini .label, -.btn-mini .badge { - top: 0; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-moz-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-ms-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - overflow: hidden; - height: 20px; - margin-bottom: 20px; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.progress .bar { - width: 0%; - height: 100%; - color: #ffffff; - float: left; - font-size: 12px; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(to bottom, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} -.progress .bar + .bar { - -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); -} -.progress-striped .bar { - background-color: #149bdf; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - -ms-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-danger .bar, -.progress .bar-danger { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); -} -.progress-danger.progress-striped .bar, -.progress-striped .bar-danger { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar, -.progress .bar-success { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(to bottom, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); -} -.progress-success.progress-striped .bar, -.progress-striped .bar-success { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar, -.progress .bar-info { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(to bottom, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); -} -.progress-info.progress-striped .bar, -.progress-striped .bar-info { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-warning .bar, -.progress .bar-warning { - background-color: #e29944; - background-image: -moz-linear-gradient(top, #e8a75d, #d9831f); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e8a75d), to(#d9831f)); - background-image: -webkit-linear-gradient(top, #e8a75d, #d9831f); - background-image: -o-linear-gradient(top, #e8a75d, #d9831f); - background-image: linear-gradient(to bottom, #e8a75d, #d9831f); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe8a75d', endColorstr='#ffd9831f', GradientType=0); -} -.progress-warning.progress-striped .bar, -.progress-striped .bar-warning { - background-color: #e8a75d; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.accordion { - margin-bottom: 20px; -} -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.accordion-heading { - border-bottom: 0; -} -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} -.accordion-toggle { - cursor: pointer; -} -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} -.carousel { - position: relative; - margin-bottom: 20px; - line-height: 1; -} -.carousel-inner { - overflow: hidden; - width: 100%; - position: relative; -} -.carousel-inner > .item { - display: none; - position: relative; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - line-height: 1; -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #2c2c2c; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.carousel-control.right { - left: auto; - right: 15px; -} -.carousel-control:hover, -.carousel-control:focus { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} -.carousel-indicators { - position: absolute; - top: 15px; - right: 15px; - z-index: 5; - margin: 0; - list-style: none; -} -.carousel-indicators li { - display: block; - float: left; - width: 10px; - height: 10px; - margin-left: 5px; - text-indent: -999px; - background-color: #ccc; - background-color: rgba(255, 255, 255, 0.25); - border-radius: 5px; -} -.carousel-indicators .active { - background-color: #fff; -} -.carousel-caption { - position: absolute; - left: 0; - right: 0; - bottom: 0; - padding: 15px; - background: #333333; - background: rgba(0, 0, 0, 0.75); -} -.carousel-caption h4, -.carousel-caption p { - color: #ffffff; - line-height: 20px; -} -.carousel-caption h4 { - margin: 0 0 5px; -} -.carousel-caption p { - margin-bottom: 0; -} -.hero-unit { - padding: 60px; - margin-bottom: 30px; - font-size: 18px; - font-weight: 200; - line-height: 30px; - color: inherit; - background-color: #eeeeee; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - color: inherit; - letter-spacing: -1px; -} -.hero-unit li { - line-height: 30px; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.invisible { - visibility: hidden; -} -.affix { - position: fixed; -} -hr { - border-bottom: none; -} -.navbar .navbar-inner { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.navbar .brand { - padding: 12px 20px 8px; - font-family: "Josefin Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: bold; -} -.navbar .brand:hover { - color: #d9230f; -} -.navbar .nav > li > a { - padding: 13px 15px 6px; - font-family: "Josefin Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: bold; - text-shadow: none; -} -.navbar .nav > li > a:hover { - text-decoration: none; -} -.navbar .nav .active > a, -.navbar .nav .active > a:hover { - background-color: transparent; -} -.navbar .navbar-text { - padding: 13px 15px 7px; - line-height: 19px; - font-family: "Josefin Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #999999; -} -.navbar .divider-vertical { - height: 39px; - background-color: #eeeeee; -} -.navbar .navbar-search { - margin-top: 5px; -} -.navbar .navbar-search input[type="text"] { - margin-bottom: 5px; -} -.navbar .dropdown-menu a { - font-family: "Josefin Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; -} -.navbar-inverse .navbar-inner { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.navbar-inverse .brand:hover { - color: #ffffff; -} -@media (max-width: 979px) { - .navbar .nav-collapse .nav li > a { - color: #555555; - } - .navbar .nav-collapse .nav li > a:hover { - background-image: none; - background-color: #fbebe9; - } - .navbar .nav-collapse .nav .active > a { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - } - .navbar .nav-collapse .navbar-form, - .navbar .nav-collapse .navbar-search { - border-top: 1px solid rgba(128, 128, 128, 0.3); - border-bottom: 1px solid rgba(128, 128, 128, 0.3); - } - .navbar-inverse .nav-collapse .nav li > a { - color: #ffffff; - } - .navbar-inverse .nav-collapse .nav li > a:hover { - background-color: rgba(255, 255, 255, 0.1) !important; - } - .navbar-inverse .nav-collapse .nav-header { - color: rgba(255, 255, 255, 0.7); - } -} -div.subnav { - background-image: none; - background-color: #fefefe; - border-bottom: 1px solid transparent; - -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2); - box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2); - font-family: "Josefin Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; -} -div.subnav.subnav-fixed { - top: 41px; - -webkit-box-shadow: inset 0 5px #ffffff , 1px 1px 1px rgba(0, 0, 0, 0.2); - -moz-box-shadow: inset 0 5px #ffffff , 1px 1px 1px rgba(0, 0, 0, 0.2); - box-shadow: inset 0 5px #ffffff , 1px 1px 1px rgba(0, 0, 0, 0.2); -} -div.subnav .nav > li > a { - padding: 14px 12px 10px; - border-left-color: transparent; - border-right-color: transparent; - color: #555555; - font-weight: bold; -} -div.subnav .nav > li > a:hover { - background-color: transparent; - color: #d9230f; -} -div.subnav .nav > li.active > a, -div.subnav .nav > li.active > a:hover { - border-left-color: transparent; - border-right-color: transparent; - background-color: transparent; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - color: #d9230f; -} -.nav .nav-header { - font-size: 13px; - font-weight: normal; - text-transform: none; -} -.nav-tabs > li > a { - background-color: #efefef; - border: 1px solid #ccc; - color: #555555; -} -.nav-tabs > li > a:hover { - border: 1px solid #ccc; - background-color: #fbebe9; - color: #d9230f; -} -.nav-tabs > li.active > a, -.nav-tabs > li.active > a:hover { - background-color: #f7f7f7; -} -.nav-tabs > li.disabled > a:hover { - background-color: #efefef; - color: #999999; -} -.nav-tabs .dropdown .dropdown-toggle .caret { - border-top-color: #555555; - border-bottom-color: #555555; - opacity: 1; -} -.nav-tabs .dropdown:hover .dropdown-toggle .caret { - border-top-color: #d9230f; - border-bottom-color: #d9230f; -} -.nav-tabs .dropdown.open .dropdown-toggle { - background-color: #fbebe9; - border-color: #ccc; - color: #d9230f; -} -.nav-tabs .dropdown.open .dropdown-toggle .caret, -.nav-tabs .dropdown.open .dropdown-toggle:hover .caret { - border-top-color: #d9230f; - border-bottom-color: #d9230f; - opacity: 1; -} -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs .dropdown-menu a { - padding: 8px 15px 3px; -} -.tabbable .nav-tabs > li > a, -.tabbable .nav-tabs > li > a:hover { - border: 1px solid #ccc; -} -.tabbable .nav-tabs > li.active > a { - border-bottom: 1px solid transparent; -} -.tabbable.tabs-below > .nav-tabs > li.active > a, -.tabbable.tabs-left > .nav-tabs > li.active > a, -.tabbable.tabs-right > .nav-tabs > li.active > a { - border-bottom: 1px solid #ccc; -} -.nav-pills li > a { - color: #555555; -} -.nav-pills li > a:hover { - background-color: #fbebe9; - color: #d9230f; -} -.nav-pills li.active > a, -.nav-pills li.active > a:hover { - background-color: #fbebe9; - color: #d9230f; -} -.nav-pills > li.disabled > a:hover { - color: #999999; -} -.nav-pills .dropdown .dropdown-toggle .caret { - border-top-color: #555555; - border-bottom-color: #555555; - opacity: 1; -} -.nav-pills .dropdown .dropdown-toggle:hover .caret { - border-top-color: #d9230f; - border-bottom-color: #d9230f; -} -.nav-pills .dropdown.open .dropdown-toggle, -.nav-pills .dropdown.open:hover .dropdown-toggle { - background-color: #fbebe9; - color: #d9230f; -} -.nav-pills .dropdown.open .dropdown-toggle .caret, -.nav-pills .dropdown.open:hover .dropdown-toggle .caret { - border-top-color: #d9230f; - border-bottom-color: #d9230f; -} -.nav-list li > a { - color: #555555; -} -.nav-list li > a:hover { - background-color: #fbebe9; - color: #d9230f; -} -.nav-list li.active > a, -.nav-list li.active > a:hover { - background-color: #fbebe9; - color: #d9230f; -} -.breadcrumb { - background-color: #ffffff; - border: 0px solid transparent; - -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2) , -1px -1px 0 rgba(0, 0, 0, 0.1); - -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2) , -1px -1px 0 rgba(0, 0, 0, 0.1); - box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2) , -1px -1px 0 rgba(0, 0, 0, 0.1); -} -.breadcrumb li { - padding-top: 2px; - text-shadow: none; -} -.breadcrumb .active { - color: #555555; -} -.breadcrumb a { - text-shadow: none; -} -.breadcrumb a:hover { - text-decoration: none; -} -.pagination ul > li > a, -.pagination ul > li > span { - padding: 2px 14px 0; - color: #555555; -} -.pagination ul > li > a:hover, -.pagination ul > li > span:hover { - background-color: #fbebe9; - color: #d9230f; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: #fbebe9; - color: #d9230f; -} -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > span, -.pagination ul > .disabled > span:hover { - background-color: transparent; - color: #555555; -} -.btn { - padding-top: .6em; - font-family: "Josefin Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-weight: bold; -} -legend { - border-bottom: 1px solid #ddd; - font-family: "Josefin Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; -} -.navbar-search .search-query { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; - background-color: #f7f7f7; - color: #555555; -} -.help-inline, -.help-block { - font-size: 13px; -} -.input-append .btn, -.input-prepend .btn { - line-height: 16px; -} -.label { - padding: 6px 12px; - margin-left: 1px; - margin-right: 1px; -} -i[class^="icon-"] { - opacity: 0.5; - vertical-align: -2px; -} -.well { - -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2) , -1px -1px 0 rgba(0, 0, 0, 0.1); - -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2) , -1px -1px 0 rgba(0, 0, 0, 0.1); - box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2) , -1px -1px 0 rgba(0, 0, 0, 0.1); - border: none; -} -.hero-unit { - background-color: #fefefe; - -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2) , -1px -1px 0 rgba(0, 0, 0, 0.1); - -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2) , -1px -1px 0 rgba(0, 0, 0, 0.1); - box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2) , -1px -1px 0 rgba(0, 0, 0, 0.1); -} -.thumbnail { - padding: 10px; - background-color: #ffffff; -} -.progress { - background-color: #e3e3e3; - background-image: -moz-linear-gradient(top, #e0e0e0, #e8e8e8); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e0e0e0), to(#e8e8e8)); - background-image: -webkit-linear-gradient(top, #e0e0e0, #e8e8e8); - background-image: -o-linear-gradient(top, #e0e0e0, #e8e8e8); - background-image: linear-gradient(to bottom, #e0e0e0, #e8e8e8); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe0e0e0', endColorstr='#ffe8e8e8', GradientType=0); -} -.modal-header { - border-bottom: none; -} -.modal-header, -.modal-body { - background-color: #fefefe; -} -.modal-footer { - background-color: #f7f7f7; -} -#main { - margin-top: 56px; -} -.navbar-fixed-top .navbar-inner { - padding-left: 20px; - padding-right: 20px; -} -.navbar .dropdown-menu { - padding: 20px; - max-height: 300px; - overflow: auto; - width: 300px; - background-color: #d9230f; -} -.navbar .dropdown-menu a, -.navbar .dropdown-menu a:visited { - color: #ffffff; -} -.navbar .dropdown-menu a:hover { - color: #ffffff; - background-color: transparent; -} -.navbar .dropdown-menu a:active { - color: #ffffff; - background-color: #d9230f; -} -.navbar .dropdown-menu a { - padding-left: 0; - padding-right: 5px; - font-weight: 500; - font-size: 115%; -} -#toc { - position: fixed; - top: 56px; - width: 29%; - max-height: 90%; - overflow: auto; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px #fefefe solid; - padding: 5px; -} -#toc .toc-active { - background-color: #fefefe; - color: #d9230f; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -#toc .toc-active a, -#toc .toc-active a:hover, -#toc .toc-active a:active, -#toc .toc-active a:visited { - background-color: #fefefe; - color: #d9230f; -} -.toc-shim { - padding-top: 56px; - margin-top: -56px; - display: block; -} -.toc-h1 { - margin-left: 2px; - margin-right: 2px; -} -.toc-h2 { - margin-left: 7px; - margin-right: 7px; -} -.toc-h3 { - margin-left: 14px; - margin-right: 7px; -} -.toc-h4 { - margin-left: 21px; - margin-right: 7px; -} -.copyright { - font-size: 90%; - text-align: center; - color: #d9230f; - width: 100%; - display: block; -} -.jsdoc-message { - font-size: 90%; - text-align: center; - color: #d9230f; - width: 100%; - display: block; -} -.page-title { - font-size: 220%; - color: #d9230f; - font-weight: 700; - padding-top: 10px; - display: block; -} -footer { - border-top: 1px solid #ef2d18; - padding-top: 15px; -} -code { - background-color: none; - border: none; - color: #d9831f; -} -.buffered-name { - padding-top: 56px; - margin-top: -56px; -} -.member-collapsed { - background-color: #d9230f; - color: #ffffff; -} -.member-open { - background-color: inherit; - color: inherit; -} -.member { - -webkit-transition: background-color 0.5s linear; - -moz-transition: background-color 0.5s linear; - -o-transition: background-color 0.5s linear; - transition: background-color 0.5s linear; - -webkit-transition: color 0.5s linear; - -moz-transition: color 0.5s linear; - -o-transition: color 0.5s linear; - transition: color 0.5s linear; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 10px; -} diff --git a/docs/styles/site.slate.css b/docs/styles/site.slate.css deleted file mode 100644 index 2924de1a0b..0000000000 --- a/docs/styles/site.slate.css +++ /dev/null @@ -1,6178 +0,0 @@ -/*! - * Bootstrap v2.3.1 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -.clearfix { - *zoom: 1; -} -.clearfix:before, -.clearfix:after { - display: table; - content: ""; - line-height: 0; -} -.clearfix:after { - clear: both; -} -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.input-block-level { - display: block; - width: 100%; - min-height: 31px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a:hover, -a:active { - outline: 0; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - /* Responsive images (ensure images don't scale beyond their parents) */ - - max-width: 100%; - /* Part 1: Set a maxium relative to the parent */ - - width: auto\9; - /* IE7-8 need help adjusting responsive images */ - - height: auto; - /* Part 2: Scale the height according to the width, otherwise you get stretching */ - - vertical-align: middle; - border: 0; - -ms-interpolation-mode: bicubic; -} -#map_canvas img, -.google-maps img { - max-width: none; -} -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} -button, -input { - *overflow: visible; - line-height: normal; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -label, -select, -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -input[type="radio"], -input[type="checkbox"] { - cursor: pointer; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -@media print { - * { - text-shadow: none !important; - color: #000 !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} -body { - margin: 0; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 14px; - line-height: 21px; - color: #c8c8c8; - background-color: #272b30; -} -a { - color: #ffffff; - text-decoration: none; -} -a:hover, -a:focus { - color: #ffffff; - text-decoration: underline; -} -.img-rounded { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.img-polaroid { - padding: 4px; - background-color: #fff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} -.img-circle { - -webkit-border-radius: 500px; - -moz-border-radius: 500px; - border-radius: 500px; -} -.row { - margin-left: -20px; - *zoom: 1; -} -.row:before, -.row:after { - display: table; - content: ""; - line-height: 0; -} -.row:after { - clear: both; -} -[class*="span"] { - float: left; - min-height: 1px; - margin-left: 20px; -} -.container, -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.span12 { - width: 940px; -} -.span11 { - width: 860px; -} -.span10 { - width: 780px; -} -.span9 { - width: 700px; -} -.span8 { - width: 620px; -} -.span7 { - width: 540px; -} -.span6 { - width: 460px; -} -.span5 { - width: 380px; -} -.span4 { - width: 300px; -} -.span3 { - width: 220px; -} -.span2 { - width: 140px; -} -.span1 { - width: 60px; -} -.offset12 { - margin-left: 980px; -} -.offset11 { - margin-left: 900px; -} -.offset10 { - margin-left: 820px; -} -.offset9 { - margin-left: 740px; -} -.offset8 { - margin-left: 660px; -} -.offset7 { - margin-left: 580px; -} -.offset6 { - margin-left: 500px; -} -.offset5 { - margin-left: 420px; -} -.offset4 { - margin-left: 340px; -} -.offset3 { - margin-left: 260px; -} -.offset2 { - margin-left: 180px; -} -.offset1 { - margin-left: 100px; -} -.row-fluid { - width: 100%; - *zoom: 1; -} -.row-fluid:before, -.row-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.row-fluid:after { - clear: both; -} -.row-fluid [class*="span"] { - display: block; - width: 100%; - min-height: 31px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2.127659574468085%; - *margin-left: 2.074468085106383%; -} -.row-fluid [class*="span"]:first-child { - margin-left: 0; -} -.row-fluid .controls-row [class*="span"] + [class*="span"] { - margin-left: 2.127659574468085%; -} -.row-fluid .span12 { - width: 100%; - *width: 99.94680851063829%; -} -.row-fluid .span11 { - width: 91.48936170212765%; - *width: 91.43617021276594%; -} -.row-fluid .span10 { - width: 82.97872340425532%; - *width: 82.92553191489361%; -} -.row-fluid .span9 { - width: 74.46808510638297%; - *width: 74.41489361702126%; -} -.row-fluid .span8 { - width: 65.95744680851064%; - *width: 65.90425531914893%; -} -.row-fluid .span7 { - width: 57.44680851063829%; - *width: 57.39361702127659%; -} -.row-fluid .span6 { - width: 48.93617021276595%; - *width: 48.88297872340425%; -} -.row-fluid .span5 { - width: 40.42553191489362%; - *width: 40.37234042553192%; -} -.row-fluid .span4 { - width: 31.914893617021278%; - *width: 31.861702127659576%; -} -.row-fluid .span3 { - width: 23.404255319148934%; - *width: 23.351063829787233%; -} -.row-fluid .span2 { - width: 14.893617021276595%; - *width: 14.840425531914894%; -} -.row-fluid .span1 { - width: 6.382978723404255%; - *width: 6.329787234042553%; -} -.row-fluid .offset12 { - margin-left: 104.25531914893617%; - *margin-left: 104.14893617021275%; -} -.row-fluid .offset12:first-child { - margin-left: 102.12765957446808%; - *margin-left: 102.02127659574467%; -} -.row-fluid .offset11 { - margin-left: 95.74468085106382%; - *margin-left: 95.6382978723404%; -} -.row-fluid .offset11:first-child { - margin-left: 93.61702127659574%; - *margin-left: 93.51063829787232%; -} -.row-fluid .offset10 { - margin-left: 87.23404255319149%; - *margin-left: 87.12765957446807%; -} -.row-fluid .offset10:first-child { - margin-left: 85.1063829787234%; - *margin-left: 84.99999999999999%; -} -.row-fluid .offset9 { - margin-left: 78.72340425531914%; - *margin-left: 78.61702127659572%; -} -.row-fluid .offset9:first-child { - margin-left: 76.59574468085106%; - *margin-left: 76.48936170212764%; -} -.row-fluid .offset8 { - margin-left: 70.2127659574468%; - *margin-left: 70.10638297872339%; -} -.row-fluid .offset8:first-child { - margin-left: 68.08510638297872%; - *margin-left: 67.9787234042553%; -} -.row-fluid .offset7 { - margin-left: 61.70212765957446%; - *margin-left: 61.59574468085106%; -} -.row-fluid .offset7:first-child { - margin-left: 59.574468085106375%; - *margin-left: 59.46808510638297%; -} -.row-fluid .offset6 { - margin-left: 53.191489361702125%; - *margin-left: 53.085106382978715%; -} -.row-fluid .offset6:first-child { - margin-left: 51.063829787234035%; - *margin-left: 50.95744680851063%; -} -.row-fluid .offset5 { - margin-left: 44.68085106382979%; - *margin-left: 44.57446808510638%; -} -.row-fluid .offset5:first-child { - margin-left: 42.5531914893617%; - *margin-left: 42.4468085106383%; -} -.row-fluid .offset4 { - margin-left: 36.170212765957444%; - *margin-left: 36.06382978723405%; -} -.row-fluid .offset4:first-child { - margin-left: 34.04255319148936%; - *margin-left: 33.93617021276596%; -} -.row-fluid .offset3 { - margin-left: 27.659574468085104%; - *margin-left: 27.5531914893617%; -} -.row-fluid .offset3:first-child { - margin-left: 25.53191489361702%; - *margin-left: 25.425531914893618%; -} -.row-fluid .offset2 { - margin-left: 19.148936170212764%; - *margin-left: 19.04255319148936%; -} -.row-fluid .offset2:first-child { - margin-left: 17.02127659574468%; - *margin-left: 16.914893617021278%; -} -.row-fluid .offset1 { - margin-left: 10.638297872340425%; - *margin-left: 10.53191489361702%; -} -.row-fluid .offset1:first-child { - margin-left: 8.51063829787234%; - *margin-left: 8.404255319148938%; -} -[class*="span"].hide, -.row-fluid [class*="span"].hide { - display: none; -} -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { - float: right; -} -.container { - margin-right: auto; - margin-left: auto; - *zoom: 1; -} -.container:before, -.container:after { - display: table; - content: ""; - line-height: 0; -} -.container:after { - clear: both; -} -.container-fluid { - padding-right: 20px; - padding-left: 20px; - *zoom: 1; -} -.container-fluid:before, -.container-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.container-fluid:after { - clear: both; -} -p { - margin: 0 0 10.5px; -} -.lead { - margin-bottom: 21px; - font-size: 21px; - font-weight: 200; - line-height: 31.5px; -} -small { - font-size: 85%; -} -strong { - font-weight: bold; -} -em { - font-style: italic; -} -cite { - font-style: normal; -} -.muted { - color: #7a8288; -} -a.muted:hover, -a.muted:focus { - color: #62686d; -} -.text-warning { - color: #c09853; -} -a.text-warning:hover, -a.text-warning:focus { - color: #a47e3c; -} -.text-error { - color: #b94a48; -} -a.text-error:hover, -a.text-error:focus { - color: #953b39; -} -.text-info { - color: #3a87ad; -} -a.text-info:hover, -a.text-info:focus { - color: #2d6987; -} -.text-success { - color: #468847; -} -a.text-success:hover, -a.text-success:focus { - color: #356635; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 10.5px 0; - font-family: inherit; - font-weight: bold; - line-height: 21px; - color: inherit; - text-rendering: optimizelegibility; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - line-height: 1; - color: #7a8288; -} -h1, -h2, -h3 { - line-height: 42px; -} -h1 { - font-size: 38.5px; -} -h2 { - font-size: 31.5px; -} -h3 { - font-size: 24.5px; -} -h4 { - font-size: 17.5px; -} -h5 { - font-size: 14px; -} -h6 { - font-size: 11.9px; -} -h1 small { - font-size: 24.5px; -} -h2 small { - font-size: 17.5px; -} -h3 small { - font-size: 14px; -} -h4 small { - font-size: 14px; -} -.page-header { - padding-bottom: 9.5px; - margin: 21px 0 31.5px; - border-bottom: 1px solid #bbbfc2; -} -ul, -ol { - padding: 0; - margin: 0 0 10.5px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -li { - line-height: 21px; -} -ul.unstyled, -ol.unstyled { - margin-left: 0; - list-style: none; -} -ul.inline, -ol.inline { - margin-left: 0; - list-style: none; -} -ul.inline > li, -ol.inline > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding-left: 5px; - padding-right: 5px; -} -dl { - margin-bottom: 21px; -} -dt, -dd { - line-height: 21px; -} -dt { - font-weight: bold; -} -dd { - margin-left: 10.5px; -} -.dl-horizontal { - *zoom: 1; -} -.dl-horizontal:before, -.dl-horizontal:after { - display: table; - content: ""; - line-height: 0; -} -.dl-horizontal:after { - clear: both; -} -.dl-horizontal dt { - float: left; - width: 160px; - clear: left; - text-align: right; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.dl-horizontal dd { - margin-left: 180px; -} -hr { - margin: 21px 0; - border: 0; - border-top: 1px solid #1c1e22; - border-bottom: 1px solid #ffffff; -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #7a8288; -} -abbr.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 0 0 0 15px; - margin: 0 0 21px; - border-left: 5px solid #bbbfc2; -} -blockquote p { - margin-bottom: 0; - font-size: 17.5px; - font-weight: 300; - line-height: 1.25; -} -blockquote small { - display: block; - line-height: 21px; - color: #7a8288; -} -blockquote small:before { - content: '\2014 \00A0'; -} -blockquote.pull-right { - float: right; - padding-right: 15px; - padding-left: 0; - border-right: 5px solid #bbbfc2; - border-left: 0; -} -blockquote.pull-right p, -blockquote.pull-right small { - text-align: right; -} -blockquote.pull-right small:before { - content: ''; -} -blockquote.pull-right small:after { - content: '\00A0 \2014'; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -address { - display: block; - margin-bottom: 21px; - font-style: normal; - line-height: 21px; -} -code, -pre { - padding: 0 3px 2px; - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 12px; - color: #3a3f44; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - padding: 2px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; - white-space: nowrap; -} -pre { - display: block; - padding: 10px; - margin: 0 0 10.5px; - font-size: 13px; - line-height: 21px; - word-break: break-all; - word-wrap: break-word; - white-space: pre; - white-space: pre-wrap; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -pre.prettyprint { - margin-bottom: 21px; -} -pre code { - padding: 0; - color: inherit; - white-space: pre; - white-space: pre-wrap; - background-color: transparent; - border: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -form { - margin: 0 0 21px; -} -fieldset { - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 21px; - font-size: 21px; - line-height: 42px; - color: #3a3f44; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -legend small { - font-size: 15.75px; - color: #7a8288; -} -label, -input, -button, -select, -textarea { - font-size: 14px; - font-weight: normal; - line-height: 21px; -} -input, -button, -select, -textarea { - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; -} -label { - display: block; - margin-bottom: 5px; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 21px; - padding: 4px 6px; - margin-bottom: 10.5px; - font-size: 14px; - line-height: 21px; - color: #52575c; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - vertical-align: middle; -} -input, -textarea, -.uneditable-input { - width: 206px; -} -textarea { - height: auto; -} -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - background-color: #ffffff; - border: 1px solid #cccccc; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; -} -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - *margin-top: 0; - /* IE7 */ - - margin-top: 1px \9; - /* IE8-9 */ - - line-height: normal; -} -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} -select, -input[type="file"] { - height: 31px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 31px; -} -select { - width: 220px; - border: 1px solid #cccccc; - background-color: #ffffff; -} -select[multiple], -select[size] { - height: auto; -} -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.uneditable-input, -.uneditable-textarea { - color: #7a8288; - background-color: #fcfcfc; - border-color: #cccccc; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -.uneditable-input { - overflow: hidden; - white-space: nowrap; -} -.uneditable-textarea { - width: auto; - height: auto; -} -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #7a8288; -} -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #7a8288; -} -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #7a8288; -} -.radio, -.checkbox { - min-height: 21px; - padding-left: 20px; -} -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -20px; -} -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; -} -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; -} -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; -} -.input-mini { - width: 60px; -} -.input-small { - width: 90px; -} -.input-medium { - width: 150px; -} -.input-large { - width: 210px; -} -.input-xlarge { - width: 270px; -} -.input-xxlarge { - width: 530px; -} -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; -} -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; -} -input, -textarea, -.uneditable-input { - margin-left: 0; -} -.controls-row [class*="span"] + [class*="span"] { - margin-left: 20px; -} -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 926px; -} -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 846px; -} -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 766px; -} -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 686px; -} -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 606px; -} -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 526px; -} -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 446px; -} -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 366px; -} -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 286px; -} -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 206px; -} -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 126px; -} -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 46px; -} -.controls-row { - *zoom: 1; -} -.controls-row:before, -.controls-row:after { - display: table; - content: ""; - line-height: 0; -} -.controls-row:after { - clear: both; -} -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { - float: left; -} -.controls-row .checkbox[class*="span"], -.controls-row .radio[class*="span"] { - padding-top: 5px; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #bbbfc2; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #c09853; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #c09853; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #c09853; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #a47e3c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #c09853; - background-color: #fcf8e3; - border-color: #c09853; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #b94a48; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #b94a48; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #b94a48; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #953b39; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #b94a48; - background-color: #f2dede; - border-color: #b94a48; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #468847; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #468847; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #468847; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #356635; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #468847; - background-color: #dff0d8; - border-color: #468847; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #3a87ad; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #3a87ad; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #3a87ad; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #2d6987; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #3a87ad; - background-color: #d9edf7; - border-color: #3a87ad; -} -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { - color: #b94a48; - border-color: #ee5f5b; -} -input:focus:invalid:focus, -textarea:focus:invalid:focus, -select:focus:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -.form-actions { - padding: 20px 20px 21px; - margin-top: 21px; - margin-bottom: 21px; - background-color: #202328; - border-top: 1px solid #e5e5e5; - *zoom: 1; -} -.form-actions:before, -.form-actions:after { - display: table; - content: ""; - line-height: 0; -} -.form-actions:after { - clear: both; -} -.help-block, -.help-inline { - color: #eeeeee; -} -.help-block { - display: block; - margin-bottom: 10.5px; -} -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - vertical-align: middle; - padding-left: 5px; -} -.input-append, -.input-prepend { - display: inline-block; - margin-bottom: 10.5px; - vertical-align: middle; - font-size: 0; - white-space: nowrap; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input, -.input-append .dropdown-menu, -.input-prepend .dropdown-menu, -.input-append .popover, -.input-prepend .popover { - font-size: 14px; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input { - position: relative; - margin-bottom: 0; - *margin-left: 0; - vertical-align: top; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append input:focus, -.input-prepend input:focus, -.input-append select:focus, -.input-prepend select:focus, -.input-append .uneditable-input:focus, -.input-prepend .uneditable-input:focus { - z-index: 2; -} -.input-append .add-on, -.input-prepend .add-on { - display: inline-block; - width: auto; - height: 21px; - min-width: 16px; - padding: 4px 5px; - font-size: 14px; - font-weight: normal; - line-height: 21px; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - background-color: #bbbfc2; - border: 1px solid #ccc; -} -.input-append .add-on, -.input-prepend .add-on, -.input-append .btn, -.input-prepend .btn, -.input-append .btn-group > .dropdown-toggle, -.input-prepend .btn-group > .dropdown-toggle { - vertical-align: top; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-append .active, -.input-prepend .active { - background-color: #d1eed1; - border-color: #62c462; -} -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; -} -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input + .btn-group .btn:last-child, -.input-append select + .btn-group .btn:last-child, -.input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append .add-on, -.input-append .btn, -.input-append .btn-group { - margin-left: -1px; -} -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-prepend.input-append input + .btn-group .btn, -.input-prepend.input-append select + .btn-group .btn, -.input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .btn-group:first-child { - margin-left: 0; -} -input.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - - margin-bottom: 0; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -/* Allow for input prepend/append in search forms */ -.form-search .input-append .search-query, -.form-search .input-prepend .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.form-search .input-append .search-query { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search .input-append .btn { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .search-query { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .btn { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input, -.form-search .input-prepend, -.form-inline .input-prepend, -.form-horizontal .input-prepend, -.form-search .input-append, -.form-inline .input-append, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; -} -.form-search label, -.form-inline label, -.form-search .btn-group, -.form-inline .btn-group { - display: inline-block; -} -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; -} -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; -} -.control-group { - margin-bottom: 10.5px; -} -legend + .control-group { - margin-top: 21px; - -webkit-margin-top-collapse: separate; -} -.form-horizontal .control-group { - margin-bottom: 21px; - *zoom: 1; -} -.form-horizontal .control-group:before, -.form-horizontal .control-group:after { - display: table; - content: ""; - line-height: 0; -} -.form-horizontal .control-group:after { - clear: both; -} -.form-horizontal .control-label { - float: left; - width: 160px; - padding-top: 5px; - text-align: right; -} -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 180px; - *margin-left: 0; -} -.form-horizontal .controls:first-child { - *padding-left: 180px; -} -.form-horizontal .help-block { - margin-bottom: 0; -} -.form-horizontal input + .help-block, -.form-horizontal select + .help-block, -.form-horizontal textarea + .help-block, -.form-horizontal .uneditable-input + .help-block, -.form-horizontal .input-prepend + .help-block, -.form-horizontal .input-append + .help-block { - margin-top: 10.5px; -} -.form-horizontal .form-actions { - padding-left: 180px; -} -table { - max-width: 100%; - background-color: transparent; - border-collapse: collapse; - border-spacing: 0; -} -.table { - width: 100%; - margin-bottom: 21px; -} -.table th, -.table td { - padding: 8px; - line-height: 21px; - text-align: left; - vertical-align: top; - border-top: 1px solid #1c1e22; -} -.table th { - font-weight: bold; -} -.table thead th { - vertical-align: bottom; -} -.table caption + thead tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child th, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child th, -.table thead:first-child tr:first-child td { - border-top: 0; -} -.table tbody + tbody { - border-top: 2px solid #1c1e22; -} -.table .table { - background-color: #272b30; -} -.table-condensed th, -.table-condensed td { - padding: 4px 5px; -} -.table-bordered { - border: 1px solid #1c1e22; - border-collapse: separate; - *border-collapse: collapse; - border-left: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.table-bordered th, -.table-bordered td { - border-left: 1px solid #1c1e22; -} -.table-bordered caption + thead tr:first-child th, -.table-bordered caption + tbody tr:first-child th, -.table-bordered caption + tbody tr:first-child td, -.table-bordered colgroup + thead tr:first-child th, -.table-bordered colgroup + tbody tr:first-child th, -.table-bordered colgroup + tbody tr:first-child td, -.table-bordered thead:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} -.table-bordered thead:first-child tr:first-child > th:first-child, -.table-bordered tbody:first-child tr:first-child > td:first-child, -.table-bordered tbody:first-child tr:first-child > th:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered thead:first-child tr:first-child > th:last-child, -.table-bordered tbody:first-child tr:first-child > td:last-child, -.table-bordered tbody:first-child tr:first-child > th:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:first-child, -.table-bordered tbody:last-child tr:last-child > td:first-child, -.table-bordered tbody:last-child tr:last-child > th:first-child, -.table-bordered tfoot:last-child tr:last-child > td:first-child, -.table-bordered tfoot:last-child tr:last-child > th:first-child { - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:last-child, -.table-bordered tbody:last-child tr:last-child > td:last-child, -.table-bordered tbody:last-child tr:last-child > th:last-child, -.table-bordered tfoot:last-child tr:last-child > td:last-child, -.table-bordered tfoot:last-child tr:last-child > th:last-child { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered caption + thead tr:first-child th:first-child, -.table-bordered caption + tbody tr:first-child td:first-child, -.table-bordered colgroup + thead tr:first-child th:first-child, -.table-bordered colgroup + tbody tr:first-child td:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered caption + thead tr:first-child th:last-child, -.table-bordered caption + tbody tr:first-child td:last-child, -.table-bordered colgroup + thead tr:first-child th:last-child, -.table-bordered colgroup + tbody tr:first-child td:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-striped tbody > tr:nth-child(odd) > td, -.table-striped tbody > tr:nth-child(odd) > th { - background-color: #2e3236; -} -.table-hover tbody tr:hover > td, -.table-hover tbody tr:hover > th { - background-color: #3a3f44; -} -table td[class*="span"], -table th[class*="span"], -.row-fluid table td[class*="span"], -.row-fluid table th[class*="span"] { - display: table-cell; - float: none; - margin-left: 0; -} -.table td.span1, -.table th.span1 { - float: none; - width: 44px; - margin-left: 0; -} -.table td.span2, -.table th.span2 { - float: none; - width: 124px; - margin-left: 0; -} -.table td.span3, -.table th.span3 { - float: none; - width: 204px; - margin-left: 0; -} -.table td.span4, -.table th.span4 { - float: none; - width: 284px; - margin-left: 0; -} -.table td.span5, -.table th.span5 { - float: none; - width: 364px; - margin-left: 0; -} -.table td.span6, -.table th.span6 { - float: none; - width: 444px; - margin-left: 0; -} -.table td.span7, -.table th.span7 { - float: none; - width: 524px; - margin-left: 0; -} -.table td.span8, -.table th.span8 { - float: none; - width: 604px; - margin-left: 0; -} -.table td.span9, -.table th.span9 { - float: none; - width: 684px; - margin-left: 0; -} -.table td.span10, -.table th.span10 { - float: none; - width: 764px; - margin-left: 0; -} -.table td.span11, -.table th.span11 { - float: none; - width: 844px; - margin-left: 0; -} -.table td.span12, -.table th.span12 { - float: none; - width: 924px; - margin-left: 0; -} -.table tbody tr.success > td { - background-color: #dff0d8; -} -.table tbody tr.error > td { - background-color: #f2dede; -} -.table tbody tr.warning > td { - background-color: #fcf8e3; -} -.table tbody tr.info > td { - background-color: #d9edf7; -} -.table-hover tbody tr.success:hover > td { - background-color: #d0e9c6; -} -.table-hover tbody tr.error:hover > td { - background-color: #ebcccc; -} -.table-hover tbody tr.warning:hover > td { - background-color: #faf2cc; -} -.table-hover tbody tr.info:hover > td { - background-color: #c4e3f3; -} -[class^="icon-"], -[class*=" icon-"] { - display: inline-block; - width: 14px; - height: 14px; - *margin-right: .3em; - line-height: 14px; - vertical-align: text-top; - background-image: url("../img/glyphicons-halflings.png"); - background-position: 14px 14px; - background-repeat: no-repeat; - margin-top: 1px; -} -/* White icons with optional class, or on hover/focus/active states of certain elements */ -.icon-white, -.nav-pills > .active > a > [class^="icon-"], -.nav-pills > .active > a > [class*=" icon-"], -.nav-list > .active > a > [class^="icon-"], -.nav-list > .active > a > [class*=" icon-"], -.navbar-inverse .nav > .active > a > [class^="icon-"], -.navbar-inverse .nav > .active > a > [class*=" icon-"], -.dropdown-menu > li > a:hover > [class^="icon-"], -.dropdown-menu > li > a:focus > [class^="icon-"], -.dropdown-menu > li > a:hover > [class*=" icon-"], -.dropdown-menu > li > a:focus > [class*=" icon-"], -.dropdown-menu > .active > a > [class^="icon-"], -.dropdown-menu > .active > a > [class*=" icon-"], -.dropdown-submenu:hover > a > [class^="icon-"], -.dropdown-submenu:focus > a > [class^="icon-"], -.dropdown-submenu:hover > a > [class*=" icon-"], -.dropdown-submenu:focus > a > [class*=" icon-"] { - background-image: url("../img/glyphicons-halflings-white.png"); -} -.icon-glass { - background-position: 0 0; -} -.icon-music { - background-position: -24px 0; -} -.icon-search { - background-position: -48px 0; -} -.icon-envelope { - background-position: -72px 0; -} -.icon-heart { - background-position: -96px 0; -} -.icon-star { - background-position: -120px 0; -} -.icon-star-empty { - background-position: -144px 0; -} -.icon-user { - background-position: -168px 0; -} -.icon-film { - background-position: -192px 0; -} -.icon-th-large { - background-position: -216px 0; -} -.icon-th { - background-position: -240px 0; -} -.icon-th-list { - background-position: -264px 0; -} -.icon-ok { - background-position: -288px 0; -} -.icon-remove { - background-position: -312px 0; -} -.icon-zoom-in { - background-position: -336px 0; -} -.icon-zoom-out { - background-position: -360px 0; -} -.icon-off { - background-position: -384px 0; -} -.icon-signal { - background-position: -408px 0; -} -.icon-cog { - background-position: -432px 0; -} -.icon-trash { - background-position: -456px 0; -} -.icon-home { - background-position: 0 -24px; -} -.icon-file { - background-position: -24px -24px; -} -.icon-time { - background-position: -48px -24px; -} -.icon-road { - background-position: -72px -24px; -} -.icon-download-alt { - background-position: -96px -24px; -} -.icon-download { - background-position: -120px -24px; -} -.icon-upload { - background-position: -144px -24px; -} -.icon-inbox { - background-position: -168px -24px; -} -.icon-play-circle { - background-position: -192px -24px; -} -.icon-repeat { - background-position: -216px -24px; -} -.icon-refresh { - background-position: -240px -24px; -} -.icon-list-alt { - background-position: -264px -24px; -} -.icon-lock { - background-position: -287px -24px; -} -.icon-flag { - background-position: -312px -24px; -} -.icon-headphones { - background-position: -336px -24px; -} -.icon-volume-off { - background-position: -360px -24px; -} -.icon-volume-down { - background-position: -384px -24px; -} -.icon-volume-up { - background-position: -408px -24px; -} -.icon-qrcode { - background-position: -432px -24px; -} -.icon-barcode { - background-position: -456px -24px; -} -.icon-tag { - background-position: 0 -48px; -} -.icon-tags { - background-position: -25px -48px; -} -.icon-book { - background-position: -48px -48px; -} -.icon-bookmark { - background-position: -72px -48px; -} -.icon-print { - background-position: -96px -48px; -} -.icon-camera { - background-position: -120px -48px; -} -.icon-font { - background-position: -144px -48px; -} -.icon-bold { - background-position: -167px -48px; -} -.icon-italic { - background-position: -192px -48px; -} -.icon-text-height { - background-position: -216px -48px; -} -.icon-text-width { - background-position: -240px -48px; -} -.icon-align-left { - background-position: -264px -48px; -} -.icon-align-center { - background-position: -288px -48px; -} -.icon-align-right { - background-position: -312px -48px; -} -.icon-align-justify { - background-position: -336px -48px; -} -.icon-list { - background-position: -360px -48px; -} -.icon-indent-left { - background-position: -384px -48px; -} -.icon-indent-right { - background-position: -408px -48px; -} -.icon-facetime-video { - background-position: -432px -48px; -} -.icon-picture { - background-position: -456px -48px; -} -.icon-pencil { - background-position: 0 -72px; -} -.icon-map-marker { - background-position: -24px -72px; -} -.icon-adjust { - background-position: -48px -72px; -} -.icon-tint { - background-position: -72px -72px; -} -.icon-edit { - background-position: -96px -72px; -} -.icon-share { - background-position: -120px -72px; -} -.icon-check { - background-position: -144px -72px; -} -.icon-move { - background-position: -168px -72px; -} -.icon-step-backward { - background-position: -192px -72px; -} -.icon-fast-backward { - background-position: -216px -72px; -} -.icon-backward { - background-position: -240px -72px; -} -.icon-play { - background-position: -264px -72px; -} -.icon-pause { - background-position: -288px -72px; -} -.icon-stop { - background-position: -312px -72px; -} -.icon-forward { - background-position: -336px -72px; -} -.icon-fast-forward { - background-position: -360px -72px; -} -.icon-step-forward { - background-position: -384px -72px; -} -.icon-eject { - background-position: -408px -72px; -} -.icon-chevron-left { - background-position: -432px -72px; -} -.icon-chevron-right { - background-position: -456px -72px; -} -.icon-plus-sign { - background-position: 0 -96px; -} -.icon-minus-sign { - background-position: -24px -96px; -} -.icon-remove-sign { - background-position: -48px -96px; -} -.icon-ok-sign { - background-position: -72px -96px; -} -.icon-question-sign { - background-position: -96px -96px; -} -.icon-info-sign { - background-position: -120px -96px; -} -.icon-screenshot { - background-position: -144px -96px; -} -.icon-remove-circle { - background-position: -168px -96px; -} -.icon-ok-circle { - background-position: -192px -96px; -} -.icon-ban-circle { - background-position: -216px -96px; -} -.icon-arrow-left { - background-position: -240px -96px; -} -.icon-arrow-right { - background-position: -264px -96px; -} -.icon-arrow-up { - background-position: -289px -96px; -} -.icon-arrow-down { - background-position: -312px -96px; -} -.icon-share-alt { - background-position: -336px -96px; -} -.icon-resize-full { - background-position: -360px -96px; -} -.icon-resize-small { - background-position: -384px -96px; -} -.icon-plus { - background-position: -408px -96px; -} -.icon-minus { - background-position: -433px -96px; -} -.icon-asterisk { - background-position: -456px -96px; -} -.icon-exclamation-sign { - background-position: 0 -120px; -} -.icon-gift { - background-position: -24px -120px; -} -.icon-leaf { - background-position: -48px -120px; -} -.icon-fire { - background-position: -72px -120px; -} -.icon-eye-open { - background-position: -96px -120px; -} -.icon-eye-close { - background-position: -120px -120px; -} -.icon-warning-sign { - background-position: -144px -120px; -} -.icon-plane { - background-position: -168px -120px; -} -.icon-calendar { - background-position: -192px -120px; -} -.icon-random { - background-position: -216px -120px; - width: 16px; -} -.icon-comment { - background-position: -240px -120px; -} -.icon-magnet { - background-position: -264px -120px; -} -.icon-chevron-up { - background-position: -288px -120px; -} -.icon-chevron-down { - background-position: -313px -119px; -} -.icon-retweet { - background-position: -336px -120px; -} -.icon-shopping-cart { - background-position: -360px -120px; -} -.icon-folder-close { - background-position: -384px -120px; - width: 16px; -} -.icon-folder-open { - background-position: -408px -120px; - width: 16px; -} -.icon-resize-vertical { - background-position: -432px -119px; -} -.icon-resize-horizontal { - background-position: -456px -118px; -} -.icon-hdd { - background-position: 0 -144px; -} -.icon-bullhorn { - background-position: -24px -144px; -} -.icon-bell { - background-position: -48px -144px; -} -.icon-certificate { - background-position: -72px -144px; -} -.icon-thumbs-up { - background-position: -96px -144px; -} -.icon-thumbs-down { - background-position: -120px -144px; -} -.icon-hand-right { - background-position: -144px -144px; -} -.icon-hand-left { - background-position: -168px -144px; -} -.icon-hand-up { - background-position: -192px -144px; -} -.icon-hand-down { - background-position: -216px -144px; -} -.icon-circle-arrow-right { - background-position: -240px -144px; -} -.icon-circle-arrow-left { - background-position: -264px -144px; -} -.icon-circle-arrow-up { - background-position: -288px -144px; -} -.icon-circle-arrow-down { - background-position: -312px -144px; -} -.icon-globe { - background-position: -336px -144px; -} -.icon-wrench { - background-position: -360px -144px; -} -.icon-tasks { - background-position: -384px -144px; -} -.icon-filter { - background-position: -408px -144px; -} -.icon-briefcase { - background-position: -432px -144px; -} -.icon-fullscreen { - background-position: -456px -144px; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle { - *margin-bottom: -3px; -} -.dropdown-toggle:active, -.open .dropdown-toggle { - outline: 0; -} -.caret { - display: inline-block; - width: 0; - height: 0; - vertical-align: top; - border-top: 4px solid #000000; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - content: ""; -} -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - background-color: #3a3f44; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 9.5px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: transparent; - border-bottom: 1px solid #1c1e22; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 21px; - color: #7a8288; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, -.dropdown-submenu:hover > a, -.dropdown-submenu:focus > a { - text-decoration: none; - color: #ffffff; - background-color: #22262a; - background-image: -moz-linear-gradient(top, #272b30, #1c1e22); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#272b30), to(#1c1e22)); - background-image: -webkit-linear-gradient(top, #272b30, #1c1e22); - background-image: -o-linear-gradient(top, #272b30, #1c1e22); - background-image: linear-gradient(to bottom, #272b30, #1c1e22); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff272b30', endColorstr='#ff1c1e22', GradientType=0); -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #ffffff; - text-decoration: none; - outline: 0; - background-color: #22262a; - background-image: -moz-linear-gradient(top, #272b30, #1c1e22); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#272b30), to(#1c1e22)); - background-image: -webkit-linear-gradient(top, #272b30, #1c1e22); - background-image: -o-linear-gradient(top, #272b30, #1c1e22); - background-image: linear-gradient(to bottom, #272b30, #1c1e22); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff272b30', endColorstr='#ff1c1e22', GradientType=0); -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #7a8288; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: default; -} -.open { - *z-index: 1000; -} -.open > .dropdown-menu { - display: block; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: ""; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -.dropdown-submenu { - position: relative; -} -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; - -webkit-border-radius: 5px 5px 5px 0; - -moz-border-radius: 5px 5px 5px 0; - border-radius: 5px 5px 5px 0; -} -.dropdown-submenu > a:after { - display: block; - content: " "; - float: right; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 5px 0 5px 5px; - border-left-color: #0b0c0d; - margin-top: 5px; - margin-right: -10px; -} -.dropdown-submenu:hover > a:after { - border-left-color: #ffffff; -} -.dropdown-submenu.pull-left { - float: none; -} -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.dropdown .dropdown-menu .nav-header { - padding-left: 20px; - padding-right: 20px; -} -.typeahead { - z-index: 1051; - margin-top: 2px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #202328; - border: 1px solid #101214; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} -.well-large { - padding: 24px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.well-small { - padding: 9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; -} -.collapse.in { - height: auto; -} -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 21px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover, -.close:focus { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} -.btn { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding: 4px 12px; - margin-bottom: 0; - font-size: 14px; - line-height: 21px; - text-align: center; - vertical-align: middle; - cursor: pointer; - color: #3a3f44; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #f5f5f5; - background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); - background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); - background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); - border-color: #e6e6e6 #e6e6e6 #bfbfbf; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e6e6e6; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - border: 1px solid #cccccc; - *border: 0; - border-bottom-color: #b3b3b3; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - *margin-left: .3em; - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #3a3f44; - background-color: #e6e6e6; - *background-color: #d9d9d9; -} -.btn:active, -.btn.active { - background-color: #cccccc \9; -} -.btn:first-child { - *margin-left: 0; -} -.btn:hover, -.btn:focus { - color: #3a3f44; - text-decoration: none; - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -.btn:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn.active, -.btn:active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn.disabled, -.btn[disabled] { - cursor: default; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-large { - padding: 11px 19px; - font-size: 17.5px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.btn-large [class^="icon-"], -.btn-large [class*=" icon-"] { - margin-top: 4px; -} -.btn-small { - padding: 2px 10px; - font-size: 11.9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-small [class^="icon-"], -.btn-small [class*=" icon-"] { - margin-top: 0; -} -.btn-mini [class^="icon-"], -.btn-mini [class*=" icon-"] { - margin-top: -1px; -} -.btn-mini { - padding: 0px 6px; - font-size: 10.5px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; - padding-left: 0; - padding-right: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active, -.btn-inverse.active { - color: rgba(255, 255, 255, 0.75); -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #bbbec2; - background-image: -moz-linear-gradient(top, #bbbfc2, #bbbdc2); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#bbbfc2), to(#bbbdc2)); - background-image: -webkit-linear-gradient(top, #bbbfc2, #bbbdc2); - background-image: -o-linear-gradient(top, #bbbfc2, #bbbdc2); - background-image: linear-gradient(to bottom, #bbbfc2, #bbbdc2); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffbbbfc2', endColorstr='#ffbbbdc2', GradientType=0); - border-color: #bbbdc2 #bbbdc2 #93969e; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #bbbdc2; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #bbbdc2; - *background-color: #aeb0b6; -} -.btn-primary:active, -.btn-primary.active { - background-color: #a0a3aa \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #faa732; - background-image: -moz-linear-gradient(top, #fbb450, #f89406); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); - background-image: -webkit-linear-gradient(top, #fbb450, #f89406); - background-image: -o-linear-gradient(top, #fbb450, #f89406); - background-image: linear-gradient(to bottom, #fbb450, #f89406); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0); - border-color: #f89406 #f89406 #ad6704; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #f89406; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #f89406; - *background-color: #df8505; -} -.btn-warning:active, -.btn-warning.active { - background-color: #c67605 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #da4f49; - background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f); - background-image: -o-linear-gradient(top, #ee5f5b, #bd362f); - background-image: linear-gradient(to bottom, #ee5f5b, #bd362f); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0); - border-color: #bd362f #bd362f #802420; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #bd362f; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #bd362f; - *background-color: #a9302a; -} -.btn-danger:active, -.btn-danger.active { - background-color: #942a25 \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #5bb75b; - background-image: -moz-linear-gradient(top, #62c462, #51a351); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351)); - background-image: -webkit-linear-gradient(top, #62c462, #51a351); - background-image: -o-linear-gradient(top, #62c462, #51a351); - background-image: linear-gradient(to bottom, #62c462, #51a351); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0); - border-color: #51a351 #51a351 #387038; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #51a351; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #51a351; - *background-color: #499249; -} -.btn-success:active, -.btn-success.active { - background-color: #408140 \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #49afcd; - background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4)); - background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4); - background-image: -o-linear-gradient(top, #5bc0de, #2f96b4); - background-image: linear-gradient(to bottom, #5bc0de, #2f96b4); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0); - border-color: #2f96b4 #2f96b4 #1f6377; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #2f96b4; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #2f96b4; - *background-color: #2a85a0; -} -.btn-info:active, -.btn-info.active { - background-color: #24748c \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #41454a; - background-image: -moz-linear-gradient(top, #52575c, #272b30); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52575c), to(#272b30)); - background-image: -webkit-linear-gradient(top, #52575c, #272b30); - background-image: -o-linear-gradient(top, #52575c, #272b30); - background-image: linear-gradient(to bottom, #52575c, #272b30); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff52575c', endColorstr='#ff272b30', GradientType=0); - border-color: #272b30 #272b30 #050506; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #272b30; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #272b30; - *background-color: #1c1e22; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #101214 \9; -} -button.btn, -input[type="submit"].btn { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn::-moz-focus-inner, -input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} -button.btn.btn-large, -input[type="submit"].btn.btn-large { - *padding-top: 7px; - *padding-bottom: 7px; -} -button.btn.btn-small, -input[type="submit"].btn.btn-small { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn.btn-mini, -input[type="submit"].btn.btn-mini { - *padding-top: 1px; - *padding-bottom: 1px; -} -.btn-link, -.btn-link:active, -.btn-link[disabled] { - background-color: transparent; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-link { - border-color: transparent; - cursor: pointer; - color: #ffffff; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-link:hover, -.btn-link:focus { - color: #ffffff; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -.btn-link[disabled]:focus { - color: #3a3f44; - text-decoration: none; -} -.btn-group { - position: relative; - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - font-size: 0; - vertical-align: middle; - white-space: nowrap; - *margin-left: .3em; -} -.btn-group:first-child { - *margin-left: 0; -} -.btn-group + .btn-group { - margin-left: 5px; -} -.btn-toolbar { - font-size: 0; - margin-top: 10.5px; - margin-bottom: 10.5px; -} -.btn-toolbar > .btn + .btn, -.btn-toolbar > .btn-group + .btn, -.btn-toolbar > .btn + .btn-group { - margin-left: 5px; -} -.btn-group > .btn { - position: relative; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group > .btn + .btn { - margin-left: -1px; -} -.btn-group > .btn, -.btn-group > .dropdown-menu, -.btn-group > .popover { - font-size: 14px; -} -.btn-group > .btn-mini { - font-size: 10.5px; -} -.btn-group > .btn-small { - font-size: 11.9px; -} -.btn-group > .btn-large { - font-size: 17.5px; -} -.btn-group > .btn:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.btn-group > .btn.large:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.btn-group > .btn.large:last-child, -.btn-group > .large.dropdown-toggle { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - *padding-top: 5px; - *padding-bottom: 5px; -} -.btn-group > .btn-mini + .dropdown-toggle { - padding-left: 5px; - padding-right: 5px; - *padding-top: 2px; - *padding-bottom: 2px; -} -.btn-group > .btn-small + .dropdown-toggle { - *padding-top: 5px; - *padding-bottom: 4px; -} -.btn-group > .btn-large + .dropdown-toggle { - padding-left: 12px; - padding-right: 12px; - *padding-top: 7px; - *padding-bottom: 7px; -} -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn-group.open .btn.dropdown-toggle { - background-color: #e6e6e6; -} -.btn-group.open .btn-primary.dropdown-toggle { - background-color: #bbbdc2; -} -.btn-group.open .btn-warning.dropdown-toggle { - background-color: #f89406; -} -.btn-group.open .btn-danger.dropdown-toggle { - background-color: #bd362f; -} -.btn-group.open .btn-success.dropdown-toggle { - background-color: #51a351; -} -.btn-group.open .btn-info.dropdown-toggle { - background-color: #2f96b4; -} -.btn-group.open .btn-inverse.dropdown-toggle { - background-color: #272b30; -} -.btn .caret { - margin-top: 8px; - margin-left: 0; -} -.btn-large .caret { - margin-top: 6px; -} -.btn-large .caret { - border-left-width: 5px; - border-right-width: 5px; - border-top-width: 5px; -} -.btn-mini .caret, -.btn-small .caret { - margin-top: 8px; -} -.dropup .btn-large .caret { - border-bottom-width: 5px; -} -.btn-primary .caret, -.btn-warning .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret, -.btn-inverse .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.btn-group-vertical { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} -.btn-group-vertical > .btn { - display: block; - float: none; - max-width: 100%; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group-vertical > .btn + .btn { - margin-left: 0; - margin-top: -1px; -} -.btn-group-vertical > .btn:first-child { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.btn-group-vertical > .btn:last-child { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.btn-group-vertical > .btn-large:first-child { - -webkit-border-radius: 6px 6px 0 0; - -moz-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; -} -.btn-group-vertical > .btn-large:last-child { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 21px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #fcf8e3; - border: 1px solid #fbeed5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.alert, -.alert h4 { - color: #c09853; -} -.alert h4 { - margin: 0; -} -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 21px; -} -.alert-success { - background-color: #dff0d8; - border-color: #d6e9c6; - color: #468847; -} -.alert-success h4 { - color: #468847; -} -.alert-danger, -.alert-error { - background-color: #f2dede; - border-color: #eed3d7; - color: #b94a48; -} -.alert-danger h4, -.alert-error h4 { - color: #b94a48; -} -.alert-info { - background-color: #d9edf7; - border-color: #bce8f1; - color: #3a87ad; -} -.alert-info h4 { - color: #3a87ad; -} -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; -} -.alert-block p + p { - margin-top: 5px; -} -.nav { - margin-left: 0; - margin-bottom: 21px; - list-style: none; -} -.nav > li > a { - display: block; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #bbbfc2; -} -.nav > li > a > img { - max-width: none; -} -.nav > .pull-right { - float: right; -} -.nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 21px; - color: #7a8288; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} -.nav li + .nav-header { - margin-top: 9px; -} -.nav-list { - padding-left: 15px; - padding-right: 15px; - margin-bottom: 0; -} -.nav-list > li > a, -.nav-list .nav-header { - margin-left: -15px; - margin-right: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.nav-list > li > a { - padding: 3px 15px; -} -.nav-list > .active > a, -.nav-list > .active > a:hover, -.nav-list > .active > a:focus { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #ffffff; -} -.nav-list [class^="icon-"], -.nav-list [class*=" icon-"] { - margin-right: 2px; -} -.nav-list .divider { - *width: 100%; - height: 1px; - margin: 9.5px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.nav-tabs, -.nav-pills { - *zoom: 1; -} -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; - line-height: 0; -} -.nav-tabs:after, -.nav-pills:after { - clear: both; -} -.nav-tabs > li, -.nav-pills > li { - float: left; -} -.nav-tabs > li > a, -.nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - margin-bottom: -1px; -} -.nav-tabs > li > a { - padding-top: 8px; - padding-bottom: 8px; - line-height: 21px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover, -.nav-tabs > li > a:focus { - border-color: #bbbfc2 #bbbfc2 #dddddd; -} -.nav-tabs > .active > a, -.nav-tabs > .active > a:hover, -.nav-tabs > .active > a:focus { - color: #52575c; - background-color: #272b30; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.nav-pills > .active > a, -.nav-pills > .active > a:hover, -.nav-pills > .active > a:focus { - color: #ffffff; - background-color: #ffffff; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li > a { - margin-right: 0; -} -.nav-tabs.nav-stacked { - border-bottom: 0; -} -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.nav-tabs.nav-stacked > li > a:hover, -.nav-tabs.nav-stacked > li > a:focus { - border-color: #ddd; - z-index: 2; -} -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.nav-pills .dropdown-menu { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.nav .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - margin-top: 6px; -} -.nav .dropdown-toggle:hover .caret, -.nav .dropdown-toggle:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -/* move down carets for tabs */ -.nav-tabs .dropdown-toggle .caret { - margin-top: 8px; -} -.nav .active .dropdown-toggle .caret { - border-top-color: #fff; - border-bottom-color: #fff; -} -.nav-tabs .active .dropdown-toggle .caret { - border-top-color: #52575c; - border-bottom-color: #52575c; -} -.nav > .dropdown.active > a:hover, -.nav > .dropdown.active > a:focus { - cursor: pointer; -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover, -.nav > li.dropdown.open.active > a:focus { - color: #ffffff; - background-color: #7a8288; - border-color: #7a8288; -} -.nav li.dropdown.open .caret, -.nav li.dropdown.open.active .caret, -.nav li.dropdown.open a:hover .caret, -.nav li.dropdown.open a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} -.tabs-stacked .open > a:hover, -.tabs-stacked .open > a:focus { - border-color: #7a8288; -} -.tabbable { - *zoom: 1; -} -.tabbable:before, -.tabbable:after { - display: table; - content: ""; - line-height: 0; -} -.tabbable:after { - clear: both; -} -.tab-content { - overflow: auto; -} -.tabs-below > .nav-tabs, -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} -.tab-content > .active, -.pill-content > .active { - display: block; -} -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; -} -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.tabs-below > .nav-tabs > li > a:hover, -.tabs-below > .nav-tabs > li > a:focus { - border-bottom-color: transparent; - border-top-color: #ddd; -} -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover, -.tabs-below > .nav-tabs > .active > a:focus { - border-color: transparent #ddd #ddd #ddd; -} -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.tabs-left > .nav-tabs > li > a:hover, -.tabs-left > .nav-tabs > li > a:focus { - border-color: #bbbfc2 #dddddd #bbbfc2 #bbbfc2; -} -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover, -.tabs-left > .nav-tabs .active > a:focus { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.tabs-right > .nav-tabs > li > a:hover, -.tabs-right > .nav-tabs > li > a:focus { - border-color: #bbbfc2 #bbbfc2 #bbbfc2 #dddddd; -} -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover, -.tabs-right > .nav-tabs .active > a:focus { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} -.nav > .disabled > a { - color: #7a8288; -} -.nav > .disabled > a:hover, -.nav > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - cursor: default; -} -.navbar { - overflow: visible; - margin-bottom: 21px; - *position: relative; - *z-index: 2; -} -.navbar-inner { - min-height: 40px; - padding-left: 20px; - padding-right: 20px; - background-color: #32373c; - background-image: -moz-linear-gradient(top, #3a3f44, #272b30); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3a3f44), to(#272b30)); - background-image: -webkit-linear-gradient(top, #3a3f44, #272b30); - background-image: -o-linear-gradient(top, #3a3f44, #272b30); - background-image: linear-gradient(to bottom, #3a3f44, #272b30); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3a3f44', endColorstr='#ff272b30', GradientType=0); - border: 1px solid #0c0d0e; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - *zoom: 1; -} -.navbar-inner:before, -.navbar-inner:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-inner:after { - clear: both; -} -.navbar .container { - width: auto; -} -.nav-collapse.collapse { - height: auto; - overflow: visible; -} -.navbar .brand { - float: left; - display: block; - padding: 9.5px 20px 9.5px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - color: #bbbfc2; - text-shadow: 0 1px 0 #3a3f44; -} -.navbar .brand:hover, -.navbar .brand:focus { - text-decoration: none; -} -.navbar-text { - margin-bottom: 0; - line-height: 40px; - color: #c8c8c8; -} -.navbar-link { - color: #c8c8c8; -} -.navbar-link:hover, -.navbar-link:focus { - color: #ffffff; -} -.navbar .divider-vertical { - height: 40px; - margin: 0 9px; - border-left: 1px solid #272b30; - border-right: 1px solid #3a3f44; -} -.navbar .btn, -.navbar .btn-group { - margin-top: 5px; -} -.navbar .btn-group .btn, -.navbar .input-prepend .btn, -.navbar .input-append .btn, -.navbar .input-prepend .btn-group, -.navbar .input-append .btn-group { - margin-top: 0; -} -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} -.navbar-form:before, -.navbar-form:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-form:after { - clear: both; -} -.navbar-form input, -.navbar-form select, -.navbar-form .radio, -.navbar-form .checkbox { - margin-top: 5px; -} -.navbar-form input, -.navbar-form select, -.navbar-form .btn { - display: inline-block; - margin-bottom: 0; -} -.navbar-form input[type="image"], -.navbar-form input[type="checkbox"], -.navbar-form input[type="radio"] { - margin-top: 3px; -} -.navbar-form .input-append, -.navbar-form .input-prepend { - margin-top: 5px; - white-space: nowrap; -} -.navbar-form .input-append input, -.navbar-form .input-prepend input { - margin-top: 0; -} -.navbar-search { - position: relative; - float: left; - margin-top: 5px; - margin-bottom: 0; -} -.navbar-search .search-query { - margin-bottom: 0; - padding: 4px 14px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.navbar-static-top { - position: static; - margin-bottom: 0; -} -.navbar-static-top .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; - margin-bottom: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - border-width: 0 0 1px; -} -.navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-fixed-bottom .navbar-inner { - padding-left: 0; - padding-right: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.navbar-fixed-top { - top: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 1px 10px rgba(0,0,0,.1); - box-shadow: 0 1px 10px rgba(0,0,0,.1); -} -.navbar-fixed-bottom { - bottom: 0; -} -.navbar-fixed-bottom .navbar-inner { - -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - box-shadow: 0 -1px 10px rgba(0,0,0,.1); -} -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} -.navbar .nav.pull-right { - float: right; - margin-right: 0; -} -.navbar .nav > li { - float: left; -} -.navbar .nav > li > a { - float: none; - padding: 9.5px 15px 9.5px; - color: #c8c8c8; - text-decoration: none; - text-shadow: 0 1px 0 #3a3f44; -} -.navbar .nav .dropdown-toggle .caret { - margin-top: 8px; -} -.navbar .nav > li > a:focus, -.navbar .nav > li > a:hover { - background-color: #3a3f44; - color: #ffffff; - text-decoration: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - color: #ffffff; - text-decoration: none; - background-color: #272b30; - -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); -} -.navbar .btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-left: 5px; - margin-right: 5px; - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #272a2e; - background-image: -moz-linear-gradient(top, #2e3236, #1c1e22); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2e3236), to(#1c1e22)); - background-image: -webkit-linear-gradient(top, #2e3236, #1c1e22); - background-image: -o-linear-gradient(top, #2e3236, #1c1e22); - background-image: linear-gradient(to bottom, #2e3236, #1c1e22); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2e3236', endColorstr='#ff1c1e22', GradientType=0); - border-color: #1c1e22 #1c1e22 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #1c1e22; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); -} -.navbar .btn-navbar:hover, -.navbar .btn-navbar:focus, -.navbar .btn-navbar:active, -.navbar .btn-navbar.active, -.navbar .btn-navbar.disabled, -.navbar .btn-navbar[disabled] { - color: #ffffff; - background-color: #1c1e22; - *background-color: #101214; -} -.navbar .btn-navbar:active, -.navbar .btn-navbar.active { - background-color: #050506 \9; -} -.navbar .btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} -.navbar .nav > li > .dropdown-menu:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: rgba(0, 0, 0, 0.2); - position: absolute; - top: -7px; - left: 9px; -} -.navbar .nav > li > .dropdown-menu:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #3a3f44; - position: absolute; - top: -6px; - left: 10px; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:before { - border-top: 7px solid #ccc; - border-top-color: rgba(0, 0, 0, 0.2); - border-bottom: 0; - bottom: -7px; - top: auto; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:after { - border-top: 6px solid #3a3f44; - border-bottom: 0; - bottom: -6px; - top: auto; -} -.navbar .nav li.dropdown > a:hover .caret, -.navbar .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #272b30; - color: #ffffff; -} -.navbar .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #c8c8c8; - border-bottom-color: #c8c8c8; -} -.navbar .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .pull-right > li > .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right { - left: auto; - right: 0; -} -.navbar .pull-right > li > .dropdown-menu:before, -.navbar .nav > li > .dropdown-menu.pull-right:before { - left: auto; - right: 12px; -} -.navbar .pull-right > li > .dropdown-menu:after, -.navbar .nav > li > .dropdown-menu.pull-right:after { - left: auto; - right: 13px; -} -.navbar .pull-right > li > .dropdown-menu .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { - left: auto; - right: 100%; - margin-left: 0; - margin-right: -1px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.navbar-inverse .navbar-inner { - background-color: #1e2125; - background-image: -moz-linear-gradient(top, #272b30, #101214); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#272b30), to(#101214)); - background-image: -webkit-linear-gradient(top, #272b30, #101214); - background-image: -o-linear-gradient(top, #272b30, #101214); - background-image: linear-gradient(to bottom, #272b30, #101214); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff272b30', endColorstr='#ff101214', GradientType=0); - border-color: #252525; -} -.navbar-inverse .brand, -.navbar-inverse .nav > li > a { - color: #7a8288; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.navbar-inverse .brand:hover, -.navbar-inverse .nav > li > a:hover, -.navbar-inverse .brand:focus, -.navbar-inverse .nav > li > a:focus { - color: #ffffff; -} -.navbar-inverse .brand { - color: #7a8288; -} -.navbar-inverse .navbar-text { - color: #7a8288; -} -.navbar-inverse .nav > li > a:focus, -.navbar-inverse .nav > li > a:hover { - background-color: transparent; - color: #ffffff; -} -.navbar-inverse .nav .active > a, -.navbar-inverse .nav .active > a:hover, -.navbar-inverse .nav .active > a:focus { - color: #ffffff; - background-color: #101214; -} -.navbar-inverse .navbar-link { - color: #7a8288; -} -.navbar-inverse .navbar-link:hover, -.navbar-inverse .navbar-link:focus { - color: #ffffff; -} -.navbar-inverse .divider-vertical { - border-left-color: #101214; - border-right-color: #272b30; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #101214; - color: #ffffff; -} -.navbar-inverse .nav li.dropdown > a:hover .caret, -.navbar-inverse .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #7a8288; - border-bottom-color: #7a8288; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .navbar-search .search-query { - color: #ffffff; - background-color: #49515a; - border-color: #101214; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -.navbar-inverse .navbar-search .search-query:-moz-placeholder { - color: #cccccc; -} -.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { - color: #cccccc; -} -.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { - color: #cccccc; -} -.navbar-inverse .navbar-search .search-query:focus, -.navbar-inverse .navbar-search .search-query.focused { - padding: 5px 15px; - color: #3a3f44; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - outline: 0; -} -.navbar-inverse .btn-navbar { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #121417; - background-image: -moz-linear-gradient(top, #1c1e22, #050506); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#1c1e22), to(#050506)); - background-image: -webkit-linear-gradient(top, #1c1e22, #050506); - background-image: -o-linear-gradient(top, #1c1e22, #050506); - background-image: linear-gradient(to bottom, #1c1e22, #050506); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff1c1e22', endColorstr='#ff050506', GradientType=0); - border-color: #050506 #050506 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #050506; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.navbar-inverse .btn-navbar:hover, -.navbar-inverse .btn-navbar:focus, -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active, -.navbar-inverse .btn-navbar.disabled, -.navbar-inverse .btn-navbar[disabled] { - color: #ffffff; - background-color: #050506; - *background-color: #000000; -} -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active { - background-color: #000000 \9; -} -.breadcrumb { - padding: 8px 15px; - margin: 0 0 21px; - list-style: none; - background-color: #f5f5f5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.breadcrumb > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb > li > .divider { - padding: 0 5px; - color: #ccc; -} -.breadcrumb > .active { - color: #7a8288; -} -.pagination { - margin: 21px 0; -} -.pagination ul { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-left: 0; - margin-bottom: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} -.pagination ul > li { - display: inline; -} -.pagination ul > li > a, -.pagination ul > li > span { - float: left; - padding: 4px 12px; - line-height: 21px; - text-decoration: none; - background-color: #ffffff; - border: 1px solid #dddddd; - border-left-width: 0; -} -.pagination ul > li > a:hover, -.pagination ul > li > a:focus, -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: #f5f5f5; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - color: #7a8288; - cursor: default; -} -.pagination ul > .disabled > span, -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > a:focus { - color: #7a8288; - background-color: transparent; - cursor: default; -} -.pagination ul > li:first-child > a, -.pagination ul > li:first-child > span { - border-left-width: 1px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.pagination ul > li:last-child > a, -.pagination ul > li:last-child > span { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.pagination-centered { - text-align: center; -} -.pagination-right { - text-align: right; -} -.pagination-large ul > li > a, -.pagination-large ul > li > span { - padding: 11px 19px; - font-size: 17.5px; -} -.pagination-large ul > li:first-child > a, -.pagination-large ul > li:first-child > span { - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.pagination-large ul > li:last-child > a, -.pagination-large ul > li:last-child > span { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.pagination-mini ul > li:first-child > a, -.pagination-small ul > li:first-child > a, -.pagination-mini ul > li:first-child > span, -.pagination-small ul > li:first-child > span { - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topleft: 3px; - border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - border-bottom-left-radius: 3px; -} -.pagination-mini ul > li:last-child > a, -.pagination-small ul > li:last-child > a, -.pagination-mini ul > li:last-child > span, -.pagination-small ul > li:last-child > span { - -webkit-border-top-right-radius: 3px; - -moz-border-radius-topright: 3px; - border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - -moz-border-radius-bottomright: 3px; - border-bottom-right-radius: 3px; -} -.pagination-small ul > li > a, -.pagination-small ul > li > span { - padding: 2px 10px; - font-size: 11.9px; -} -.pagination-mini ul > li > a, -.pagination-mini ul > li > span { - padding: 0px 6px; - font-size: 10.5px; -} -.pager { - margin: 21px 0; - list-style: none; - text-align: center; - *zoom: 1; -} -.pager:before, -.pager:after { - display: table; - content: ""; - line-height: 0; -} -.pager:after { - clear: both; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #7a8288; - background-color: #fff; - cursor: default; -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop, -.modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.modal { - position: fixed; - top: 10%; - left: 50%; - z-index: 1050; - width: 560px; - margin-left: -280px; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - /* IE6-7 */ - - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - outline: none; -} -.modal.fade { - -webkit-transition: opacity .3s linear, top .3s ease-out; - -moz-transition: opacity .3s linear, top .3s ease-out; - -o-transition: opacity .3s linear, top .3s ease-out; - transition: opacity .3s linear, top .3s ease-out; - top: -25%; -} -.modal.fade.in { - top: 10%; -} -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} -.modal-header .close { - margin-top: 2px; -} -.modal-header h3 { - margin: 0; - line-height: 30px; -} -.modal-body { - position: relative; - overflow-y: auto; - max-height: 400px; - padding: 15px; -} -.modal-form { - margin-bottom: 0; -} -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - text-align: right; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; - *zoom: 1; -} -.modal-footer:before, -.modal-footer:after { - display: table; - content: ""; - line-height: 0; -} -.modal-footer:after { - clear: both; -} -.modal-footer .btn + .btn { - margin-left: 5px; - margin-bottom: 0; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.tooltip { - position: absolute; - z-index: 1030; - display: block; - visibility: visible; - font-size: 11px; - line-height: 1.4; - opacity: 0; - filter: alpha(opacity=0); -} -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.tooltip.top { - margin-top: -3px; - padding: 5px 0; -} -.tooltip.right { - margin-left: 3px; - padding: 0 5px; -} -.tooltip.bottom { - margin-top: 3px; - padding: 5px 0; -} -.tooltip.left { - margin-left: -3px; - padding: 0 5px; -} -.tooltip-inner { - max-width: 200px; - padding: 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #3a3f44; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #3a3f44; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #3a3f44; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #3a3f44; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #3a3f44; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - background-color: #3a3f44; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - white-space: normal; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #41474c; - border-bottom: 1px solid #353a3e; - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.popover-title:empty { - display: none; -} -.popover-content { - padding: 9px 14px; -} -.popover .arrow, -.popover .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover .arrow { - border-width: 11px; -} -.popover .arrow:after { - border-width: 10px; - content: ""; -} -.popover.top .arrow { - left: 50%; - margin-left: -11px; - border-bottom-width: 0; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, 0.25); - bottom: -11px; -} -.popover.top .arrow:after { - bottom: 1px; - margin-left: -10px; - border-bottom-width: 0; - border-top-color: #3a3f44; -} -.popover.right .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-left-width: 0; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, 0.25); -} -.popover.right .arrow:after { - left: 1px; - bottom: -10px; - border-left-width: 0; - border-right-color: #3a3f44; -} -.popover.bottom .arrow { - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, 0.25); - top: -11px; -} -.popover.bottom .arrow:after { - top: 1px; - margin-left: -10px; - border-top-width: 0; - border-bottom-color: #3a3f44; -} -.popover.left .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, 0.25); -} -.popover.left .arrow:after { - right: 1px; - border-right-width: 0; - border-left-color: #3a3f44; - bottom: -10px; -} -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} -.thumbnails:before, -.thumbnails:after { - display: table; - content: ""; - line-height: 0; -} -.thumbnails:after { - clear: both; -} -.row-fluid .thumbnails { - margin-left: 0; -} -.thumbnails > li { - float: left; - margin-bottom: 21px; - margin-left: 20px; -} -.thumbnail { - display: block; - padding: 4px; - line-height: 21px; - border: 1px solid #ddd; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -a.thumbnail:hover, -a.thumbnail:focus { - border-color: #ffffff; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} -.thumbnail > img { - display: block; - max-width: 100%; - margin-left: auto; - margin-right: auto; -} -.thumbnail .caption { - padding: 9px; - color: #52575c; -} -.media, -.media-body { - overflow: hidden; - *overflow: visible; - zoom: 1; -} -.media, -.media .media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media-object { - display: block; -} -.media-heading { - margin: 0 0 5px; -} -.media > .pull-left { - margin-right: 10px; -} -.media > .pull-right { - margin-left: 10px; -} -.media-list { - margin-left: 0; - list-style: none; -} -.label, -.badge { - display: inline-block; - padding: 2px 4px; - font-size: 11.844px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - vertical-align: baseline; - white-space: nowrap; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #7a8288; -} -.label { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.badge { - padding-left: 9px; - padding-right: 9px; - -webkit-border-radius: 9px; - -moz-border-radius: 9px; - border-radius: 9px; -} -.label:empty, -.badge:empty { - display: none; -} -a.label:hover, -a.label:focus, -a.badge:hover, -a.badge:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.label-important, -.badge-important { - background-color: #b94a48; -} -.label-important[href], -.badge-important[href] { - background-color: #953b39; -} -.label-warning, -.badge-warning { - background-color: #f89406; -} -.label-warning[href], -.badge-warning[href] { - background-color: #c67605; -} -.label-success, -.badge-success { - background-color: #468847; -} -.label-success[href], -.badge-success[href] { - background-color: #356635; -} -.label-info, -.badge-info { - background-color: #3a87ad; -} -.label-info[href], -.badge-info[href] { - background-color: #2d6987; -} -.label-inverse, -.badge-inverse { - background-color: #3a3f44; -} -.label-inverse[href], -.badge-inverse[href] { - background-color: #232628; -} -.btn .label, -.btn .badge { - position: relative; - top: -1px; -} -.btn-mini .label, -.btn-mini .badge { - top: 0; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-moz-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-ms-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - overflow: hidden; - height: 21px; - margin-bottom: 21px; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.progress .bar { - width: 0%; - height: 100%; - color: #ffffff; - float: left; - font-size: 12px; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(to bottom, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} -.progress .bar + .bar { - -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); -} -.progress-striped .bar { - background-color: #149bdf; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - -ms-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-danger .bar, -.progress .bar-danger { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); -} -.progress-danger.progress-striped .bar, -.progress-striped .bar-danger { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar, -.progress .bar-success { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(to bottom, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); -} -.progress-success.progress-striped .bar, -.progress-striped .bar-success { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar, -.progress .bar-info { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(to bottom, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); -} -.progress-info.progress-striped .bar, -.progress-striped .bar-info { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-warning .bar, -.progress .bar-warning { - background-color: #faa732; - background-image: -moz-linear-gradient(top, #fbb450, #f89406); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); - background-image: -webkit-linear-gradient(top, #fbb450, #f89406); - background-image: -o-linear-gradient(top, #fbb450, #f89406); - background-image: linear-gradient(to bottom, #fbb450, #f89406); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0); -} -.progress-warning.progress-striped .bar, -.progress-striped .bar-warning { - background-color: #fbb450; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.accordion { - margin-bottom: 21px; -} -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.accordion-heading { - border-bottom: 0; -} -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} -.accordion-toggle { - cursor: pointer; -} -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} -.carousel { - position: relative; - margin-bottom: 21px; - line-height: 1; -} -.carousel-inner { - overflow: hidden; - width: 100%; - position: relative; -} -.carousel-inner > .item { - display: none; - position: relative; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - line-height: 1; -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #272b30; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.carousel-control.right { - left: auto; - right: 15px; -} -.carousel-control:hover, -.carousel-control:focus { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} -.carousel-indicators { - position: absolute; - top: 15px; - right: 15px; - z-index: 5; - margin: 0; - list-style: none; -} -.carousel-indicators li { - display: block; - float: left; - width: 10px; - height: 10px; - margin-left: 5px; - text-indent: -999px; - background-color: #ccc; - background-color: rgba(255, 255, 255, 0.25); - border-radius: 5px; -} -.carousel-indicators .active { - background-color: #fff; -} -.carousel-caption { - position: absolute; - left: 0; - right: 0; - bottom: 0; - padding: 15px; - background: #3a3f44; - background: rgba(0, 0, 0, 0.75); -} -.carousel-caption h4, -.carousel-caption p { - color: #ffffff; - line-height: 21px; -} -.carousel-caption h4 { - margin: 0 0 5px; -} -.carousel-caption p { - margin-bottom: 0; -} -.hero-unit { - padding: 60px; - margin-bottom: 30px; - font-size: 18px; - font-weight: 200; - line-height: 31.5px; - color: inherit; - background-color: #202328; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - color: inherit; - letter-spacing: -1px; -} -.hero-unit li { - line-height: 31.5px; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.invisible { - visibility: hidden; -} -.affix { - position: fixed; -} -h1, -h2, -h3, -h4, -h5, -h6 { - text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3); -} -code, -pre { - background-color: #F7F7F7; - border: 1px solid #1c1e22; - text-shadow: none; -} -legend, -.page-header { - border-bottom: 1px solid #1c1e22; -} -hr { - border-bottom: none; -} -.navbar .navbar-inner { - background-color: #3a3f44; - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52575c), color-stop(70%, #3a3f44), to(#3a3f44)); - background-image: -webkit-linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-image: -moz-linear-gradient(top, #52575c, #3a3f44 70%, #3a3f44); - background-image: -o-linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-image: linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-repeat: no-repeat; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff52575c', endColorstr='#ff3a3f44', GradientType=0); -} -.navbar .brand { - font-weight: bold; - text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); - border-right: 1px solid #2e3134; -} -.navbar .navbar-text { - padding: 0 15px; - font-weight: bold; -} -.navbar .nav > li > a { - text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); - border-right: 1px solid rgba(0, 0, 0, 0.2); - border-left: 1px solid rgba(255, 255, 255, 0.1); -} -.navbar .nav > li > a:hover { - background-color: #3a3f44; - background-repeat: repeat-x; - background-image: -moz-linear-gradient(280deg, #272b30, #3a3f44); - background-image: -webkit-linear-gradient(280deg, #272b30, #3a3f44); - background-image: -o-linear-gradient(280deg, #272b30, #3a3f44); - background-image: linear-gradient(280deg, #272b30, #3a3f44); - border-left: 1px solid transparent; - border-right: 1px solid transparent; -} -.navbar .nav > li.active > a, -.navbar .nav > li.active > a:hover { - color: #bbbfc2; - background-color: #3a3f44; - background-color: #43494f; - background-repeat: repeat-x; - background-image: -moz-linear-gradient(280deg, #30353b, #43494f); - background-image: -webkit-linear-gradient(280deg, #30353b, #43494f); - background-image: -o-linear-gradient(280deg, #30353b, #43494f); - background-image: linear-gradient(280deg, #30353b, #43494f); - border-right: 1px solid #2e3134; -} -.navbar .navbar-search .search-query { - border: 1px solid #2e3134; -} -.navbar .btn, -.navbar .btn-group { - margin: 4px 0; -} -.navbar .divider-vertical { - background-color: transparent; - border-right: none; -} -.navbar .dropdown-menu::after { - border-bottom: 6px solid #3a3f44; -} -.navbar-inverse .navbar-inner { - background-color: #151719; - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#202328), color-stop(70%, #151719), to(#151719)); - background-image: -webkit-linear-gradient(#202328, #151719 70%, #151719); - background-image: -moz-linear-gradient(top, #202328, #151719 70%, #151719); - background-image: -o-linear-gradient(#202328, #151719 70%, #151719); - background-image: linear-gradient(#202328, #151719 70%, #151719); - background-repeat: no-repeat; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff202328', endColorstr='#ff151719', GradientType=0); -} -.navbar-inverse .nav li > a { - background-image: none; - background-color: transparent; -} -.navbar-inverse .nav li > a:hover, -.navbar-inverse .nav li.active > a, -.navbar-inverse .nav li.active > a:hover { - background-color: #1c1e22; - background-repeat: repeat-x; - background-image: -moz-linear-gradient(280deg, #101214, #1c1e22); - background-image: -webkit-linear-gradient(280deg, #101214, #1c1e22); - background-image: -o-linear-gradient(280deg, #101214, #1c1e22); - background-image: linear-gradient(280deg, #101214, #1c1e22); -} -@media (max-width: 979px) { - .navbar .nav-collapse .nav li > a, - .navbar .nav-collapse .nav li > a:hover, - .navbar .nav-collapse .nav .active > a, - .navbar .nav-collapse .nav .active > a:hover { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - color: #bbbfc2; - border: 1px solid transparent; - background-color: transparent; - background-image: none; - } - .navbar .nav-collapse .nav li > a:hover, - .navbar .nav-collapse .nav .active > a:hover { - background-color: #272b30; - } - .navbar .nav-collapse .navbar-form, - .navbar .nav-collapse .navbar-search { - border-color: transparent; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - } - .navbar .nav-collapse .nav-header { - color: #7a8288; - } - .navbar-inverse .nav-collapse .nav li > a:hover, - .navbar-inverse .nav-collapse .nav .active > a:hover { - background-color: #272b30 !important; - } -} -div.subnav { - margin: 0 1px; - background-color: #3a3f44; - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52575c), color-stop(70%, #3a3f44), to(#3a3f44)); - background-image: -webkit-linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-image: -moz-linear-gradient(top, #52575c, #3a3f44 70%, #3a3f44); - background-image: -o-linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-image: linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-repeat: no-repeat; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff52575c', endColorstr='#ff3a3f44', GradientType=0); - border: 1px solid transparent; - -webkit-box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; - -moz-box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; - box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; -} -div.subnav .nav > li > a { - color: #bbbfc2; - text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); - border-right: 1px solid #2e3134; - border-left: 1px solid #52575c; -} -div.subnav .nav > li > a:hover { - color: #bbbfc2; - background-color: #3a3f44; - background-repeat: repeat-x; - background-image: -moz-linear-gradient(280deg, #272b30, #3a3f44); - background-image: -webkit-linear-gradient(280deg, #272b30, #3a3f44); - background-image: -o-linear-gradient(280deg, #272b30, #3a3f44); - background-image: linear-gradient(280deg, #272b30, #3a3f44); - border-left: 1px solid transparent; - border-right: 1px solid transparent; -} -div.subnav .nav > li.active > a, -div.subnav .nav > li.active > a:hover { - color: #bbbfc2; - background-color: #3a3f44; - background-color: #43494f; - background-repeat: repeat-x; - background-image: -moz-linear-gradient(280deg, #30353b, #43494f); - background-image: -webkit-linear-gradient(280deg, #30353b, #43494f); - background-image: -o-linear-gradient(280deg, #30353b, #43494f); - background-image: linear-gradient(280deg, #30353b, #43494f); - border-right: 1px solid #2e3134; -} -div.subnav .nav > li:first-child > a, -div.subnav .nav > li:first-child > a:hover { - border-left: 1px solid transparent; -} -div.subnav .nav > li.active:last-child > a, -div.subnav .nav > li:last-child > a:hover { - border-right: 1px solid #2e3134; -} -div.subnav .open .dropdown-toggle { - border-right: 1px solid #2e3134; - border-left: 1px solid #52575c; -} -div.subnav.subnav-fixed { - top: 40px; - margin: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -div.subnav.subnav-fixed .nav > li.active:first-child > a, -div.subnav.subnav-fixed .nav > li:first-child > a:hover { - border-left: 1px solid #2e3134; -} -.nav .nav-header { - text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3); -} -.nav > li > a { - background-color: #3a3f44; - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52575c), color-stop(70%, #3a3f44), to(#3a3f44)); - background-image: -webkit-linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-image: -moz-linear-gradient(top, #52575c, #3a3f44 70%, #3a3f44); - background-image: -o-linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-image: linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-repeat: no-repeat; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff52575c', endColorstr='#ff3a3f44', GradientType=0); - -webkit-box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; - -moz-box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; - box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; - border: none; - color: #7a8288; - font-weight: bold; - text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); -} -.nav li.active > a, -.nav li.active > a:hover { - background-color: transparent; - border: none; - color: #ffffff; -} -.nav > li.disabled > a, -.nav > li.disabled > a:hover { - color: #52575c; -} -.nav li > a:hover { - background-color: transparent; - color: #bbbfc2; -} -.nav-list { - background-color: #3a3f44; - -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4); - -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4); - box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.4); -} -.nav-list li > a { - background-image: none; - text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3); -} -.nav-list .nav-header { - color: #52575c; - text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3); -} -.nav-list .divider { - border-bottom: 1px solid #1c1e22; - background-color: transparent; -} -.nav-tabs { - border-bottom: none; -} -.tabs-below .nav-tabs { - border-top: none; -} -.tabs-left .nav-tabs { - border-right: none; -} -.tabs-right .nav-tabs { - border-left: none; -} -.nav-tabs.nav-stacked li > a, -.nav-tabs.nav-stacked li > a:hover { - border: 1px solid #1c1e22; - background-image: none; -} -.nav-tabs.nav-stacked li > a:hover, -.nav-tabs.nav-stacked .active > a, -.nav-tabs.nav-stacked .active > a:hover { - background-color: #202328; - color: #ffffff; -} -.breadcrumb { - border: 1px solid transparent; - background-color: #3a3f44; - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52575c), color-stop(70%, #3a3f44), to(#3a3f44)); - background-image: -webkit-linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-image: -moz-linear-gradient(top, #52575c, #3a3f44 70%, #3a3f44); - background-image: -o-linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-image: linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-repeat: no-repeat; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff52575c', endColorstr='#ff3a3f44', GradientType=0); - -webkit-box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; - -moz-box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; - box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; -} -.breadcrumb a { - color: #bbbfc2; - font-weight: bold; -} -.breadcrumb li { - color: #7a8288; - font-weight: bold; - text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); -} -.pagination ul { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.pagination ul > li > a, -.pagination ul > li > span { - border-left: 1px solid #52575c; - border-right: 1px solid #2e3134; - border-top: none; - border-bottom: none; - background-color: #3a3f44; - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52575c), color-stop(70%, #3a3f44), to(#3a3f44)); - background-image: -webkit-linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-image: -moz-linear-gradient(top, #52575c, #3a3f44 70%, #3a3f44); - background-image: -o-linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-image: linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-repeat: no-repeat; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff52575c', endColorstr='#ff3a3f44', GradientType=0); - -webkit-box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; - -moz-box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; - box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; - color: #bbbfc2; - font-weight: bold; - text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); -} -.pagination ul > li > a:hover, -.pagination ul > li > span:hover { - background-color: #3a3f44; - background-repeat: repeat-x; - background-image: -moz-linear-gradient(280deg, #272b30, #3a3f44); - background-image: -webkit-linear-gradient(280deg, #272b30, #3a3f44); - background-image: -o-linear-gradient(280deg, #272b30, #3a3f44); - background-image: linear-gradient(280deg, #272b30, #3a3f44); - border-left: 1px solid transparent; -} -.pagination ul > .active > a, -.pagination ul > .active > a:hover, -.pagination ul > .active > span, -.pagination ul > .active > span:hover { - color: #bbbfc2; - background-color: #3a3f44; - background-color: #43494f; - background-repeat: repeat-x; - background-image: -moz-linear-gradient(280deg, #30353b, #43494f); - background-image: -webkit-linear-gradient(280deg, #30353b, #43494f); - background-image: -o-linear-gradient(280deg, #30353b, #43494f); - background-image: linear-gradient(280deg, #30353b, #43494f); - border-left: 1px solid transparent; -} -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > span, -.pagination ul > .disabled > span:hover { - border-left: 1px solid #52575c; - border-right: 1px solid #2e3134; - border-top: none; - border-bottom: none; - background-color: #52575c; - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#7a8288), color-stop(70%, #52575c), to(#52575c)); - background-image: -webkit-linear-gradient(#7a8288, #52575c 70%, #52575c); - background-image: -moz-linear-gradient(top, #7a8288, #52575c 70%, #52575c); - background-image: -o-linear-gradient(#7a8288, #52575c 70%, #52575c); - background-image: linear-gradient(#7a8288, #52575c 70%, #52575c); - background-repeat: no-repeat; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff7a8288', endColorstr='#ff52575c', GradientType=0); -} -.pager li > a, -.pager li > span { - border: 1px solid transparent; - -webkit-box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; - -moz-box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; - box-shadow: '0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1)'; - background-color: #3a3f44; - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52575c), color-stop(70%, #3a3f44), to(#3a3f44)); - background-image: -webkit-linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-image: -moz-linear-gradient(top, #52575c, #3a3f44 70%, #3a3f44); - background-image: -o-linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-image: linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-repeat: no-repeat; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff52575c', endColorstr='#ff3a3f44', GradientType=0); -} -.pager li > a:hover, -.pager li > span:hover { - background-color: #3a3f44; - background-repeat: repeat-x; - background-image: -moz-linear-gradient(280deg, #272b30, #3a3f44); - background-image: -webkit-linear-gradient(280deg, #272b30, #3a3f44); - background-image: -o-linear-gradient(280deg, #272b30, #3a3f44); - background-image: linear-gradient(280deg, #272b30, #3a3f44); - border: 1px solid transparent; -} -.pager .disabled a, -.pager .disabled a:hover { - background-color: transparent; - background-color: #3a3f44; - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52575c), color-stop(70%, #3a3f44), to(#3a3f44)); - background-image: -webkit-linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-image: -moz-linear-gradient(top, #52575c, #3a3f44 70%, #3a3f44); - background-image: -o-linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-image: linear-gradient(#52575c, #3a3f44 70%, #3a3f44); - background-repeat: no-repeat; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff52575c', endColorstr='#ff3a3f44', GradientType=0); -} -.btn { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #484d51; - background-image: -moz-linear-gradient(top, #52575c, #3a3e41); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52575c), to(#3a3e41)); - background-image: -webkit-linear-gradient(top, #52575c, #3a3e41); - background-image: -o-linear-gradient(top, #52575c, #3a3e41); - background-image: linear-gradient(to bottom, #52575c, #3a3e41); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff52575c', endColorstr='#ff3a3e41', GradientType=0); - border-color: #3a3e41 #3a3e41 #161719; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #3a3e41; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; - border: 1px solid #272b30; -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #ffffff; - background-color: #3a3e41; - *background-color: #2e3134; -} -.btn:active, -.btn.active { - background-color: #222426 \9; -} -.btn, -.btn:hover { - color: #ffffff; - font-weight: bold; - text-shadow: -1px -1px 1px rgba(0, 0, 0, 0.3); -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #bbbec2; - background-image: -moz-linear-gradient(top, #bbbfc2, #bbbdc2); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#bbbfc2), to(#bbbdc2)); - background-image: -webkit-linear-gradient(top, #bbbfc2, #bbbdc2); - background-image: -o-linear-gradient(top, #bbbfc2, #bbbdc2); - background-image: linear-gradient(to bottom, #bbbfc2, #bbbdc2); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffbbbfc2', endColorstr='#ffbbbdc2', GradientType=0); - border-color: #bbbdc2 #bbbdc2 #93959e; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #bbbdc2; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - color: #3a3f44; - text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.3); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #bbbdc2; - *background-color: #aeb0b6; -} -.btn-primary:active, -.btn-primary.active { - background-color: #a0a2aa \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #faa732; - background-image: -moz-linear-gradient(top, #fbb450, #f89406); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406)); - background-image: -webkit-linear-gradient(top, #fbb450, #f89406); - background-image: -o-linear-gradient(top, #fbb450, #f89406); - background-image: linear-gradient(to bottom, #fbb450, #f89406); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0); - border-color: #f89406 #f89406 #ad6704; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #f89406; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #f89406; - *background-color: #df8505; -} -.btn-warning:active, -.btn-warning.active { - background-color: #c67605 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #da4f49; - background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f); - background-image: -o-linear-gradient(top, #ee5f5b, #bd362f); - background-image: linear-gradient(to bottom, #ee5f5b, #bd362f); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0); - border-color: #bd362f #bd362f #802420; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #bd362f; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #bd362f; - *background-color: #a9302a; -} -.btn-danger:active, -.btn-danger.active { - background-color: #942a25 \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #5bb75b; - background-image: -moz-linear-gradient(top, #62c462, #51a351); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351)); - background-image: -webkit-linear-gradient(top, #62c462, #51a351); - background-image: -o-linear-gradient(top, #62c462, #51a351); - background-image: linear-gradient(to bottom, #62c462, #51a351); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0); - border-color: #51a351 #51a351 #387038; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #51a351; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #51a351; - *background-color: #499249; -} -.btn-success:active, -.btn-success.active { - background-color: #408140 \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #49afcd; - background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4)); - background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4); - background-image: -o-linear-gradient(top, #5bc0de, #2f96b4); - background-image: linear-gradient(to bottom, #5bc0de, #2f96b4); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0); - border-color: #2f96b4 #2f96b4 #1f6377; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #2f96b4; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #2f96b4; - *background-color: #2a85a0; -} -.btn-info:active, -.btn-info.active { - background-color: #24748c \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #41454a; - background-image: -moz-linear-gradient(top, #52575c, #272b30); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52575c), to(#272b30)); - background-image: -webkit-linear-gradient(top, #52575c, #272b30); - background-image: -o-linear-gradient(top, #52575c, #272b30); - background-image: linear-gradient(to bottom, #52575c, #272b30); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff52575c', endColorstr='#ff272b30', GradientType=0); - border-color: #272b30 #272b30 #050506; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #272b30; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #272b30; - *background-color: #1c1e22; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #101214 \9; -} -.caret { - border-top-color: #ffffff; -} -.table tbody tr.success td { - background-color: #468847; -} -.table tbody tr.error td { - background-color: #b94a48; -} -.table tbody tr.info td { - background-color: #3a87ad; -} -label, -input, -button, -select, -textarea, -legend { - color: #c8c8c8; -} -legend, -label { - text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3); -} -.input-prepend .add-on, -.input-append .add-on { - vertical-align: top; - background-color: #52575c; - border-top: 1px solid #7a8288; - border-left: 1px solid #7a8288; - border-bottom: 1px solid #3a3f44; - border-right: 1px solid #3a3f44; - text-shadow: none; -} -.input-append .btn, -.input-prepend .btn { - margin-top: -1px; - padding: 5px 14px; -} -.uneditable-input, -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - color: #bbbfc2; -} -.form-actions { - border-top: none; -} -.dropdown-menu { - -webkit-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 5px rgba(0, 0, 0, 0.2); -} -.dropdown.open .dropdown-toggle { - background-color: #3a3f44; - color: #bbbfc2; -} -.dropdown-submenu > a::after { - border-left-color: #ffffff; -} -.label, -.alert { - color: rgba(255, 255, 255, 0.9); - text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3); - -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); - box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3); -} -.alert { - background-color: #f89406; - border-color: #f89406; -} -.alert .alert-heading { - color: rgba(255, 255, 255, 0.9); - text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.4); -} -.alert-success { - background-color: #468847; - border-color: #468847; -} -.alert-error { - background-color: #b94a48; - border-color: #b94a48; -} -.alert-info { - background-color: #3a87ad; - border-color: #3a87ad; -} -.well, -.hero-unit { - -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.5); - -moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.5); - box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.5); -} -.thumbnail, -a.thumbnail:hover { - border: 1px solid #1c1e22; -} -.progress { - background-color: #202328; - background-image: -moz-linear-gradient(top, #202328, #202328); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#202328), to(#202328)); - background-image: -webkit-linear-gradient(top, #202328, #202328); - background-image: -o-linear-gradient(top, #202328, #202328); - background-image: linear-gradient(to bottom, #202328, #202328); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff202328', endColorstr='#ff202328', GradientType=0); - -webkit-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.5); - -moz-box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.5); - box-shadow: inset 1px 1px 1px rgba(0, 0, 0, 0.5); -} -.footer { - border-top: 1px solid #1c1e22; -} -.footer p { - color: #c8c8c8; -} -.modal { - background-color: #2e3236; -} -.modal-header { - border-bottom: none; -} -.modal-body { - border-bottom: 1px solid #1C1E22; -} -.modal-footer { - border-top: none; - background-color: #272b30; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -@media (max-width: 979px) { - .navbar .brand { - border-right: none; - } -} -@media (max-width: 768px) { - div.subnav .nav > li + li > a { - border-top: 1px solid transparent; - } -} -#main { - margin-top: 56px; -} -.navbar-fixed-top .navbar-inner { - padding-left: 20px; - padding-right: 20px; -} -.navbar .dropdown-menu { - padding: 20px; - max-height: 300px; - overflow: auto; - width: 300px; - background-color: #101214; -} -.navbar .dropdown-menu a, -.navbar .dropdown-menu a:visited { - color: #7a8288; -} -.navbar .dropdown-menu a:hover { - color: #ffffff; - background-color: transparent; -} -.navbar .dropdown-menu a:active { - color: #ffffff; - background-color: #101214; -} -.navbar .dropdown-menu a { - padding-left: 0; - padding-right: 5px; - font-weight: 500; - font-size: 115%; -} -#toc { - position: fixed; - top: 56px; - width: 29%; - max-height: 90%; - overflow: auto; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px #272b30 solid; - padding: 5px; -} -#toc .toc-active { - background-color: #272b30; - color: #ffffff; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -#toc .toc-active a, -#toc .toc-active a:hover, -#toc .toc-active a:active, -#toc .toc-active a:visited { - background-color: #272b30; - color: #ffffff; -} -.toc-shim { - padding-top: 56px; - margin-top: -56px; - display: block; -} -.toc-h1 { - margin-left: 2px; - margin-right: 2px; -} -.toc-h2 { - margin-left: 7px; - margin-right: 7px; -} -.toc-h3 { - margin-left: 14px; - margin-right: 7px; -} -.toc-h4 { - margin-left: 21px; - margin-right: 7px; -} -.copyright { - font-size: 90%; - text-align: center; - color: #101214; - width: 100%; - display: block; -} -.jsdoc-message { - font-size: 90%; - text-align: center; - color: #101214; - width: 100%; - display: block; -} -.page-title { - font-size: 220%; - color: #101214; - font-weight: 700; - padding-top: 10px; - display: block; -} -footer { - border-top: 1px solid #272b30; - padding-top: 15px; -} -code { - background-color: none; - border: none; - color: #f89406; -} -.buffered-name { - padding-top: 56px; - margin-top: -56px; -} -.member-collapsed { - background-color: #101214; - color: #7a8288; -} -.member-open { - background-color: inherit; - color: inherit; -} -.member { - -webkit-transition: background-color 0.5s linear; - -moz-transition: background-color 0.5s linear; - -o-transition: background-color 0.5s linear; - transition: background-color 0.5s linear; - -webkit-transition: color 0.5s linear; - -moz-transition: color 0.5s linear; - -o-transition: color 0.5s linear; - transition: color 0.5s linear; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 10px; -} diff --git a/docs/styles/site.spacelab.css b/docs/styles/site.spacelab.css deleted file mode 100644 index 463502857e..0000000000 --- a/docs/styles/site.spacelab.css +++ /dev/null @@ -1,5734 +0,0 @@ -@import url(http://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700); -/*! - * Bootstrap v2.3.1 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -.clearfix { - *zoom: 1; -} -.clearfix:before, -.clearfix:after { - display: table; - content: ""; - line-height: 0; -} -.clearfix:after { - clear: both; -} -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.input-block-level { - display: block; - width: 100%; - min-height: 31px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a:hover, -a:active { - outline: 0; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - /* Responsive images (ensure images don't scale beyond their parents) */ - - max-width: 100%; - /* Part 1: Set a maxium relative to the parent */ - - width: auto\9; - /* IE7-8 need help adjusting responsive images */ - - height: auto; - /* Part 2: Scale the height according to the width, otherwise you get stretching */ - - vertical-align: middle; - border: 0; - -ms-interpolation-mode: bicubic; -} -#map_canvas img, -.google-maps img { - max-width: none; -} -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} -button, -input { - *overflow: visible; - line-height: normal; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -label, -select, -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -input[type="radio"], -input[type="checkbox"] { - cursor: pointer; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -@media print { - * { - text-shadow: none !important; - color: #000 !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} -body { - margin: 0; - font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 15px; - line-height: 21px; - color: #666666; - background-color: #ffffff; -} -a { - color: #0099dd; - text-decoration: none; -} -a:hover, -a:focus { - color: #0099dd; - text-decoration: underline; -} -.img-rounded { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.img-polaroid { - padding: 4px; - background-color: #fff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} -.img-circle { - -webkit-border-radius: 500px; - -moz-border-radius: 500px; - border-radius: 500px; -} -.row { - margin-left: -20px; - *zoom: 1; -} -.row:before, -.row:after { - display: table; - content: ""; - line-height: 0; -} -.row:after { - clear: both; -} -[class*="span"] { - float: left; - min-height: 1px; - margin-left: 20px; -} -.container, -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.span12 { - width: 940px; -} -.span11 { - width: 860px; -} -.span10 { - width: 780px; -} -.span9 { - width: 700px; -} -.span8 { - width: 620px; -} -.span7 { - width: 540px; -} -.span6 { - width: 460px; -} -.span5 { - width: 380px; -} -.span4 { - width: 300px; -} -.span3 { - width: 220px; -} -.span2 { - width: 140px; -} -.span1 { - width: 60px; -} -.offset12 { - margin-left: 980px; -} -.offset11 { - margin-left: 900px; -} -.offset10 { - margin-left: 820px; -} -.offset9 { - margin-left: 740px; -} -.offset8 { - margin-left: 660px; -} -.offset7 { - margin-left: 580px; -} -.offset6 { - margin-left: 500px; -} -.offset5 { - margin-left: 420px; -} -.offset4 { - margin-left: 340px; -} -.offset3 { - margin-left: 260px; -} -.offset2 { - margin-left: 180px; -} -.offset1 { - margin-left: 100px; -} -.row-fluid { - width: 100%; - *zoom: 1; -} -.row-fluid:before, -.row-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.row-fluid:after { - clear: both; -} -.row-fluid [class*="span"] { - display: block; - width: 100%; - min-height: 31px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2.127659574468085%; - *margin-left: 2.074468085106383%; -} -.row-fluid [class*="span"]:first-child { - margin-left: 0; -} -.row-fluid .controls-row [class*="span"] + [class*="span"] { - margin-left: 2.127659574468085%; -} -.row-fluid .span12 { - width: 100%; - *width: 99.94680851063829%; -} -.row-fluid .span11 { - width: 91.48936170212765%; - *width: 91.43617021276594%; -} -.row-fluid .span10 { - width: 82.97872340425532%; - *width: 82.92553191489361%; -} -.row-fluid .span9 { - width: 74.46808510638297%; - *width: 74.41489361702126%; -} -.row-fluid .span8 { - width: 65.95744680851064%; - *width: 65.90425531914893%; -} -.row-fluid .span7 { - width: 57.44680851063829%; - *width: 57.39361702127659%; -} -.row-fluid .span6 { - width: 48.93617021276595%; - *width: 48.88297872340425%; -} -.row-fluid .span5 { - width: 40.42553191489362%; - *width: 40.37234042553192%; -} -.row-fluid .span4 { - width: 31.914893617021278%; - *width: 31.861702127659576%; -} -.row-fluid .span3 { - width: 23.404255319148934%; - *width: 23.351063829787233%; -} -.row-fluid .span2 { - width: 14.893617021276595%; - *width: 14.840425531914894%; -} -.row-fluid .span1 { - width: 6.382978723404255%; - *width: 6.329787234042553%; -} -.row-fluid .offset12 { - margin-left: 104.25531914893617%; - *margin-left: 104.14893617021275%; -} -.row-fluid .offset12:first-child { - margin-left: 102.12765957446808%; - *margin-left: 102.02127659574467%; -} -.row-fluid .offset11 { - margin-left: 95.74468085106382%; - *margin-left: 95.6382978723404%; -} -.row-fluid .offset11:first-child { - margin-left: 93.61702127659574%; - *margin-left: 93.51063829787232%; -} -.row-fluid .offset10 { - margin-left: 87.23404255319149%; - *margin-left: 87.12765957446807%; -} -.row-fluid .offset10:first-child { - margin-left: 85.1063829787234%; - *margin-left: 84.99999999999999%; -} -.row-fluid .offset9 { - margin-left: 78.72340425531914%; - *margin-left: 78.61702127659572%; -} -.row-fluid .offset9:first-child { - margin-left: 76.59574468085106%; - *margin-left: 76.48936170212764%; -} -.row-fluid .offset8 { - margin-left: 70.2127659574468%; - *margin-left: 70.10638297872339%; -} -.row-fluid .offset8:first-child { - margin-left: 68.08510638297872%; - *margin-left: 67.9787234042553%; -} -.row-fluid .offset7 { - margin-left: 61.70212765957446%; - *margin-left: 61.59574468085106%; -} -.row-fluid .offset7:first-child { - margin-left: 59.574468085106375%; - *margin-left: 59.46808510638297%; -} -.row-fluid .offset6 { - margin-left: 53.191489361702125%; - *margin-left: 53.085106382978715%; -} -.row-fluid .offset6:first-child { - margin-left: 51.063829787234035%; - *margin-left: 50.95744680851063%; -} -.row-fluid .offset5 { - margin-left: 44.68085106382979%; - *margin-left: 44.57446808510638%; -} -.row-fluid .offset5:first-child { - margin-left: 42.5531914893617%; - *margin-left: 42.4468085106383%; -} -.row-fluid .offset4 { - margin-left: 36.170212765957444%; - *margin-left: 36.06382978723405%; -} -.row-fluid .offset4:first-child { - margin-left: 34.04255319148936%; - *margin-left: 33.93617021276596%; -} -.row-fluid .offset3 { - margin-left: 27.659574468085104%; - *margin-left: 27.5531914893617%; -} -.row-fluid .offset3:first-child { - margin-left: 25.53191489361702%; - *margin-left: 25.425531914893618%; -} -.row-fluid .offset2 { - margin-left: 19.148936170212764%; - *margin-left: 19.04255319148936%; -} -.row-fluid .offset2:first-child { - margin-left: 17.02127659574468%; - *margin-left: 16.914893617021278%; -} -.row-fluid .offset1 { - margin-left: 10.638297872340425%; - *margin-left: 10.53191489361702%; -} -.row-fluid .offset1:first-child { - margin-left: 8.51063829787234%; - *margin-left: 8.404255319148938%; -} -[class*="span"].hide, -.row-fluid [class*="span"].hide { - display: none; -} -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { - float: right; -} -.container { - margin-right: auto; - margin-left: auto; - *zoom: 1; -} -.container:before, -.container:after { - display: table; - content: ""; - line-height: 0; -} -.container:after { - clear: both; -} -.container-fluid { - padding-right: 20px; - padding-left: 20px; - *zoom: 1; -} -.container-fluid:before, -.container-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.container-fluid:after { - clear: both; -} -p { - margin: 0 0 10.5px; -} -.lead { - margin-bottom: 21px; - font-size: 22.5px; - font-weight: 200; - line-height: 31.5px; -} -small { - font-size: 85%; -} -strong { - font-weight: bold; -} -em { - font-style: italic; -} -cite { - font-style: normal; -} -.muted { - color: #cccccc; -} -a.muted:hover, -a.muted:focus { - color: #b3b3b3; -} -.text-warning { - color: #ffffff; -} -a.text-warning:hover, -a.text-warning:focus { - color: #e6e6e6; -} -.text-error { - color: #ffffff; -} -a.text-error:hover, -a.text-error:focus { - color: #e6e6e6; -} -.text-info { - color: #ffffff; -} -a.text-info:hover, -a.text-info:focus { - color: #e6e6e6; -} -.text-success { - color: #ffffff; -} -a.text-success:hover, -a.text-success:focus { - color: #e6e6e6; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 10.5px 0; - font-family: inherit; - font-weight: normal; - line-height: 21px; - color: #2d2d2d; - text-rendering: optimizelegibility; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - line-height: 1; - color: #cccccc; -} -h1, -h2, -h3 { - line-height: 42px; -} -h1 { - font-size: 41.25px; -} -h2 { - font-size: 33.75px; -} -h3 { - font-size: 26.25px; -} -h4 { - font-size: 18.75px; -} -h5 { - font-size: 15px; -} -h6 { - font-size: 12.75px; -} -h1 small { - font-size: 26.25px; -} -h2 small { - font-size: 18.75px; -} -h3 small { - font-size: 15px; -} -h4 small { - font-size: 15px; -} -.page-header { - padding-bottom: 9.5px; - margin: 21px 0 31.5px; - border-bottom: 1px solid #eeeeee; -} -ul, -ol { - padding: 0; - margin: 0 0 10.5px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -li { - line-height: 21px; -} -ul.unstyled, -ol.unstyled { - margin-left: 0; - list-style: none; -} -ul.inline, -ol.inline { - margin-left: 0; - list-style: none; -} -ul.inline > li, -ol.inline > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding-left: 5px; - padding-right: 5px; -} -dl { - margin-bottom: 21px; -} -dt, -dd { - line-height: 21px; -} -dt { - font-weight: bold; -} -dd { - margin-left: 10.5px; -} -.dl-horizontal { - *zoom: 1; -} -.dl-horizontal:before, -.dl-horizontal:after { - display: table; - content: ""; - line-height: 0; -} -.dl-horizontal:after { - clear: both; -} -.dl-horizontal dt { - float: left; - width: 160px; - clear: left; - text-align: right; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.dl-horizontal dd { - margin-left: 180px; -} -hr { - margin: 21px 0; - border: 0; - border-top: 1px solid #eeeeee; - border-bottom: 1px solid #ffffff; -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #cccccc; -} -abbr.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 0 0 0 15px; - margin: 0 0 21px; - border-left: 5px solid #eeeeee; -} -blockquote p { - margin-bottom: 0; - font-size: 18.75px; - font-weight: 300; - line-height: 1.25; -} -blockquote small { - display: block; - line-height: 21px; - color: #cccccc; -} -blockquote small:before { - content: '\2014 \00A0'; -} -blockquote.pull-right { - float: right; - padding-right: 15px; - padding-left: 0; - border-right: 5px solid #eeeeee; - border-left: 0; -} -blockquote.pull-right p, -blockquote.pull-right small { - text-align: right; -} -blockquote.pull-right small:before { - content: ''; -} -blockquote.pull-right small:after { - content: '\00A0 \2014'; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -address { - display: block; - margin-bottom: 21px; - font-style: normal; - line-height: 21px; -} -code, -pre { - padding: 0 3px 2px; - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 13px; - color: #434848; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - padding: 2px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; - white-space: nowrap; -} -pre { - display: block; - padding: 10px; - margin: 0 0 10.5px; - font-size: 14px; - line-height: 21px; - word-break: break-all; - word-wrap: break-word; - white-space: pre; - white-space: pre-wrap; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -pre.prettyprint { - margin-bottom: 21px; -} -pre code { - padding: 0; - color: inherit; - white-space: pre; - white-space: pre-wrap; - background-color: transparent; - border: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -form { - margin: 0 0 21px; -} -fieldset { - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 21px; - font-size: 22.5px; - line-height: 42px; - color: #434848; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -legend small { - font-size: 15.75px; - color: #cccccc; -} -label, -input, -button, -select, -textarea { - font-size: 15px; - font-weight: normal; - line-height: 21px; -} -input, -button, -select, -textarea { - font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; -} -label { - display: block; - margin-bottom: 5px; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 21px; - padding: 4px 6px; - margin-bottom: 10.5px; - font-size: 15px; - line-height: 21px; - color: #666666; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - vertical-align: middle; -} -input, -textarea, -.uneditable-input { - width: 206px; -} -textarea { - height: auto; -} -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - background-color: #ffffff; - border: 1px solid #cccccc; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; -} -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - *margin-top: 0; - /* IE7 */ - - margin-top: 1px \9; - /* IE8-9 */ - - line-height: normal; -} -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} -select, -input[type="file"] { - height: 31px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 31px; -} -select { - width: 220px; - border: 1px solid #cccccc; - background-color: #ffffff; -} -select[multiple], -select[size] { - height: auto; -} -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.uneditable-input, -.uneditable-textarea { - color: #cccccc; - background-color: #fcfcfc; - border-color: #cccccc; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -.uneditable-input { - overflow: hidden; - white-space: nowrap; -} -.uneditable-textarea { - width: auto; - height: auto; -} -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #cccccc; -} -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #cccccc; -} -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #cccccc; -} -.radio, -.checkbox { - min-height: 21px; - padding-left: 20px; -} -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -20px; -} -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; -} -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; -} -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; -} -.input-mini { - width: 60px; -} -.input-small { - width: 90px; -} -.input-medium { - width: 150px; -} -.input-large { - width: 210px; -} -.input-xlarge { - width: 270px; -} -.input-xxlarge { - width: 530px; -} -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; -} -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; -} -input, -textarea, -.uneditable-input { - margin-left: 0; -} -.controls-row [class*="span"] + [class*="span"] { - margin-left: 20px; -} -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 926px; -} -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 846px; -} -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 766px; -} -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 686px; -} -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 606px; -} -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 526px; -} -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 446px; -} -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 366px; -} -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 286px; -} -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 206px; -} -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 126px; -} -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 46px; -} -.controls-row { - *zoom: 1; -} -.controls-row:before, -.controls-row:after { - display: table; - content: ""; - line-height: 0; -} -.controls-row:after { - clear: both; -} -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { - float: left; -} -.controls-row .checkbox[class*="span"], -.controls-row .radio[class*="span"] { - padding-top: 5px; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #eeeeee; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #ffffff; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #ffffff; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #ffffff; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #e6e6e6; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #ffffff; - background-color: #d47500; - border-color: #ffffff; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #ffffff; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #ffffff; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #ffffff; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #e6e6e6; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #ffffff; - background-color: #cd0200; - border-color: #ffffff; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #ffffff; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #ffffff; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #ffffff; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #e6e6e6; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #ffffff; - background-color: #3cb521; - border-color: #ffffff; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #ffffff; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #ffffff; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #ffffff; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #e6e6e6; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #ffffff; - background-color: #3399f3; - border-color: #ffffff; -} -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { - color: #b94a48; - border-color: #ee5f5b; -} -input:focus:invalid:focus, -textarea:focus:invalid:focus, -select:focus:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -.form-actions { - padding: 20px 20px 21px; - margin-top: 21px; - margin-bottom: 21px; - background-color: #f5f5f5; - border-top: 1px solid #e5e5e5; - *zoom: 1; -} -.form-actions:before, -.form-actions:after { - display: table; - content: ""; - line-height: 0; -} -.form-actions:after { - clear: both; -} -.help-block, -.help-inline { - color: #8c8c8c; -} -.help-block { - display: block; - margin-bottom: 10.5px; -} -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - vertical-align: middle; - padding-left: 5px; -} -.input-append, -.input-prepend { - display: inline-block; - margin-bottom: 10.5px; - vertical-align: middle; - font-size: 0; - white-space: nowrap; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input, -.input-append .dropdown-menu, -.input-prepend .dropdown-menu, -.input-append .popover, -.input-prepend .popover { - font-size: 15px; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input { - position: relative; - margin-bottom: 0; - *margin-left: 0; - vertical-align: top; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append input:focus, -.input-prepend input:focus, -.input-append select:focus, -.input-prepend select:focus, -.input-append .uneditable-input:focus, -.input-prepend .uneditable-input:focus { - z-index: 2; -} -.input-append .add-on, -.input-prepend .add-on { - display: inline-block; - width: auto; - height: 21px; - min-width: 16px; - padding: 4px 5px; - font-size: 15px; - font-weight: normal; - line-height: 21px; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - background-color: #eeeeee; - border: 1px solid #ccc; -} -.input-append .add-on, -.input-prepend .add-on, -.input-append .btn, -.input-prepend .btn, -.input-append .btn-group > .dropdown-toggle, -.input-prepend .btn-group > .dropdown-toggle { - vertical-align: top; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-append .active, -.input-prepend .active { - background-color: #98e986; - border-color: #3cb521; -} -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; -} -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input + .btn-group .btn:last-child, -.input-append select + .btn-group .btn:last-child, -.input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append .add-on, -.input-append .btn, -.input-append .btn-group { - margin-left: -1px; -} -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-prepend.input-append input + .btn-group .btn, -.input-prepend.input-append select + .btn-group .btn, -.input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .btn-group:first-child { - margin-left: 0; -} -input.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - - margin-bottom: 0; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -/* Allow for input prepend/append in search forms */ -.form-search .input-append .search-query, -.form-search .input-prepend .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.form-search .input-append .search-query { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search .input-append .btn { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .search-query { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .btn { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input, -.form-search .input-prepend, -.form-inline .input-prepend, -.form-horizontal .input-prepend, -.form-search .input-append, -.form-inline .input-append, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; -} -.form-search label, -.form-inline label, -.form-search .btn-group, -.form-inline .btn-group { - display: inline-block; -} -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; -} -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; -} -.control-group { - margin-bottom: 10.5px; -} -legend + .control-group { - margin-top: 21px; - -webkit-margin-top-collapse: separate; -} -.form-horizontal .control-group { - margin-bottom: 21px; - *zoom: 1; -} -.form-horizontal .control-group:before, -.form-horizontal .control-group:after { - display: table; - content: ""; - line-height: 0; -} -.form-horizontal .control-group:after { - clear: both; -} -.form-horizontal .control-label { - float: left; - width: 160px; - padding-top: 5px; - text-align: right; -} -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 180px; - *margin-left: 0; -} -.form-horizontal .controls:first-child { - *padding-left: 180px; -} -.form-horizontal .help-block { - margin-bottom: 0; -} -.form-horizontal input + .help-block, -.form-horizontal select + .help-block, -.form-horizontal textarea + .help-block, -.form-horizontal .uneditable-input + .help-block, -.form-horizontal .input-prepend + .help-block, -.form-horizontal .input-append + .help-block { - margin-top: 10.5px; -} -.form-horizontal .form-actions { - padding-left: 180px; -} -table { - max-width: 100%; - background-color: transparent; - border-collapse: collapse; - border-spacing: 0; -} -.table { - width: 100%; - margin-bottom: 21px; -} -.table th, -.table td { - padding: 8px; - line-height: 21px; - text-align: left; - vertical-align: top; - border-top: 1px solid #dddddd; -} -.table th { - font-weight: bold; -} -.table thead th { - vertical-align: bottom; -} -.table caption + thead tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child th, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child th, -.table thead:first-child tr:first-child td { - border-top: 0; -} -.table tbody + tbody { - border-top: 2px solid #dddddd; -} -.table .table { - background-color: #ffffff; -} -.table-condensed th, -.table-condensed td { - padding: 4px 5px; -} -.table-bordered { - border: 1px solid #dddddd; - border-collapse: separate; - *border-collapse: collapse; - border-left: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.table-bordered th, -.table-bordered td { - border-left: 1px solid #dddddd; -} -.table-bordered caption + thead tr:first-child th, -.table-bordered caption + tbody tr:first-child th, -.table-bordered caption + tbody tr:first-child td, -.table-bordered colgroup + thead tr:first-child th, -.table-bordered colgroup + tbody tr:first-child th, -.table-bordered colgroup + tbody tr:first-child td, -.table-bordered thead:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} -.table-bordered thead:first-child tr:first-child > th:first-child, -.table-bordered tbody:first-child tr:first-child > td:first-child, -.table-bordered tbody:first-child tr:first-child > th:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered thead:first-child tr:first-child > th:last-child, -.table-bordered tbody:first-child tr:first-child > td:last-child, -.table-bordered tbody:first-child tr:first-child > th:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:first-child, -.table-bordered tbody:last-child tr:last-child > td:first-child, -.table-bordered tbody:last-child tr:last-child > th:first-child, -.table-bordered tfoot:last-child tr:last-child > td:first-child, -.table-bordered tfoot:last-child tr:last-child > th:first-child { - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:last-child, -.table-bordered tbody:last-child tr:last-child > td:last-child, -.table-bordered tbody:last-child tr:last-child > th:last-child, -.table-bordered tfoot:last-child tr:last-child > td:last-child, -.table-bordered tfoot:last-child tr:last-child > th:last-child { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered caption + thead tr:first-child th:first-child, -.table-bordered caption + tbody tr:first-child td:first-child, -.table-bordered colgroup + thead tr:first-child th:first-child, -.table-bordered colgroup + tbody tr:first-child td:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered caption + thead tr:first-child th:last-child, -.table-bordered caption + tbody tr:first-child td:last-child, -.table-bordered colgroup + thead tr:first-child th:last-child, -.table-bordered colgroup + tbody tr:first-child td:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-striped tbody > tr:nth-child(odd) > td, -.table-striped tbody > tr:nth-child(odd) > th { - background-color: #f9f9f9; -} -.table-hover tbody tr:hover > td, -.table-hover tbody tr:hover > th { - background-color: #f5f5f5; -} -table td[class*="span"], -table th[class*="span"], -.row-fluid table td[class*="span"], -.row-fluid table th[class*="span"] { - display: table-cell; - float: none; - margin-left: 0; -} -.table td.span1, -.table th.span1 { - float: none; - width: 44px; - margin-left: 0; -} -.table td.span2, -.table th.span2 { - float: none; - width: 124px; - margin-left: 0; -} -.table td.span3, -.table th.span3 { - float: none; - width: 204px; - margin-left: 0; -} -.table td.span4, -.table th.span4 { - float: none; - width: 284px; - margin-left: 0; -} -.table td.span5, -.table th.span5 { - float: none; - width: 364px; - margin-left: 0; -} -.table td.span6, -.table th.span6 { - float: none; - width: 444px; - margin-left: 0; -} -.table td.span7, -.table th.span7 { - float: none; - width: 524px; - margin-left: 0; -} -.table td.span8, -.table th.span8 { - float: none; - width: 604px; - margin-left: 0; -} -.table td.span9, -.table th.span9 { - float: none; - width: 684px; - margin-left: 0; -} -.table td.span10, -.table th.span10 { - float: none; - width: 764px; - margin-left: 0; -} -.table td.span11, -.table th.span11 { - float: none; - width: 844px; - margin-left: 0; -} -.table td.span12, -.table th.span12 { - float: none; - width: 924px; - margin-left: 0; -} -.table tbody tr.success > td { - background-color: #3cb521; -} -.table tbody tr.error > td { - background-color: #cd0200; -} -.table tbody tr.warning > td { - background-color: #d47500; -} -.table tbody tr.info > td { - background-color: #3399f3; -} -.table-hover tbody tr.success:hover > td { - background-color: #359f1d; -} -.table-hover tbody tr.error:hover > td { - background-color: #b40200; -} -.table-hover tbody tr.warning:hover > td { - background-color: #bb6700; -} -.table-hover tbody tr.info:hover > td { - background-color: #1b8df2; -} -[class^="icon-"], -[class*=" icon-"] { - display: inline-block; - width: 14px; - height: 14px; - *margin-right: .3em; - line-height: 14px; - vertical-align: text-top; - background-image: url("../img/glyphicons-halflings.png"); - background-position: 14px 14px; - background-repeat: no-repeat; - margin-top: 1px; -} -/* White icons with optional class, or on hover/focus/active states of certain elements */ -.icon-white, -.nav-pills > .active > a > [class^="icon-"], -.nav-pills > .active > a > [class*=" icon-"], -.nav-list > .active > a > [class^="icon-"], -.nav-list > .active > a > [class*=" icon-"], -.navbar-inverse .nav > .active > a > [class^="icon-"], -.navbar-inverse .nav > .active > a > [class*=" icon-"], -.dropdown-menu > li > a:hover > [class^="icon-"], -.dropdown-menu > li > a:focus > [class^="icon-"], -.dropdown-menu > li > a:hover > [class*=" icon-"], -.dropdown-menu > li > a:focus > [class*=" icon-"], -.dropdown-menu > .active > a > [class^="icon-"], -.dropdown-menu > .active > a > [class*=" icon-"], -.dropdown-submenu:hover > a > [class^="icon-"], -.dropdown-submenu:focus > a > [class^="icon-"], -.dropdown-submenu:hover > a > [class*=" icon-"], -.dropdown-submenu:focus > a > [class*=" icon-"] { - background-image: url("../img/glyphicons-halflings-white.png"); -} -.icon-glass { - background-position: 0 0; -} -.icon-music { - background-position: -24px 0; -} -.icon-search { - background-position: -48px 0; -} -.icon-envelope { - background-position: -72px 0; -} -.icon-heart { - background-position: -96px 0; -} -.icon-star { - background-position: -120px 0; -} -.icon-star-empty { - background-position: -144px 0; -} -.icon-user { - background-position: -168px 0; -} -.icon-film { - background-position: -192px 0; -} -.icon-th-large { - background-position: -216px 0; -} -.icon-th { - background-position: -240px 0; -} -.icon-th-list { - background-position: -264px 0; -} -.icon-ok { - background-position: -288px 0; -} -.icon-remove { - background-position: -312px 0; -} -.icon-zoom-in { - background-position: -336px 0; -} -.icon-zoom-out { - background-position: -360px 0; -} -.icon-off { - background-position: -384px 0; -} -.icon-signal { - background-position: -408px 0; -} -.icon-cog { - background-position: -432px 0; -} -.icon-trash { - background-position: -456px 0; -} -.icon-home { - background-position: 0 -24px; -} -.icon-file { - background-position: -24px -24px; -} -.icon-time { - background-position: -48px -24px; -} -.icon-road { - background-position: -72px -24px; -} -.icon-download-alt { - background-position: -96px -24px; -} -.icon-download { - background-position: -120px -24px; -} -.icon-upload { - background-position: -144px -24px; -} -.icon-inbox { - background-position: -168px -24px; -} -.icon-play-circle { - background-position: -192px -24px; -} -.icon-repeat { - background-position: -216px -24px; -} -.icon-refresh { - background-position: -240px -24px; -} -.icon-list-alt { - background-position: -264px -24px; -} -.icon-lock { - background-position: -287px -24px; -} -.icon-flag { - background-position: -312px -24px; -} -.icon-headphones { - background-position: -336px -24px; -} -.icon-volume-off { - background-position: -360px -24px; -} -.icon-volume-down { - background-position: -384px -24px; -} -.icon-volume-up { - background-position: -408px -24px; -} -.icon-qrcode { - background-position: -432px -24px; -} -.icon-barcode { - background-position: -456px -24px; -} -.icon-tag { - background-position: 0 -48px; -} -.icon-tags { - background-position: -25px -48px; -} -.icon-book { - background-position: -48px -48px; -} -.icon-bookmark { - background-position: -72px -48px; -} -.icon-print { - background-position: -96px -48px; -} -.icon-camera { - background-position: -120px -48px; -} -.icon-font { - background-position: -144px -48px; -} -.icon-bold { - background-position: -167px -48px; -} -.icon-italic { - background-position: -192px -48px; -} -.icon-text-height { - background-position: -216px -48px; -} -.icon-text-width { - background-position: -240px -48px; -} -.icon-align-left { - background-position: -264px -48px; -} -.icon-align-center { - background-position: -288px -48px; -} -.icon-align-right { - background-position: -312px -48px; -} -.icon-align-justify { - background-position: -336px -48px; -} -.icon-list { - background-position: -360px -48px; -} -.icon-indent-left { - background-position: -384px -48px; -} -.icon-indent-right { - background-position: -408px -48px; -} -.icon-facetime-video { - background-position: -432px -48px; -} -.icon-picture { - background-position: -456px -48px; -} -.icon-pencil { - background-position: 0 -72px; -} -.icon-map-marker { - background-position: -24px -72px; -} -.icon-adjust { - background-position: -48px -72px; -} -.icon-tint { - background-position: -72px -72px; -} -.icon-edit { - background-position: -96px -72px; -} -.icon-share { - background-position: -120px -72px; -} -.icon-check { - background-position: -144px -72px; -} -.icon-move { - background-position: -168px -72px; -} -.icon-step-backward { - background-position: -192px -72px; -} -.icon-fast-backward { - background-position: -216px -72px; -} -.icon-backward { - background-position: -240px -72px; -} -.icon-play { - background-position: -264px -72px; -} -.icon-pause { - background-position: -288px -72px; -} -.icon-stop { - background-position: -312px -72px; -} -.icon-forward { - background-position: -336px -72px; -} -.icon-fast-forward { - background-position: -360px -72px; -} -.icon-step-forward { - background-position: -384px -72px; -} -.icon-eject { - background-position: -408px -72px; -} -.icon-chevron-left { - background-position: -432px -72px; -} -.icon-chevron-right { - background-position: -456px -72px; -} -.icon-plus-sign { - background-position: 0 -96px; -} -.icon-minus-sign { - background-position: -24px -96px; -} -.icon-remove-sign { - background-position: -48px -96px; -} -.icon-ok-sign { - background-position: -72px -96px; -} -.icon-question-sign { - background-position: -96px -96px; -} -.icon-info-sign { - background-position: -120px -96px; -} -.icon-screenshot { - background-position: -144px -96px; -} -.icon-remove-circle { - background-position: -168px -96px; -} -.icon-ok-circle { - background-position: -192px -96px; -} -.icon-ban-circle { - background-position: -216px -96px; -} -.icon-arrow-left { - background-position: -240px -96px; -} -.icon-arrow-right { - background-position: -264px -96px; -} -.icon-arrow-up { - background-position: -289px -96px; -} -.icon-arrow-down { - background-position: -312px -96px; -} -.icon-share-alt { - background-position: -336px -96px; -} -.icon-resize-full { - background-position: -360px -96px; -} -.icon-resize-small { - background-position: -384px -96px; -} -.icon-plus { - background-position: -408px -96px; -} -.icon-minus { - background-position: -433px -96px; -} -.icon-asterisk { - background-position: -456px -96px; -} -.icon-exclamation-sign { - background-position: 0 -120px; -} -.icon-gift { - background-position: -24px -120px; -} -.icon-leaf { - background-position: -48px -120px; -} -.icon-fire { - background-position: -72px -120px; -} -.icon-eye-open { - background-position: -96px -120px; -} -.icon-eye-close { - background-position: -120px -120px; -} -.icon-warning-sign { - background-position: -144px -120px; -} -.icon-plane { - background-position: -168px -120px; -} -.icon-calendar { - background-position: -192px -120px; -} -.icon-random { - background-position: -216px -120px; - width: 16px; -} -.icon-comment { - background-position: -240px -120px; -} -.icon-magnet { - background-position: -264px -120px; -} -.icon-chevron-up { - background-position: -288px -120px; -} -.icon-chevron-down { - background-position: -313px -119px; -} -.icon-retweet { - background-position: -336px -120px; -} -.icon-shopping-cart { - background-position: -360px -120px; -} -.icon-folder-close { - background-position: -384px -120px; - width: 16px; -} -.icon-folder-open { - background-position: -408px -120px; - width: 16px; -} -.icon-resize-vertical { - background-position: -432px -119px; -} -.icon-resize-horizontal { - background-position: -456px -118px; -} -.icon-hdd { - background-position: 0 -144px; -} -.icon-bullhorn { - background-position: -24px -144px; -} -.icon-bell { - background-position: -48px -144px; -} -.icon-certificate { - background-position: -72px -144px; -} -.icon-thumbs-up { - background-position: -96px -144px; -} -.icon-thumbs-down { - background-position: -120px -144px; -} -.icon-hand-right { - background-position: -144px -144px; -} -.icon-hand-left { - background-position: -168px -144px; -} -.icon-hand-up { - background-position: -192px -144px; -} -.icon-hand-down { - background-position: -216px -144px; -} -.icon-circle-arrow-right { - background-position: -240px -144px; -} -.icon-circle-arrow-left { - background-position: -264px -144px; -} -.icon-circle-arrow-up { - background-position: -288px -144px; -} -.icon-circle-arrow-down { - background-position: -312px -144px; -} -.icon-globe { - background-position: -336px -144px; -} -.icon-wrench { - background-position: -360px -144px; -} -.icon-tasks { - background-position: -384px -144px; -} -.icon-filter { - background-position: -408px -144px; -} -.icon-briefcase { - background-position: -432px -144px; -} -.icon-fullscreen { - background-position: -456px -144px; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle { - *margin-bottom: -3px; -} -.dropdown-toggle:active, -.open .dropdown-toggle { - outline: 0; -} -.caret { - display: inline-block; - width: 0; - height: 0; - vertical-align: top; - border-top: 4px solid #000000; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - content: ""; -} -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - background-color: #ffffff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 9.5px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: rgba(0, 0, 0, 0.1); - border-bottom: 1px solid rgba(255, 255, 255, 0.5); -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 21px; - color: #666666; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, -.dropdown-submenu:hover > a, -.dropdown-submenu:focus > a { - text-decoration: none; - color: #ffffff; - background-color: #0092d3; - background-image: -moz-linear-gradient(top, #0099dd, #0087c4); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0099dd), to(#0087c4)); - background-image: -webkit-linear-gradient(top, #0099dd, #0087c4); - background-image: -o-linear-gradient(top, #0099dd, #0087c4); - background-image: linear-gradient(to bottom, #0099dd, #0087c4); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0099dd', endColorstr='#ff0087c4', GradientType=0); -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #ffffff; - text-decoration: none; - outline: 0; - background-color: #0092d3; - background-image: -moz-linear-gradient(top, #0099dd, #0087c4); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0099dd), to(#0087c4)); - background-image: -webkit-linear-gradient(top, #0099dd, #0087c4); - background-image: -o-linear-gradient(top, #0099dd, #0087c4); - background-image: linear-gradient(to bottom, #0099dd, #0087c4); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0099dd', endColorstr='#ff0087c4', GradientType=0); -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #cccccc; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: default; -} -.open { - *z-index: 1000; -} -.open > .dropdown-menu { - display: block; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: ""; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -.dropdown-submenu { - position: relative; -} -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; - -webkit-border-radius: 5px 5px 5px 0; - -moz-border-radius: 5px 5px 5px 0; - border-radius: 5px 5px 5px 0; -} -.dropdown-submenu > a:after { - display: block; - content: " "; - float: right; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 5px 0 5px 5px; - border-left-color: #cccccc; - margin-top: 5px; - margin-right: -10px; -} -.dropdown-submenu:hover > a:after { - border-left-color: #ffffff; -} -.dropdown-submenu.pull-left { - float: none; -} -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.dropdown .dropdown-menu .nav-header { - padding-left: 20px; - padding-right: 20px; -} -.typeahead { - z-index: 1051; - margin-top: 2px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #eeeeee; - border: 1px solid #dcdcdc; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} -.well-large { - padding: 24px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.well-small { - padding: 9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; -} -.collapse.in { - height: auto; -} -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 21px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover, -.close:focus { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} -.btn { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding: 4px 12px; - margin-bottom: 0; - font-size: 15px; - line-height: 21px; - text-align: center; - vertical-align: middle; - cursor: pointer; - color: #434848; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #f8f8f8; - background-image: -moz-linear-gradient(top, #ffffff, #eeeeee); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#eeeeee)); - background-image: -webkit-linear-gradient(top, #ffffff, #eeeeee); - background-image: -o-linear-gradient(top, #ffffff, #eeeeee); - background-image: linear-gradient(to bottom, #ffffff, #eeeeee); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffeeeeee', GradientType=0); - border-color: #eeeeee #eeeeee #c8c8c8; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #eeeeee; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - border: 1px solid #cccccc; - *border: 0; - border-bottom-color: #b3b3b3; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - *margin-left: .3em; - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #434848; - background-color: #eeeeee; - *background-color: #e1e1e1; -} -.btn:active, -.btn.active { - background-color: #d5d5d5 \9; -} -.btn:first-child { - *margin-left: 0; -} -.btn:hover, -.btn:focus { - color: #434848; - text-decoration: none; - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -.btn:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn.active, -.btn:active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn.disabled, -.btn[disabled] { - cursor: default; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-large { - padding: 11px 19px; - font-size: 18.75px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.btn-large [class^="icon-"], -.btn-large [class*=" icon-"] { - margin-top: 4px; -} -.btn-small { - padding: 2px 10px; - font-size: 12.75px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-small [class^="icon-"], -.btn-small [class*=" icon-"] { - margin-top: 0; -} -.btn-mini [class^="icon-"], -.btn-mini [class*=" icon-"] { - margin-top: -1px; -} -.btn-mini { - padding: 0px 6px; - font-size: 11.25px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; - padding-left: 0; - padding-right: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active, -.btn-inverse.active { - color: rgba(255, 255, 255, 0.75); -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0aaaf1; - background-image: -moz-linear-gradient(top, #11b6ff, #0099dd); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#11b6ff), to(#0099dd)); - background-image: -webkit-linear-gradient(top, #11b6ff, #0099dd); - background-image: -o-linear-gradient(top, #11b6ff, #0099dd); - background-image: linear-gradient(to bottom, #11b6ff, #0099dd); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff11b6ff', endColorstr='#ff0099dd', GradientType=0); - border-color: #0099dd #0099dd #006491; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #0099dd; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #0099dd; - *background-color: #0087c4; -} -.btn-primary:active, -.btn-primary.active { - background-color: #0076aa \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #ee8505; - background-image: -moz-linear-gradient(top, #ff9008, #d47500); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ff9008), to(#d47500)); - background-image: -webkit-linear-gradient(top, #ff9008, #d47500); - background-image: -o-linear-gradient(top, #ff9008, #d47500); - background-image: linear-gradient(to bottom, #ff9008, #d47500); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff9008', endColorstr='#ffd47500', GradientType=0); - border-color: #d47500 #d47500 #884b00; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #d47500; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #d47500; - *background-color: #bb6700; -} -.btn-warning:active, -.btn-warning.active { - background-color: #a15900 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #eb0301; - background-image: -moz-linear-gradient(top, #ff0301, #cd0200); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ff0301), to(#cd0200)); - background-image: -webkit-linear-gradient(top, #ff0301, #cd0200); - background-image: -o-linear-gradient(top, #ff0301, #cd0200); - background-image: linear-gradient(to bottom, #ff0301, #cd0200); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff0301', endColorstr='#ffcd0200', GradientType=0); - border-color: #cd0200 #cd0200 #810100; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #cd0200; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #cd0200; - *background-color: #b40200; -} -.btn-danger:active, -.btn-danger.active { - background-color: #9a0200 \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #47cb2a; - background-image: -moz-linear-gradient(top, #4fd930, #3cb521); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4fd930), to(#3cb521)); - background-image: -webkit-linear-gradient(top, #4fd930, #3cb521); - background-image: -o-linear-gradient(top, #4fd930, #3cb521); - background-image: linear-gradient(to bottom, #4fd930, #3cb521); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4fd930', endColorstr='#ff3cb521', GradientType=0); - border-color: #3cb521 #3cb521 #277415; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #3cb521; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #3cb521; - *background-color: #359f1d; -} -.btn-success:active, -.btn-success.active { - background-color: #2e8a19 \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #436c98; - background-image: -moz-linear-gradient(top, #4a76a6, #3a5d83); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#4a76a6), to(#3a5d83)); - background-image: -webkit-linear-gradient(top, #4a76a6, #3a5d83); - background-image: -o-linear-gradient(top, #4a76a6, #3a5d83); - background-image: linear-gradient(to bottom, #4a76a6, #3a5d83); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff4a76a6', endColorstr='#ff3a5d83', GradientType=0); - border-color: #3a5d83 #3a5d83 #23374e; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #3a5d83; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #3a5d83; - *background-color: #325071; -} -.btn-info:active, -.btn-info.active { - background-color: #2a4460 \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #848a94; - background-image: -moz-linear-gradient(top, #949aa3, #6c737e); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#949aa3), to(#6c737e)); - background-image: -webkit-linear-gradient(top, #949aa3, #6c737e); - background-image: -o-linear-gradient(top, #949aa3, #6c737e); - background-image: linear-gradient(to bottom, #949aa3, #6c737e); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff949aa3', endColorstr='#ff6c737e', GradientType=0); - border-color: #6c737e #6c737e #494d55; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #6c737e; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #6c737e; - *background-color: #606670; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #545a63 \9; -} -button.btn, -input[type="submit"].btn { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn::-moz-focus-inner, -input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} -button.btn.btn-large, -input[type="submit"].btn.btn-large { - *padding-top: 7px; - *padding-bottom: 7px; -} -button.btn.btn-small, -input[type="submit"].btn.btn-small { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn.btn-mini, -input[type="submit"].btn.btn-mini { - *padding-top: 1px; - *padding-bottom: 1px; -} -.btn-link, -.btn-link:active, -.btn-link[disabled] { - background-color: transparent; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-link { - border-color: transparent; - cursor: pointer; - color: #0099dd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-link:hover, -.btn-link:focus { - color: #0099dd; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -.btn-link[disabled]:focus { - color: #434848; - text-decoration: none; -} -.btn-group { - position: relative; - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - font-size: 0; - vertical-align: middle; - white-space: nowrap; - *margin-left: .3em; -} -.btn-group:first-child { - *margin-left: 0; -} -.btn-group + .btn-group { - margin-left: 5px; -} -.btn-toolbar { - font-size: 0; - margin-top: 10.5px; - margin-bottom: 10.5px; -} -.btn-toolbar > .btn + .btn, -.btn-toolbar > .btn-group + .btn, -.btn-toolbar > .btn + .btn-group { - margin-left: 5px; -} -.btn-group > .btn { - position: relative; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group > .btn + .btn { - margin-left: -1px; -} -.btn-group > .btn, -.btn-group > .dropdown-menu, -.btn-group > .popover { - font-size: 15px; -} -.btn-group > .btn-mini { - font-size: 11.25px; -} -.btn-group > .btn-small { - font-size: 12.75px; -} -.btn-group > .btn-large { - font-size: 18.75px; -} -.btn-group > .btn:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.btn-group > .btn.large:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.btn-group > .btn.large:last-child, -.btn-group > .large.dropdown-toggle { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - *padding-top: 5px; - *padding-bottom: 5px; -} -.btn-group > .btn-mini + .dropdown-toggle { - padding-left: 5px; - padding-right: 5px; - *padding-top: 2px; - *padding-bottom: 2px; -} -.btn-group > .btn-small + .dropdown-toggle { - *padding-top: 5px; - *padding-bottom: 4px; -} -.btn-group > .btn-large + .dropdown-toggle { - padding-left: 12px; - padding-right: 12px; - *padding-top: 7px; - *padding-bottom: 7px; -} -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn-group.open .btn.dropdown-toggle { - background-color: #eeeeee; -} -.btn-group.open .btn-primary.dropdown-toggle { - background-color: #0099dd; -} -.btn-group.open .btn-warning.dropdown-toggle { - background-color: #d47500; -} -.btn-group.open .btn-danger.dropdown-toggle { - background-color: #cd0200; -} -.btn-group.open .btn-success.dropdown-toggle { - background-color: #3cb521; -} -.btn-group.open .btn-info.dropdown-toggle { - background-color: #3a5d83; -} -.btn-group.open .btn-inverse.dropdown-toggle { - background-color: #6c737e; -} -.btn .caret { - margin-top: 8px; - margin-left: 0; -} -.btn-large .caret { - margin-top: 6px; -} -.btn-large .caret { - border-left-width: 5px; - border-right-width: 5px; - border-top-width: 5px; -} -.btn-mini .caret, -.btn-small .caret { - margin-top: 8px; -} -.dropup .btn-large .caret { - border-bottom-width: 5px; -} -.btn-primary .caret, -.btn-warning .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret, -.btn-inverse .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.btn-group-vertical { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} -.btn-group-vertical > .btn { - display: block; - float: none; - max-width: 100%; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group-vertical > .btn + .btn { - margin-left: 0; - margin-top: -1px; -} -.btn-group-vertical > .btn:first-child { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.btn-group-vertical > .btn:last-child { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.btn-group-vertical > .btn-large:first-child { - -webkit-border-radius: 6px 6px 0 0; - -moz-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; -} -.btn-group-vertical > .btn-large:last-child { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 21px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #d47500; - border: 1px solid #c54c00; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.alert, -.alert h4 { - color: #ffffff; -} -.alert h4 { - margin: 0; -} -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 21px; -} -.alert-success { - background-color: #3cb521; - border-color: #4b9f1d; - color: #ffffff; -} -.alert-success h4 { - color: #ffffff; -} -.alert-danger, -.alert-error { - background-color: #cd0200; - border-color: #be001e; - color: #ffffff; -} -.alert-danger h4, -.alert-error h4 { - color: #ffffff; -} -.alert-info { - background-color: #3399f3; - border-color: #11adf1; - color: #ffffff; -} -.alert-info h4 { - color: #ffffff; -} -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; -} -.alert-block p + p { - margin-top: 5px; -} -.nav { - margin-left: 0; - margin-bottom: 21px; - list-style: none; -} -.nav > li > a { - display: block; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #eeeeee; -} -.nav > li > a > img { - max-width: none; -} -.nav > .pull-right { - float: right; -} -.nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 21px; - color: #cccccc; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} -.nav li + .nav-header { - margin-top: 9px; -} -.nav-list { - padding-left: 15px; - padding-right: 15px; - margin-bottom: 0; -} -.nav-list > li > a, -.nav-list .nav-header { - margin-left: -15px; - margin-right: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.nav-list > li > a { - padding: 3px 15px; -} -.nav-list > .active > a, -.nav-list > .active > a:hover, -.nav-list > .active > a:focus { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #0099dd; -} -.nav-list [class^="icon-"], -.nav-list [class*=" icon-"] { - margin-right: 2px; -} -.nav-list .divider { - *width: 100%; - height: 1px; - margin: 9.5px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.nav-tabs, -.nav-pills { - *zoom: 1; -} -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; - line-height: 0; -} -.nav-tabs:after, -.nav-pills:after { - clear: both; -} -.nav-tabs > li, -.nav-pills > li { - float: left; -} -.nav-tabs > li > a, -.nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - margin-bottom: -1px; -} -.nav-tabs > li > a { - padding-top: 8px; - padding-bottom: 8px; - line-height: 21px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover, -.nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #dddddd; -} -.nav-tabs > .active > a, -.nav-tabs > .active > a:hover, -.nav-tabs > .active > a:focus { - color: #666666; - background-color: #ffffff; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.nav-pills > .active > a, -.nav-pills > .active > a:hover, -.nav-pills > .active > a:focus { - color: #ffffff; - background-color: #0099dd; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li > a { - margin-right: 0; -} -.nav-tabs.nav-stacked { - border-bottom: 0; -} -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.nav-tabs.nav-stacked > li > a:hover, -.nav-tabs.nav-stacked > li > a:focus { - border-color: #ddd; - z-index: 2; -} -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.nav-pills .dropdown-menu { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.nav .dropdown-toggle .caret { - border-top-color: #0099dd; - border-bottom-color: #0099dd; - margin-top: 6px; -} -.nav .dropdown-toggle:hover .caret, -.nav .dropdown-toggle:focus .caret { - border-top-color: #0099dd; - border-bottom-color: #0099dd; -} -/* move down carets for tabs */ -.nav-tabs .dropdown-toggle .caret { - margin-top: 8px; -} -.nav .active .dropdown-toggle .caret { - border-top-color: #fff; - border-bottom-color: #fff; -} -.nav-tabs .active .dropdown-toggle .caret { - border-top-color: #666666; - border-bottom-color: #666666; -} -.nav > .dropdown.active > a:hover, -.nav > .dropdown.active > a:focus { - cursor: pointer; -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover, -.nav > li.dropdown.open.active > a:focus { - color: #ffffff; - background-color: #cccccc; - border-color: #cccccc; -} -.nav li.dropdown.open .caret, -.nav li.dropdown.open.active .caret, -.nav li.dropdown.open a:hover .caret, -.nav li.dropdown.open a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} -.tabs-stacked .open > a:hover, -.tabs-stacked .open > a:focus { - border-color: #cccccc; -} -.tabbable { - *zoom: 1; -} -.tabbable:before, -.tabbable:after { - display: table; - content: ""; - line-height: 0; -} -.tabbable:after { - clear: both; -} -.tab-content { - overflow: auto; -} -.tabs-below > .nav-tabs, -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} -.tab-content > .active, -.pill-content > .active { - display: block; -} -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; -} -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.tabs-below > .nav-tabs > li > a:hover, -.tabs-below > .nav-tabs > li > a:focus { - border-bottom-color: transparent; - border-top-color: #ddd; -} -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover, -.tabs-below > .nav-tabs > .active > a:focus { - border-color: transparent #ddd #ddd #ddd; -} -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.tabs-left > .nav-tabs > li > a:hover, -.tabs-left > .nav-tabs > li > a:focus { - border-color: #eeeeee #dddddd #eeeeee #eeeeee; -} -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover, -.tabs-left > .nav-tabs .active > a:focus { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.tabs-right > .nav-tabs > li > a:hover, -.tabs-right > .nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #eeeeee #dddddd; -} -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover, -.tabs-right > .nav-tabs .active > a:focus { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} -.nav > .disabled > a { - color: #cccccc; -} -.nav > .disabled > a:hover, -.nav > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - cursor: default; -} -.navbar { - overflow: visible; - margin-bottom: 21px; - *position: relative; - *z-index: 2; -} -.navbar-inner { - min-height: 40px; - padding-left: 20px; - padding-right: 20px; - background-color: #e9e9e9; - background-image: -moz-linear-gradient(top, #eeeeee, #e1e1e1); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#eeeeee), to(#e1e1e1)); - background-image: -webkit-linear-gradient(top, #eeeeee, #e1e1e1); - background-image: -o-linear-gradient(top, #eeeeee, #e1e1e1); - background-image: linear-gradient(to bottom, #eeeeee, #e1e1e1); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffeeeeee', endColorstr='#ffe1e1e1', GradientType=0); - border: 1px solid #cccccc; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - *zoom: 1; -} -.navbar-inner:before, -.navbar-inner:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-inner:after { - clear: both; -} -.navbar .container { - width: auto; -} -.nav-collapse.collapse { - height: auto; - overflow: visible; -} -.navbar .brand { - float: left; - display: block; - padding: 9.5px 20px 9.5px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - color: #666666; - text-shadow: 0 1px 0 #eeeeee; -} -.navbar .brand:hover, -.navbar .brand:focus { - text-decoration: none; -} -.navbar-text { - margin-bottom: 0; - line-height: 40px; - color: #666666; -} -.navbar-link { - color: #666666; -} -.navbar-link:hover, -.navbar-link:focus { - color: #0099dd; -} -.navbar .divider-vertical { - height: 40px; - margin: 0 9px; - border-left: 1px solid #e1e1e1; - border-right: 1px solid #eeeeee; -} -.navbar .btn, -.navbar .btn-group { - margin-top: 5px; -} -.navbar .btn-group .btn, -.navbar .input-prepend .btn, -.navbar .input-append .btn, -.navbar .input-prepend .btn-group, -.navbar .input-append .btn-group { - margin-top: 0; -} -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} -.navbar-form:before, -.navbar-form:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-form:after { - clear: both; -} -.navbar-form input, -.navbar-form select, -.navbar-form .radio, -.navbar-form .checkbox { - margin-top: 5px; -} -.navbar-form input, -.navbar-form select, -.navbar-form .btn { - display: inline-block; - margin-bottom: 0; -} -.navbar-form input[type="image"], -.navbar-form input[type="checkbox"], -.navbar-form input[type="radio"] { - margin-top: 3px; -} -.navbar-form .input-append, -.navbar-form .input-prepend { - margin-top: 5px; - white-space: nowrap; -} -.navbar-form .input-append input, -.navbar-form .input-prepend input { - margin-top: 0; -} -.navbar-search { - position: relative; - float: left; - margin-top: 5px; - margin-bottom: 0; -} -.navbar-search .search-query { - margin-bottom: 0; - padding: 4px 14px; - font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.navbar-static-top { - position: static; - margin-bottom: 0; -} -.navbar-static-top .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; - margin-bottom: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - border-width: 0 0 1px; -} -.navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-fixed-bottom .navbar-inner { - padding-left: 0; - padding-right: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.navbar-fixed-top { - top: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 1px 10px rgba(0,0,0,.1); - box-shadow: 0 1px 10px rgba(0,0,0,.1); -} -.navbar-fixed-bottom { - bottom: 0; -} -.navbar-fixed-bottom .navbar-inner { - -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - box-shadow: 0 -1px 10px rgba(0,0,0,.1); -} -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} -.navbar .nav.pull-right { - float: right; - margin-right: 0; -} -.navbar .nav > li { - float: left; -} -.navbar .nav > li > a { - float: none; - padding: 9.5px 15px 9.5px; - color: #666666; - text-decoration: none; - text-shadow: 0 1px 0 #eeeeee; -} -.navbar .nav .dropdown-toggle .caret { - margin-top: 8px; -} -.navbar .nav > li > a:focus, -.navbar .nav > li > a:hover { - background-color: transparent; - color: #0099dd; - text-decoration: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - color: #0099dd; - text-decoration: none; - background-color: transparent; - -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); -} -.navbar .btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-left: 5px; - margin-right: 5px; - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #dcdcdc; - background-image: -moz-linear-gradient(top, #e1e1e1, #d4d4d4); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e1e1e1), to(#d4d4d4)); - background-image: -webkit-linear-gradient(top, #e1e1e1, #d4d4d4); - background-image: -o-linear-gradient(top, #e1e1e1, #d4d4d4); - background-image: linear-gradient(to bottom, #e1e1e1, #d4d4d4); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe1e1e1', endColorstr='#ffd4d4d4', GradientType=0); - border-color: #d4d4d4 #d4d4d4 #aeaeae; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #d4d4d4; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); -} -.navbar .btn-navbar:hover, -.navbar .btn-navbar:focus, -.navbar .btn-navbar:active, -.navbar .btn-navbar.active, -.navbar .btn-navbar.disabled, -.navbar .btn-navbar[disabled] { - color: #ffffff; - background-color: #d4d4d4; - *background-color: #c8c8c8; -} -.navbar .btn-navbar:active, -.navbar .btn-navbar.active { - background-color: #bbbbbb \9; -} -.navbar .btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} -.navbar .nav > li > .dropdown-menu:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: rgba(0, 0, 0, 0.2); - position: absolute; - top: -7px; - left: 9px; -} -.navbar .nav > li > .dropdown-menu:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #ffffff; - position: absolute; - top: -6px; - left: 10px; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:before { - border-top: 7px solid #ccc; - border-top-color: rgba(0, 0, 0, 0.2); - border-bottom: 0; - bottom: -7px; - top: auto; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:after { - border-top: 6px solid #ffffff; - border-bottom: 0; - bottom: -6px; - top: auto; -} -.navbar .nav li.dropdown > a:hover .caret, -.navbar .nav li.dropdown > a:focus .caret { - border-top-color: #0099dd; - border-bottom-color: #0099dd; -} -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - background-color: transparent; - color: #0099dd; -} -.navbar .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #666666; - border-bottom-color: #666666; -} -.navbar .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #0099dd; - border-bottom-color: #0099dd; -} -.navbar .pull-right > li > .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right { - left: auto; - right: 0; -} -.navbar .pull-right > li > .dropdown-menu:before, -.navbar .nav > li > .dropdown-menu.pull-right:before { - left: auto; - right: 12px; -} -.navbar .pull-right > li > .dropdown-menu:after, -.navbar .nav > li > .dropdown-menu.pull-right:after { - left: auto; - right: 13px; -} -.navbar .pull-right > li > .dropdown-menu .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { - left: auto; - right: 100%; - margin-left: 0; - margin-right: -1px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.navbar-inverse .navbar-inner { - background-color: #7c828d; - background-image: -moz-linear-gradient(top, #868d97, #6c737e); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#868d97), to(#6c737e)); - background-image: -webkit-linear-gradient(top, #868d97, #6c737e); - background-image: -o-linear-gradient(top, #868d97, #6c737e); - background-image: linear-gradient(to bottom, #868d97, #6c737e); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff868d97', endColorstr='#ff6c737e', GradientType=0); - border-color: #656b76; -} -.navbar-inverse .brand, -.navbar-inverse .nav > li > a { - color: #cccccc; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.navbar-inverse .brand:hover, -.navbar-inverse .nav > li > a:hover, -.navbar-inverse .brand:focus, -.navbar-inverse .nav > li > a:focus { - color: #ffffff; -} -.navbar-inverse .brand { - color: #cccccc; -} -.navbar-inverse .navbar-text { - color: #cccccc; -} -.navbar-inverse .nav > li > a:focus, -.navbar-inverse .nav > li > a:hover { - background-color: transparent; - color: #ffffff; -} -.navbar-inverse .nav .active > a, -.navbar-inverse .nav .active > a:hover, -.navbar-inverse .nav .active > a:focus { - color: #ffffff; - background-color: #6c737e; -} -.navbar-inverse .navbar-link { - color: #cccccc; -} -.navbar-inverse .navbar-link:hover, -.navbar-inverse .navbar-link:focus { - color: #ffffff; -} -.navbar-inverse .divider-vertical { - border-left-color: #6c737e; - border-right-color: #868d97; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #6c737e; - color: #ffffff; -} -.navbar-inverse .nav li.dropdown > a:hover .caret, -.navbar-inverse .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #cccccc; - border-bottom-color: #cccccc; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .navbar-search .search-query { - color: #ffffff; - background-color: #afb3ba; - border-color: #6c737e; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -.navbar-inverse .navbar-search .search-query:-moz-placeholder { - color: #eeeeee; -} -.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { - color: #eeeeee; -} -.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { - color: #eeeeee; -} -.navbar-inverse .navbar-search .search-query:focus, -.navbar-inverse .navbar-search .search-query.focused { - padding: 5px 15px; - color: #434848; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - outline: 0; -} -.navbar-inverse .btn-navbar { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #6f7681; - background-image: -moz-linear-gradient(top, #78808b, #606670); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#78808b), to(#606670)); - background-image: -webkit-linear-gradient(top, #78808b, #606670); - background-image: -o-linear-gradient(top, #78808b, #606670); - background-image: linear-gradient(to bottom, #78808b, #606670); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff78808b', endColorstr='#ff606670', GradientType=0); - border-color: #606670 #606670 #3d4147; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #606670; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.navbar-inverse .btn-navbar:hover, -.navbar-inverse .btn-navbar:focus, -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active, -.navbar-inverse .btn-navbar.disabled, -.navbar-inverse .btn-navbar[disabled] { - color: #ffffff; - background-color: #606670; - *background-color: #545a63; -} -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active { - background-color: #494d55 \9; -} -.breadcrumb { - padding: 8px 15px; - margin: 0 0 21px; - list-style: none; - background-color: #f5f5f5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.breadcrumb > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb > li > .divider { - padding: 0 5px; - color: #ccc; -} -.breadcrumb > .active { - color: #cccccc; -} -.pagination { - margin: 21px 0; -} -.pagination ul { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-left: 0; - margin-bottom: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} -.pagination ul > li { - display: inline; -} -.pagination ul > li > a, -.pagination ul > li > span { - float: left; - padding: 4px 12px; - line-height: 21px; - text-decoration: none; - background-color: #ffffff; - border: 1px solid #dddddd; - border-left-width: 0; -} -.pagination ul > li > a:hover, -.pagination ul > li > a:focus, -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: #f5f5f5; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - color: #cccccc; - cursor: default; -} -.pagination ul > .disabled > span, -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > a:focus { - color: #cccccc; - background-color: transparent; - cursor: default; -} -.pagination ul > li:first-child > a, -.pagination ul > li:first-child > span { - border-left-width: 1px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.pagination ul > li:last-child > a, -.pagination ul > li:last-child > span { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.pagination-centered { - text-align: center; -} -.pagination-right { - text-align: right; -} -.pagination-large ul > li > a, -.pagination-large ul > li > span { - padding: 11px 19px; - font-size: 18.75px; -} -.pagination-large ul > li:first-child > a, -.pagination-large ul > li:first-child > span { - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.pagination-large ul > li:last-child > a, -.pagination-large ul > li:last-child > span { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.pagination-mini ul > li:first-child > a, -.pagination-small ul > li:first-child > a, -.pagination-mini ul > li:first-child > span, -.pagination-small ul > li:first-child > span { - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topleft: 3px; - border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - border-bottom-left-radius: 3px; -} -.pagination-mini ul > li:last-child > a, -.pagination-small ul > li:last-child > a, -.pagination-mini ul > li:last-child > span, -.pagination-small ul > li:last-child > span { - -webkit-border-top-right-radius: 3px; - -moz-border-radius-topright: 3px; - border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - -moz-border-radius-bottomright: 3px; - border-bottom-right-radius: 3px; -} -.pagination-small ul > li > a, -.pagination-small ul > li > span { - padding: 2px 10px; - font-size: 12.75px; -} -.pagination-mini ul > li > a, -.pagination-mini ul > li > span { - padding: 0px 6px; - font-size: 11.25px; -} -.pager { - margin: 21px 0; - list-style: none; - text-align: center; - *zoom: 1; -} -.pager:before, -.pager:after { - display: table; - content: ""; - line-height: 0; -} -.pager:after { - clear: both; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #cccccc; - background-color: #fff; - cursor: default; -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop, -.modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.modal { - position: fixed; - top: 10%; - left: 50%; - z-index: 1050; - width: 560px; - margin-left: -280px; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - /* IE6-7 */ - - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - outline: none; -} -.modal.fade { - -webkit-transition: opacity .3s linear, top .3s ease-out; - -moz-transition: opacity .3s linear, top .3s ease-out; - -o-transition: opacity .3s linear, top .3s ease-out; - transition: opacity .3s linear, top .3s ease-out; - top: -25%; -} -.modal.fade.in { - top: 10%; -} -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} -.modal-header .close { - margin-top: 2px; -} -.modal-header h3 { - margin: 0; - line-height: 30px; -} -.modal-body { - position: relative; - overflow-y: auto; - max-height: 400px; - padding: 15px; -} -.modal-form { - margin-bottom: 0; -} -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - text-align: right; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; - *zoom: 1; -} -.modal-footer:before, -.modal-footer:after { - display: table; - content: ""; - line-height: 0; -} -.modal-footer:after { - clear: both; -} -.modal-footer .btn + .btn { - margin-left: 5px; - margin-bottom: 0; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.tooltip { - position: absolute; - z-index: 1030; - display: block; - visibility: visible; - font-size: 11px; - line-height: 1.4; - opacity: 0; - filter: alpha(opacity=0); -} -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.tooltip.top { - margin-top: -3px; - padding: 5px 0; -} -.tooltip.right { - margin-left: 3px; - padding: 0 5px; -} -.tooltip.bottom { - margin-top: 3px; - padding: 5px 0; -} -.tooltip.left { - margin-left: -3px; - padding: 0 5px; -} -.tooltip-inner { - max-width: 200px; - padding: 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #000000; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #000000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #000000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #000000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000000; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - background-color: #ffffff; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - white-space: normal; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #f7f7f7; - border-bottom: 1px solid #ebebeb; - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.popover-title:empty { - display: none; -} -.popover-content { - padding: 9px 14px; -} -.popover .arrow, -.popover .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover .arrow { - border-width: 11px; -} -.popover .arrow:after { - border-width: 10px; - content: ""; -} -.popover.top .arrow { - left: 50%; - margin-left: -11px; - border-bottom-width: 0; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, 0.25); - bottom: -11px; -} -.popover.top .arrow:after { - bottom: 1px; - margin-left: -10px; - border-bottom-width: 0; - border-top-color: #ffffff; -} -.popover.right .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-left-width: 0; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, 0.25); -} -.popover.right .arrow:after { - left: 1px; - bottom: -10px; - border-left-width: 0; - border-right-color: #ffffff; -} -.popover.bottom .arrow { - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, 0.25); - top: -11px; -} -.popover.bottom .arrow:after { - top: 1px; - margin-left: -10px; - border-top-width: 0; - border-bottom-color: #ffffff; -} -.popover.left .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, 0.25); -} -.popover.left .arrow:after { - right: 1px; - border-right-width: 0; - border-left-color: #ffffff; - bottom: -10px; -} -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} -.thumbnails:before, -.thumbnails:after { - display: table; - content: ""; - line-height: 0; -} -.thumbnails:after { - clear: both; -} -.row-fluid .thumbnails { - margin-left: 0; -} -.thumbnails > li { - float: left; - margin-bottom: 21px; - margin-left: 20px; -} -.thumbnail { - display: block; - padding: 4px; - line-height: 21px; - border: 1px solid #ddd; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -a.thumbnail:hover, -a.thumbnail:focus { - border-color: #0099dd; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} -.thumbnail > img { - display: block; - max-width: 100%; - margin-left: auto; - margin-right: auto; -} -.thumbnail .caption { - padding: 9px; - color: #666666; -} -.media, -.media-body { - overflow: hidden; - *overflow: visible; - zoom: 1; -} -.media, -.media .media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media-object { - display: block; -} -.media-heading { - margin: 0 0 5px; -} -.media > .pull-left { - margin-right: 10px; -} -.media > .pull-right { - margin-left: 10px; -} -.media-list { - margin-left: 0; - list-style: none; -} -.label, -.badge { - display: inline-block; - padding: 2px 4px; - font-size: 12.69px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - vertical-align: baseline; - white-space: nowrap; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #cccccc; -} -.label { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.badge { - padding-left: 9px; - padding-right: 9px; - -webkit-border-radius: 9px; - -moz-border-radius: 9px; - border-radius: 9px; -} -.label:empty, -.badge:empty { - display: none; -} -a.label:hover, -a.label:focus, -a.badge:hover, -a.badge:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.label-important, -.badge-important { - background-color: #ffffff; -} -.label-important[href], -.badge-important[href] { - background-color: #e6e6e6; -} -.label-warning, -.badge-warning { - background-color: #d47500; -} -.label-warning[href], -.badge-warning[href] { - background-color: #a15900; -} -.label-success, -.badge-success { - background-color: #ffffff; -} -.label-success[href], -.badge-success[href] { - background-color: #e6e6e6; -} -.label-info, -.badge-info { - background-color: #ffffff; -} -.label-info[href], -.badge-info[href] { - background-color: #e6e6e6; -} -.label-inverse, -.badge-inverse { - background-color: #434848; -} -.label-inverse[href], -.badge-inverse[href] { - background-color: #2a2e2e; -} -.btn .label, -.btn .badge { - position: relative; - top: -1px; -} -.btn-mini .label, -.btn-mini .badge { - top: 0; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-moz-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-ms-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - overflow: hidden; - height: 21px; - margin-bottom: 21px; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.progress .bar { - width: 0%; - height: 100%; - color: #ffffff; - float: left; - font-size: 12px; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(to bottom, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} -.progress .bar + .bar { - -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); -} -.progress-striped .bar { - background-color: #149bdf; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - -ms-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-danger .bar, -.progress .bar-danger { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); -} -.progress-danger.progress-striped .bar, -.progress-striped .bar-danger { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar, -.progress .bar-success { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(to bottom, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); -} -.progress-success.progress-striped .bar, -.progress-striped .bar-success { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar, -.progress .bar-info { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(to bottom, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); -} -.progress-info.progress-striped .bar, -.progress-striped .bar-info { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-warning .bar, -.progress .bar-warning { - background-color: #ee8c14; - background-image: -moz-linear-gradient(top, #ff9c21, #d47500); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ff9c21), to(#d47500)); - background-image: -webkit-linear-gradient(top, #ff9c21, #d47500); - background-image: -o-linear-gradient(top, #ff9c21, #d47500); - background-image: linear-gradient(to bottom, #ff9c21, #d47500); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffff9c21', endColorstr='#ffd47500', GradientType=0); -} -.progress-warning.progress-striped .bar, -.progress-striped .bar-warning { - background-color: #ff9c21; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.accordion { - margin-bottom: 21px; -} -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.accordion-heading { - border-bottom: 0; -} -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} -.accordion-toggle { - cursor: pointer; -} -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} -.carousel { - position: relative; - margin-bottom: 21px; - line-height: 1; -} -.carousel-inner { - overflow: hidden; - width: 100%; - position: relative; -} -.carousel-inner > .item { - display: none; - position: relative; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - line-height: 1; -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #2d2d2d; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.carousel-control.right { - left: auto; - right: 15px; -} -.carousel-control:hover, -.carousel-control:focus { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} -.carousel-indicators { - position: absolute; - top: 15px; - right: 15px; - z-index: 5; - margin: 0; - list-style: none; -} -.carousel-indicators li { - display: block; - float: left; - width: 10px; - height: 10px; - margin-left: 5px; - text-indent: -999px; - background-color: #ccc; - background-color: rgba(255, 255, 255, 0.25); - border-radius: 5px; -} -.carousel-indicators .active { - background-color: #fff; -} -.carousel-caption { - position: absolute; - left: 0; - right: 0; - bottom: 0; - padding: 15px; - background: #434848; - background: rgba(0, 0, 0, 0.75); -} -.carousel-caption h4, -.carousel-caption p { - color: #ffffff; - line-height: 21px; -} -.carousel-caption h4 { - margin: 0 0 5px; -} -.carousel-caption p { - margin-bottom: 0; -} -.hero-unit { - padding: 60px; - margin-bottom: 30px; - font-size: 18px; - font-weight: 200; - line-height: 31.5px; - color: inherit; - background-color: #eeeeee; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - color: #2d2d2d; - letter-spacing: -1px; -} -.hero-unit li { - line-height: 31.5px; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.invisible { - visibility: hidden; -} -.affix { - position: fixed; -} -.navbar .brand { - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3); - -webkit-transition: color ease-in-out 0.2s; - -moz-transition: color ease-in-out 0.2s; - -o-transition: color ease-in-out 0.2s; - transition: color ease-in-out 0.2s; -} -.navbar .brand:hover { - color: #0099dd; - -webkit-transition: color ease-in-out 0.2s; - -moz-transition: color ease-in-out 0.2s; - -o-transition: color ease-in-out 0.2s; - transition: color ease-in-out 0.2s; -} -.navbar .nav > li > a { - padding: 11px 10px 8px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.3); - -webkit-transition: color ease-in-out 0.2s; - -moz-transition: color ease-in-out 0.2s; - -o-transition: color ease-in-out 0.2s; - transition: color ease-in-out 0.2s; -} -.navbar .nav > li > a:hover { - -webkit-transition: color ease-in-out 0.2s; - -moz-transition: color ease-in-out 0.2s; - -o-transition: color ease-in-out 0.2s; - transition: color ease-in-out 0.2s; -} -.navbar .navbar-text { - padding: 11px 10px 8px; - line-height: inherit; -} -.navbar .navbar-search .search-query, -.navbar .navbar-search .search-query:hover { - margin-bottom: 0; - line-height: normal; - color: #cccccc; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5); -} -.navbar .navbar-search .search-query:-moz-placeholder, -.navbar .navbar-search .search-query:hover:-moz-placeholder { - color: #cccccc; -} -.navbar .navbar-search .search-query:-ms-input-placeholder, -.navbar .navbar-search .search-query:hover:-ms-input-placeholder { - color: #cccccc; -} -.navbar .navbar-search .search-query::-webkit-input-placeholder, -.navbar .navbar-search .search-query:hover::-webkit-input-placeholder { - color: #cccccc; -} -.navbar .navbar-search .search-query:focus, -.navbar .navbar-search .search-query:hover:focus, -.navbar .navbar-search .search-query.focused, -.navbar .navbar-search .search-query:hover.focused { - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.5); - color: #666666; -} -.navbar-inverse .brand { - text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3); -} -.navbar-inverse .brand:hover { - color: #ffffff; -} -.navbar-inverse .nav > li > a { - text-shadow: -1px -1px 0 rgba(0, 0, 0, 0.3); -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown:hover > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.open:hover > .dropdown-toggle .caret { - border-top-color: #ffffff; -} -.navbar-inverse .navbar-search .search-query, -.navbar-inverse .navbar-search .search-query:hover { - color: #ffffff; -} -.navbar-inverse .navbar-search .search-query:-moz-placeholder, -.navbar-inverse .navbar-search .search-query:hover:-moz-placeholder { - color: #eeeeee; -} -.navbar-inverse .navbar-search .search-query:-ms-input-placeholder, -.navbar-inverse .navbar-search .search-query:hover:-ms-input-placeholder { - color: #eeeeee; -} -.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder, -.navbar-inverse .navbar-search .search-query:hover::-webkit-input-placeholder { - color: #eeeeee; -} -@media (max-width: 979px) { - .navbar .nav-collapse .nav li > a:hover { - background-color: #0099dd; - color: #ffffff; - text-shadow: none; - } - .navbar .nav-collapse .navbar-search { - border-top: none; - border-bottom: none; - } - .navbar-inverse .nav-collapse .nav li > a { - color: #cccccc !important; - } - .navbar-inverse .nav-collapse .nav li > a:hover { - background-color: #0099dd !important; - } - .navbar-inverse .nav-collapse .nav-header { - color: #eeeeee; - } -} -div.subnav .nav > li > a { - color: #666666; - -webkit-transition: color ease-in-out 0.2s; - -moz-transition: color ease-in-out 0.2s; - -o-transition: color ease-in-out 0.2s; - transition: color ease-in-out 0.2s; -} -div.subnav .nav > li > a:hover { - border-left-color: #cccccc; - color: #0099dd; - -webkit-transition: color ease-in-out 0.2s; - -moz-transition: color ease-in-out 0.2s; - -o-transition: color ease-in-out 0.2s; - transition: color ease-in-out 0.2s; -} -div.subnav .nav > li.active > a { - color: #666666; -} -div.subnav .nav > li.active > a:hover { - color: #666666; -} -div.subnav .nav > li.dropdown > .dropdown-toggle { - background-color: transparent; -} -div.subnav .nav > li.dropdown.open > .dropdown-toggle { - border-left: 1px solid whiteSmoke; - border-right: 1px solid #E5E5E5; - color: #666666; -} -div.subnav .nav > li.dropdown.open > .dropdown-toggle:hover { - color: #0099dd; -} -div.subnav-fixed { - top: 41px; -} -.nav > li > a:hover, -.nav > li > a:focus { - background-color: rgba(0, 0, 0, 0.05); -} -.nav > li.dropdown > .dropdown-toggle .caret, -.nav > li.dropdown.active > .dropdown-toggle .caret, -.nav > li.dropdown.open > .dropdown-toggle .caret, -.nav > li.dropdown.open.active > .dropdown-toggle .caret { - border-top: 4px solid #666666; - border-top-color: #666666; - opacity: 1; -} -.nav > li.dropdown > .dropdown-toggle:hover .caret, -.nav > li.dropdown.active > .dropdown-toggle:hover .caret, -.nav > li.dropdown.open > .dropdown-toggle:hover .caret, -.nav > li.dropdown.open.active > .dropdown-toggle:hover .caret { - border-top: 4px solid #0099dd; - border-top-color: #0099dd; -} -.nav-list .divider { - background-color: rgba(0, 0, 0, 0.1); - border-bottom-color: rgba(255, 255, 255, 0.5); -} -.table tbody tr.success > td, -.table tbody tr.error > td, -.table tbody tr.info > td { - color: #ffffff; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #e29235; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #e29235; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #e29235; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #c7781d; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #efc28e; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #efc28e; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #efc28e; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #e29235; - background-color: #d47500; - border-color: #e29235; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #cc0000; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #cc0000; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #cc0000; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #990000; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ff3333; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ff3333; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ff3333; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #cc0000; - background-color: #cd0200; - border-color: #cc0000; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #2ba949; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #2ba949; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #2ba949; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #218037; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #63d77e; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #63d77e; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #63d77e; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #2ba949; - background-color: #3cb521; - border-color: #2ba949; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #3399f3; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #3399f3; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #3399f3; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #0e80e5; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #93c9f9; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #93c9f9; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #93c9f9; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #3399f3; - background-color: #3399f3; - border-color: #3399f3; -} -.alert { - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.alert h1, -.alert h2, -.alert h3, -.alert h4, -.alert h5, -.alert h6 { - color: #ffffff; - font-weight: bold; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.label-important, -.badge-important { - background-color: #cd0200; -} -.label-warning, -.badge-warning { - background-color: #d47500; -} -.label-success, -.badge-success { - background-color: #3cb521; -} -.label-info, -.badge-info { - background-color: #3399f3; -} -.hero-unit { - border: 1px solid rgba(0, 0, 0, 0.1); -} -#main { - margin-top: 56px; -} -.navbar-fixed-top .navbar-inner { - padding-left: 20px; - padding-right: 20px; -} -.navbar .dropdown-menu { - padding: 20px; - max-height: 300px; - overflow: auto; - width: 300px; - background-color: #6c737e; -} -.navbar .dropdown-menu a, -.navbar .dropdown-menu a:visited { - color: #cccccc; -} -.navbar .dropdown-menu a:hover { - color: #ffffff; - background-color: transparent; -} -.navbar .dropdown-menu a:active { - color: #ffffff; - background-color: #6c737e; -} -.navbar .dropdown-menu a { - padding-left: 0; - padding-right: 5px; - font-weight: 500; - font-size: 115%; -} -#toc { - position: fixed; - top: 56px; - width: 29%; - max-height: 90%; - overflow: auto; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px #e1e1e1 solid; - padding: 5px; -} -#toc .toc-active { - background-color: transparent; - color: #0099dd; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -#toc .toc-active a, -#toc .toc-active a:hover, -#toc .toc-active a:active, -#toc .toc-active a:visited { - background-color: transparent; - color: #0099dd; -} -.toc-shim { - padding-top: 56px; - margin-top: -56px; - display: block; -} -.toc-h1 { - margin-left: 2px; - margin-right: 2px; -} -.toc-h2 { - margin-left: 7px; - margin-right: 7px; -} -.toc-h3 { - margin-left: 14px; - margin-right: 7px; -} -.toc-h4 { - margin-left: 21px; - margin-right: 7px; -} -.copyright { - font-size: 90%; - text-align: center; - color: #6c737e; - width: 100%; - display: block; -} -.jsdoc-message { - font-size: 90%; - text-align: center; - color: #6c737e; - width: 100%; - display: block; -} -.page-title { - font-size: 220%; - color: #6c737e; - font-weight: 700; - padding-top: 10px; - display: block; -} -footer { - border-top: 1px solid #868d97; - padding-top: 15px; -} -code { - background-color: none; - border: none; - color: #d47500; -} -.buffered-name { - padding-top: 56px; - margin-top: -56px; -} -.member-collapsed { - background-color: #6c737e; - color: #cccccc; -} -.member-open { - background-color: inherit; - color: inherit; -} -.member { - -webkit-transition: background-color 0.5s linear; - -moz-transition: background-color 0.5s linear; - -o-transition: background-color 0.5s linear; - transition: background-color 0.5s linear; - -webkit-transition: color 0.5s linear; - -moz-transition: color 0.5s linear; - -o-transition: color 0.5s linear; - transition: color 0.5s linear; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 10px; -} diff --git a/docs/styles/site.spruce.css b/docs/styles/site.spruce.css deleted file mode 100644 index 8666057ad7..0000000000 --- a/docs/styles/site.spruce.css +++ /dev/null @@ -1,5889 +0,0 @@ -@import url(http://fonts.googleapis.com/css?family=Crete+Round); -/*! - * Bootstrap v2.3.1 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -.clearfix { - *zoom: 1; -} -.clearfix:before, -.clearfix:after { - display: table; - content: ""; - line-height: 0; -} -.clearfix:after { - clear: both; -} -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.input-block-level { - display: block; - width: 100%; - min-height: 31px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a:hover, -a:active { - outline: 0; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - /* Responsive images (ensure images don't scale beyond their parents) */ - - max-width: 100%; - /* Part 1: Set a maxium relative to the parent */ - - width: auto\9; - /* IE7-8 need help adjusting responsive images */ - - height: auto; - /* Part 2: Scale the height according to the width, otherwise you get stretching */ - - vertical-align: middle; - border: 0; - -ms-interpolation-mode: bicubic; -} -#map_canvas img, -.google-maps img { - max-width: none; -} -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} -button, -input { - *overflow: visible; - line-height: normal; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -label, -select, -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -input[type="radio"], -input[type="checkbox"] { - cursor: pointer; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -@media print { - * { - text-shadow: none !important; - color: #000 !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} -body { - margin: 0; - font-family: Georgia, "Times New Roman", Times, serif; - font-size: 15px; - line-height: 21px; - color: #555555; - background-color: #ffffff; -} -a { - color: #028d79; - text-decoration: none; -} -a:hover, -a:focus { - color: #028d79; - text-decoration: underline; -} -.img-rounded { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.img-polaroid { - padding: 4px; - background-color: #fff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} -.img-circle { - -webkit-border-radius: 500px; - -moz-border-radius: 500px; - border-radius: 500px; -} -.row { - margin-left: -20px; - *zoom: 1; -} -.row:before, -.row:after { - display: table; - content: ""; - line-height: 0; -} -.row:after { - clear: both; -} -[class*="span"] { - float: left; - min-height: 1px; - margin-left: 20px; -} -.container, -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.span12 { - width: 940px; -} -.span11 { - width: 860px; -} -.span10 { - width: 780px; -} -.span9 { - width: 700px; -} -.span8 { - width: 620px; -} -.span7 { - width: 540px; -} -.span6 { - width: 460px; -} -.span5 { - width: 380px; -} -.span4 { - width: 300px; -} -.span3 { - width: 220px; -} -.span2 { - width: 140px; -} -.span1 { - width: 60px; -} -.offset12 { - margin-left: 980px; -} -.offset11 { - margin-left: 900px; -} -.offset10 { - margin-left: 820px; -} -.offset9 { - margin-left: 740px; -} -.offset8 { - margin-left: 660px; -} -.offset7 { - margin-left: 580px; -} -.offset6 { - margin-left: 500px; -} -.offset5 { - margin-left: 420px; -} -.offset4 { - margin-left: 340px; -} -.offset3 { - margin-left: 260px; -} -.offset2 { - margin-left: 180px; -} -.offset1 { - margin-left: 100px; -} -.row-fluid { - width: 100%; - *zoom: 1; -} -.row-fluid:before, -.row-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.row-fluid:after { - clear: both; -} -.row-fluid [class*="span"] { - display: block; - width: 100%; - min-height: 31px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2.127659574468085%; - *margin-left: 2.074468085106383%; -} -.row-fluid [class*="span"]:first-child { - margin-left: 0; -} -.row-fluid .controls-row [class*="span"] + [class*="span"] { - margin-left: 2.127659574468085%; -} -.row-fluid .span12 { - width: 100%; - *width: 99.94680851063829%; -} -.row-fluid .span11 { - width: 91.48936170212765%; - *width: 91.43617021276594%; -} -.row-fluid .span10 { - width: 82.97872340425532%; - *width: 82.92553191489361%; -} -.row-fluid .span9 { - width: 74.46808510638297%; - *width: 74.41489361702126%; -} -.row-fluid .span8 { - width: 65.95744680851064%; - *width: 65.90425531914893%; -} -.row-fluid .span7 { - width: 57.44680851063829%; - *width: 57.39361702127659%; -} -.row-fluid .span6 { - width: 48.93617021276595%; - *width: 48.88297872340425%; -} -.row-fluid .span5 { - width: 40.42553191489362%; - *width: 40.37234042553192%; -} -.row-fluid .span4 { - width: 31.914893617021278%; - *width: 31.861702127659576%; -} -.row-fluid .span3 { - width: 23.404255319148934%; - *width: 23.351063829787233%; -} -.row-fluid .span2 { - width: 14.893617021276595%; - *width: 14.840425531914894%; -} -.row-fluid .span1 { - width: 6.382978723404255%; - *width: 6.329787234042553%; -} -.row-fluid .offset12 { - margin-left: 104.25531914893617%; - *margin-left: 104.14893617021275%; -} -.row-fluid .offset12:first-child { - margin-left: 102.12765957446808%; - *margin-left: 102.02127659574467%; -} -.row-fluid .offset11 { - margin-left: 95.74468085106382%; - *margin-left: 95.6382978723404%; -} -.row-fluid .offset11:first-child { - margin-left: 93.61702127659574%; - *margin-left: 93.51063829787232%; -} -.row-fluid .offset10 { - margin-left: 87.23404255319149%; - *margin-left: 87.12765957446807%; -} -.row-fluid .offset10:first-child { - margin-left: 85.1063829787234%; - *margin-left: 84.99999999999999%; -} -.row-fluid .offset9 { - margin-left: 78.72340425531914%; - *margin-left: 78.61702127659572%; -} -.row-fluid .offset9:first-child { - margin-left: 76.59574468085106%; - *margin-left: 76.48936170212764%; -} -.row-fluid .offset8 { - margin-left: 70.2127659574468%; - *margin-left: 70.10638297872339%; -} -.row-fluid .offset8:first-child { - margin-left: 68.08510638297872%; - *margin-left: 67.9787234042553%; -} -.row-fluid .offset7 { - margin-left: 61.70212765957446%; - *margin-left: 61.59574468085106%; -} -.row-fluid .offset7:first-child { - margin-left: 59.574468085106375%; - *margin-left: 59.46808510638297%; -} -.row-fluid .offset6 { - margin-left: 53.191489361702125%; - *margin-left: 53.085106382978715%; -} -.row-fluid .offset6:first-child { - margin-left: 51.063829787234035%; - *margin-left: 50.95744680851063%; -} -.row-fluid .offset5 { - margin-left: 44.68085106382979%; - *margin-left: 44.57446808510638%; -} -.row-fluid .offset5:first-child { - margin-left: 42.5531914893617%; - *margin-left: 42.4468085106383%; -} -.row-fluid .offset4 { - margin-left: 36.170212765957444%; - *margin-left: 36.06382978723405%; -} -.row-fluid .offset4:first-child { - margin-left: 34.04255319148936%; - *margin-left: 33.93617021276596%; -} -.row-fluid .offset3 { - margin-left: 27.659574468085104%; - *margin-left: 27.5531914893617%; -} -.row-fluid .offset3:first-child { - margin-left: 25.53191489361702%; - *margin-left: 25.425531914893618%; -} -.row-fluid .offset2 { - margin-left: 19.148936170212764%; - *margin-left: 19.04255319148936%; -} -.row-fluid .offset2:first-child { - margin-left: 17.02127659574468%; - *margin-left: 16.914893617021278%; -} -.row-fluid .offset1 { - margin-left: 10.638297872340425%; - *margin-left: 10.53191489361702%; -} -.row-fluid .offset1:first-child { - margin-left: 8.51063829787234%; - *margin-left: 8.404255319148938%; -} -[class*="span"].hide, -.row-fluid [class*="span"].hide { - display: none; -} -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { - float: right; -} -.container { - margin-right: auto; - margin-left: auto; - *zoom: 1; -} -.container:before, -.container:after { - display: table; - content: ""; - line-height: 0; -} -.container:after { - clear: both; -} -.container-fluid { - padding-right: 20px; - padding-left: 20px; - *zoom: 1; -} -.container-fluid:before, -.container-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.container-fluid:after { - clear: both; -} -p { - margin: 0 0 10.5px; -} -.lead { - margin-bottom: 21px; - font-size: 22.5px; - font-weight: 200; - line-height: 31.5px; -} -small { - font-size: 85%; -} -strong { - font-weight: bold; -} -em { - font-style: italic; -} -cite { - font-style: normal; -} -.muted { - color: #999999; -} -a.muted:hover, -a.muted:focus { - color: #808080; -} -.text-warning { - color: #ffffff; -} -a.text-warning:hover, -a.text-warning:focus { - color: #e6e6e6; -} -.text-error { - color: #ffffff; -} -a.text-error:hover, -a.text-error:focus { - color: #e6e6e6; -} -.text-info { - color: #ffffff; -} -a.text-info:hover, -a.text-info:focus { - color: #e6e6e6; -} -.text-success { - color: #ffffff; -} -a.text-success:hover, -a.text-success:focus { - color: #e6e6e6; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 10.5px 0; - font-family: 'Crete Round', serif; - font-weight: normal; - line-height: 21px; - color: #333333; - text-rendering: optimizelegibility; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - line-height: 1; - color: #999999; -} -h1, -h2, -h3 { - line-height: 42px; -} -h1 { - font-size: 41.25px; -} -h2 { - font-size: 33.75px; -} -h3 { - font-size: 26.25px; -} -h4 { - font-size: 18.75px; -} -h5 { - font-size: 15px; -} -h6 { - font-size: 12.75px; -} -h1 small { - font-size: 26.25px; -} -h2 small { - font-size: 18.75px; -} -h3 small { - font-size: 15px; -} -h4 small { - font-size: 15px; -} -.page-header { - padding-bottom: 9.5px; - margin: 21px 0 31.5px; - border-bottom: 1px solid #eeeeee; -} -ul, -ol { - padding: 0; - margin: 0 0 10.5px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -li { - line-height: 21px; -} -ul.unstyled, -ol.unstyled { - margin-left: 0; - list-style: none; -} -ul.inline, -ol.inline { - margin-left: 0; - list-style: none; -} -ul.inline > li, -ol.inline > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding-left: 5px; - padding-right: 5px; -} -dl { - margin-bottom: 21px; -} -dt, -dd { - line-height: 21px; -} -dt { - font-weight: bold; -} -dd { - margin-left: 10.5px; -} -.dl-horizontal { - *zoom: 1; -} -.dl-horizontal:before, -.dl-horizontal:after { - display: table; - content: ""; - line-height: 0; -} -.dl-horizontal:after { - clear: both; -} -.dl-horizontal dt { - float: left; - width: 160px; - clear: left; - text-align: right; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.dl-horizontal dd { - margin-left: 180px; -} -hr { - margin: 21px 0; - border: 0; - border-top: 1px solid #999999; - border-bottom: 1px solid #ffffff; -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #999999; -} -abbr.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 0 0 0 15px; - margin: 0 0 21px; - border-left: 5px solid #eeeeee; -} -blockquote p { - margin-bottom: 0; - font-size: 18.75px; - font-weight: 300; - line-height: 1.25; -} -blockquote small { - display: block; - line-height: 21px; - color: #999999; -} -blockquote small:before { - content: '\2014 \00A0'; -} -blockquote.pull-right { - float: right; - padding-right: 15px; - padding-left: 0; - border-right: 5px solid #eeeeee; - border-left: 0; -} -blockquote.pull-right p, -blockquote.pull-right small { - text-align: right; -} -blockquote.pull-right small:before { - content: ''; -} -blockquote.pull-right small:after { - content: '\00A0 \2014'; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -address { - display: block; - margin-bottom: 21px; - font-style: normal; - line-height: 21px; -} -code, -pre { - padding: 0 3px 2px; - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 13px; - color: #333333; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - padding: 2px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; - white-space: nowrap; -} -pre { - display: block; - padding: 10px; - margin: 0 0 10.5px; - font-size: 14px; - line-height: 21px; - word-break: break-all; - word-wrap: break-word; - white-space: pre; - white-space: pre-wrap; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -pre.prettyprint { - margin-bottom: 21px; -} -pre code { - padding: 0; - color: inherit; - white-space: pre; - white-space: pre-wrap; - background-color: transparent; - border: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -form { - margin: 0 0 21px; -} -fieldset { - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 21px; - font-size: 22.5px; - line-height: 42px; - color: #333333; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -legend small { - font-size: 15.75px; - color: #999999; -} -label, -input, -button, -select, -textarea { - font-size: 15px; - font-weight: normal; - line-height: 21px; -} -input, -button, -select, -textarea { - font-family: Georgia, "Times New Roman", Times, serif; -} -label { - display: block; - margin-bottom: 5px; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 21px; - padding: 4px 6px; - margin-bottom: 10.5px; - font-size: 15px; - line-height: 21px; - color: #555555; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - vertical-align: middle; -} -input, -textarea, -.uneditable-input { - width: 206px; -} -textarea { - height: auto; -} -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - background-color: #ffffff; - border: 1px solid #cccccc; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; -} -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - *margin-top: 0; - /* IE7 */ - - margin-top: 1px \9; - /* IE8-9 */ - - line-height: normal; -} -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} -select, -input[type="file"] { - height: 31px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 31px; -} -select { - width: 220px; - border: 1px solid #cccccc; - background-color: #ffffff; -} -select[multiple], -select[size] { - height: auto; -} -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.uneditable-input, -.uneditable-textarea { - color: #999999; - background-color: #fcfcfc; - border-color: #cccccc; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -.uneditable-input { - overflow: hidden; - white-space: nowrap; -} -.uneditable-textarea { - width: auto; - height: auto; -} -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #cccccc; -} -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #cccccc; -} -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #cccccc; -} -.radio, -.checkbox { - min-height: 21px; - padding-left: 20px; -} -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -20px; -} -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; -} -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; -} -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; -} -.input-mini { - width: 60px; -} -.input-small { - width: 90px; -} -.input-medium { - width: 150px; -} -.input-large { - width: 210px; -} -.input-xlarge { - width: 270px; -} -.input-xxlarge { - width: 530px; -} -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; -} -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; -} -input, -textarea, -.uneditable-input { - margin-left: 0; -} -.controls-row [class*="span"] + [class*="span"] { - margin-left: 20px; -} -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 926px; -} -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 846px; -} -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 766px; -} -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 686px; -} -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 606px; -} -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 526px; -} -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 446px; -} -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 366px; -} -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 286px; -} -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 206px; -} -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 126px; -} -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 46px; -} -.controls-row { - *zoom: 1; -} -.controls-row:before, -.controls-row:after { - display: table; - content: ""; - line-height: 0; -} -.controls-row:after { - clear: both; -} -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { - float: left; -} -.controls-row .checkbox[class*="span"], -.controls-row .radio[class*="span"] { - padding-top: 5px; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #eeeeee; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #ffffff; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #ffffff; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #ffffff; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #e6e6e6; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #ffffff; - background-color: #f26522; - border-color: #ffffff; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #ffffff; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #ffffff; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #ffffff; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #e6e6e6; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #ffffff; - background-color: #d14432; - border-color: #ffffff; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #ffffff; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #ffffff; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #ffffff; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #e6e6e6; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #ffffff; - background-color: #24c00b; - border-color: #ffffff; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #ffffff; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #ffffff; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #ffffff; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #e6e6e6; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ffffff; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #ffffff; - background-color: #185af9; - border-color: #ffffff; -} -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { - color: #b94a48; - border-color: #ee5f5b; -} -input:focus:invalid:focus, -textarea:focus:invalid:focus, -select:focus:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -.form-actions { - padding: 20px 20px 21px; - margin-top: 21px; - margin-bottom: 21px; - background-color: transparent; - border-top: 1px solid #e5e5e5; - *zoom: 1; -} -.form-actions:before, -.form-actions:after { - display: table; - content: ""; - line-height: 0; -} -.form-actions:after { - clear: both; -} -.help-block, -.help-inline { - color: #7b7b7b; -} -.help-block { - display: block; - margin-bottom: 10.5px; -} -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - vertical-align: middle; - padding-left: 5px; -} -.input-append, -.input-prepend { - display: inline-block; - margin-bottom: 10.5px; - vertical-align: middle; - font-size: 0; - white-space: nowrap; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input, -.input-append .dropdown-menu, -.input-prepend .dropdown-menu, -.input-append .popover, -.input-prepend .popover { - font-size: 15px; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input { - position: relative; - margin-bottom: 0; - *margin-left: 0; - vertical-align: top; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append input:focus, -.input-prepend input:focus, -.input-append select:focus, -.input-prepend select:focus, -.input-append .uneditable-input:focus, -.input-prepend .uneditable-input:focus { - z-index: 2; -} -.input-append .add-on, -.input-prepend .add-on { - display: inline-block; - width: auto; - height: 21px; - min-width: 16px; - padding: 4px 5px; - font-size: 15px; - font-weight: normal; - line-height: 21px; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - background-color: #eeeeee; - border: 1px solid #ccc; -} -.input-append .add-on, -.input-prepend .add-on, -.input-append .btn, -.input-prepend .btn, -.input-append .btn-group > .dropdown-toggle, -.input-prepend .btn-group > .dropdown-toggle { - vertical-align: top; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-append .active, -.input-prepend .active { - background-color: #03f2d0; - border-color: #015b4e; -} -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; -} -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input + .btn-group .btn:last-child, -.input-append select + .btn-group .btn:last-child, -.input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append .add-on, -.input-append .btn, -.input-append .btn-group { - margin-left: -1px; -} -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-prepend.input-append input + .btn-group .btn, -.input-prepend.input-append select + .btn-group .btn, -.input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .btn-group:first-child { - margin-left: 0; -} -input.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - - margin-bottom: 0; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -/* Allow for input prepend/append in search forms */ -.form-search .input-append .search-query, -.form-search .input-prepend .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.form-search .input-append .search-query { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search .input-append .btn { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .search-query { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .btn { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input, -.form-search .input-prepend, -.form-inline .input-prepend, -.form-horizontal .input-prepend, -.form-search .input-append, -.form-inline .input-append, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; -} -.form-search label, -.form-inline label, -.form-search .btn-group, -.form-inline .btn-group { - display: inline-block; -} -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; -} -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; -} -.control-group { - margin-bottom: 10.5px; -} -legend + .control-group { - margin-top: 21px; - -webkit-margin-top-collapse: separate; -} -.form-horizontal .control-group { - margin-bottom: 21px; - *zoom: 1; -} -.form-horizontal .control-group:before, -.form-horizontal .control-group:after { - display: table; - content: ""; - line-height: 0; -} -.form-horizontal .control-group:after { - clear: both; -} -.form-horizontal .control-label { - float: left; - width: 160px; - padding-top: 5px; - text-align: right; -} -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 180px; - *margin-left: 0; -} -.form-horizontal .controls:first-child { - *padding-left: 180px; -} -.form-horizontal .help-block { - margin-bottom: 0; -} -.form-horizontal input + .help-block, -.form-horizontal select + .help-block, -.form-horizontal textarea + .help-block, -.form-horizontal .uneditable-input + .help-block, -.form-horizontal .input-prepend + .help-block, -.form-horizontal .input-append + .help-block { - margin-top: 10.5px; -} -.form-horizontal .form-actions { - padding-left: 180px; -} -table { - max-width: 100%; - background-color: #f7f7f7; - border-collapse: collapse; - border-spacing: 0; -} -.table { - width: 100%; - margin-bottom: 21px; -} -.table th, -.table td { - padding: 8px; - line-height: 21px; - text-align: left; - vertical-align: top; - border-top: 1px solid #999999; -} -.table th { - font-weight: bold; -} -.table thead th { - vertical-align: bottom; -} -.table caption + thead tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child th, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child th, -.table thead:first-child tr:first-child td { - border-top: 0; -} -.table tbody + tbody { - border-top: 2px solid #999999; -} -.table .table { - background-color: #ffffff; -} -.table-condensed th, -.table-condensed td { - padding: 4px 5px; -} -.table-bordered { - border: 1px solid #999999; - border-collapse: separate; - *border-collapse: collapse; - border-left: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.table-bordered th, -.table-bordered td { - border-left: 1px solid #999999; -} -.table-bordered caption + thead tr:first-child th, -.table-bordered caption + tbody tr:first-child th, -.table-bordered caption + tbody tr:first-child td, -.table-bordered colgroup + thead tr:first-child th, -.table-bordered colgroup + tbody tr:first-child th, -.table-bordered colgroup + tbody tr:first-child td, -.table-bordered thead:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} -.table-bordered thead:first-child tr:first-child > th:first-child, -.table-bordered tbody:first-child tr:first-child > td:first-child, -.table-bordered tbody:first-child tr:first-child > th:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered thead:first-child tr:first-child > th:last-child, -.table-bordered tbody:first-child tr:first-child > td:last-child, -.table-bordered tbody:first-child tr:first-child > th:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:first-child, -.table-bordered tbody:last-child tr:last-child > td:first-child, -.table-bordered tbody:last-child tr:last-child > th:first-child, -.table-bordered tfoot:last-child tr:last-child > td:first-child, -.table-bordered tfoot:last-child tr:last-child > th:first-child { - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:last-child, -.table-bordered tbody:last-child tr:last-child > td:last-child, -.table-bordered tbody:last-child tr:last-child > th:last-child, -.table-bordered tfoot:last-child tr:last-child > td:last-child, -.table-bordered tfoot:last-child tr:last-child > th:last-child { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered caption + thead tr:first-child th:first-child, -.table-bordered caption + tbody tr:first-child td:first-child, -.table-bordered colgroup + thead tr:first-child th:first-child, -.table-bordered colgroup + tbody tr:first-child td:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered caption + thead tr:first-child th:last-child, -.table-bordered caption + tbody tr:first-child td:last-child, -.table-bordered colgroup + thead tr:first-child th:last-child, -.table-bordered colgroup + tbody tr:first-child td:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-striped tbody > tr:nth-child(odd) > td, -.table-striped tbody > tr:nth-child(odd) > th { - background-color: #eaeaea; -} -.table-hover tbody tr:hover > td, -.table-hover tbody tr:hover > th { - background-color: #dddddd; -} -table td[class*="span"], -table th[class*="span"], -.row-fluid table td[class*="span"], -.row-fluid table th[class*="span"] { - display: table-cell; - float: none; - margin-left: 0; -} -.table td.span1, -.table th.span1 { - float: none; - width: 44px; - margin-left: 0; -} -.table td.span2, -.table th.span2 { - float: none; - width: 124px; - margin-left: 0; -} -.table td.span3, -.table th.span3 { - float: none; - width: 204px; - margin-left: 0; -} -.table td.span4, -.table th.span4 { - float: none; - width: 284px; - margin-left: 0; -} -.table td.span5, -.table th.span5 { - float: none; - width: 364px; - margin-left: 0; -} -.table td.span6, -.table th.span6 { - float: none; - width: 444px; - margin-left: 0; -} -.table td.span7, -.table th.span7 { - float: none; - width: 524px; - margin-left: 0; -} -.table td.span8, -.table th.span8 { - float: none; - width: 604px; - margin-left: 0; -} -.table td.span9, -.table th.span9 { - float: none; - width: 684px; - margin-left: 0; -} -.table td.span10, -.table th.span10 { - float: none; - width: 764px; - margin-left: 0; -} -.table td.span11, -.table th.span11 { - float: none; - width: 844px; - margin-left: 0; -} -.table td.span12, -.table th.span12 { - float: none; - width: 924px; - margin-left: 0; -} -.table tbody tr.success > td { - background-color: #24c00b; -} -.table tbody tr.error > td { - background-color: #d14432; -} -.table tbody tr.warning > td { - background-color: #f26522; -} -.table tbody tr.info > td { - background-color: #185af9; -} -.table-hover tbody tr.success:hover > td { - background-color: #1fa80a; -} -.table-hover tbody tr.error:hover > td { - background-color: #bf3c2b; -} -.table-hover tbody tr.warning:hover > td { - background-color: #ed560e; -} -.table-hover tbody tr.info:hover > td { - background-color: #064bf1; -} -[class^="icon-"], -[class*=" icon-"] { - display: inline-block; - width: 14px; - height: 14px; - *margin-right: .3em; - line-height: 14px; - vertical-align: text-top; - background-image: url("../img/glyphicons-halflings.png"); - background-position: 14px 14px; - background-repeat: no-repeat; - margin-top: 1px; -} -/* White icons with optional class, or on hover/focus/active states of certain elements */ -.icon-white, -.nav-pills > .active > a > [class^="icon-"], -.nav-pills > .active > a > [class*=" icon-"], -.nav-list > .active > a > [class^="icon-"], -.nav-list > .active > a > [class*=" icon-"], -.navbar-inverse .nav > .active > a > [class^="icon-"], -.navbar-inverse .nav > .active > a > [class*=" icon-"], -.dropdown-menu > li > a:hover > [class^="icon-"], -.dropdown-menu > li > a:focus > [class^="icon-"], -.dropdown-menu > li > a:hover > [class*=" icon-"], -.dropdown-menu > li > a:focus > [class*=" icon-"], -.dropdown-menu > .active > a > [class^="icon-"], -.dropdown-menu > .active > a > [class*=" icon-"], -.dropdown-submenu:hover > a > [class^="icon-"], -.dropdown-submenu:focus > a > [class^="icon-"], -.dropdown-submenu:hover > a > [class*=" icon-"], -.dropdown-submenu:focus > a > [class*=" icon-"] { - background-image: url("../img/glyphicons-halflings-white.png"); -} -.icon-glass { - background-position: 0 0; -} -.icon-music { - background-position: -24px 0; -} -.icon-search { - background-position: -48px 0; -} -.icon-envelope { - background-position: -72px 0; -} -.icon-heart { - background-position: -96px 0; -} -.icon-star { - background-position: -120px 0; -} -.icon-star-empty { - background-position: -144px 0; -} -.icon-user { - background-position: -168px 0; -} -.icon-film { - background-position: -192px 0; -} -.icon-th-large { - background-position: -216px 0; -} -.icon-th { - background-position: -240px 0; -} -.icon-th-list { - background-position: -264px 0; -} -.icon-ok { - background-position: -288px 0; -} -.icon-remove { - background-position: -312px 0; -} -.icon-zoom-in { - background-position: -336px 0; -} -.icon-zoom-out { - background-position: -360px 0; -} -.icon-off { - background-position: -384px 0; -} -.icon-signal { - background-position: -408px 0; -} -.icon-cog { - background-position: -432px 0; -} -.icon-trash { - background-position: -456px 0; -} -.icon-home { - background-position: 0 -24px; -} -.icon-file { - background-position: -24px -24px; -} -.icon-time { - background-position: -48px -24px; -} -.icon-road { - background-position: -72px -24px; -} -.icon-download-alt { - background-position: -96px -24px; -} -.icon-download { - background-position: -120px -24px; -} -.icon-upload { - background-position: -144px -24px; -} -.icon-inbox { - background-position: -168px -24px; -} -.icon-play-circle { - background-position: -192px -24px; -} -.icon-repeat { - background-position: -216px -24px; -} -.icon-refresh { - background-position: -240px -24px; -} -.icon-list-alt { - background-position: -264px -24px; -} -.icon-lock { - background-position: -287px -24px; -} -.icon-flag { - background-position: -312px -24px; -} -.icon-headphones { - background-position: -336px -24px; -} -.icon-volume-off { - background-position: -360px -24px; -} -.icon-volume-down { - background-position: -384px -24px; -} -.icon-volume-up { - background-position: -408px -24px; -} -.icon-qrcode { - background-position: -432px -24px; -} -.icon-barcode { - background-position: -456px -24px; -} -.icon-tag { - background-position: 0 -48px; -} -.icon-tags { - background-position: -25px -48px; -} -.icon-book { - background-position: -48px -48px; -} -.icon-bookmark { - background-position: -72px -48px; -} -.icon-print { - background-position: -96px -48px; -} -.icon-camera { - background-position: -120px -48px; -} -.icon-font { - background-position: -144px -48px; -} -.icon-bold { - background-position: -167px -48px; -} -.icon-italic { - background-position: -192px -48px; -} -.icon-text-height { - background-position: -216px -48px; -} -.icon-text-width { - background-position: -240px -48px; -} -.icon-align-left { - background-position: -264px -48px; -} -.icon-align-center { - background-position: -288px -48px; -} -.icon-align-right { - background-position: -312px -48px; -} -.icon-align-justify { - background-position: -336px -48px; -} -.icon-list { - background-position: -360px -48px; -} -.icon-indent-left { - background-position: -384px -48px; -} -.icon-indent-right { - background-position: -408px -48px; -} -.icon-facetime-video { - background-position: -432px -48px; -} -.icon-picture { - background-position: -456px -48px; -} -.icon-pencil { - background-position: 0 -72px; -} -.icon-map-marker { - background-position: -24px -72px; -} -.icon-adjust { - background-position: -48px -72px; -} -.icon-tint { - background-position: -72px -72px; -} -.icon-edit { - background-position: -96px -72px; -} -.icon-share { - background-position: -120px -72px; -} -.icon-check { - background-position: -144px -72px; -} -.icon-move { - background-position: -168px -72px; -} -.icon-step-backward { - background-position: -192px -72px; -} -.icon-fast-backward { - background-position: -216px -72px; -} -.icon-backward { - background-position: -240px -72px; -} -.icon-play { - background-position: -264px -72px; -} -.icon-pause { - background-position: -288px -72px; -} -.icon-stop { - background-position: -312px -72px; -} -.icon-forward { - background-position: -336px -72px; -} -.icon-fast-forward { - background-position: -360px -72px; -} -.icon-step-forward { - background-position: -384px -72px; -} -.icon-eject { - background-position: -408px -72px; -} -.icon-chevron-left { - background-position: -432px -72px; -} -.icon-chevron-right { - background-position: -456px -72px; -} -.icon-plus-sign { - background-position: 0 -96px; -} -.icon-minus-sign { - background-position: -24px -96px; -} -.icon-remove-sign { - background-position: -48px -96px; -} -.icon-ok-sign { - background-position: -72px -96px; -} -.icon-question-sign { - background-position: -96px -96px; -} -.icon-info-sign { - background-position: -120px -96px; -} -.icon-screenshot { - background-position: -144px -96px; -} -.icon-remove-circle { - background-position: -168px -96px; -} -.icon-ok-circle { - background-position: -192px -96px; -} -.icon-ban-circle { - background-position: -216px -96px; -} -.icon-arrow-left { - background-position: -240px -96px; -} -.icon-arrow-right { - background-position: -264px -96px; -} -.icon-arrow-up { - background-position: -289px -96px; -} -.icon-arrow-down { - background-position: -312px -96px; -} -.icon-share-alt { - background-position: -336px -96px; -} -.icon-resize-full { - background-position: -360px -96px; -} -.icon-resize-small { - background-position: -384px -96px; -} -.icon-plus { - background-position: -408px -96px; -} -.icon-minus { - background-position: -433px -96px; -} -.icon-asterisk { - background-position: -456px -96px; -} -.icon-exclamation-sign { - background-position: 0 -120px; -} -.icon-gift { - background-position: -24px -120px; -} -.icon-leaf { - background-position: -48px -120px; -} -.icon-fire { - background-position: -72px -120px; -} -.icon-eye-open { - background-position: -96px -120px; -} -.icon-eye-close { - background-position: -120px -120px; -} -.icon-warning-sign { - background-position: -144px -120px; -} -.icon-plane { - background-position: -168px -120px; -} -.icon-calendar { - background-position: -192px -120px; -} -.icon-random { - background-position: -216px -120px; - width: 16px; -} -.icon-comment { - background-position: -240px -120px; -} -.icon-magnet { - background-position: -264px -120px; -} -.icon-chevron-up { - background-position: -288px -120px; -} -.icon-chevron-down { - background-position: -313px -119px; -} -.icon-retweet { - background-position: -336px -120px; -} -.icon-shopping-cart { - background-position: -360px -120px; -} -.icon-folder-close { - background-position: -384px -120px; - width: 16px; -} -.icon-folder-open { - background-position: -408px -120px; - width: 16px; -} -.icon-resize-vertical { - background-position: -432px -119px; -} -.icon-resize-horizontal { - background-position: -456px -118px; -} -.icon-hdd { - background-position: 0 -144px; -} -.icon-bullhorn { - background-position: -24px -144px; -} -.icon-bell { - background-position: -48px -144px; -} -.icon-certificate { - background-position: -72px -144px; -} -.icon-thumbs-up { - background-position: -96px -144px; -} -.icon-thumbs-down { - background-position: -120px -144px; -} -.icon-hand-right { - background-position: -144px -144px; -} -.icon-hand-left { - background-position: -168px -144px; -} -.icon-hand-up { - background-position: -192px -144px; -} -.icon-hand-down { - background-position: -216px -144px; -} -.icon-circle-arrow-right { - background-position: -240px -144px; -} -.icon-circle-arrow-left { - background-position: -264px -144px; -} -.icon-circle-arrow-up { - background-position: -288px -144px; -} -.icon-circle-arrow-down { - background-position: -312px -144px; -} -.icon-globe { - background-position: -336px -144px; -} -.icon-wrench { - background-position: -360px -144px; -} -.icon-tasks { - background-position: -384px -144px; -} -.icon-filter { - background-position: -408px -144px; -} -.icon-briefcase { - background-position: -432px -144px; -} -.icon-fullscreen { - background-position: -456px -144px; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle { - *margin-bottom: -3px; -} -.dropdown-toggle:active, -.open .dropdown-toggle { - outline: 0; -} -.caret { - display: inline-block; - width: 0; - height: 0; - vertical-align: top; - border-top: 4px solid #000000; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - content: ""; -} -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - background-color: #002425; - border: 1px solid #ccc; - border: 1px solid transparent; - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 9.5px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: transparent; - border-bottom: 1px solid #999999; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 21px; - color: #ffffff; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, -.dropdown-submenu:hover > a, -.dropdown-submenu:focus > a { - text-decoration: none; - color: #ffffff; - background-color: #015145; - background-image: -moz-linear-gradient(top, #015b4e, #014238); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#015b4e), to(#014238)); - background-image: -webkit-linear-gradient(top, #015b4e, #014238); - background-image: -o-linear-gradient(top, #015b4e, #014238); - background-image: linear-gradient(to bottom, #015b4e, #014238); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff015b4e', endColorstr='#ff014238', GradientType=0); -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #ffffff; - text-decoration: none; - outline: 0; - background-color: #015145; - background-image: -moz-linear-gradient(top, #015b4e, #014238); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#015b4e), to(#014238)); - background-image: -webkit-linear-gradient(top, #015b4e, #014238); - background-image: -o-linear-gradient(top, #015b4e, #014238); - background-image: linear-gradient(to bottom, #015b4e, #014238); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff015b4e', endColorstr='#ff014238', GradientType=0); -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #999999; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: default; -} -.open { - *z-index: 1000; -} -.open > .dropdown-menu { - display: block; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: ""; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -.dropdown-submenu { - position: relative; -} -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; - -webkit-border-radius: 5px 5px 5px 0; - -moz-border-radius: 5px 5px 5px 0; - border-radius: 5px 5px 5px 0; -} -.dropdown-submenu > a:after { - display: block; - content: " "; - float: right; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 5px 0 5px 5px; - border-left-color: #000000; - margin-top: 5px; - margin-right: -10px; -} -.dropdown-submenu:hover > a:after { - border-left-color: #ffffff; -} -.dropdown-submenu.pull-left { - float: none; -} -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.dropdown .dropdown-menu .nav-header { - padding-left: 20px; - padding-right: 20px; -} -.typeahead { - z-index: 1051; - margin-top: 2px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #dddddd; - border: 1px solid #cbcbcb; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} -.well-large { - padding: 24px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.well-small { - padding: 9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; -} -.collapse.in { - height: auto; -} -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 21px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover, -.close:focus { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} -.btn { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding: 4px 12px; - margin-bottom: 0; - font-size: 15px; - line-height: 21px; - text-align: center; - vertical-align: middle; - cursor: pointer; - color: #333333; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #f5f5f5; - background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); - background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); - background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); - border-color: #e6e6e6 #e6e6e6 #bfbfbf; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e6e6e6; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - border: 1px solid #d9d9d9; - *border: 0; - border-bottom-color: #bfbfbf; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - *margin-left: .3em; - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #333333; - background-color: #e6e6e6; - *background-color: #d9d9d9; -} -.btn:active, -.btn.active { - background-color: #cccccc \9; -} -.btn:first-child { - *margin-left: 0; -} -.btn:hover, -.btn:focus { - color: #333333; - text-decoration: none; - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -.btn:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn.active, -.btn:active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn.disabled, -.btn[disabled] { - cursor: default; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-large { - padding: 11px 19px; - font-size: 18.75px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.btn-large [class^="icon-"], -.btn-large [class*=" icon-"] { - margin-top: 4px; -} -.btn-small { - padding: 2px 10px; - font-size: 12.75px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-small [class^="icon-"], -.btn-small [class*=" icon-"] { - margin-top: 0; -} -.btn-mini [class^="icon-"], -.btn-mini [class*=" icon-"] { - margin-top: -1px; -} -.btn-mini { - padding: 0px 6px; - font-size: 11.25px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; - padding-left: 0; - padding-right: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active, -.btn-inverse.active { - color: rgba(255, 255, 255, 0.75); -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #016a5b; - background-image: -moz-linear-gradient(top, #017464, #015b4e); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#017464), to(#015b4e)); - background-image: -webkit-linear-gradient(top, #017464, #015b4e); - background-image: -o-linear-gradient(top, #017464, #015b4e); - background-image: linear-gradient(to bottom, #017464, #015b4e); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff017464', endColorstr='#ff015b4e', GradientType=0); - border-color: #015b4e #015b4e #000f0d; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #015b4e; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #015b4e; - *background-color: #014238; -} -.btn-primary:active, -.btn-primary.active { - background-color: #002923 \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #f36f30; - background-image: -moz-linear-gradient(top, #f3763a, #f26522); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f3763a), to(#f26522)); - background-image: -webkit-linear-gradient(top, #f3763a, #f26522); - background-image: -o-linear-gradient(top, #f3763a, #f26522); - background-image: linear-gradient(to bottom, #f3763a, #f26522); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff3763a', endColorstr='#fff26522', GradientType=0); - border-color: #f26522 #f26522 #bc440b; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #f26522; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #f26522; - *background-color: #ed560e; -} -.btn-warning:active, -.btn-warning.active { - background-color: #d44d0d \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #d44f3e; - background-image: -moz-linear-gradient(top, #d65747, #d14432); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#d65747), to(#d14432)); - background-image: -webkit-linear-gradient(top, #d65747, #d14432); - background-image: -o-linear-gradient(top, #d65747, #d14432); - background-image: linear-gradient(to bottom, #d65747, #d14432); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffd65747', endColorstr='#ffd14432', GradientType=0); - border-color: #d14432 #d14432 #952f21; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #d14432; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #d14432; - *background-color: #bf3c2b; -} -.btn-danger:active, -.btn-danger.active { - background-color: #aa3526 \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0065b4; - background-image: -moz-linear-gradient(top, #006bbe, #005ca4); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#006bbe), to(#005ca4)); - background-image: -webkit-linear-gradient(top, #006bbe, #005ca4); - background-image: -o-linear-gradient(top, #006bbe, #005ca4); - background-image: linear-gradient(to bottom, #006bbe, #005ca4); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff006bbe', endColorstr='#ff005ca4', GradientType=0); - border-color: #005ca4 #005ca4 #003158; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #005ca4; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #005ca4; - *background-color: #004e8b; -} -.btn-success:active, -.btn-success.active { - background-color: #004071 \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #32a0c0; - background-image: -moz-linear-gradient(top, #34a7c8, #2f96b4); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#34a7c8), to(#2f96b4)); - background-image: -webkit-linear-gradient(top, #34a7c8, #2f96b4); - background-image: -o-linear-gradient(top, #34a7c8, #2f96b4); - background-image: linear-gradient(to bottom, #34a7c8, #2f96b4); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff34a7c8', endColorstr='#ff2f96b4', GradientType=0); - border-color: #2f96b4 #2f96b4 #1f6377; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #2f96b4; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #2f96b4; - *background-color: #2a85a0; -} -.btn-info:active, -.btn-info.active { - background-color: #24748c \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #505050; - background-image: -moz-linear-gradient(top, #555555, #484848); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#484848)); - background-image: -webkit-linear-gradient(top, #555555, #484848); - background-image: -o-linear-gradient(top, #555555, #484848); - background-image: linear-gradient(to bottom, #555555, #484848); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff555555', endColorstr='#ff484848', GradientType=0); - border-color: #484848 #484848 #222222; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #484848; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #484848; - *background-color: #3c3c3c; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #2f2f2f \9; -} -button.btn, -input[type="submit"].btn { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn::-moz-focus-inner, -input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} -button.btn.btn-large, -input[type="submit"].btn.btn-large { - *padding-top: 7px; - *padding-bottom: 7px; -} -button.btn.btn-small, -input[type="submit"].btn.btn-small { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn.btn-mini, -input[type="submit"].btn.btn-mini { - *padding-top: 1px; - *padding-bottom: 1px; -} -.btn-link, -.btn-link:active, -.btn-link[disabled] { - background-color: transparent; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-link { - border-color: transparent; - cursor: pointer; - color: #028d79; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-link:hover, -.btn-link:focus { - color: #028d79; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -.btn-link[disabled]:focus { - color: #333333; - text-decoration: none; -} -.btn-group { - position: relative; - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - font-size: 0; - vertical-align: middle; - white-space: nowrap; - *margin-left: .3em; -} -.btn-group:first-child { - *margin-left: 0; -} -.btn-group + .btn-group { - margin-left: 5px; -} -.btn-toolbar { - font-size: 0; - margin-top: 10.5px; - margin-bottom: 10.5px; -} -.btn-toolbar > .btn + .btn, -.btn-toolbar > .btn-group + .btn, -.btn-toolbar > .btn + .btn-group { - margin-left: 5px; -} -.btn-group > .btn { - position: relative; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group > .btn + .btn { - margin-left: -1px; -} -.btn-group > .btn, -.btn-group > .dropdown-menu, -.btn-group > .popover { - font-size: 15px; -} -.btn-group > .btn-mini { - font-size: 11.25px; -} -.btn-group > .btn-small { - font-size: 12.75px; -} -.btn-group > .btn-large { - font-size: 18.75px; -} -.btn-group > .btn:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.btn-group > .btn.large:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.btn-group > .btn.large:last-child, -.btn-group > .large.dropdown-toggle { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - *padding-top: 5px; - *padding-bottom: 5px; -} -.btn-group > .btn-mini + .dropdown-toggle { - padding-left: 5px; - padding-right: 5px; - *padding-top: 2px; - *padding-bottom: 2px; -} -.btn-group > .btn-small + .dropdown-toggle { - *padding-top: 5px; - *padding-bottom: 4px; -} -.btn-group > .btn-large + .dropdown-toggle { - padding-left: 12px; - padding-right: 12px; - *padding-top: 7px; - *padding-bottom: 7px; -} -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn-group.open .btn.dropdown-toggle { - background-color: #e6e6e6; -} -.btn-group.open .btn-primary.dropdown-toggle { - background-color: #015b4e; -} -.btn-group.open .btn-warning.dropdown-toggle { - background-color: #f26522; -} -.btn-group.open .btn-danger.dropdown-toggle { - background-color: #d14432; -} -.btn-group.open .btn-success.dropdown-toggle { - background-color: #005ca4; -} -.btn-group.open .btn-info.dropdown-toggle { - background-color: #2f96b4; -} -.btn-group.open .btn-inverse.dropdown-toggle { - background-color: #484848; -} -.btn .caret { - margin-top: 8px; - margin-left: 0; -} -.btn-large .caret { - margin-top: 6px; -} -.btn-large .caret { - border-left-width: 5px; - border-right-width: 5px; - border-top-width: 5px; -} -.btn-mini .caret, -.btn-small .caret { - margin-top: 8px; -} -.dropup .btn-large .caret { - border-bottom-width: 5px; -} -.btn-primary .caret, -.btn-warning .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret, -.btn-inverse .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.btn-group-vertical { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} -.btn-group-vertical > .btn { - display: block; - float: none; - max-width: 100%; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group-vertical > .btn + .btn { - margin-left: 0; - margin-top: -1px; -} -.btn-group-vertical > .btn:first-child { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.btn-group-vertical > .btn:last-child { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.btn-group-vertical > .btn-large:first-child { - -webkit-border-radius: 6px 6px 0 0; - -moz-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; -} -.btn-group-vertical > .btn-large:last-child { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 21px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #f26522; - border: 1px solid #f13614; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.alert, -.alert h4 { - color: #ffffff; -} -.alert h4 { - margin: 0; -} -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 21px; -} -.alert-success { - background-color: #24c00b; - border-color: #3aa80a; - color: #ffffff; -} -.alert-success h4 { - color: #ffffff; -} -.alert-danger, -.alert-error { - background-color: #d14432; - border-color: #c72d35; - color: #ffffff; -} -.alert-danger h4, -.alert-error h4 { - color: #ffffff; -} -.alert-info { - background-color: #185af9; - border-color: #066ee7; - color: #ffffff; -} -.alert-info h4 { - color: #ffffff; -} -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; -} -.alert-block p + p { - margin-top: 5px; -} -.nav { - margin-left: 0; - margin-bottom: 21px; - list-style: none; -} -.nav > li > a { - display: block; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #eeeeee; -} -.nav > li > a > img { - max-width: none; -} -.nav > .pull-right { - float: right; -} -.nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 21px; - color: #999999; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} -.nav li + .nav-header { - margin-top: 9px; -} -.nav-list { - padding-left: 15px; - padding-right: 15px; - margin-bottom: 0; -} -.nav-list > li > a, -.nav-list .nav-header { - margin-left: -15px; - margin-right: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.nav-list > li > a { - padding: 3px 15px; -} -.nav-list > .active > a, -.nav-list > .active > a:hover, -.nav-list > .active > a:focus { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #028d79; -} -.nav-list [class^="icon-"], -.nav-list [class*=" icon-"] { - margin-right: 2px; -} -.nav-list .divider { - *width: 100%; - height: 1px; - margin: 9.5px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.nav-tabs, -.nav-pills { - *zoom: 1; -} -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; - line-height: 0; -} -.nav-tabs:after, -.nav-pills:after { - clear: both; -} -.nav-tabs > li, -.nav-pills > li { - float: left; -} -.nav-tabs > li > a, -.nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - margin-bottom: -1px; -} -.nav-tabs > li > a { - padding-top: 8px; - padding-bottom: 8px; - line-height: 21px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover, -.nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #dddddd; -} -.nav-tabs > .active > a, -.nav-tabs > .active > a:hover, -.nav-tabs > .active > a:focus { - color: #555555; - background-color: #ffffff; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.nav-pills > .active > a, -.nav-pills > .active > a:hover, -.nav-pills > .active > a:focus { - color: #ffffff; - background-color: #028d79; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li > a { - margin-right: 0; -} -.nav-tabs.nav-stacked { - border-bottom: 0; -} -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.nav-tabs.nav-stacked > li > a:hover, -.nav-tabs.nav-stacked > li > a:focus { - border-color: #ddd; - z-index: 2; -} -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.nav-pills .dropdown-menu { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.nav .dropdown-toggle .caret { - border-top-color: #028d79; - border-bottom-color: #028d79; - margin-top: 6px; -} -.nav .dropdown-toggle:hover .caret, -.nav .dropdown-toggle:focus .caret { - border-top-color: #028d79; - border-bottom-color: #028d79; -} -/* move down carets for tabs */ -.nav-tabs .dropdown-toggle .caret { - margin-top: 8px; -} -.nav .active .dropdown-toggle .caret { - border-top-color: #fff; - border-bottom-color: #fff; -} -.nav-tabs .active .dropdown-toggle .caret { - border-top-color: #555555; - border-bottom-color: #555555; -} -.nav > .dropdown.active > a:hover, -.nav > .dropdown.active > a:focus { - cursor: pointer; -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover, -.nav > li.dropdown.open.active > a:focus { - color: #ffffff; - background-color: #999999; - border-color: #999999; -} -.nav li.dropdown.open .caret, -.nav li.dropdown.open.active .caret, -.nav li.dropdown.open a:hover .caret, -.nav li.dropdown.open a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} -.tabs-stacked .open > a:hover, -.tabs-stacked .open > a:focus { - border-color: #999999; -} -.tabbable { - *zoom: 1; -} -.tabbable:before, -.tabbable:after { - display: table; - content: ""; - line-height: 0; -} -.tabbable:after { - clear: both; -} -.tab-content { - overflow: auto; -} -.tabs-below > .nav-tabs, -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} -.tab-content > .active, -.pill-content > .active { - display: block; -} -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; -} -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.tabs-below > .nav-tabs > li > a:hover, -.tabs-below > .nav-tabs > li > a:focus { - border-bottom-color: transparent; - border-top-color: #ddd; -} -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover, -.tabs-below > .nav-tabs > .active > a:focus { - border-color: transparent #ddd #ddd #ddd; -} -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.tabs-left > .nav-tabs > li > a:hover, -.tabs-left > .nav-tabs > li > a:focus { - border-color: #eeeeee #dddddd #eeeeee #eeeeee; -} -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover, -.tabs-left > .nav-tabs .active > a:focus { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.tabs-right > .nav-tabs > li > a:hover, -.tabs-right > .nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #eeeeee #dddddd; -} -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover, -.tabs-right > .nav-tabs .active > a:focus { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} -.nav > .disabled > a { - color: #999999; -} -.nav > .disabled > a:hover, -.nav > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - cursor: default; -} -.navbar { - overflow: visible; - margin-bottom: 21px; - *position: relative; - *z-index: 2; -} -.navbar-inner { - min-height: 55px; - padding-left: 20px; - padding-right: 20px; - background-color: #013435; - background-image: -moz-linear-gradient(top, #013435, #013435); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#013435), to(#013435)); - background-image: -webkit-linear-gradient(top, #013435, #013435); - background-image: -o-linear-gradient(top, #013435, #013435); - background-image: linear-gradient(to bottom, #013435, #013435); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff013435', endColorstr='#ff013435', GradientType=0); - border: 1px solid #011b1c; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - *zoom: 1; -} -.navbar-inner:before, -.navbar-inner:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-inner:after { - clear: both; -} -.navbar .container { - width: auto; -} -.nav-collapse.collapse { - height: auto; - overflow: visible; -} -.navbar .brand { - float: left; - display: block; - padding: 17px 20px 17px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - color: #ffffff; - text-shadow: 0 1px 0 #013435; -} -.navbar .brand:hover, -.navbar .brand:focus { - text-decoration: none; -} -.navbar-text { - margin-bottom: 0; - line-height: 55px; - color: #999999; -} -.navbar-link { - color: #ffffff; -} -.navbar-link:hover, -.navbar-link:focus { - color: #ffffff; -} -.navbar .divider-vertical { - height: 55px; - margin: 0 9px; - border-left: 1px solid #013435; - border-right: 1px solid #013435; -} -.navbar .btn, -.navbar .btn-group { - margin-top: 12.5px; -} -.navbar .btn-group .btn, -.navbar .input-prepend .btn, -.navbar .input-append .btn, -.navbar .input-prepend .btn-group, -.navbar .input-append .btn-group { - margin-top: 0; -} -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} -.navbar-form:before, -.navbar-form:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-form:after { - clear: both; -} -.navbar-form input, -.navbar-form select, -.navbar-form .radio, -.navbar-form .checkbox { - margin-top: 12.5px; -} -.navbar-form input, -.navbar-form select, -.navbar-form .btn { - display: inline-block; - margin-bottom: 0; -} -.navbar-form input[type="image"], -.navbar-form input[type="checkbox"], -.navbar-form input[type="radio"] { - margin-top: 3px; -} -.navbar-form .input-append, -.navbar-form .input-prepend { - margin-top: 5px; - white-space: nowrap; -} -.navbar-form .input-append input, -.navbar-form .input-prepend input { - margin-top: 0; -} -.navbar-search { - position: relative; - float: left; - margin-top: 12.5px; - margin-bottom: 0; -} -.navbar-search .search-query { - margin-bottom: 0; - padding: 4px 14px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.navbar-static-top { - position: static; - margin-bottom: 0; -} -.navbar-static-top .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; - margin-bottom: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - border-width: 0 0 1px; -} -.navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-fixed-bottom .navbar-inner { - padding-left: 0; - padding-right: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.navbar-fixed-top { - top: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 1px 10px rgba(0,0,0,.1); - box-shadow: 0 1px 10px rgba(0,0,0,.1); -} -.navbar-fixed-bottom { - bottom: 0; -} -.navbar-fixed-bottom .navbar-inner { - -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - box-shadow: 0 -1px 10px rgba(0,0,0,.1); -} -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} -.navbar .nav.pull-right { - float: right; - margin-right: 0; -} -.navbar .nav > li { - float: left; -} -.navbar .nav > li > a { - float: none; - padding: 17px 15px 17px; - color: #ffffff; - text-decoration: none; - text-shadow: 0 1px 0 #013435; -} -.navbar .nav .dropdown-toggle .caret { - margin-top: 8px; -} -.navbar .nav > li > a:focus, -.navbar .nav > li > a:hover { - background-color: #002425; - color: #ffffff; - text-decoration: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - color: #ffffff; - text-decoration: none; - background-color: #002425; - -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); -} -.navbar .btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-left: 5px; - margin-right: 5px; - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #011b1c; - background-image: -moz-linear-gradient(top, #011b1c, #011b1c); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#011b1c), to(#011b1c)); - background-image: -webkit-linear-gradient(top, #011b1c, #011b1c); - background-image: -o-linear-gradient(top, #011b1c, #011b1c); - background-image: linear-gradient(to bottom, #011b1c, #011b1c); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff011b1c', endColorstr='#ff011b1c', GradientType=0); - border-color: #011b1c #011b1c #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #011b1c; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); -} -.navbar .btn-navbar:hover, -.navbar .btn-navbar:focus, -.navbar .btn-navbar:active, -.navbar .btn-navbar.active, -.navbar .btn-navbar.disabled, -.navbar .btn-navbar[disabled] { - color: #ffffff; - background-color: #011b1c; - *background-color: #000303; -} -.navbar .btn-navbar:active, -.navbar .btn-navbar.active { - background-color: #000000 \9; -} -.navbar .btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} -.navbar .nav > li > .dropdown-menu:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: transparent; - position: absolute; - top: -7px; - left: 9px; -} -.navbar .nav > li > .dropdown-menu:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #002425; - position: absolute; - top: -6px; - left: 10px; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:before { - border-top: 7px solid #ccc; - border-top-color: transparent; - border-bottom: 0; - bottom: -7px; - top: auto; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:after { - border-top: 6px solid #002425; - border-bottom: 0; - bottom: -6px; - top: auto; -} -.navbar .nav li.dropdown > a:hover .caret, -.navbar .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #002425; - color: #ffffff; -} -.navbar .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .pull-right > li > .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right { - left: auto; - right: 0; -} -.navbar .pull-right > li > .dropdown-menu:before, -.navbar .nav > li > .dropdown-menu.pull-right:before { - left: auto; - right: 12px; -} -.navbar .pull-right > li > .dropdown-menu:after, -.navbar .nav > li > .dropdown-menu.pull-right:after { - left: auto; - right: 13px; -} -.navbar .pull-right > li > .dropdown-menu .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { - left: auto; - right: 100%; - margin-left: 0; - margin-right: -1px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.navbar-inverse .navbar-inner { - background-color: #e5e5e5; - background-image: -moz-linear-gradient(top, #eaeaea, #dddddd); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#eaeaea), to(#dddddd)); - background-image: -webkit-linear-gradient(top, #eaeaea, #dddddd); - background-image: -o-linear-gradient(top, #eaeaea, #dddddd); - background-image: linear-gradient(to bottom, #eaeaea, #dddddd); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffeaeaea', endColorstr='#ffdddddd', GradientType=0); - border-color: #d0d0d0; -} -.navbar-inverse .brand, -.navbar-inverse .nav > li > a { - color: #333333; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.navbar-inverse .brand:hover, -.navbar-inverse .nav > li > a:hover, -.navbar-inverse .brand:focus, -.navbar-inverse .nav > li > a:focus { - color: #333333; -} -.navbar-inverse .brand { - color: #333333; -} -.navbar-inverse .navbar-text { - color: #555555; -} -.navbar-inverse .nav > li > a:focus, -.navbar-inverse .nav > li > a:hover { - background-color: #cbcbcb; - color: #333333; -} -.navbar-inverse .nav .active > a, -.navbar-inverse .nav .active > a:hover, -.navbar-inverse .nav .active > a:focus { - color: #333333; - background-color: #cbcbcb; -} -.navbar-inverse .navbar-link { - color: #333333; -} -.navbar-inverse .navbar-link:hover, -.navbar-inverse .navbar-link:focus { - color: #333333; -} -.navbar-inverse .divider-vertical { - border-left-color: #dddddd; - border-right-color: #eaeaea; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #cbcbcb; - color: #333333; -} -.navbar-inverse .nav li.dropdown > a:hover .caret, -.navbar-inverse .nav li.dropdown > a:focus .caret { - border-top-color: #333333; - border-bottom-color: #333333; -} -.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #333333; - border-bottom-color: #333333; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #333333; - border-bottom-color: #333333; -} -.navbar-inverse .navbar-search .search-query { - color: #ffffff; - background-color: #ffffff; - border-color: #dddddd; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -.navbar-inverse .navbar-search .search-query:-moz-placeholder { - color: #555555; -} -.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { - color: #555555; -} -.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { - color: #555555; -} -.navbar-inverse .navbar-search .search-query:focus, -.navbar-inverse .navbar-search .search-query.focused { - padding: 5px 15px; - color: #333333; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - outline: 0; -} -.navbar-inverse .btn-navbar { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #d8d8d8; - background-image: -moz-linear-gradient(top, #dddddd, #d0d0d0); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dddddd), to(#d0d0d0)); - background-image: -webkit-linear-gradient(top, #dddddd, #d0d0d0); - background-image: -o-linear-gradient(top, #dddddd, #d0d0d0); - background-image: linear-gradient(to bottom, #dddddd, #d0d0d0); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdddddd', endColorstr='#ffd0d0d0', GradientType=0); - border-color: #d0d0d0 #d0d0d0 #aaaaaa; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #d0d0d0; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.navbar-inverse .btn-navbar:hover, -.navbar-inverse .btn-navbar:focus, -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active, -.navbar-inverse .btn-navbar.disabled, -.navbar-inverse .btn-navbar[disabled] { - color: #ffffff; - background-color: #d0d0d0; - *background-color: #c3c3c3; -} -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active { - background-color: #b7b7b7 \9; -} -.breadcrumb { - padding: 8px 15px; - margin: 0 0 21px; - list-style: none; - background-color: #f5f5f5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.breadcrumb > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb > li > .divider { - padding: 0 5px; - color: #ccc; -} -.breadcrumb > .active { - color: #999999; -} -.pagination { - margin: 21px 0; -} -.pagination ul { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-left: 0; - margin-bottom: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} -.pagination ul > li { - display: inline; -} -.pagination ul > li > a, -.pagination ul > li > span { - float: left; - padding: 4px 12px; - line-height: 21px; - text-decoration: none; - background-color: #e6e6e6; - border: 1px solid transparent; - border-left-width: 0; -} -.pagination ul > li > a:hover, -.pagination ul > li > a:focus, -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: #a2cdb5; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - color: #999999; - cursor: default; -} -.pagination ul > .disabled > span, -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > a:focus { - color: #999999; - background-color: transparent; - cursor: default; -} -.pagination ul > li:first-child > a, -.pagination ul > li:first-child > span { - border-left-width: 1px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.pagination ul > li:last-child > a, -.pagination ul > li:last-child > span { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.pagination-centered { - text-align: center; -} -.pagination-right { - text-align: right; -} -.pagination-large ul > li > a, -.pagination-large ul > li > span { - padding: 11px 19px; - font-size: 18.75px; -} -.pagination-large ul > li:first-child > a, -.pagination-large ul > li:first-child > span { - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.pagination-large ul > li:last-child > a, -.pagination-large ul > li:last-child > span { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.pagination-mini ul > li:first-child > a, -.pagination-small ul > li:first-child > a, -.pagination-mini ul > li:first-child > span, -.pagination-small ul > li:first-child > span { - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topleft: 3px; - border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - border-bottom-left-radius: 3px; -} -.pagination-mini ul > li:last-child > a, -.pagination-small ul > li:last-child > a, -.pagination-mini ul > li:last-child > span, -.pagination-small ul > li:last-child > span { - -webkit-border-top-right-radius: 3px; - -moz-border-radius-topright: 3px; - border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - -moz-border-radius-bottomright: 3px; - border-bottom-right-radius: 3px; -} -.pagination-small ul > li > a, -.pagination-small ul > li > span { - padding: 2px 10px; - font-size: 12.75px; -} -.pagination-mini ul > li > a, -.pagination-mini ul > li > span { - padding: 0px 6px; - font-size: 11.25px; -} -.pager { - margin: 21px 0; - list-style: none; - text-align: center; - *zoom: 1; -} -.pager:before, -.pager:after { - display: table; - content: ""; - line-height: 0; -} -.pager:after { - clear: both; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #999999; - background-color: #fff; - cursor: default; -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop, -.modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.modal { - position: fixed; - top: 10%; - left: 50%; - z-index: 1050; - width: 560px; - margin-left: -280px; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - /* IE6-7 */ - - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - outline: none; -} -.modal.fade { - -webkit-transition: opacity .3s linear, top .3s ease-out; - -moz-transition: opacity .3s linear, top .3s ease-out; - -o-transition: opacity .3s linear, top .3s ease-out; - transition: opacity .3s linear, top .3s ease-out; - top: -25%; -} -.modal.fade.in { - top: 10%; -} -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} -.modal-header .close { - margin-top: 2px; -} -.modal-header h3 { - margin: 0; - line-height: 30px; -} -.modal-body { - position: relative; - overflow-y: auto; - max-height: 400px; - padding: 15px; -} -.modal-form { - margin-bottom: 0; -} -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - text-align: right; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; - *zoom: 1; -} -.modal-footer:before, -.modal-footer:after { - display: table; - content: ""; - line-height: 0; -} -.modal-footer:after { - clear: both; -} -.modal-footer .btn + .btn { - margin-left: 5px; - margin-bottom: 0; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.tooltip { - position: absolute; - z-index: 1030; - display: block; - visibility: visible; - font-size: 11px; - line-height: 1.4; - opacity: 0; - filter: alpha(opacity=0); -} -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.tooltip.top { - margin-top: -3px; - padding: 5px 0; -} -.tooltip.right { - margin-left: 3px; - padding: 0 5px; -} -.tooltip.bottom { - margin-top: 3px; - padding: 5px 0; -} -.tooltip.left { - margin-left: -3px; - padding: 0 5px; -} -.tooltip-inner { - max-width: 200px; - padding: 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #000000; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #000000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #000000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #000000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000000; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - background-color: #ffffff; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - white-space: normal; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #015b4e; - border-bottom: 1px solid #014238; - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.popover-title:empty { - display: none; -} -.popover-content { - padding: 9px 14px; -} -.popover .arrow, -.popover .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover .arrow { - border-width: 11px; -} -.popover .arrow:after { - border-width: 10px; - content: ""; -} -.popover.top .arrow { - left: 50%; - margin-left: -11px; - border-bottom-width: 0; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, 0.25); - bottom: -11px; -} -.popover.top .arrow:after { - bottom: 1px; - margin-left: -10px; - border-bottom-width: 0; - border-top-color: #ffffff; -} -.popover.right .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-left-width: 0; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, 0.25); -} -.popover.right .arrow:after { - left: 1px; - bottom: -10px; - border-left-width: 0; - border-right-color: #ffffff; -} -.popover.bottom .arrow { - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, 0.25); - top: -11px; -} -.popover.bottom .arrow:after { - top: 1px; - margin-left: -10px; - border-top-width: 0; - border-bottom-color: #ffffff; -} -.popover.left .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, 0.25); -} -.popover.left .arrow:after { - right: 1px; - border-right-width: 0; - border-left-color: #ffffff; - bottom: -10px; -} -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} -.thumbnails:before, -.thumbnails:after { - display: table; - content: ""; - line-height: 0; -} -.thumbnails:after { - clear: both; -} -.row-fluid .thumbnails { - margin-left: 0; -} -.thumbnails > li { - float: left; - margin-bottom: 21px; - margin-left: 20px; -} -.thumbnail { - display: block; - padding: 4px; - line-height: 21px; - border: 1px solid #ddd; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -a.thumbnail:hover, -a.thumbnail:focus { - border-color: #028d79; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} -.thumbnail > img { - display: block; - max-width: 100%; - margin-left: auto; - margin-right: auto; -} -.thumbnail .caption { - padding: 9px; - color: #555555; -} -.media, -.media-body { - overflow: hidden; - *overflow: visible; - zoom: 1; -} -.media, -.media .media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media-object { - display: block; -} -.media-heading { - margin: 0 0 5px; -} -.media > .pull-left { - margin-right: 10px; -} -.media > .pull-right { - margin-left: 10px; -} -.media-list { - margin-left: 0; - list-style: none; -} -.label, -.badge { - display: inline-block; - padding: 2px 4px; - font-size: 12.69px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - vertical-align: baseline; - white-space: nowrap; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #999999; -} -.label { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.badge { - padding-left: 9px; - padding-right: 9px; - -webkit-border-radius: 9px; - -moz-border-radius: 9px; - border-radius: 9px; -} -.label:empty, -.badge:empty { - display: none; -} -a.label:hover, -a.label:focus, -a.badge:hover, -a.badge:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.label-important, -.badge-important { - background-color: #ffffff; -} -.label-important[href], -.badge-important[href] { - background-color: #e6e6e6; -} -.label-warning, -.badge-warning { - background-color: #f26522; -} -.label-warning[href], -.badge-warning[href] { - background-color: #d44d0d; -} -.label-success, -.badge-success { - background-color: #ffffff; -} -.label-success[href], -.badge-success[href] { - background-color: #e6e6e6; -} -.label-info, -.badge-info { - background-color: #ffffff; -} -.label-info[href], -.badge-info[href] { - background-color: #e6e6e6; -} -.label-inverse, -.badge-inverse { - background-color: #333333; -} -.label-inverse[href], -.badge-inverse[href] { - background-color: #1a1a1a; -} -.btn .label, -.btn .badge { - position: relative; - top: -1px; -} -.btn-mini .label, -.btn-mini .badge { - top: 0; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-moz-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-ms-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - overflow: hidden; - height: 21px; - margin-bottom: 21px; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.progress .bar { - width: 0%; - height: 100%; - color: #ffffff; - float: left; - font-size: 12px; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(to bottom, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} -.progress .bar + .bar { - -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); -} -.progress-striped .bar { - background-color: #149bdf; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - -ms-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-danger .bar, -.progress .bar-danger { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); -} -.progress-danger.progress-striped .bar, -.progress-striped .bar-danger { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar, -.progress .bar-success { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(to bottom, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); -} -.progress-success.progress-striped .bar, -.progress-striped .bar-success { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar, -.progress .bar-info { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(to bottom, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); -} -.progress-info.progress-striped .bar, -.progress-striped .bar-info { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-warning .bar, -.progress .bar-warning { - background-color: #f5834d; - background-image: -moz-linear-gradient(top, #f6976a, #f26522); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f6976a), to(#f26522)); - background-image: -webkit-linear-gradient(top, #f6976a, #f26522); - background-image: -o-linear-gradient(top, #f6976a, #f26522); - background-image: linear-gradient(to bottom, #f6976a, #f26522); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff6976a', endColorstr='#fff26522', GradientType=0); -} -.progress-warning.progress-striped .bar, -.progress-striped .bar-warning { - background-color: #f6976a; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.accordion { - margin-bottom: 21px; -} -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.accordion-heading { - border-bottom: 0; -} -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} -.accordion-toggle { - cursor: pointer; -} -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} -.carousel { - position: relative; - margin-bottom: 21px; - line-height: 1; -} -.carousel-inner { - overflow: hidden; - width: 100%; - position: relative; -} -.carousel-inner > .item { - display: none; - position: relative; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - line-height: 1; -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #222222; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.carousel-control.right { - left: auto; - right: 15px; -} -.carousel-control:hover, -.carousel-control:focus { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} -.carousel-indicators { - position: absolute; - top: 15px; - right: 15px; - z-index: 5; - margin: 0; - list-style: none; -} -.carousel-indicators li { - display: block; - float: left; - width: 10px; - height: 10px; - margin-left: 5px; - text-indent: -999px; - background-color: #ccc; - background-color: rgba(255, 255, 255, 0.25); - border-radius: 5px; -} -.carousel-indicators .active { - background-color: #fff; -} -.carousel-caption { - position: absolute; - left: 0; - right: 0; - bottom: 0; - padding: 15px; - background: #333333; - background: rgba(0, 0, 0, 0.75); -} -.carousel-caption h4, -.carousel-caption p { - color: #ffffff; - line-height: 21px; -} -.carousel-caption h4 { - margin: 0 0 5px; -} -.carousel-caption p { - margin-bottom: 0; -} -.hero-unit { - padding: 60px; - margin-bottom: 30px; - font-size: 18px; - font-weight: 200; - line-height: 31.5px; - color: inherit; - background-color: #dddddd; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - color: #333333; - letter-spacing: -1px; -} -.hero-unit li { - line-height: 31.5px; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.invisible { - visibility: hidden; -} -.affix { - position: fixed; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-family: Georgia, "Times New Roman", Times, serif; - color: #333333; -} -.muted { - color: #999999; -} -.jumbotron h1 { - font-weight: normal !important; -} -.page-header { - border-bottom: none; - padding-bottom: 5px; -} -.page-header h1 { - margin-bottom: 0; -} -hr { - border-bottom: none; -} -blockquote { - border-left: 2px solid #333333; -} -blockquote.pull-right { - border-right: 2px solid #333333; -} -blockquote small { - color: #013435; -} -.navbar .navbar-inner { - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.navbar .brand { - padding: 18px 20px 16px; - font-size: 26px; - font-family: 'Crete Round', serif; - font-weight: normal; -} -.navbar .brand:hover { - background-color: #002425; -} -.navbar .nav > li > a { - padding: 20px 20px 14px; - font-size: 20px; - font-family: 'Crete Round', serif; - font-weight: normal; - text-shadow: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.navbar .navbar-text { - margin: 19px 20px 0; - font-size: 20px; - font-family: 'Crete Round', serif; - font-weight: normal; - line-height: inherit; -} -.navbar .divider-vertical { - border-color: rgba(0, 0, 0, 0.2); -} -.navbar .btn-navbar { - margin-top: 14px; -} -.navbar .navbar-form, -.navbar .navbar-search { - border-color: transparent; - margin-top: 12px; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - line-height: normal; -} -.navbar .navbar-search .search-query { - border-color: transparent; - background-color: rgba(255, 255, 255, 0.4); - line-height: normal; - color: #ffffff; -} -.navbar .dropdown-menu li > a { - font-family: 'Crete Round', serif; - font-weight: normal; -} -.navbar .nav > li > .dropdown-menu::before, -.navbar .nav > li > .dropdown-menu::after { - border-bottom: none; -} -.navbar-inverse .navbar-search .search-query { - color: #555555; -} -.navbar-inverse .dropdown-menu { - background-color: #cbcbcb; -} -.navbar-inverse .dropdown-menu li > a { - color: #333333; -} -.navbar-inverse .dropdown-menu li > a:hover { - background-color: #dddddd; -} -.navbar-inverse .dropdown-menu .divider { - border-bottom: 1px solid rgba(0, 0, 0, 0.2); -} -.navbar-inverse .dropdown-menu .nav-header { - color: #555555; -} -@media (max-width: 979px) { - .navbar .nav-collapse .nav li > a { - color: #ffffff; - } - .navbar .nav-collapse .nav li > a:hover { - background-color: #002425; - } - .navbar-inverse .nav-collapse .nav li > a:hover { - background-color: rgba(0, 0, 0, 0.06) !important; - } - .nav-collapse .navbar-form, - .nav-collapse .navbar-search { - border: none !important; - -webkit-box-shadow: none !important; - -moz-box-shadow: none !important; - box-shadow: none !important; - } -} -div.subnav { - background: #015b4e none; - border-color: transparent; -} -div.subnav .nav > li > a { - padding: 12px 12px 10px; - border-color: transparent; - background-color: transparent; - font-family: 'Crete Round', serif; - font-weight: normal; - color: #ffffff; -} -div.subnav .nav > li > a:hover, -div.subnav .nav > .active > a, -div.subnav .nav > .active > a:hover, -div.subnav .dropdown.open .dropdown-toggle, -div.subnav .dropdown.open.active .dropdown-toggle:hover { - background-color: #002425; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - border-color: transparent; - color: #ffffff; -} -div.subnav.subnav-fixed { - top: 55px; -} -.nav .nav-header { - color: #333333; -} -.nav .disabled > a, -.nav .disabled > a:hover { - background-color: #028d79; - color: #ffffff; -} -.nav-tabs { - border-color: transparent; -} -.nav-tabs > li > a { - background-color: #015b4e; - color: #ffffff; -} -.nav-tabs > li > a:hover { - background-color: #013435; - border-color: transparent; -} -.nav-tabs .active > a, -.nav-tabs .active > a:hover { - background-color: #013435; - border-color: transparent; - color: #ffffff; -} -.nav-tabs.nav-stacked > li > a { - border-color: transparent; -} -.nav-tabs.nav-stacked > li > a:hover { - border-color: transparent; -} -.nav-tabs .open .dropdown-toggle, -.nav-tabs .active.open .dropdown-toggle { - background-color: #013435; -} -.nav-pills > li > a { - background-color: #015b4e; - color: #ffffff; -} -.nav-pills > li > a:hover { - background-color: #013435; - border-color: transparent; -} -.nav-pills .active > a, -.nav-pills .active > a:hover { - background-color: #013435; - border-color: transparent; - color: #ffffff; -} -.nav-pills .open .dropdown-toggle, -.nav-pills .active.open .dropdown-toggle { - background-color: #013435; -} -.tabbable .nav-tabs, -.tabbable .nav-tabs > li > a, -.tabbable .nav-tabs > li > a:hover, -.tabbable .nav-tabs > li.active > a, -.tabbable .nav-tabs > li.active > a:hover { - border-color: transparent; -} -.nav-list .nav-header, -.nav-list li > a { - text-shadow: none; -} -.nav-list li > a:hover { - background-color: #015b4e; - color: #ffffff; -} -.nav-list li.active > a, -.nav-list li.active > a:hover { - background-color: #013435; - text-shadow: none; -} -.nav-list .divider { - background-color: transparent; - border-bottom: 1px solid #999999; -} -.breadcrumb { - background-color: #015b4e; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - border-color: transparent; -} -.breadcrumb li { - color: #ffffff; - text-shadow: none; -} -.breadcrumb li a { - color: #ffffff; - text-decoration: underline; -} -.breadcrumb li a:hover { - color: #ffffff; -} -.breadcrumb li .divider { - color: #ffffff; -} -.breadcrumb .active { - color: #ffffff; -} -.pagination ul { - background-color: #015b4e; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - border-color: transparent; -} -.pagination ul > li > a, -.pagination ul > li > span { - background-color: #015b4e; - border-color: transparent; - color: #ffffff; -} -.pagination ul > li > a:hover, -.pagination ul > li > span:hover { - background-color: #013435; - color: #ffffff; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: #013435; - color: #ffffff; -} -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > span, -.pagination ul > .disabled > span:hover { - background-color: #028d79; - color: #ffffff; -} -.pager li > a, -.pager li > span { - border: none; - background-color: #015b4e; - color: #ffffff; -} -.pager li > a:hover, -.pager li > span:hover { - background-color: #013435; -} -.pager .disabled a, -.pager .disabled a:hover { - background-color: #028d79; - color: #ffffff; -} -.btn { - font-family: 'Crete Round', serif; - font-weight: normal; - text-shadow: none; -} -.btn-large { - font-size: 18px; -} -.btn-group .dropdown-toggle { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.table th, -.table-striped tbody tr:nth-child(odd) th { - background-color: #015b4e; - color: #ffffff; -} -.table tbody tr.success td { - background-color: #B5EEAA; -} -.table tbody tr.error td { - background-color: #EEB8B8; -} -.table tbody tr.info td { - background-color: #AEE2EE; -} -legend { - border-bottom: none; - font-family: 'Crete Round', serif; - font-weight: normal; - color: #333333; -} -label, -.help-block, -input[type="file"] { - color: #333333; -} -input, -textarea, -select { - color: #555555; -} -.uneditable-input { - color: #555555; -} -.form-actions { - border-top: none; -} -.control-group.warning .control-label, -.control-group.error .control-label, -.control-group.success .control-label { - color: #555555; -} -.control-group.error .help-block, -.control-group.error .help-inline { - color: #d14432; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border: 1px solid #d14432; - color: #555555; -} -.control-group.success .help-block, -.control-group.success .help-inline { - color: #015b4e; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border: 1px solid #015b4e; - color: #555555; -} -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #f26522; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border: 1px solid #f26522; - color: #555555; -} -.alert { - text-shadow: none; - border: none; -} -.alert h1, -.alert h2, -.alert h3, -.alert h4, -.alert h5, -.alert h6 { - font-weight: bold; - color: #ffffff; -} -.alert-heading { - font-family: Georgia, "Times New Roman", Times, serif; - color: inherit; -} -.badge, -.label { - background-color: #015b4e; - text-shadow: none; -} -.badge-success, -.label-success { - background-color: #006bbe; -} -.badge-warning, -.label-warning { - background-color: #f3763a; -} -.badge-important, -.label-important { - background-color: #d65747; -} -.badge-info, -.label-info { - background-color: #34a7c8; -} -.badge-inverse, -.label-inverse { - background-color: #555555; -} -.well { - border: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.hero-unit { - border: none; -} -.thumbnail { - border: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.dropdown-menu .nav-header { - color: #ffffff; - text-shadow: none; -} -.dropdown-menu li > a:hover, -.dropdown-menu li > a:focus, -.dropdown-submenu:hover > a { - background-image: none; -} -.progress { - background-color: #d5d5d5; - background-image: none; -} -[class^="icon-"], -[class*=" icon-"] { - vertical-align: baseline; -} -.modal-header { - padding: 12px 15px 6px; - background-color: #015b4e; - color: #ffffff; -} -.modal-header h1, -.modal-header h2, -.modal-header h3, -.modal-header h4, -.modal-header h5, -.modal-header h6 { - color: #ffffff; -} -.modal-body, -.modal-footer { - border: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.modal-body label, -.modal-footer label { - color: #555555; -} -.modal-footer { - background-color: #dddddd; -} -.popover-title { - color: #ffffff; -} -#main { - margin-top: 56px; -} -.navbar-fixed-top .navbar-inner { - padding-left: 20px; - padding-right: 20px; -} -.navbar .dropdown-menu { - padding: 20px; - max-height: 300px; - overflow: auto; - width: 300px; - background-color: #dddddd; -} -.navbar .dropdown-menu a, -.navbar .dropdown-menu a:visited { - color: #333333; -} -.navbar .dropdown-menu a:hover { - color: #333333; - background-color: #cbcbcb; -} -.navbar .dropdown-menu a:active { - color: #333333; - background-color: #cbcbcb; -} -.navbar .dropdown-menu a { - padding-left: 0; - padding-right: 5px; - font-weight: 500; - font-size: 115%; -} -#toc { - position: fixed; - top: 56px; - width: 29%; - max-height: 90%; - overflow: auto; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px #013435 solid; - padding: 5px; -} -#toc .toc-active { - background-color: #002425; - color: #ffffff; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -#toc .toc-active a, -#toc .toc-active a:hover, -#toc .toc-active a:active, -#toc .toc-active a:visited { - background-color: #002425; - color: #ffffff; -} -.toc-shim { - padding-top: 56px; - margin-top: -56px; - display: block; -} -.toc-h1 { - margin-left: 2px; - margin-right: 2px; -} -.toc-h2 { - margin-left: 7px; - margin-right: 7px; -} -.toc-h3 { - margin-left: 14px; - margin-right: 7px; -} -.toc-h4 { - margin-left: 21px; - margin-right: 7px; -} -.copyright { - font-size: 90%; - text-align: center; - color: #dddddd; - width: 100%; - display: block; -} -.jsdoc-message { - font-size: 90%; - text-align: center; - color: #dddddd; - width: 100%; - display: block; -} -.page-title { - font-size: 220%; - color: #dddddd; - font-weight: 700; - padding-top: 10px; - display: block; -} -footer { - border-top: 1px solid #eaeaea; - padding-top: 15px; -} -code { - background-color: none; - border: none; - color: #f26522; -} -.buffered-name { - padding-top: 56px; - margin-top: -56px; -} -.member-collapsed { - background-color: #dddddd; - color: #555555; -} -.member-open { - background-color: inherit; - color: inherit; -} -.member { - -webkit-transition: background-color 0.5s linear; - -moz-transition: background-color 0.5s linear; - -o-transition: background-color 0.5s linear; - transition: background-color 0.5s linear; - -webkit-transition: color 0.5s linear; - -moz-transition: color 0.5s linear; - -o-transition: color 0.5s linear; - transition: color 0.5s linear; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 10px; -} diff --git a/docs/styles/site.superhero.css b/docs/styles/site.superhero.css deleted file mode 100644 index 9757aa2dcb..0000000000 --- a/docs/styles/site.superhero.css +++ /dev/null @@ -1,6074 +0,0 @@ -@import url(http://fonts.googleapis.com/css?family=Oswald|Noticia+Text); -/*! - * Bootstrap v2.3.1 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -.clearfix { - *zoom: 1; -} -.clearfix:before, -.clearfix:after { - display: table; - content: ""; - line-height: 0; -} -.clearfix:after { - clear: both; -} -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.input-block-level { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a:hover, -a:active { - outline: 0; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - /* Responsive images (ensure images don't scale beyond their parents) */ - - max-width: 100%; - /* Part 1: Set a maxium relative to the parent */ - - width: auto\9; - /* IE7-8 need help adjusting responsive images */ - - height: auto; - /* Part 2: Scale the height according to the width, otherwise you get stretching */ - - vertical-align: middle; - border: 0; - -ms-interpolation-mode: bicubic; -} -#map_canvas img, -.google-maps img { - max-width: none; -} -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} -button, -input { - *overflow: visible; - line-height: normal; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -label, -select, -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -input[type="radio"], -input[type="checkbox"] { - cursor: pointer; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -@media print { - * { - text-shadow: none !important; - color: #000 !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} -body { - margin: 0; - font-family: Georgia, Utopia, Palatino, 'Palatino Linotype', serif; - font-size: 15px; - line-height: 20px; - color: #ece9d7; - background-color: #2a333c; -} -a { - color: #e36b23; - text-decoration: none; -} -a:hover, -a:focus { - color: #e36b23; - text-decoration: underline; -} -.img-rounded { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.img-polaroid { - padding: 4px; - background-color: #fff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} -.img-circle { - -webkit-border-radius: 500px; - -moz-border-radius: 500px; - border-radius: 500px; -} -.row { - margin-left: -20px; - *zoom: 1; -} -.row:before, -.row:after { - display: table; - content: ""; - line-height: 0; -} -.row:after { - clear: both; -} -[class*="span"] { - float: left; - min-height: 1px; - margin-left: 20px; -} -.container, -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.span12 { - width: 940px; -} -.span11 { - width: 860px; -} -.span10 { - width: 780px; -} -.span9 { - width: 700px; -} -.span8 { - width: 620px; -} -.span7 { - width: 540px; -} -.span6 { - width: 460px; -} -.span5 { - width: 380px; -} -.span4 { - width: 300px; -} -.span3 { - width: 220px; -} -.span2 { - width: 140px; -} -.span1 { - width: 60px; -} -.offset12 { - margin-left: 980px; -} -.offset11 { - margin-left: 900px; -} -.offset10 { - margin-left: 820px; -} -.offset9 { - margin-left: 740px; -} -.offset8 { - margin-left: 660px; -} -.offset7 { - margin-left: 580px; -} -.offset6 { - margin-left: 500px; -} -.offset5 { - margin-left: 420px; -} -.offset4 { - margin-left: 340px; -} -.offset3 { - margin-left: 260px; -} -.offset2 { - margin-left: 180px; -} -.offset1 { - margin-left: 100px; -} -.row-fluid { - width: 100%; - *zoom: 1; -} -.row-fluid:before, -.row-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.row-fluid:after { - clear: both; -} -.row-fluid [class*="span"] { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2.127659574468085%; - *margin-left: 2.074468085106383%; -} -.row-fluid [class*="span"]:first-child { - margin-left: 0; -} -.row-fluid .controls-row [class*="span"] + [class*="span"] { - margin-left: 2.127659574468085%; -} -.row-fluid .span12 { - width: 100%; - *width: 99.94680851063829%; -} -.row-fluid .span11 { - width: 91.48936170212765%; - *width: 91.43617021276594%; -} -.row-fluid .span10 { - width: 82.97872340425532%; - *width: 82.92553191489361%; -} -.row-fluid .span9 { - width: 74.46808510638297%; - *width: 74.41489361702126%; -} -.row-fluid .span8 { - width: 65.95744680851064%; - *width: 65.90425531914893%; -} -.row-fluid .span7 { - width: 57.44680851063829%; - *width: 57.39361702127659%; -} -.row-fluid .span6 { - width: 48.93617021276595%; - *width: 48.88297872340425%; -} -.row-fluid .span5 { - width: 40.42553191489362%; - *width: 40.37234042553192%; -} -.row-fluid .span4 { - width: 31.914893617021278%; - *width: 31.861702127659576%; -} -.row-fluid .span3 { - width: 23.404255319148934%; - *width: 23.351063829787233%; -} -.row-fluid .span2 { - width: 14.893617021276595%; - *width: 14.840425531914894%; -} -.row-fluid .span1 { - width: 6.382978723404255%; - *width: 6.329787234042553%; -} -.row-fluid .offset12 { - margin-left: 104.25531914893617%; - *margin-left: 104.14893617021275%; -} -.row-fluid .offset12:first-child { - margin-left: 102.12765957446808%; - *margin-left: 102.02127659574467%; -} -.row-fluid .offset11 { - margin-left: 95.74468085106382%; - *margin-left: 95.6382978723404%; -} -.row-fluid .offset11:first-child { - margin-left: 93.61702127659574%; - *margin-left: 93.51063829787232%; -} -.row-fluid .offset10 { - margin-left: 87.23404255319149%; - *margin-left: 87.12765957446807%; -} -.row-fluid .offset10:first-child { - margin-left: 85.1063829787234%; - *margin-left: 84.99999999999999%; -} -.row-fluid .offset9 { - margin-left: 78.72340425531914%; - *margin-left: 78.61702127659572%; -} -.row-fluid .offset9:first-child { - margin-left: 76.59574468085106%; - *margin-left: 76.48936170212764%; -} -.row-fluid .offset8 { - margin-left: 70.2127659574468%; - *margin-left: 70.10638297872339%; -} -.row-fluid .offset8:first-child { - margin-left: 68.08510638297872%; - *margin-left: 67.9787234042553%; -} -.row-fluid .offset7 { - margin-left: 61.70212765957446%; - *margin-left: 61.59574468085106%; -} -.row-fluid .offset7:first-child { - margin-left: 59.574468085106375%; - *margin-left: 59.46808510638297%; -} -.row-fluid .offset6 { - margin-left: 53.191489361702125%; - *margin-left: 53.085106382978715%; -} -.row-fluid .offset6:first-child { - margin-left: 51.063829787234035%; - *margin-left: 50.95744680851063%; -} -.row-fluid .offset5 { - margin-left: 44.68085106382979%; - *margin-left: 44.57446808510638%; -} -.row-fluid .offset5:first-child { - margin-left: 42.5531914893617%; - *margin-left: 42.4468085106383%; -} -.row-fluid .offset4 { - margin-left: 36.170212765957444%; - *margin-left: 36.06382978723405%; -} -.row-fluid .offset4:first-child { - margin-left: 34.04255319148936%; - *margin-left: 33.93617021276596%; -} -.row-fluid .offset3 { - margin-left: 27.659574468085104%; - *margin-left: 27.5531914893617%; -} -.row-fluid .offset3:first-child { - margin-left: 25.53191489361702%; - *margin-left: 25.425531914893618%; -} -.row-fluid .offset2 { - margin-left: 19.148936170212764%; - *margin-left: 19.04255319148936%; -} -.row-fluid .offset2:first-child { - margin-left: 17.02127659574468%; - *margin-left: 16.914893617021278%; -} -.row-fluid .offset1 { - margin-left: 10.638297872340425%; - *margin-left: 10.53191489361702%; -} -.row-fluid .offset1:first-child { - margin-left: 8.51063829787234%; - *margin-left: 8.404255319148938%; -} -[class*="span"].hide, -.row-fluid [class*="span"].hide { - display: none; -} -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { - float: right; -} -.container { - margin-right: auto; - margin-left: auto; - *zoom: 1; -} -.container:before, -.container:after { - display: table; - content: ""; - line-height: 0; -} -.container:after { - clear: both; -} -.container-fluid { - padding-right: 20px; - padding-left: 20px; - *zoom: 1; -} -.container-fluid:before, -.container-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.container-fluid:after { - clear: both; -} -p { - margin: 0 0 10px; -} -.lead { - margin-bottom: 20px; - font-size: 22.5px; - font-weight: 200; - line-height: 30px; -} -small { - font-size: 85%; -} -strong { - font-weight: bold; -} -em { - font-style: italic; -} -cite { - font-style: normal; -} -.muted { - color: #999999; -} -a.muted:hover, -a.muted:focus { - color: #808080; -} -.text-warning { - color: #c09853; -} -a.text-warning:hover, -a.text-warning:focus { - color: #a47e3c; -} -.text-error { - color: #b94a48; -} -a.text-error:hover, -a.text-error:focus { - color: #953b39; -} -.text-info { - color: #3a87ad; -} -a.text-info:hover, -a.text-info:focus { - color: #2d6987; -} -.text-success { - color: #468847; -} -a.text-success:hover, -a.text-success:focus { - color: #356635; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 10px 0; - font-family: 'Oswald', sans-serif; - font-weight: bold; - line-height: 20px; - color: #e36b23; - text-rendering: optimizelegibility; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - line-height: 1; - color: #999999; -} -h1, -h2, -h3 { - line-height: 40px; -} -h1 { - font-size: 41.25px; -} -h2 { - font-size: 33.75px; -} -h3 { - font-size: 26.25px; -} -h4 { - font-size: 18.75px; -} -h5 { - font-size: 15px; -} -h6 { - font-size: 12.75px; -} -h1 small { - font-size: 26.25px; -} -h2 small { - font-size: 18.75px; -} -h3 small { - font-size: 15px; -} -h4 small { - font-size: 15px; -} -.page-header { - padding-bottom: 9px; - margin: 20px 0 30px; - border-bottom: 1px solid #eeeeee; -} -ul, -ol { - padding: 0; - margin: 0 0 10px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -li { - line-height: 20px; -} -ul.unstyled, -ol.unstyled { - margin-left: 0; - list-style: none; -} -ul.inline, -ol.inline { - margin-left: 0; - list-style: none; -} -ul.inline > li, -ol.inline > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding-left: 5px; - padding-right: 5px; -} -dl { - margin-bottom: 20px; -} -dt, -dd { - line-height: 20px; -} -dt { - font-weight: bold; -} -dd { - margin-left: 10px; -} -.dl-horizontal { - *zoom: 1; -} -.dl-horizontal:before, -.dl-horizontal:after { - display: table; - content: ""; - line-height: 0; -} -.dl-horizontal:after { - clear: both; -} -.dl-horizontal dt { - float: left; - width: 160px; - clear: left; - text-align: right; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.dl-horizontal dd { - margin-left: 180px; -} -hr { - margin: 20px 0; - border: 0; - border-top: 1px solid transparent; - border-bottom: 1px solid #ffffff; -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #999999; -} -abbr.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 0 0 0 15px; - margin: 0 0 20px; - border-left: 5px solid #eeeeee; -} -blockquote p { - margin-bottom: 0; - font-size: 18.75px; - font-weight: 300; - line-height: 1.25; -} -blockquote small { - display: block; - line-height: 20px; - color: #999999; -} -blockquote small:before { - content: '\2014 \00A0'; -} -blockquote.pull-right { - float: right; - padding-right: 15px; - padding-left: 0; - border-right: 5px solid #eeeeee; - border-left: 0; -} -blockquote.pull-right p, -blockquote.pull-right small { - text-align: right; -} -blockquote.pull-right small:before { - content: ''; -} -blockquote.pull-right small:after { - content: '\00A0 \2014'; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -address { - display: block; - margin-bottom: 20px; - font-style: normal; - line-height: 20px; -} -code, -pre { - padding: 0 3px 2px; - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 13px; - color: #333333; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - padding: 2px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; - white-space: nowrap; -} -pre { - display: block; - padding: 9.5px; - margin: 0 0 10px; - font-size: 14px; - line-height: 20px; - word-break: break-all; - word-wrap: break-word; - white-space: pre; - white-space: pre-wrap; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -pre.prettyprint { - margin-bottom: 20px; -} -pre code { - padding: 0; - color: inherit; - white-space: pre; - white-space: pre-wrap; - background-color: transparent; - border: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -form { - margin: 0 0 20px; -} -fieldset { - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 20px; - font-size: 22.5px; - line-height: 40px; - color: #333333; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -legend small { - font-size: 15px; - color: #999999; -} -label, -input, -button, -select, -textarea { - font-size: 15px; - font-weight: normal; - line-height: 20px; -} -input, -button, -select, -textarea { - font-family: Georgia, Utopia, Palatino, 'Palatino Linotype', serif; -} -label { - display: block; - margin-bottom: 5px; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 20px; - padding: 4px 6px; - margin-bottom: 10px; - font-size: 15px; - line-height: 20px; - color: #555555; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - vertical-align: middle; -} -input, -textarea, -.uneditable-input { - width: 206px; -} -textarea { - height: auto; -} -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - background-color: #ffffff; - border: 1px solid #cccccc; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; -} -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - *margin-top: 0; - /* IE7 */ - - margin-top: 1px \9; - /* IE8-9 */ - - line-height: normal; -} -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} -select, -input[type="file"] { - height: 30px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 30px; -} -select { - width: 220px; - border: 1px solid #cccccc; - background-color: #ffffff; -} -select[multiple], -select[size] { - height: auto; -} -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.uneditable-input, -.uneditable-textarea { - color: #999999; - background-color: #fcfcfc; - border-color: #cccccc; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -.uneditable-input { - overflow: hidden; - white-space: nowrap; -} -.uneditable-textarea { - width: auto; - height: auto; -} -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #999999; -} -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #999999; -} -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #999999; -} -.radio, -.checkbox { - min-height: 20px; - padding-left: 20px; -} -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -20px; -} -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; -} -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; -} -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; -} -.input-mini { - width: 60px; -} -.input-small { - width: 90px; -} -.input-medium { - width: 150px; -} -.input-large { - width: 210px; -} -.input-xlarge { - width: 270px; -} -.input-xxlarge { - width: 530px; -} -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; -} -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; -} -input, -textarea, -.uneditable-input { - margin-left: 0; -} -.controls-row [class*="span"] + [class*="span"] { - margin-left: 20px; -} -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 926px; -} -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 846px; -} -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 766px; -} -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 686px; -} -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 606px; -} -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 526px; -} -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 446px; -} -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 366px; -} -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 286px; -} -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 206px; -} -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 126px; -} -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 46px; -} -.controls-row { - *zoom: 1; -} -.controls-row:before, -.controls-row:after { - display: table; - content: ""; - line-height: 0; -} -.controls-row:after { - clear: both; -} -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { - float: left; -} -.controls-row .checkbox[class*="span"], -.controls-row .radio[class*="span"] { - padding-top: 5px; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #eeeeee; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #c09853; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #c09853; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #c09853; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #a47e3c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #dbc59e; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #c09853; - background-color: #fcf8e3; - border-color: #c09853; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #b94a48; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #b94a48; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #b94a48; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #953b39; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #d59392; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #b94a48; - background-color: #f2dede; - border-color: #b94a48; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #468847; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #468847; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #468847; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #356635; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7aba7b; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #468847; - background-color: #dff0d8; - border-color: #468847; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #3a87ad; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #3a87ad; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #3a87ad; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #2d6987; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7ab5d3; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #3a87ad; - background-color: #d9edf7; - border-color: #3a87ad; -} -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { - color: #b94a48; - border-color: #ee5f5b; -} -input:focus:invalid:focus, -textarea:focus:invalid:focus, -select:focus:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -.form-actions { - padding: 19px 20px 20px; - margin-top: 20px; - margin-bottom: 20px; - background-color: transparent; - border-top: 1px solid #e5e5e5; - *zoom: 1; -} -.form-actions:before, -.form-actions:after { - display: table; - content: ""; - line-height: 0; -} -.form-actions:after { - clear: both; -} -.help-block, -.help-inline { - color: #ffffff; -} -.help-block { - display: block; - margin-bottom: 10px; -} -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - vertical-align: middle; - padding-left: 5px; -} -.input-append, -.input-prepend { - display: inline-block; - margin-bottom: 10px; - vertical-align: middle; - font-size: 0; - white-space: nowrap; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input, -.input-append .dropdown-menu, -.input-prepend .dropdown-menu, -.input-append .popover, -.input-prepend .popover { - font-size: 15px; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input { - position: relative; - margin-bottom: 0; - *margin-left: 0; - vertical-align: top; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append input:focus, -.input-prepend input:focus, -.input-append select:focus, -.input-prepend select:focus, -.input-append .uneditable-input:focus, -.input-prepend .uneditable-input:focus { - z-index: 2; -} -.input-append .add-on, -.input-prepend .add-on { - display: inline-block; - width: auto; - height: 20px; - min-width: 16px; - padding: 4px 5px; - font-size: 15px; - font-weight: normal; - line-height: 20px; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - background-color: #eeeeee; - border: 1px solid #ccc; -} -.input-append .add-on, -.input-prepend .add-on, -.input-append .btn, -.input-prepend .btn, -.input-append .btn-group > .dropdown-toggle, -.input-prepend .btn-group > .dropdown-toggle { - vertical-align: top; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-append .active, -.input-prepend .active { - background-color: #abe081; - border-color: #5da028; -} -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; -} -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input + .btn-group .btn:last-child, -.input-append select + .btn-group .btn:last-child, -.input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append .add-on, -.input-append .btn, -.input-append .btn-group { - margin-left: -1px; -} -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-prepend.input-append input + .btn-group .btn, -.input-prepend.input-append select + .btn-group .btn, -.input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .btn-group:first-child { - margin-left: 0; -} -input.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - - margin-bottom: 0; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -/* Allow for input prepend/append in search forms */ -.form-search .input-append .search-query, -.form-search .input-prepend .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.form-search .input-append .search-query { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search .input-append .btn { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .search-query { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .btn { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input, -.form-search .input-prepend, -.form-inline .input-prepend, -.form-horizontal .input-prepend, -.form-search .input-append, -.form-inline .input-append, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; -} -.form-search label, -.form-inline label, -.form-search .btn-group, -.form-inline .btn-group { - display: inline-block; -} -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; -} -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; -} -.control-group { - margin-bottom: 10px; -} -legend + .control-group { - margin-top: 20px; - -webkit-margin-top-collapse: separate; -} -.form-horizontal .control-group { - margin-bottom: 20px; - *zoom: 1; -} -.form-horizontal .control-group:before, -.form-horizontal .control-group:after { - display: table; - content: ""; - line-height: 0; -} -.form-horizontal .control-group:after { - clear: both; -} -.form-horizontal .control-label { - float: left; - width: 160px; - padding-top: 5px; - text-align: right; -} -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 180px; - *margin-left: 0; -} -.form-horizontal .controls:first-child { - *padding-left: 180px; -} -.form-horizontal .help-block { - margin-bottom: 0; -} -.form-horizontal input + .help-block, -.form-horizontal select + .help-block, -.form-horizontal textarea + .help-block, -.form-horizontal .uneditable-input + .help-block, -.form-horizontal .input-prepend + .help-block, -.form-horizontal .input-append + .help-block { - margin-top: 10px; -} -.form-horizontal .form-actions { - padding-left: 180px; -} -table { - max-width: 100%; - background-color: #3f4956; - border-collapse: collapse; - border-spacing: 0; -} -.table { - width: 100%; - margin-bottom: 20px; -} -.table th, -.table td { - padding: 8px; - line-height: 20px; - text-align: left; - vertical-align: top; - border-top: 1px solid transparent; -} -.table th { - font-weight: bold; -} -.table thead th { - vertical-align: bottom; -} -.table caption + thead tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child th, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child th, -.table thead:first-child tr:first-child td { - border-top: 0; -} -.table tbody + tbody { - border-top: 2px solid transparent; -} -.table .table { - background-color: #2a333c; -} -.table-condensed th, -.table-condensed td { - padding: 4px 5px; -} -.table-bordered { - border: 1px solid transparent; - border-collapse: separate; - *border-collapse: collapse; - border-left: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.table-bordered th, -.table-bordered td { - border-left: 1px solid transparent; -} -.table-bordered caption + thead tr:first-child th, -.table-bordered caption + tbody tr:first-child th, -.table-bordered caption + tbody tr:first-child td, -.table-bordered colgroup + thead tr:first-child th, -.table-bordered colgroup + tbody tr:first-child th, -.table-bordered colgroup + tbody tr:first-child td, -.table-bordered thead:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} -.table-bordered thead:first-child tr:first-child > th:first-child, -.table-bordered tbody:first-child tr:first-child > td:first-child, -.table-bordered tbody:first-child tr:first-child > th:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered thead:first-child tr:first-child > th:last-child, -.table-bordered tbody:first-child tr:first-child > td:last-child, -.table-bordered tbody:first-child tr:first-child > th:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:first-child, -.table-bordered tbody:last-child tr:last-child > td:first-child, -.table-bordered tbody:last-child tr:last-child > th:first-child, -.table-bordered tfoot:last-child tr:last-child > td:first-child, -.table-bordered tfoot:last-child tr:last-child > th:first-child { - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:last-child, -.table-bordered tbody:last-child tr:last-child > td:last-child, -.table-bordered tbody:last-child tr:last-child > th:last-child, -.table-bordered tfoot:last-child tr:last-child > td:last-child, -.table-bordered tfoot:last-child tr:last-child > th:last-child { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered caption + thead tr:first-child th:first-child, -.table-bordered caption + tbody tr:first-child td:first-child, -.table-bordered colgroup + thead tr:first-child th:first-child, -.table-bordered colgroup + tbody tr:first-child td:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered caption + thead tr:first-child th:last-child, -.table-bordered caption + tbody tr:first-child td:last-child, -.table-bordered colgroup + thead tr:first-child th:last-child, -.table-bordered colgroup + tbody tr:first-child td:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-striped tbody > tr:nth-child(odd) > td, -.table-striped tbody > tr:nth-child(odd) > th { - background-color: #45515f; -} -.table-hover tbody tr:hover > td, -.table-hover tbody tr:hover > th { - background-color: #505e6e; -} -table td[class*="span"], -table th[class*="span"], -.row-fluid table td[class*="span"], -.row-fluid table th[class*="span"] { - display: table-cell; - float: none; - margin-left: 0; -} -.table td.span1, -.table th.span1 { - float: none; - width: 44px; - margin-left: 0; -} -.table td.span2, -.table th.span2 { - float: none; - width: 124px; - margin-left: 0; -} -.table td.span3, -.table th.span3 { - float: none; - width: 204px; - margin-left: 0; -} -.table td.span4, -.table th.span4 { - float: none; - width: 284px; - margin-left: 0; -} -.table td.span5, -.table th.span5 { - float: none; - width: 364px; - margin-left: 0; -} -.table td.span6, -.table th.span6 { - float: none; - width: 444px; - margin-left: 0; -} -.table td.span7, -.table th.span7 { - float: none; - width: 524px; - margin-left: 0; -} -.table td.span8, -.table th.span8 { - float: none; - width: 604px; - margin-left: 0; -} -.table td.span9, -.table th.span9 { - float: none; - width: 684px; - margin-left: 0; -} -.table td.span10, -.table th.span10 { - float: none; - width: 764px; - margin-left: 0; -} -.table td.span11, -.table th.span11 { - float: none; - width: 844px; - margin-left: 0; -} -.table td.span12, -.table th.span12 { - float: none; - width: 924px; - margin-left: 0; -} -.table tbody tr.success > td { - background-color: #dff0d8; -} -.table tbody tr.error > td { - background-color: #f2dede; -} -.table tbody tr.warning > td { - background-color: #fcf8e3; -} -.table tbody tr.info > td { - background-color: #d9edf7; -} -.table-hover tbody tr.success:hover > td { - background-color: #d0e9c6; -} -.table-hover tbody tr.error:hover > td { - background-color: #ebcccc; -} -.table-hover tbody tr.warning:hover > td { - background-color: #faf2cc; -} -.table-hover tbody tr.info:hover > td { - background-color: #c4e3f3; -} -[class^="icon-"], -[class*=" icon-"] { - display: inline-block; - width: 14px; - height: 14px; - *margin-right: .3em; - line-height: 14px; - vertical-align: text-top; - background-image: url("../img/glyphicons-halflings.png"); - background-position: 14px 14px; - background-repeat: no-repeat; - margin-top: 1px; -} -/* White icons with optional class, or on hover/focus/active states of certain elements */ -.icon-white, -.nav-pills > .active > a > [class^="icon-"], -.nav-pills > .active > a > [class*=" icon-"], -.nav-list > .active > a > [class^="icon-"], -.nav-list > .active > a > [class*=" icon-"], -.navbar-inverse .nav > .active > a > [class^="icon-"], -.navbar-inverse .nav > .active > a > [class*=" icon-"], -.dropdown-menu > li > a:hover > [class^="icon-"], -.dropdown-menu > li > a:focus > [class^="icon-"], -.dropdown-menu > li > a:hover > [class*=" icon-"], -.dropdown-menu > li > a:focus > [class*=" icon-"], -.dropdown-menu > .active > a > [class^="icon-"], -.dropdown-menu > .active > a > [class*=" icon-"], -.dropdown-submenu:hover > a > [class^="icon-"], -.dropdown-submenu:focus > a > [class^="icon-"], -.dropdown-submenu:hover > a > [class*=" icon-"], -.dropdown-submenu:focus > a > [class*=" icon-"] { - background-image: url("../img/glyphicons-halflings-white.png"); -} -.icon-glass { - background-position: 0 0; -} -.icon-music { - background-position: -24px 0; -} -.icon-search { - background-position: -48px 0; -} -.icon-envelope { - background-position: -72px 0; -} -.icon-heart { - background-position: -96px 0; -} -.icon-star { - background-position: -120px 0; -} -.icon-star-empty { - background-position: -144px 0; -} -.icon-user { - background-position: -168px 0; -} -.icon-film { - background-position: -192px 0; -} -.icon-th-large { - background-position: -216px 0; -} -.icon-th { - background-position: -240px 0; -} -.icon-th-list { - background-position: -264px 0; -} -.icon-ok { - background-position: -288px 0; -} -.icon-remove { - background-position: -312px 0; -} -.icon-zoom-in { - background-position: -336px 0; -} -.icon-zoom-out { - background-position: -360px 0; -} -.icon-off { - background-position: -384px 0; -} -.icon-signal { - background-position: -408px 0; -} -.icon-cog { - background-position: -432px 0; -} -.icon-trash { - background-position: -456px 0; -} -.icon-home { - background-position: 0 -24px; -} -.icon-file { - background-position: -24px -24px; -} -.icon-time { - background-position: -48px -24px; -} -.icon-road { - background-position: -72px -24px; -} -.icon-download-alt { - background-position: -96px -24px; -} -.icon-download { - background-position: -120px -24px; -} -.icon-upload { - background-position: -144px -24px; -} -.icon-inbox { - background-position: -168px -24px; -} -.icon-play-circle { - background-position: -192px -24px; -} -.icon-repeat { - background-position: -216px -24px; -} -.icon-refresh { - background-position: -240px -24px; -} -.icon-list-alt { - background-position: -264px -24px; -} -.icon-lock { - background-position: -287px -24px; -} -.icon-flag { - background-position: -312px -24px; -} -.icon-headphones { - background-position: -336px -24px; -} -.icon-volume-off { - background-position: -360px -24px; -} -.icon-volume-down { - background-position: -384px -24px; -} -.icon-volume-up { - background-position: -408px -24px; -} -.icon-qrcode { - background-position: -432px -24px; -} -.icon-barcode { - background-position: -456px -24px; -} -.icon-tag { - background-position: 0 -48px; -} -.icon-tags { - background-position: -25px -48px; -} -.icon-book { - background-position: -48px -48px; -} -.icon-bookmark { - background-position: -72px -48px; -} -.icon-print { - background-position: -96px -48px; -} -.icon-camera { - background-position: -120px -48px; -} -.icon-font { - background-position: -144px -48px; -} -.icon-bold { - background-position: -167px -48px; -} -.icon-italic { - background-position: -192px -48px; -} -.icon-text-height { - background-position: -216px -48px; -} -.icon-text-width { - background-position: -240px -48px; -} -.icon-align-left { - background-position: -264px -48px; -} -.icon-align-center { - background-position: -288px -48px; -} -.icon-align-right { - background-position: -312px -48px; -} -.icon-align-justify { - background-position: -336px -48px; -} -.icon-list { - background-position: -360px -48px; -} -.icon-indent-left { - background-position: -384px -48px; -} -.icon-indent-right { - background-position: -408px -48px; -} -.icon-facetime-video { - background-position: -432px -48px; -} -.icon-picture { - background-position: -456px -48px; -} -.icon-pencil { - background-position: 0 -72px; -} -.icon-map-marker { - background-position: -24px -72px; -} -.icon-adjust { - background-position: -48px -72px; -} -.icon-tint { - background-position: -72px -72px; -} -.icon-edit { - background-position: -96px -72px; -} -.icon-share { - background-position: -120px -72px; -} -.icon-check { - background-position: -144px -72px; -} -.icon-move { - background-position: -168px -72px; -} -.icon-step-backward { - background-position: -192px -72px; -} -.icon-fast-backward { - background-position: -216px -72px; -} -.icon-backward { - background-position: -240px -72px; -} -.icon-play { - background-position: -264px -72px; -} -.icon-pause { - background-position: -288px -72px; -} -.icon-stop { - background-position: -312px -72px; -} -.icon-forward { - background-position: -336px -72px; -} -.icon-fast-forward { - background-position: -360px -72px; -} -.icon-step-forward { - background-position: -384px -72px; -} -.icon-eject { - background-position: -408px -72px; -} -.icon-chevron-left { - background-position: -432px -72px; -} -.icon-chevron-right { - background-position: -456px -72px; -} -.icon-plus-sign { - background-position: 0 -96px; -} -.icon-minus-sign { - background-position: -24px -96px; -} -.icon-remove-sign { - background-position: -48px -96px; -} -.icon-ok-sign { - background-position: -72px -96px; -} -.icon-question-sign { - background-position: -96px -96px; -} -.icon-info-sign { - background-position: -120px -96px; -} -.icon-screenshot { - background-position: -144px -96px; -} -.icon-remove-circle { - background-position: -168px -96px; -} -.icon-ok-circle { - background-position: -192px -96px; -} -.icon-ban-circle { - background-position: -216px -96px; -} -.icon-arrow-left { - background-position: -240px -96px; -} -.icon-arrow-right { - background-position: -264px -96px; -} -.icon-arrow-up { - background-position: -289px -96px; -} -.icon-arrow-down { - background-position: -312px -96px; -} -.icon-share-alt { - background-position: -336px -96px; -} -.icon-resize-full { - background-position: -360px -96px; -} -.icon-resize-small { - background-position: -384px -96px; -} -.icon-plus { - background-position: -408px -96px; -} -.icon-minus { - background-position: -433px -96px; -} -.icon-asterisk { - background-position: -456px -96px; -} -.icon-exclamation-sign { - background-position: 0 -120px; -} -.icon-gift { - background-position: -24px -120px; -} -.icon-leaf { - background-position: -48px -120px; -} -.icon-fire { - background-position: -72px -120px; -} -.icon-eye-open { - background-position: -96px -120px; -} -.icon-eye-close { - background-position: -120px -120px; -} -.icon-warning-sign { - background-position: -144px -120px; -} -.icon-plane { - background-position: -168px -120px; -} -.icon-calendar { - background-position: -192px -120px; -} -.icon-random { - background-position: -216px -120px; - width: 16px; -} -.icon-comment { - background-position: -240px -120px; -} -.icon-magnet { - background-position: -264px -120px; -} -.icon-chevron-up { - background-position: -288px -120px; -} -.icon-chevron-down { - background-position: -313px -119px; -} -.icon-retweet { - background-position: -336px -120px; -} -.icon-shopping-cart { - background-position: -360px -120px; -} -.icon-folder-close { - background-position: -384px -120px; - width: 16px; -} -.icon-folder-open { - background-position: -408px -120px; - width: 16px; -} -.icon-resize-vertical { - background-position: -432px -119px; -} -.icon-resize-horizontal { - background-position: -456px -118px; -} -.icon-hdd { - background-position: 0 -144px; -} -.icon-bullhorn { - background-position: -24px -144px; -} -.icon-bell { - background-position: -48px -144px; -} -.icon-certificate { - background-position: -72px -144px; -} -.icon-thumbs-up { - background-position: -96px -144px; -} -.icon-thumbs-down { - background-position: -120px -144px; -} -.icon-hand-right { - background-position: -144px -144px; -} -.icon-hand-left { - background-position: -168px -144px; -} -.icon-hand-up { - background-position: -192px -144px; -} -.icon-hand-down { - background-position: -216px -144px; -} -.icon-circle-arrow-right { - background-position: -240px -144px; -} -.icon-circle-arrow-left { - background-position: -264px -144px; -} -.icon-circle-arrow-up { - background-position: -288px -144px; -} -.icon-circle-arrow-down { - background-position: -312px -144px; -} -.icon-globe { - background-position: -336px -144px; -} -.icon-wrench { - background-position: -360px -144px; -} -.icon-tasks { - background-position: -384px -144px; -} -.icon-filter { - background-position: -408px -144px; -} -.icon-briefcase { - background-position: -432px -144px; -} -.icon-fullscreen { - background-position: -456px -144px; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle { - *margin-bottom: -3px; -} -.dropdown-toggle:active, -.open .dropdown-toggle { - outline: 0; -} -.caret { - display: inline-block; - width: 0; - height: 0; - vertical-align: top; - border-top: 4px solid #000000; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - content: ""; -} -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - background-color: #5a6a7d; - border: 1px solid #ccc; - border: 1px solid transparent; - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: transparent; - border-bottom: 1px solid #45515f; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 20px; - color: #ece9d7; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, -.dropdown-submenu:hover > a, -.dropdown-submenu:focus > a { - text-decoration: none; - color: #ffffff; - background-color: #dc6620; - background-image: -moz-linear-gradient(top, #e36b23, #d25f1b); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e36b23), to(#d25f1b)); - background-image: -webkit-linear-gradient(top, #e36b23, #d25f1b); - background-image: -o-linear-gradient(top, #e36b23, #d25f1b); - background-image: linear-gradient(to bottom, #e36b23, #d25f1b); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe36b23', endColorstr='#ffd25f1b', GradientType=0); -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #ffffff; - text-decoration: none; - outline: 0; - background-color: #dc6620; - background-image: -moz-linear-gradient(top, #e36b23, #d25f1b); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e36b23), to(#d25f1b)); - background-image: -webkit-linear-gradient(top, #e36b23, #d25f1b); - background-image: -o-linear-gradient(top, #e36b23, #d25f1b); - background-image: linear-gradient(to bottom, #e36b23, #d25f1b); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe36b23', endColorstr='#ffd25f1b', GradientType=0); -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #999999; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: default; -} -.open { - *z-index: 1000; -} -.open > .dropdown-menu { - display: block; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: ""; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -.dropdown-submenu { - position: relative; -} -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; - -webkit-border-radius: 5px 5px 5px 0; - -moz-border-radius: 5px 5px 5px 0; - border-radius: 5px 5px 5px 0; -} -.dropdown-submenu > a:after { - display: block; - content: " "; - float: right; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 5px 0 5px 5px; - border-left-color: #303841; - margin-top: 5px; - margin-right: -10px; -} -.dropdown-submenu:hover > a:after { - border-left-color: #ffffff; -} -.dropdown-submenu.pull-left { - float: none; -} -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.dropdown .dropdown-menu .nav-header { - padding-left: 20px; - padding-right: 20px; -} -.typeahead { - z-index: 1051; - margin-top: 2px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #45515f; - border: 1px solid #363f4a; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} -.well-large { - padding: 24px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.well-small { - padding: 9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; -} -.collapse.in { - height: auto; -} -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 20px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover, -.close:focus { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} -.btn { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding: 4px 12px; - margin-bottom: 0; - font-size: 15px; - line-height: 20px; - text-align: center; - vertical-align: middle; - cursor: pointer; - color: #333333; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #f5f5f5; - background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); - background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); - background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); - border-color: #e6e6e6 #e6e6e6 #bfbfbf; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e6e6e6; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - border: 1px solid #cccccc; - *border: 0; - border-bottom-color: #b3b3b3; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - *margin-left: .3em; - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #333333; - background-color: #e6e6e6; - *background-color: #d9d9d9; -} -.btn:active, -.btn.active { - background-color: #cccccc \9; -} -.btn:first-child { - *margin-left: 0; -} -.btn:hover, -.btn:focus { - color: #333333; - text-decoration: none; - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -.btn:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn.active, -.btn:active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn.disabled, -.btn[disabled] { - cursor: default; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-large { - padding: 11px 19px; - font-size: 18.75px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.btn-large [class^="icon-"], -.btn-large [class*=" icon-"] { - margin-top: 4px; -} -.btn-small { - padding: 2px 10px; - font-size: 12.75px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-small [class^="icon-"], -.btn-small [class*=" icon-"] { - margin-top: 0; -} -.btn-mini [class^="icon-"], -.btn-mini [class*=" icon-"] { - margin-top: -1px; -} -.btn-mini { - padding: 0px 6px; - font-size: 11.25px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; - padding-left: 0; - padding-right: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active, -.btn-inverse.active { - color: rgba(255, 255, 255, 0.75); -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #e37e23; - background-image: -moz-linear-gradient(top, #e36b23, #e39b23); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#e36b23), to(#e39b23)); - background-image: -webkit-linear-gradient(top, #e36b23, #e39b23); - background-image: -o-linear-gradient(top, #e36b23, #e39b23); - background-image: linear-gradient(to bottom, #e36b23, #e39b23); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffe36b23', endColorstr='#ffe39b23', GradientType=0); - border-color: #e39b23 #e39b23 #a56f15; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e39b23; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #e39b23; - *background-color: #d28d1b; -} -.btn-primary:active, -.btn-primary.active { - background-color: #bb7e18 \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #e8864c; - background-image: -moz-linear-gradient(top, #ec9967, #e36b23); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ec9967), to(#e36b23)); - background-image: -webkit-linear-gradient(top, #ec9967, #e36b23); - background-image: -o-linear-gradient(top, #ec9967, #e36b23); - background-image: linear-gradient(to bottom, #ec9967, #e36b23); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec9967', endColorstr='#ffe36b23', GradientType=0); - border-color: #e36b23 #e36b23 #a54b15; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e36b23; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #e36b23; - *background-color: #d25f1b; -} -.btn-warning:active, -.btn-warning.active { - background-color: #bb5518 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #da4f49; - background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f); - background-image: -o-linear-gradient(top, #ee5f5b, #bd362f); - background-image: linear-gradient(to bottom, #ee5f5b, #bd362f); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0); - border-color: #bd362f #bd362f #802420; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #bd362f; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #bd362f; - *background-color: #a9302a; -} -.btn-danger:active, -.btn-danger.active { - background-color: #942a25 \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #5bb75b; - background-image: -moz-linear-gradient(top, #62c462, #51a351); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351)); - background-image: -webkit-linear-gradient(top, #62c462, #51a351); - background-image: -o-linear-gradient(top, #62c462, #51a351); - background-image: linear-gradient(to bottom, #62c462, #51a351); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0); - border-color: #51a351 #51a351 #387038; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #51a351; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #51a351; - *background-color: #499249; -} -.btn-success:active, -.btn-success.active { - background-color: #408140 \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #49afcd; - background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4)); - background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4); - background-image: -o-linear-gradient(top, #5bc0de, #2f96b4); - background-image: linear-gradient(to bottom, #5bc0de, #2f96b4); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0); - border-color: #2f96b4 #2f96b4 #1f6377; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #2f96b4; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #2f96b4; - *background-color: #2a85a0; -} -.btn-info:active, -.btn-info.active { - background-color: #24748c \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #414141; - background-image: -moz-linear-gradient(top, #555555, #222222); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222)); - background-image: -webkit-linear-gradient(top, #555555, #222222); - background-image: -o-linear-gradient(top, #555555, #222222); - background-image: linear-gradient(to bottom, #555555, #222222); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff555555', endColorstr='#ff222222', GradientType=0); - border-color: #222222 #222222 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #222222; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #222222; - *background-color: #151515; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #080808 \9; -} -button.btn, -input[type="submit"].btn { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn::-moz-focus-inner, -input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} -button.btn.btn-large, -input[type="submit"].btn.btn-large { - *padding-top: 7px; - *padding-bottom: 7px; -} -button.btn.btn-small, -input[type="submit"].btn.btn-small { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn.btn-mini, -input[type="submit"].btn.btn-mini { - *padding-top: 1px; - *padding-bottom: 1px; -} -.btn-link, -.btn-link:active, -.btn-link[disabled] { - background-color: transparent; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-link { - border-color: transparent; - cursor: pointer; - color: #e36b23; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-link:hover, -.btn-link:focus { - color: #e36b23; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -.btn-link[disabled]:focus { - color: #333333; - text-decoration: none; -} -.btn-group { - position: relative; - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - font-size: 0; - vertical-align: middle; - white-space: nowrap; - *margin-left: .3em; -} -.btn-group:first-child { - *margin-left: 0; -} -.btn-group + .btn-group { - margin-left: 5px; -} -.btn-toolbar { - font-size: 0; - margin-top: 10px; - margin-bottom: 10px; -} -.btn-toolbar > .btn + .btn, -.btn-toolbar > .btn-group + .btn, -.btn-toolbar > .btn + .btn-group { - margin-left: 5px; -} -.btn-group > .btn { - position: relative; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group > .btn + .btn { - margin-left: -1px; -} -.btn-group > .btn, -.btn-group > .dropdown-menu, -.btn-group > .popover { - font-size: 15px; -} -.btn-group > .btn-mini { - font-size: 11.25px; -} -.btn-group > .btn-small { - font-size: 12.75px; -} -.btn-group > .btn-large { - font-size: 18.75px; -} -.btn-group > .btn:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.btn-group > .btn.large:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.btn-group > .btn.large:last-child, -.btn-group > .large.dropdown-toggle { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - *padding-top: 5px; - *padding-bottom: 5px; -} -.btn-group > .btn-mini + .dropdown-toggle { - padding-left: 5px; - padding-right: 5px; - *padding-top: 2px; - *padding-bottom: 2px; -} -.btn-group > .btn-small + .dropdown-toggle { - *padding-top: 5px; - *padding-bottom: 4px; -} -.btn-group > .btn-large + .dropdown-toggle { - padding-left: 12px; - padding-right: 12px; - *padding-top: 7px; - *padding-bottom: 7px; -} -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn-group.open .btn.dropdown-toggle { - background-color: #e6e6e6; -} -.btn-group.open .btn-primary.dropdown-toggle { - background-color: #e39b23; -} -.btn-group.open .btn-warning.dropdown-toggle { - background-color: #e36b23; -} -.btn-group.open .btn-danger.dropdown-toggle { - background-color: #bd362f; -} -.btn-group.open .btn-success.dropdown-toggle { - background-color: #51a351; -} -.btn-group.open .btn-info.dropdown-toggle { - background-color: #2f96b4; -} -.btn-group.open .btn-inverse.dropdown-toggle { - background-color: #222222; -} -.btn .caret { - margin-top: 8px; - margin-left: 0; -} -.btn-large .caret { - margin-top: 6px; -} -.btn-large .caret { - border-left-width: 5px; - border-right-width: 5px; - border-top-width: 5px; -} -.btn-mini .caret, -.btn-small .caret { - margin-top: 8px; -} -.dropup .btn-large .caret { - border-bottom-width: 5px; -} -.btn-primary .caret, -.btn-warning .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret, -.btn-inverse .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.btn-group-vertical { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} -.btn-group-vertical > .btn { - display: block; - float: none; - max-width: 100%; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group-vertical > .btn + .btn { - margin-left: 0; - margin-top: -1px; -} -.btn-group-vertical > .btn:first-child { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.btn-group-vertical > .btn:last-child { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.btn-group-vertical > .btn-large:first-child { - -webkit-border-radius: 6px 6px 0 0; - -moz-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; -} -.btn-group-vertical > .btn-large:last-child { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 20px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #fcf8e3; - border: 1px solid #fbeed5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.alert, -.alert h4 { - color: #c09853; -} -.alert h4 { - margin: 0; -} -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 20px; -} -.alert-success { - background-color: #dff0d8; - border-color: #d6e9c6; - color: #468847; -} -.alert-success h4 { - color: #468847; -} -.alert-danger, -.alert-error { - background-color: #f2dede; - border-color: #eed3d7; - color: #b94a48; -} -.alert-danger h4, -.alert-error h4 { - color: #b94a48; -} -.alert-info { - background-color: #d9edf7; - border-color: #bce8f1; - color: #3a87ad; -} -.alert-info h4 { - color: #3a87ad; -} -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; -} -.alert-block p + p { - margin-top: 5px; -} -.nav { - margin-left: 0; - margin-bottom: 20px; - list-style: none; -} -.nav > li > a { - display: block; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #eeeeee; -} -.nav > li > a > img { - max-width: none; -} -.nav > .pull-right { - float: right; -} -.nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 20px; - color: #999999; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} -.nav li + .nav-header { - margin-top: 9px; -} -.nav-list { - padding-left: 15px; - padding-right: 15px; - margin-bottom: 0; -} -.nav-list > li > a, -.nav-list .nav-header { - margin-left: -15px; - margin-right: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.nav-list > li > a { - padding: 3px 15px; -} -.nav-list > .active > a, -.nav-list > .active > a:hover, -.nav-list > .active > a:focus { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #e36b23; -} -.nav-list [class^="icon-"], -.nav-list [class*=" icon-"] { - margin-right: 2px; -} -.nav-list .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.nav-tabs, -.nav-pills { - *zoom: 1; -} -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; - line-height: 0; -} -.nav-tabs:after, -.nav-pills:after { - clear: both; -} -.nav-tabs > li, -.nav-pills > li { - float: left; -} -.nav-tabs > li > a, -.nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - margin-bottom: -1px; -} -.nav-tabs > li > a { - padding-top: 8px; - padding-bottom: 8px; - line-height: 20px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover, -.nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #dddddd; -} -.nav-tabs > .active > a, -.nav-tabs > .active > a:hover, -.nav-tabs > .active > a:focus { - color: #555555; - background-color: #2a333c; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.nav-pills > .active > a, -.nav-pills > .active > a:hover, -.nav-pills > .active > a:focus { - color: #ffffff; - background-color: #e36b23; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li > a { - margin-right: 0; -} -.nav-tabs.nav-stacked { - border-bottom: 0; -} -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.nav-tabs.nav-stacked > li > a:hover, -.nav-tabs.nav-stacked > li > a:focus { - border-color: #ddd; - z-index: 2; -} -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.nav-pills .dropdown-menu { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.nav .dropdown-toggle .caret { - border-top-color: #e36b23; - border-bottom-color: #e36b23; - margin-top: 6px; -} -.nav .dropdown-toggle:hover .caret, -.nav .dropdown-toggle:focus .caret { - border-top-color: #e36b23; - border-bottom-color: #e36b23; -} -/* move down carets for tabs */ -.nav-tabs .dropdown-toggle .caret { - margin-top: 8px; -} -.nav .active .dropdown-toggle .caret { - border-top-color: #fff; - border-bottom-color: #fff; -} -.nav-tabs .active .dropdown-toggle .caret { - border-top-color: #555555; - border-bottom-color: #555555; -} -.nav > .dropdown.active > a:hover, -.nav > .dropdown.active > a:focus { - cursor: pointer; -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover, -.nav > li.dropdown.open.active > a:focus { - color: #ffffff; - background-color: #999999; - border-color: #999999; -} -.nav li.dropdown.open .caret, -.nav li.dropdown.open.active .caret, -.nav li.dropdown.open a:hover .caret, -.nav li.dropdown.open a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} -.tabs-stacked .open > a:hover, -.tabs-stacked .open > a:focus { - border-color: #999999; -} -.tabbable { - *zoom: 1; -} -.tabbable:before, -.tabbable:after { - display: table; - content: ""; - line-height: 0; -} -.tabbable:after { - clear: both; -} -.tab-content { - overflow: auto; -} -.tabs-below > .nav-tabs, -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} -.tab-content > .active, -.pill-content > .active { - display: block; -} -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; -} -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.tabs-below > .nav-tabs > li > a:hover, -.tabs-below > .nav-tabs > li > a:focus { - border-bottom-color: transparent; - border-top-color: #ddd; -} -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover, -.tabs-below > .nav-tabs > .active > a:focus { - border-color: transparent #ddd #ddd #ddd; -} -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.tabs-left > .nav-tabs > li > a:hover, -.tabs-left > .nav-tabs > li > a:focus { - border-color: #eeeeee #dddddd #eeeeee #eeeeee; -} -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover, -.tabs-left > .nav-tabs .active > a:focus { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.tabs-right > .nav-tabs > li > a:hover, -.tabs-right > .nav-tabs > li > a:focus { - border-color: #eeeeee #eeeeee #eeeeee #dddddd; -} -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover, -.tabs-right > .nav-tabs .active > a:focus { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} -.nav > .disabled > a { - color: #999999; -} -.nav > .disabled > a:hover, -.nav > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - cursor: default; -} -.navbar { - overflow: visible; - margin-bottom: 20px; - *position: relative; - *z-index: 2; -} -.navbar-inner { - min-height: 70px; - padding-left: 20px; - padding-right: 20px; - background-color: #2a333c; - background-image: -moz-linear-gradient(top, #2a333c, #2a333c); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#2a333c), to(#2a333c)); - background-image: -webkit-linear-gradient(top, #2a333c, #2a333c); - background-image: -o-linear-gradient(top, #2a333c, #2a333c); - background-image: linear-gradient(to bottom, #2a333c, #2a333c); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff2a333c', endColorstr='#ff2a333c', GradientType=0); - border: 1px solid #20262d; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - *zoom: 1; -} -.navbar-inner:before, -.navbar-inner:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-inner:after { - clear: both; -} -.navbar .container { - width: auto; -} -.nav-collapse.collapse { - height: auto; - overflow: visible; -} -.navbar .brand { - float: left; - display: block; - padding: 25px 20px 25px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - color: #e36b23; - text-shadow: 0 1px 0 #2a333c; -} -.navbar .brand:hover, -.navbar .brand:focus { - text-decoration: none; -} -.navbar-text { - margin-bottom: 0; - line-height: 70px; - color: #999999; -} -.navbar-link { - color: #e36b23; -} -.navbar-link:hover, -.navbar-link:focus { - color: #e36b23; -} -.navbar .divider-vertical { - height: 70px; - margin: 0 9px; - border-left: 1px solid #2a333c; - border-right: 1px solid #2a333c; -} -.navbar .btn, -.navbar .btn-group { - margin-top: 20px; -} -.navbar .btn-group .btn, -.navbar .input-prepend .btn, -.navbar .input-append .btn, -.navbar .input-prepend .btn-group, -.navbar .input-append .btn-group { - margin-top: 0; -} -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} -.navbar-form:before, -.navbar-form:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-form:after { - clear: both; -} -.navbar-form input, -.navbar-form select, -.navbar-form .radio, -.navbar-form .checkbox { - margin-top: 20px; -} -.navbar-form input, -.navbar-form select, -.navbar-form .btn { - display: inline-block; - margin-bottom: 0; -} -.navbar-form input[type="image"], -.navbar-form input[type="checkbox"], -.navbar-form input[type="radio"] { - margin-top: 3px; -} -.navbar-form .input-append, -.navbar-form .input-prepend { - margin-top: 5px; - white-space: nowrap; -} -.navbar-form .input-append input, -.navbar-form .input-prepend input { - margin-top: 0; -} -.navbar-search { - position: relative; - float: left; - margin-top: 20px; - margin-bottom: 0; -} -.navbar-search .search-query { - margin-bottom: 0; - padding: 4px 14px; - font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.navbar-static-top { - position: static; - margin-bottom: 0; -} -.navbar-static-top .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; - margin-bottom: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - border-width: 0 0 1px; -} -.navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-fixed-bottom .navbar-inner { - padding-left: 0; - padding-right: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.navbar-fixed-top { - top: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 1px 10px rgba(0,0,0,.1); - box-shadow: 0 1px 10px rgba(0,0,0,.1); -} -.navbar-fixed-bottom { - bottom: 0; -} -.navbar-fixed-bottom .navbar-inner { - -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - box-shadow: 0 -1px 10px rgba(0,0,0,.1); -} -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} -.navbar .nav.pull-right { - float: right; - margin-right: 0; -} -.navbar .nav > li { - float: left; -} -.navbar .nav > li > a { - float: none; - padding: 25px 15px 25px; - color: #e36b23; - text-decoration: none; - text-shadow: 0 1px 0 #2a333c; -} -.navbar .nav .dropdown-toggle .caret { - margin-top: 8px; -} -.navbar .nav > li > a:focus, -.navbar .nav > li > a:hover { - background-color: transparent; - color: #e36b23; - text-decoration: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - color: #e36b23; - text-decoration: none; - background-color: #2a333c; - -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); -} -.navbar .btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-left: 5px; - margin-right: 5px; - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #20262d; - background-image: -moz-linear-gradient(top, #20262d, #20262d); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#20262d), to(#20262d)); - background-image: -webkit-linear-gradient(top, #20262d, #20262d); - background-image: -o-linear-gradient(top, #20262d, #20262d); - background-image: linear-gradient(to bottom, #20262d, #20262d); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff20262d', endColorstr='#ff20262d', GradientType=0); - border-color: #20262d #20262d #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #20262d; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); -} -.navbar .btn-navbar:hover, -.navbar .btn-navbar:focus, -.navbar .btn-navbar:active, -.navbar .btn-navbar.active, -.navbar .btn-navbar.disabled, -.navbar .btn-navbar[disabled] { - color: #ffffff; - background-color: #20262d; - *background-color: #151a1e; -} -.navbar .btn-navbar:active, -.navbar .btn-navbar.active { - background-color: #0b0d0f \9; -} -.navbar .btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} -.navbar .nav > li > .dropdown-menu:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: transparent; - position: absolute; - top: -7px; - left: 9px; -} -.navbar .nav > li > .dropdown-menu:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #5a6a7d; - position: absolute; - top: -6px; - left: 10px; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:before { - border-top: 7px solid #ccc; - border-top-color: transparent; - border-bottom: 0; - bottom: -7px; - top: auto; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:after { - border-top: 6px solid #5a6a7d; - border-bottom: 0; - bottom: -6px; - top: auto; -} -.navbar .nav li.dropdown > a:hover .caret, -.navbar .nav li.dropdown > a:focus .caret { - border-top-color: #e36b23; - border-bottom-color: #e36b23; -} -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #2a333c; - color: #e36b23; -} -.navbar .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #e36b23; - border-bottom-color: #e36b23; -} -.navbar .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #e36b23; - border-bottom-color: #e36b23; -} -.navbar .pull-right > li > .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right { - left: auto; - right: 0; -} -.navbar .pull-right > li > .dropdown-menu:before, -.navbar .nav > li > .dropdown-menu.pull-right:before { - left: auto; - right: 12px; -} -.navbar .pull-right > li > .dropdown-menu:after, -.navbar .nav > li > .dropdown-menu.pull-right:after { - left: auto; - right: 13px; -} -.navbar .pull-right > li > .dropdown-menu .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { - left: auto; - right: 100%; - margin-left: 0; - margin-right: -1px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.navbar-inverse .navbar-inner { - background-color: #45515f; - background-image: -moz-linear-gradient(top, #45515f, #45515f); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#45515f), to(#45515f)); - background-image: -webkit-linear-gradient(top, #45515f, #45515f); - background-image: -o-linear-gradient(top, #45515f, #45515f); - background-image: linear-gradient(to bottom, #45515f, #45515f); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff45515f', endColorstr='#ff45515f', GradientType=0); - border-color: #20262d; -} -.navbar-inverse .brand, -.navbar-inverse .nav > li > a { - color: #e36b23; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.navbar-inverse .brand:hover, -.navbar-inverse .nav > li > a:hover, -.navbar-inverse .brand:focus, -.navbar-inverse .nav > li > a:focus { - color: #e36b23; -} -.navbar-inverse .brand { - color: #e36b23; -} -.navbar-inverse .navbar-text { - color: #999999; -} -.navbar-inverse .nav > li > a:focus, -.navbar-inverse .nav > li > a:hover { - background-color: transparent; - color: #e36b23; -} -.navbar-inverse .nav .active > a, -.navbar-inverse .nav .active > a:hover, -.navbar-inverse .nav .active > a:focus { - color: #e36b23; - background-color: #45515f; -} -.navbar-inverse .navbar-link { - color: #e36b23; -} -.navbar-inverse .navbar-link:hover, -.navbar-inverse .navbar-link:focus { - color: #e36b23; -} -.navbar-inverse .divider-vertical { - border-left-color: #45515f; - border-right-color: #45515f; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #45515f; - color: #e36b23; -} -.navbar-inverse .nav li.dropdown > a:hover .caret, -.navbar-inverse .nav li.dropdown > a:focus .caret { - border-top-color: #e36b23; - border-bottom-color: #e36b23; -} -.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #e36b23; - border-bottom-color: #e36b23; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #e36b23; - border-bottom-color: #e36b23; -} -.navbar-inverse .navbar-search .search-query { - color: #ffffff; - background-color: #ffffff; - border-color: #45515f; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -.navbar-inverse .navbar-search .search-query:-moz-placeholder { - color: #999999; -} -.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { - color: #999999; -} -.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { - color: #999999; -} -.navbar-inverse .navbar-search .search-query:focus, -.navbar-inverse .navbar-search .search-query.focused { - padding: 5px 15px; - color: #333333; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - outline: 0; -} -.navbar-inverse .btn-navbar { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #3a4450; - background-image: -moz-linear-gradient(top, #3a4450, #3a4450); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#3a4450), to(#3a4450)); - background-image: -webkit-linear-gradient(top, #3a4450, #3a4450); - background-image: -o-linear-gradient(top, #3a4450, #3a4450); - background-image: linear-gradient(to bottom, #3a4450, #3a4450); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff3a4450', endColorstr='#ff3a4450', GradientType=0); - border-color: #3a4450 #3a4450 #1a1f24; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #3a4450; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.navbar-inverse .btn-navbar:hover, -.navbar-inverse .btn-navbar:focus, -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active, -.navbar-inverse .btn-navbar.disabled, -.navbar-inverse .btn-navbar[disabled] { - color: #ffffff; - background-color: #3a4450; - *background-color: #303841; -} -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active { - background-color: #252b33 \9; -} -.breadcrumb { - padding: 8px 15px; - margin: 0 0 20px; - list-style: none; - background-color: #f5f5f5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.breadcrumb > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb > li > .divider { - padding: 0 5px; - color: #ccc; -} -.breadcrumb > .active { - color: #999999; -} -.pagination { - margin: 20px 0; -} -.pagination ul { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-left: 0; - margin-bottom: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} -.pagination ul > li { - display: inline; -} -.pagination ul > li > a, -.pagination ul > li > span { - float: left; - padding: 4px 12px; - line-height: 20px; - text-decoration: none; - background-color: #45515f; - border: 1px solid transparent; - border-left-width: 0; -} -.pagination ul > li > a:hover, -.pagination ul > li > a:focus, -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: #e36b23; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - color: #999999; - cursor: default; -} -.pagination ul > .disabled > span, -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > a:focus { - color: #999999; - background-color: transparent; - cursor: default; -} -.pagination ul > li:first-child > a, -.pagination ul > li:first-child > span { - border-left-width: 1px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.pagination ul > li:last-child > a, -.pagination ul > li:last-child > span { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.pagination-centered { - text-align: center; -} -.pagination-right { - text-align: right; -} -.pagination-large ul > li > a, -.pagination-large ul > li > span { - padding: 11px 19px; - font-size: 18.75px; -} -.pagination-large ul > li:first-child > a, -.pagination-large ul > li:first-child > span { - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.pagination-large ul > li:last-child > a, -.pagination-large ul > li:last-child > span { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.pagination-mini ul > li:first-child > a, -.pagination-small ul > li:first-child > a, -.pagination-mini ul > li:first-child > span, -.pagination-small ul > li:first-child > span { - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topleft: 3px; - border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - border-bottom-left-radius: 3px; -} -.pagination-mini ul > li:last-child > a, -.pagination-small ul > li:last-child > a, -.pagination-mini ul > li:last-child > span, -.pagination-small ul > li:last-child > span { - -webkit-border-top-right-radius: 3px; - -moz-border-radius-topright: 3px; - border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - -moz-border-radius-bottomright: 3px; - border-bottom-right-radius: 3px; -} -.pagination-small ul > li > a, -.pagination-small ul > li > span { - padding: 2px 10px; - font-size: 12.75px; -} -.pagination-mini ul > li > a, -.pagination-mini ul > li > span { - padding: 0px 6px; - font-size: 11.25px; -} -.pager { - margin: 20px 0; - list-style: none; - text-align: center; - *zoom: 1; -} -.pager:before, -.pager:after { - display: table; - content: ""; - line-height: 0; -} -.pager:after { - clear: both; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #999999; - background-color: #fff; - cursor: default; -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop, -.modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.modal { - position: fixed; - top: 10%; - left: 50%; - z-index: 1050; - width: 560px; - margin-left: -280px; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - /* IE6-7 */ - - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - outline: none; -} -.modal.fade { - -webkit-transition: opacity .3s linear, top .3s ease-out; - -moz-transition: opacity .3s linear, top .3s ease-out; - -o-transition: opacity .3s linear, top .3s ease-out; - transition: opacity .3s linear, top .3s ease-out; - top: -25%; -} -.modal.fade.in { - top: 10%; -} -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} -.modal-header .close { - margin-top: 2px; -} -.modal-header h3 { - margin: 0; - line-height: 30px; -} -.modal-body { - position: relative; - overflow-y: auto; - max-height: 400px; - padding: 15px; -} -.modal-form { - margin-bottom: 0; -} -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - text-align: right; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; - *zoom: 1; -} -.modal-footer:before, -.modal-footer:after { - display: table; - content: ""; - line-height: 0; -} -.modal-footer:after { - clear: both; -} -.modal-footer .btn + .btn { - margin-left: 5px; - margin-bottom: 0; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.tooltip { - position: absolute; - z-index: 1030; - display: block; - visibility: visible; - font-size: 11px; - line-height: 1.4; - opacity: 0; - filter: alpha(opacity=0); -} -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.tooltip.top { - margin-top: -3px; - padding: 5px 0; -} -.tooltip.right { - margin-left: 3px; - padding: 0 5px; -} -.tooltip.bottom { - margin-top: 3px; - padding: 5px 0; -} -.tooltip.left { - margin-left: -3px; - padding: 0 5px; -} -.tooltip-inner { - max-width: 200px; - padding: 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #000000; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #000000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #000000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #000000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000000; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - background-color: #45515f; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - white-space: normal; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #3f4956; - border-bottom: 1px solid #343d47; - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.popover-title:empty { - display: none; -} -.popover-content { - padding: 9px 14px; -} -.popover .arrow, -.popover .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover .arrow { - border-width: 11px; -} -.popover .arrow:after { - border-width: 10px; - content: ""; -} -.popover.top .arrow { - left: 50%; - margin-left: -11px; - border-bottom-width: 0; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, 0.25); - bottom: -11px; -} -.popover.top .arrow:after { - bottom: 1px; - margin-left: -10px; - border-bottom-width: 0; - border-top-color: #45515f; -} -.popover.right .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-left-width: 0; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, 0.25); -} -.popover.right .arrow:after { - left: 1px; - bottom: -10px; - border-left-width: 0; - border-right-color: #45515f; -} -.popover.bottom .arrow { - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, 0.25); - top: -11px; -} -.popover.bottom .arrow:after { - top: 1px; - margin-left: -10px; - border-top-width: 0; - border-bottom-color: #45515f; -} -.popover.left .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, 0.25); -} -.popover.left .arrow:after { - right: 1px; - border-right-width: 0; - border-left-color: #45515f; - bottom: -10px; -} -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} -.thumbnails:before, -.thumbnails:after { - display: table; - content: ""; - line-height: 0; -} -.thumbnails:after { - clear: both; -} -.row-fluid .thumbnails { - margin-left: 0; -} -.thumbnails > li { - float: left; - margin-bottom: 20px; - margin-left: 20px; -} -.thumbnail { - display: block; - padding: 4px; - line-height: 20px; - border: 1px solid #ddd; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -a.thumbnail:hover, -a.thumbnail:focus { - border-color: #e36b23; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} -.thumbnail > img { - display: block; - max-width: 100%; - margin-left: auto; - margin-right: auto; -} -.thumbnail .caption { - padding: 9px; - color: #555555; -} -.media, -.media-body { - overflow: hidden; - *overflow: visible; - zoom: 1; -} -.media, -.media .media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media-object { - display: block; -} -.media-heading { - margin: 0 0 5px; -} -.media > .pull-left { - margin-right: 10px; -} -.media > .pull-right { - margin-left: 10px; -} -.media-list { - margin-left: 0; - list-style: none; -} -.label, -.badge { - display: inline-block; - padding: 2px 4px; - font-size: 12.69px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - vertical-align: baseline; - white-space: nowrap; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #999999; -} -.label { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.badge { - padding-left: 9px; - padding-right: 9px; - -webkit-border-radius: 9px; - -moz-border-radius: 9px; - border-radius: 9px; -} -.label:empty, -.badge:empty { - display: none; -} -a.label:hover, -a.label:focus, -a.badge:hover, -a.badge:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.label-important, -.badge-important { - background-color: #b94a48; -} -.label-important[href], -.badge-important[href] { - background-color: #953b39; -} -.label-warning, -.badge-warning { - background-color: #e36b23; -} -.label-warning[href], -.badge-warning[href] { - background-color: #bb5518; -} -.label-success, -.badge-success { - background-color: #468847; -} -.label-success[href], -.badge-success[href] { - background-color: #356635; -} -.label-info, -.badge-info { - background-color: #3a87ad; -} -.label-info[href], -.badge-info[href] { - background-color: #2d6987; -} -.label-inverse, -.badge-inverse { - background-color: #333333; -} -.label-inverse[href], -.badge-inverse[href] { - background-color: #1a1a1a; -} -.btn .label, -.btn .badge { - position: relative; - top: -1px; -} -.btn-mini .label, -.btn-mini .badge { - top: 0; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-moz-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-ms-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - overflow: hidden; - height: 20px; - margin-bottom: 20px; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.progress .bar { - width: 0%; - height: 100%; - color: #ffffff; - float: left; - font-size: 12px; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(to bottom, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} -.progress .bar + .bar { - -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); -} -.progress-striped .bar { - background-color: #149bdf; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - -ms-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-danger .bar, -.progress .bar-danger { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); -} -.progress-danger.progress-striped .bar, -.progress-striped .bar-danger { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar, -.progress .bar-success { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(to bottom, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); -} -.progress-success.progress-striped .bar, -.progress-striped .bar-success { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar, -.progress .bar-info { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(to bottom, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); -} -.progress-info.progress-striped .bar, -.progress-striped .bar-info { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-warning .bar, -.progress .bar-warning { - background-color: #e8864c; - background-image: -moz-linear-gradient(top, #ec9967, #e36b23); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ec9967), to(#e36b23)); - background-image: -webkit-linear-gradient(top, #ec9967, #e36b23); - background-image: -o-linear-gradient(top, #ec9967, #e36b23); - background-image: linear-gradient(to bottom, #ec9967, #e36b23); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffec9967', endColorstr='#ffe36b23', GradientType=0); -} -.progress-warning.progress-striped .bar, -.progress-striped .bar-warning { - background-color: #ec9967; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.accordion { - margin-bottom: 20px; -} -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.accordion-heading { - border-bottom: 0; -} -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} -.accordion-toggle { - cursor: pointer; -} -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} -.carousel { - position: relative; - margin-bottom: 20px; - line-height: 1; -} -.carousel-inner { - overflow: hidden; - width: 100%; - position: relative; -} -.carousel-inner > .item { - display: none; - position: relative; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - line-height: 1; -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #222222; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.carousel-control.right { - left: auto; - right: 15px; -} -.carousel-control:hover, -.carousel-control:focus { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} -.carousel-indicators { - position: absolute; - top: 15px; - right: 15px; - z-index: 5; - margin: 0; - list-style: none; -} -.carousel-indicators li { - display: block; - float: left; - width: 10px; - height: 10px; - margin-left: 5px; - text-indent: -999px; - background-color: #ccc; - background-color: rgba(255, 255, 255, 0.25); - border-radius: 5px; -} -.carousel-indicators .active { - background-color: #fff; -} -.carousel-caption { - position: absolute; - left: 0; - right: 0; - bottom: 0; - padding: 15px; - background: #333333; - background: rgba(0, 0, 0, 0.75); -} -.carousel-caption h4, -.carousel-caption p { - color: #ffffff; - line-height: 20px; -} -.carousel-caption h4 { - margin: 0 0 5px; -} -.carousel-caption p { - margin-bottom: 0; -} -.hero-unit { - padding: 60px; - margin-bottom: 30px; - font-size: 18px; - font-weight: 200; - line-height: 30px; - color: inherit; - background-color: #45515f; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - color: inherit; - letter-spacing: -1px; -} -.hero-unit li { - line-height: 30px; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.invisible { - visibility: hidden; -} -.affix { - position: fixed; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small, -h6 { - font-family: 'Oswald', sans-serif; - color: #e36b23; - text-shadow: -1px 1px 0 #612c0c; -} -h1, -h2 { - text-shadow: -2px 2px 0 #612c0c; -} -h1 { - line-height: 55px; -} -code, -pre { - background-color: #566577; - border: none; - color: #ece9d7; -} -.page-header { - border-bottom: none; -} -blockquote { - border-left: 5px solid #45515f; -} -blockquote.pull-right { - border-right: 5px solid #45515f; -} -.navbar .navbar-inner { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - background-image: none; -} -.navbar .brand { - padding: 25px 20px 15px; - font-family: 'Oswald', sans-serif; - font-size: 30px; - text-shadow: -2px 2px 0 #612c0c; -} -.navbar .nav > li > a { - padding: 23px 20px 13px; - line-height: 30px; - font-family: 'Oswald', sans-serif; - font-size: 22px; - text-shadow: -2px 2px 0 #612c0c; -} -.navbar .brand:hover, -.navbar .nav > li > a:hover, -.navbar .nav > li.active > a:hover, -.navbar .nav > li.dropdown.open > a, -.navbar .nav > li.dropdown.open > a:hover { - position: relative; - top: 1px; - left: -1px; - color: #e36b23; - text-shadow: -1px 1px 0 #612c0c; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.navbar .navbar-text { - padding: 23px 20px 13px; - line-height: 30px; - font-family: 'Oswald', sans-serif; - font-size: 22px; - text-shadow: -2px 2px 0 #555555; -} -.navbar .navbar-search { - margin-top: 24px; -} -.navbar .navbar-search .search-query { - font-family: Georgia, Utopia, Palatino, 'Palatino Linotype', serif; - font-size: 15px; - line-height: 20px; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.navbar.navbar-inverse .navbar-search .search-query { - color: #2a333c; -} -.navbar .divider-vertical { - height: 70px; -} -.navbar .nav .dropdown-toggle .caret, -.navbar .nav .open.dropdown .caret { - margin-top: 14px; - border-top-color: #ece9d7; -} -.navbar .dropdown-menu::before { - border: none; -} -.navbar .dropdown-menu::after { - left: 20px; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #5a6a7d; -} -.navbar [class^="icon-"], -.navbar [class*=" icon-"] { - vertical-align: 20%; -} -.navbar .btn-navbar { - background-color: #45515f; - border-color: transparent; -} -@media (max-width: 979px) { - .navbar .nav-collapse { - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - } - .navbar .nav-collapse .nav li > a { - color: #e36b23; - } - .navbar .nav-collapse .nav li > a:hover { - background-color: #5a6a7d !important; - background-image: none; - } - .navbar .nav-collapse .navbar-form, - .navbar .nav-collapse .navbar-search { - border-top: none; - border-bottom: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - } - .navbar .nav-collapse .nav-header { - color: #ece9d7; - } -} -div.subnav { - margin: 0 1px; - background: #45515f none; - border: none; -} -div.subnav .nav > li > a, -div.subnav .nav > li.active > a { - border-color: transparent; - color: #ece9d7; -} -div.subnav .nav > li > a:hover, -div.subnav .nav > li.active > a:hover { - background-color: #5a6a7d; - border-color: transparent; -} -div.subnav .nav > li.active > a, -div.subnav .nav > li.active > a:hover { - background: #e36b23 none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - color: #ffffff; -} -div.subnav.subnav-fixed { - top: 71px; - margin: 0; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -div.subnav.subnav-fixed .nav > li > a, -div.subnav.subnav-fixed .nav > li > a:hover, -div.subnav.subnav-fixed .nav > li.active > a, -div.subnav.subnav-fixed .nav > li.active > a:hover { - border-color: transparent; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -div.subnav.subnav-fixed .nav > li > a:hover, -div.subnav.subnav-fixed .nav > li.active > a:hover { - color: #ffffff; -} -div.subnav .nav > .active > a .caret, -div.subnav .nav > .active > a:hover .caret { - border-top-color: #ece9d7; -} -.nav .nav-header { - color: #ece9d7; - text-shadow: none; -} -.nav-list { - padding: 0 15px; -} -.nav-list > li > a, -.nav-list > .nav-header { - text-shadow: none; - color: #ece9d7; -} -.nav-list .active > a, -.nav-list .active > a:hover { - text-shadow: none; - color: #ffffff; -} -.nav-list li > a:hover { - background-color: #5a6a7d; -} -.nav-tabs, -.nav-tabs.nav-stacked > li > a { - border-color: transparent; -} -.nav-tabs > li > a { - background-color: #45515f; - color: #ece9d7; -} -.nav-tabs li.active > a, -.nav-tabs li.active > a:hover, -.nav-tabs.nav-stacked > li.active > a:hover { - color: #ffffff; - background-color: #e36b23; - border-color: transparent; -} -.nav-tabs li > a:hover, -.nav-tabs.nav-stacked > li > a:hover { - background-color: #5a6a7d; - border-color: transparent; -} -.nav-tabs li.disabled > a:hover { - background-color: #45515f; -} -.nav-pills > li > a { - color: #ece9d7; - background-color: #45515f; -} -.nav-pills > li > a:hover { - background-color: #5a6a7d; - border-color: transparent; -} -.nav-pills > .disabled > a:hover { - background-color: #45515f; -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > .open.active > a:hover { - background-color: #5a6a7d; - border-color: transparent; -} -.nav-pills .dropdown .caret, -.nav-pills .dropdown:hover .caret { - border-top-color: #ece9d7; -} -.dropdown.open .dropdown-menu > li > a:hover, -.dropdown.open .dropdown-menu > li.active > a:hover { - background-color: #e36b23; - color: #ffffff; -} -.tabbable .nav-tabs, -.tabbable .nav-tabs > li.active > a, -.tabbable .nav-tabs > li > a:hover, -.tabbable .nav-tabs > li.active > a:hover { - border-color: transparent; -} -.breadcrumb { - background-color: #45515f; - background-image: none; - border: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.breadcrumb li { - text-shadow: none; -} -.breadcrumb .divider { - color: #ece9d7; -} -.pagination ul { - background-image: none; - border-color: transparent; -} -.pagination ul > li > a, -.pagination ul > li > span { - border: none; - color: #ece9d7; -} -.pagination ul > li > a:hover { - background: #5a6a7d; -} -.pagination ul > .active > a, -.pagination ul > .active > a:hover, -.pagination ul > .active > span, -.pagination ul > .active > span:hover { - background-color: #e36b23; - color: #ffffff; -} -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > span, -.pagination ul > .disabled > span:hover { - background: #3a4450; -} -.pager li > a, -.pager li > span { - background-color: #45515f; - border: none; - color: #ece9d7; -} -.pager li > a:hover, -.pager li > span:hover { - background: #5a6a7d; -} -.pager .disabled a, -.pager .disabled a:hover { - background-color: #45515f; -} -.btn, -.btn:hover { - text-shadow: none; - background-image: none; - -webkit-box-shadow: -2px 2px 0 rgba(0, 0, 0, 0.2); - -moz-box-shadow: -2px 2px 0 rgba(0, 0, 0, 0.2); - box-shadow: -2px 2px 0 rgba(0, 0, 0, 0.2); - border: none; -} -.btn-warning { - background-color: #e6c92e; -} -.btn-primary, -.btn-primary:hover { - -webkit-box-shadow: -2px 2px 0 #612c0c; - -moz-box-shadow: -2px 2px 0 #612c0c; - box-shadow: -2px 2px 0 #612c0c; -} -.btn-warning, -.btn-warning:hover { - -webkit-box-shadow: -2px 2px 0 #6e5f0d; - -moz-box-shadow: -2px 2px 0 #6e5f0d; - box-shadow: -2px 2px 0 #6e5f0d; -} -.btn-danger, -.btn-danger:hover { - -webkit-box-shadow: -2px 2px 0 #9f1411; - -moz-box-shadow: -2px 2px 0 #9f1411; - box-shadow: -2px 2px 0 #9f1411; -} -.btn-success, -.btn-success:hover { - -webkit-box-shadow: -2px 2px 0 #276627; - -moz-box-shadow: -2px 2px 0 #276627; - box-shadow: -2px 2px 0 #276627; -} -.btn-info, -.btn-info:hover { - -webkit-box-shadow: -2px 2px 0 #124a5b; - -moz-box-shadow: -2px 2px 0 #124a5b; - box-shadow: -2px 2px 0 #124a5b; -} -.btn-inverse, -.btn-inverse:hover { - -webkit-box-shadow: -2px 2px 0 #121212; - -moz-box-shadow: -2px 2px 0 #121212; - box-shadow: -2px 2px 0 #121212; -} -.btn.dropdown-toggle, -.btn.dropdown-toggle:hover { - -webkit-box-shadow: 0 2px 0 #333333; - -moz-box-shadow: 0 2px 0 #333333; - box-shadow: 0 2px 0 #333333; -} -.btn-primary.dropdown-toggle, -.btn-primary.dropdown-toggle:hover { - -webkit-box-shadow: 0 2px 0 #612c0c; - -moz-box-shadow: 0 2px 0 #612c0c; - box-shadow: 0 2px 0 #612c0c; -} -.btn-warning.dropdown-toggle, -.btn-warning.dropdown-toggle:hover { - -webkit-box-shadow: 0 2px 0 #6e5f0d; - -moz-box-shadow: 0 2px 0 #6e5f0d; - box-shadow: 0 2px 0 #6e5f0d; -} -.btn-danger.dropdown-toggle, -.btn-danger.dropdown-toggle:hover { - -webkit-box-shadow: 0 2px 0 #9f1411; - -moz-box-shadow: 0 2px 0 #9f1411; - box-shadow: 0 2px 0 #9f1411; -} -.btn-success.dropdown-toggle, -.btn-success.dropdown-toggle:hover { - -webkit-box-shadow: 0 2px 0 #276627; - -moz-box-shadow: 0 2px 0 #276627; - box-shadow: 0 2px 0 #276627; -} -.btn-info.dropdown-toggle, -.btn-info.dropdown-toggle:hover { - -webkit-box-shadow: 0 2px 0 #124a5b; - -moz-box-shadow: 0 2px 0 #124a5b; - box-shadow: 0 2px 0 #124a5b; -} -.btn-inverse.dropdown-toggle, -.btn-inverse.dropdown-toggle:hover { - -webkit-box-shadow: 0 2px 0 #121212; - -moz-box-shadow: 0 2px 0 #121212; - box-shadow: 0 2px 0 #121212; -} -.btn.active, -.btn:active { - position: relative; - top: 1px; - left: -1px; - -webkit-box-shadow: -1px 1px 0 #333333; - -moz-box-shadow: -1px 1px 0 #333333; - box-shadow: -1px 1px 0 #333333; -} -.btn.disabled, -.btn.disabled.active, -.btn.disabled:active, -.btn[disabled] { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - text-shadow: none; - top: 0; - left: 0; -} -[class^="icon-"], -[class*=" icon-"] { - vertical-align: -13%; -} -.table, -.table-striped tbody > tr > td:first-child, -.table-striped tbody > tr > td:last-child { - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -input, -button, -select, -textarea { - font-family: 'Noticia Text', serif; -} -legend { - border-bottom: none; - font-family: 'Oswald', sans-serif; - color: #e36b23; - text-shadow: -2px 2px 0 #612c0c; -} -label { - color: #ece9d7; - line-height: 15px; -} -.help-block { - color: #ece9d7; - opacity: 0.6; -} -.form-actions { - border-top: none; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #ceae78; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #ceae78; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #ceae78; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #c09853; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #e9dbc3; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #e9dbc3; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #e9dbc3; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #ceae78; - background-color: #fcf8e3; - border-color: #ceae78; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #c76e6d; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #c76e6d; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #c76e6d; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #b94a48; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #e3b7b7; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #e3b7b7; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #e3b7b7; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #c76e6d; - background-color: #f2dede; - border-color: #c76e6d; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #58a959; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #58a959; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #58a959; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #468847; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #9bcc9c; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #9bcc9c; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #9bcc9c; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #58a959; - background-color: #dff0d8; - border-color: #58a959; -} -.input-append .add-on, -.input-prepend .add-on, -.input-append .btn, -.input-prepend .btn { - color: #2a333c; -} -.dropdown .caret { - margin-top: 14px; - opacity: 1; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-top: 6px solid #5a6a7d; -} -.label { - background-color: #45515f; - color: #ece9d7; -} -.label-important { - background-color: #b94a48; -} -.label-warning { - background-color: #e36b23; -} -.label-success { - background-color: #468847; -} -.label-info { - background-color: #3a87ad; -} -.alert { - background-color: #45515f; - border: none; - color: #ece9d7; - text-shadow: none; -} -.alert a { - color: #ea9059; -} -.alert .alert-heading { - color: #e36b23; -} -.alert-success { - background-color: #468847; -} -.alert-danger, -.alert-error { - background-color: #b94a48; -} -.alert-info { - background-color: #3a87ad; -} -.well, -.hero-unit { - border: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.hero-unit h1 { - color: #e36b23; - line-height: 2em; -} -.progress { - background-color: #20262d; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.progress .bar { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.thumbnail { - border: none; - background: #45515f; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.modal { - background-color: transparent; -} -.modal-header, -.modal-body, -.modal-footer { - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - background-color: #2a333c; - border: none; -} -.modal-header { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.modal-footer { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -@media (max-width: 768px) { - div.subnav .nav > li:first-child > a, - div.subnav .nav > li:first-child > a:hover, - div.subnav .nav > li.active:first-child > a, - div.subnav .nav > li.active:first-child > a:hover { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; - } - div.subnav .nav > li:last-child > a, - div.subnav .nav > li:last-child > a:hover, - div.subnav .nav > li.active:last-child > a, - div.subnav .nav > li.active:last-child > a:hover { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; - } -} -#main { - margin-top: 56px; -} -.navbar-fixed-top .navbar-inner { - padding-left: 20px; - padding-right: 20px; -} -.navbar .dropdown-menu { - padding: 20px; - max-height: 300px; - overflow: auto; - width: 300px; - background-color: #45515f; -} -.navbar .dropdown-menu a, -.navbar .dropdown-menu a:visited { - color: #e36b23; -} -.navbar .dropdown-menu a:hover { - color: #e36b23; - background-color: transparent; -} -.navbar .dropdown-menu a:active { - color: #e36b23; - background-color: #45515f; -} -.navbar .dropdown-menu a { - padding-left: 0; - padding-right: 5px; - font-weight: 500; - font-size: 115%; -} -#toc { - position: fixed; - top: 56px; - width: 29%; - max-height: 90%; - overflow: auto; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px #2a333c solid; - padding: 5px; -} -#toc .toc-active { - background-color: #2a333c; - color: #e36b23; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -#toc .toc-active a, -#toc .toc-active a:hover, -#toc .toc-active a:active, -#toc .toc-active a:visited { - background-color: #2a333c; - color: #e36b23; -} -.toc-shim { - padding-top: 56px; - margin-top: -56px; - display: block; -} -.toc-h1 { - margin-left: 2px; - margin-right: 2px; -} -.toc-h2 { - margin-left: 7px; - margin-right: 7px; -} -.toc-h3 { - margin-left: 14px; - margin-right: 7px; -} -.toc-h4 { - margin-left: 21px; - margin-right: 7px; -} -.copyright { - font-size: 90%; - text-align: center; - color: #45515f; - width: 100%; - display: block; -} -.jsdoc-message { - font-size: 90%; - text-align: center; - color: #45515f; - width: 100%; - display: block; -} -.page-title { - font-size: 220%; - color: #45515f; - font-weight: 700; - padding-top: 10px; - display: block; -} -footer { - border-top: 1px solid #45515f; - padding-top: 15px; -} -code { - background-color: none; - border: none; - color: #e36b23; -} -.buffered-name { - padding-top: 56px; - margin-top: -56px; -} -.member-collapsed { - background-color: #45515f; - color: #999999; -} -.member-open { - background-color: inherit; - color: inherit; -} -.member { - -webkit-transition: background-color 0.5s linear; - -moz-transition: background-color 0.5s linear; - -o-transition: background-color 0.5s linear; - transition: background-color 0.5s linear; - -webkit-transition: color 0.5s linear; - -moz-transition: color 0.5s linear; - -o-transition: color 0.5s linear; - transition: color 0.5s linear; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 10px; -} diff --git a/docs/styles/site.united.css b/docs/styles/site.united.css deleted file mode 100644 index 99a1850a02..0000000000 --- a/docs/styles/site.united.css +++ /dev/null @@ -1,5519 +0,0 @@ -@import url(http://fonts.googleapis.com/css?family=Ubuntu); -/*! - * Bootstrap v2.3.1 - * - * Copyright 2012 Twitter, Inc - * Licensed under the Apache License v2.0 - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Designed and built with all the love in the world @twitter by @mdo and @fat. - */ -.clearfix { - *zoom: 1; -} -.clearfix:before, -.clearfix:after { - display: table; - content: ""; - line-height: 0; -} -.clearfix:after { - clear: both; -} -.hide-text { - font: 0/0 a; - color: transparent; - text-shadow: none; - background-color: transparent; - border: 0; -} -.input-block-level { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -article, -aside, -details, -figcaption, -figure, -footer, -header, -hgroup, -nav, -section { - display: block; -} -audio, -canvas, -video { - display: inline-block; - *display: inline; - *zoom: 1; -} -audio:not([controls]) { - display: none; -} -html { - font-size: 100%; - -webkit-text-size-adjust: 100%; - -ms-text-size-adjust: 100%; -} -a:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -a:hover, -a:active { - outline: 0; -} -sub, -sup { - position: relative; - font-size: 75%; - line-height: 0; - vertical-align: baseline; -} -sup { - top: -0.5em; -} -sub { - bottom: -0.25em; -} -img { - /* Responsive images (ensure images don't scale beyond their parents) */ - - max-width: 100%; - /* Part 1: Set a maxium relative to the parent */ - - width: auto\9; - /* IE7-8 need help adjusting responsive images */ - - height: auto; - /* Part 2: Scale the height according to the width, otherwise you get stretching */ - - vertical-align: middle; - border: 0; - -ms-interpolation-mode: bicubic; -} -#map_canvas img, -.google-maps img { - max-width: none; -} -button, -input, -select, -textarea { - margin: 0; - font-size: 100%; - vertical-align: middle; -} -button, -input { - *overflow: visible; - line-height: normal; -} -button::-moz-focus-inner, -input::-moz-focus-inner { - padding: 0; - border: 0; -} -button, -html input[type="button"], -input[type="reset"], -input[type="submit"] { - -webkit-appearance: button; - cursor: pointer; -} -label, -select, -button, -input[type="button"], -input[type="reset"], -input[type="submit"], -input[type="radio"], -input[type="checkbox"] { - cursor: pointer; -} -input[type="search"] { - -webkit-box-sizing: content-box; - -moz-box-sizing: content-box; - box-sizing: content-box; - -webkit-appearance: textfield; -} -input[type="search"]::-webkit-search-decoration, -input[type="search"]::-webkit-search-cancel-button { - -webkit-appearance: none; -} -textarea { - overflow: auto; - vertical-align: top; -} -@media print { - * { - text-shadow: none !important; - color: #000 !important; - background: transparent !important; - box-shadow: none !important; - } - a, - a:visited { - text-decoration: underline; - } - a[href]:after { - content: " (" attr(href) ")"; - } - abbr[title]:after { - content: " (" attr(title) ")"; - } - .ir a:after, - a[href^="javascript:"]:after, - a[href^="#"]:after { - content: ""; - } - pre, - blockquote { - border: 1px solid #999; - page-break-inside: avoid; - } - thead { - display: table-header-group; - } - tr, - img { - page-break-inside: avoid; - } - img { - max-width: 100% !important; - } - @page { - margin: 0.5cm; - } - p, - h2, - h3 { - orphans: 3; - widows: 3; - } - h2, - h3 { - page-break-after: avoid; - } -} -body { - margin: 0; - font-family: 'Ubuntu', Tahoma, sans-serif; - font-size: 14px; - line-height: 20px; - color: #333333; - background-color: #ffffff; -} -a { - color: #dd4814; - text-decoration: none; -} -a:hover, -a:focus { - color: #97310e; - text-decoration: underline; -} -.img-rounded { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.img-polaroid { - padding: 4px; - background-color: #fff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); -} -.img-circle { - -webkit-border-radius: 500px; - -moz-border-radius: 500px; - border-radius: 500px; -} -.row { - margin-left: -20px; - *zoom: 1; -} -.row:before, -.row:after { - display: table; - content: ""; - line-height: 0; -} -.row:after { - clear: both; -} -[class*="span"] { - float: left; - min-height: 1px; - margin-left: 20px; -} -.container, -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.span12 { - width: 940px; -} -.span11 { - width: 860px; -} -.span10 { - width: 780px; -} -.span9 { - width: 700px; -} -.span8 { - width: 620px; -} -.span7 { - width: 540px; -} -.span6 { - width: 460px; -} -.span5 { - width: 380px; -} -.span4 { - width: 300px; -} -.span3 { - width: 220px; -} -.span2 { - width: 140px; -} -.span1 { - width: 60px; -} -.offset12 { - margin-left: 980px; -} -.offset11 { - margin-left: 900px; -} -.offset10 { - margin-left: 820px; -} -.offset9 { - margin-left: 740px; -} -.offset8 { - margin-left: 660px; -} -.offset7 { - margin-left: 580px; -} -.offset6 { - margin-left: 500px; -} -.offset5 { - margin-left: 420px; -} -.offset4 { - margin-left: 340px; -} -.offset3 { - margin-left: 260px; -} -.offset2 { - margin-left: 180px; -} -.offset1 { - margin-left: 100px; -} -.row-fluid { - width: 100%; - *zoom: 1; -} -.row-fluid:before, -.row-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.row-fluid:after { - clear: both; -} -.row-fluid [class*="span"] { - display: block; - width: 100%; - min-height: 30px; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - float: left; - margin-left: 2.127659574468085%; - *margin-left: 2.074468085106383%; -} -.row-fluid [class*="span"]:first-child { - margin-left: 0; -} -.row-fluid .controls-row [class*="span"] + [class*="span"] { - margin-left: 2.127659574468085%; -} -.row-fluid .span12 { - width: 100%; - *width: 99.94680851063829%; -} -.row-fluid .span11 { - width: 91.48936170212765%; - *width: 91.43617021276594%; -} -.row-fluid .span10 { - width: 82.97872340425532%; - *width: 82.92553191489361%; -} -.row-fluid .span9 { - width: 74.46808510638297%; - *width: 74.41489361702126%; -} -.row-fluid .span8 { - width: 65.95744680851064%; - *width: 65.90425531914893%; -} -.row-fluid .span7 { - width: 57.44680851063829%; - *width: 57.39361702127659%; -} -.row-fluid .span6 { - width: 48.93617021276595%; - *width: 48.88297872340425%; -} -.row-fluid .span5 { - width: 40.42553191489362%; - *width: 40.37234042553192%; -} -.row-fluid .span4 { - width: 31.914893617021278%; - *width: 31.861702127659576%; -} -.row-fluid .span3 { - width: 23.404255319148934%; - *width: 23.351063829787233%; -} -.row-fluid .span2 { - width: 14.893617021276595%; - *width: 14.840425531914894%; -} -.row-fluid .span1 { - width: 6.382978723404255%; - *width: 6.329787234042553%; -} -.row-fluid .offset12 { - margin-left: 104.25531914893617%; - *margin-left: 104.14893617021275%; -} -.row-fluid .offset12:first-child { - margin-left: 102.12765957446808%; - *margin-left: 102.02127659574467%; -} -.row-fluid .offset11 { - margin-left: 95.74468085106382%; - *margin-left: 95.6382978723404%; -} -.row-fluid .offset11:first-child { - margin-left: 93.61702127659574%; - *margin-left: 93.51063829787232%; -} -.row-fluid .offset10 { - margin-left: 87.23404255319149%; - *margin-left: 87.12765957446807%; -} -.row-fluid .offset10:first-child { - margin-left: 85.1063829787234%; - *margin-left: 84.99999999999999%; -} -.row-fluid .offset9 { - margin-left: 78.72340425531914%; - *margin-left: 78.61702127659572%; -} -.row-fluid .offset9:first-child { - margin-left: 76.59574468085106%; - *margin-left: 76.48936170212764%; -} -.row-fluid .offset8 { - margin-left: 70.2127659574468%; - *margin-left: 70.10638297872339%; -} -.row-fluid .offset8:first-child { - margin-left: 68.08510638297872%; - *margin-left: 67.9787234042553%; -} -.row-fluid .offset7 { - margin-left: 61.70212765957446%; - *margin-left: 61.59574468085106%; -} -.row-fluid .offset7:first-child { - margin-left: 59.574468085106375%; - *margin-left: 59.46808510638297%; -} -.row-fluid .offset6 { - margin-left: 53.191489361702125%; - *margin-left: 53.085106382978715%; -} -.row-fluid .offset6:first-child { - margin-left: 51.063829787234035%; - *margin-left: 50.95744680851063%; -} -.row-fluid .offset5 { - margin-left: 44.68085106382979%; - *margin-left: 44.57446808510638%; -} -.row-fluid .offset5:first-child { - margin-left: 42.5531914893617%; - *margin-left: 42.4468085106383%; -} -.row-fluid .offset4 { - margin-left: 36.170212765957444%; - *margin-left: 36.06382978723405%; -} -.row-fluid .offset4:first-child { - margin-left: 34.04255319148936%; - *margin-left: 33.93617021276596%; -} -.row-fluid .offset3 { - margin-left: 27.659574468085104%; - *margin-left: 27.5531914893617%; -} -.row-fluid .offset3:first-child { - margin-left: 25.53191489361702%; - *margin-left: 25.425531914893618%; -} -.row-fluid .offset2 { - margin-left: 19.148936170212764%; - *margin-left: 19.04255319148936%; -} -.row-fluid .offset2:first-child { - margin-left: 17.02127659574468%; - *margin-left: 16.914893617021278%; -} -.row-fluid .offset1 { - margin-left: 10.638297872340425%; - *margin-left: 10.53191489361702%; -} -.row-fluid .offset1:first-child { - margin-left: 8.51063829787234%; - *margin-left: 8.404255319148938%; -} -[class*="span"].hide, -.row-fluid [class*="span"].hide { - display: none; -} -[class*="span"].pull-right, -.row-fluid [class*="span"].pull-right { - float: right; -} -.container { - margin-right: auto; - margin-left: auto; - *zoom: 1; -} -.container:before, -.container:after { - display: table; - content: ""; - line-height: 0; -} -.container:after { - clear: both; -} -.container-fluid { - padding-right: 20px; - padding-left: 20px; - *zoom: 1; -} -.container-fluid:before, -.container-fluid:after { - display: table; - content: ""; - line-height: 0; -} -.container-fluid:after { - clear: both; -} -p { - margin: 0 0 10px; -} -.lead { - margin-bottom: 20px; - font-size: 21px; - font-weight: 200; - line-height: 30px; -} -small { - font-size: 85%; -} -strong { - font-weight: bold; -} -em { - font-style: italic; -} -cite { - font-style: normal; -} -.muted { - color: #999999; -} -a.muted:hover, -a.muted:focus { - color: #808080; -} -.text-warning { - color: #eca918; -} -a.text-warning:hover, -a.text-warning:focus { - color: #c18910; -} -.text-error { - color: #df382c; -} -a.text-error:hover, -a.text-error:focus { - color: #bc271c; -} -.text-info { - color: #772953; -} -a.text-info:hover, -a.text-info:focus { - color: #511c39; -} -.text-success { - color: #38b44a; -} -a.text-success:hover, -a.text-success:focus { - color: #2c8d3a; -} -.text-left { - text-align: left; -} -.text-right { - text-align: right; -} -.text-center { - text-align: center; -} -h1, -h2, -h3, -h4, -h5, -h6 { - margin: 10px 0; - font-family: inherit; - font-weight: bold; - line-height: 20px; - color: inherit; - text-rendering: optimizelegibility; -} -h1 small, -h2 small, -h3 small, -h4 small, -h5 small, -h6 small { - font-weight: normal; - line-height: 1; - color: #999999; -} -h1, -h2, -h3 { - line-height: 40px; -} -h1 { - font-size: 38.5px; -} -h2 { - font-size: 31.5px; -} -h3 { - font-size: 24.5px; -} -h4 { - font-size: 17.5px; -} -h5 { - font-size: 14px; -} -h6 { - font-size: 11.9px; -} -h1 small { - font-size: 24.5px; -} -h2 small { - font-size: 17.5px; -} -h3 small { - font-size: 14px; -} -h4 small { - font-size: 14px; -} -.page-header { - padding-bottom: 9px; - margin: 20px 0 30px; - border-bottom: 1px solid #f5f5f5; -} -ul, -ol { - padding: 0; - margin: 0 0 10px 25px; -} -ul ul, -ul ol, -ol ol, -ol ul { - margin-bottom: 0; -} -li { - line-height: 20px; -} -ul.unstyled, -ol.unstyled { - margin-left: 0; - list-style: none; -} -ul.inline, -ol.inline { - margin-left: 0; - list-style: none; -} -ul.inline > li, -ol.inline > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding-left: 5px; - padding-right: 5px; -} -dl { - margin-bottom: 20px; -} -dt, -dd { - line-height: 20px; -} -dt { - font-weight: bold; -} -dd { - margin-left: 10px; -} -.dl-horizontal { - *zoom: 1; -} -.dl-horizontal:before, -.dl-horizontal:after { - display: table; - content: ""; - line-height: 0; -} -.dl-horizontal:after { - clear: both; -} -.dl-horizontal dt { - float: left; - width: 160px; - clear: left; - text-align: right; - overflow: hidden; - text-overflow: ellipsis; - white-space: nowrap; -} -.dl-horizontal dd { - margin-left: 180px; -} -hr { - margin: 20px 0; - border: 0; - border-top: 1px solid #f5f5f5; - border-bottom: 1px solid #ffffff; -} -abbr[title], -abbr[data-original-title] { - cursor: help; - border-bottom: 1px dotted #999999; -} -abbr.initialism { - font-size: 90%; - text-transform: uppercase; -} -blockquote { - padding: 0 0 0 15px; - margin: 0 0 20px; - border-left: 5px solid #f5f5f5; -} -blockquote p { - margin-bottom: 0; - font-size: 17.5px; - font-weight: 300; - line-height: 1.25; -} -blockquote small { - display: block; - line-height: 20px; - color: #999999; -} -blockquote small:before { - content: '\2014 \00A0'; -} -blockquote.pull-right { - float: right; - padding-right: 15px; - padding-left: 0; - border-right: 5px solid #f5f5f5; - border-left: 0; -} -blockquote.pull-right p, -blockquote.pull-right small { - text-align: right; -} -blockquote.pull-right small:before { - content: ''; -} -blockquote.pull-right small:after { - content: '\00A0 \2014'; -} -q:before, -q:after, -blockquote:before, -blockquote:after { - content: ""; -} -address { - display: block; - margin-bottom: 20px; - font-style: normal; - line-height: 20px; -} -code, -pre { - padding: 0 3px 2px; - font-family: Menlo, Monaco, Consolas, "Courier New", monospace; - font-size: 12px; - color: #333333; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -code { - padding: 2px 4px; - color: #d14; - background-color: #f7f7f9; - border: 1px solid #e1e1e8; - white-space: nowrap; -} -pre { - display: block; - padding: 9.5px; - margin: 0 0 10px; - font-size: 13px; - line-height: 20px; - word-break: break-all; - word-wrap: break-word; - white-space: pre; - white-space: pre-wrap; - background-color: #f5f5f5; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.15); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -pre.prettyprint { - margin-bottom: 20px; -} -pre code { - padding: 0; - color: inherit; - white-space: pre; - white-space: pre-wrap; - background-color: transparent; - border: 0; -} -.pre-scrollable { - max-height: 340px; - overflow-y: scroll; -} -form { - margin: 0 0 20px; -} -fieldset { - padding: 0; - margin: 0; - border: 0; -} -legend { - display: block; - width: 100%; - padding: 0; - margin-bottom: 20px; - font-size: 21px; - line-height: 40px; - color: #333333; - border: 0; - border-bottom: 1px solid #e5e5e5; -} -legend small { - font-size: 15px; - color: #999999; -} -label, -input, -button, -select, -textarea { - font-size: 14px; - font-weight: normal; - line-height: 20px; -} -input, -button, -select, -textarea { - font-family: 'Ubuntu', Tahoma, sans-serif; -} -label { - display: block; - margin-bottom: 5px; -} -select, -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - display: inline-block; - height: 20px; - padding: 4px 6px; - margin-bottom: 10px; - font-size: 14px; - line-height: 20px; - color: #555555; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - vertical-align: middle; -} -input, -textarea, -.uneditable-input { - width: 206px; -} -textarea { - height: auto; -} -textarea, -input[type="text"], -input[type="password"], -input[type="datetime"], -input[type="datetime-local"], -input[type="date"], -input[type="month"], -input[type="time"], -input[type="week"], -input[type="number"], -input[type="email"], -input[type="url"], -input[type="search"], -input[type="tel"], -input[type="color"], -.uneditable-input { - background-color: #ffffff; - border: 1px solid #cccccc; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -webkit-transition: border linear .2s, box-shadow linear .2s; - -moz-transition: border linear .2s, box-shadow linear .2s; - -o-transition: border linear .2s, box-shadow linear .2s; - transition: border linear .2s, box-shadow linear .2s; -} -textarea:focus, -input[type="text"]:focus, -input[type="password"]:focus, -input[type="datetime"]:focus, -input[type="datetime-local"]:focus, -input[type="date"]:focus, -input[type="month"]:focus, -input[type="time"]:focus, -input[type="week"]:focus, -input[type="number"]:focus, -input[type="email"]:focus, -input[type="url"]:focus, -input[type="search"]:focus, -input[type="tel"]:focus, -input[type="color"]:focus, -.uneditable-input:focus { - border-color: rgba(82, 168, 236, 0.8); - outline: 0; - outline: thin dotted \9; - /* IE6-9 */ - - -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - -moz-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); - box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(82,168,236,.6); -} -input[type="radio"], -input[type="checkbox"] { - margin: 4px 0 0; - *margin-top: 0; - /* IE7 */ - - margin-top: 1px \9; - /* IE8-9 */ - - line-height: normal; -} -input[type="file"], -input[type="image"], -input[type="submit"], -input[type="reset"], -input[type="button"], -input[type="radio"], -input[type="checkbox"] { - width: auto; -} -select, -input[type="file"] { - height: 30px; - /* In IE7, the height of the select element cannot be changed by height, only font-size */ - - *margin-top: 4px; - /* For IE7, add top margin to align select with labels */ - - line-height: 30px; -} -select { - width: 220px; - border: 1px solid #cccccc; - background-color: #ffffff; -} -select[multiple], -select[size] { - height: auto; -} -select:focus, -input[type="file"]:focus, -input[type="radio"]:focus, -input[type="checkbox"]:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.uneditable-input, -.uneditable-textarea { - color: #999999; - background-color: #fcfcfc; - border-color: #cccccc; - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.025); - cursor: not-allowed; -} -.uneditable-input { - overflow: hidden; - white-space: nowrap; -} -.uneditable-textarea { - width: auto; - height: auto; -} -input:-moz-placeholder, -textarea:-moz-placeholder { - color: #999999; -} -input:-ms-input-placeholder, -textarea:-ms-input-placeholder { - color: #999999; -} -input::-webkit-input-placeholder, -textarea::-webkit-input-placeholder { - color: #999999; -} -.radio, -.checkbox { - min-height: 20px; - padding-left: 20px; -} -.radio input[type="radio"], -.checkbox input[type="checkbox"] { - float: left; - margin-left: -20px; -} -.controls > .radio:first-child, -.controls > .checkbox:first-child { - padding-top: 5px; -} -.radio.inline, -.checkbox.inline { - display: inline-block; - padding-top: 5px; - margin-bottom: 0; - vertical-align: middle; -} -.radio.inline + .radio.inline, -.checkbox.inline + .checkbox.inline { - margin-left: 10px; -} -.input-mini { - width: 60px; -} -.input-small { - width: 90px; -} -.input-medium { - width: 150px; -} -.input-large { - width: 210px; -} -.input-xlarge { - width: 270px; -} -.input-xxlarge { - width: 530px; -} -input[class*="span"], -select[class*="span"], -textarea[class*="span"], -.uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"] { - float: none; - margin-left: 0; -} -.input-append input[class*="span"], -.input-append .uneditable-input[class*="span"], -.input-prepend input[class*="span"], -.input-prepend .uneditable-input[class*="span"], -.row-fluid input[class*="span"], -.row-fluid select[class*="span"], -.row-fluid textarea[class*="span"], -.row-fluid .uneditable-input[class*="span"], -.row-fluid .input-prepend [class*="span"], -.row-fluid .input-append [class*="span"] { - display: inline-block; -} -input, -textarea, -.uneditable-input { - margin-left: 0; -} -.controls-row [class*="span"] + [class*="span"] { - margin-left: 20px; -} -input.span12, -textarea.span12, -.uneditable-input.span12 { - width: 926px; -} -input.span11, -textarea.span11, -.uneditable-input.span11 { - width: 846px; -} -input.span10, -textarea.span10, -.uneditable-input.span10 { - width: 766px; -} -input.span9, -textarea.span9, -.uneditable-input.span9 { - width: 686px; -} -input.span8, -textarea.span8, -.uneditable-input.span8 { - width: 606px; -} -input.span7, -textarea.span7, -.uneditable-input.span7 { - width: 526px; -} -input.span6, -textarea.span6, -.uneditable-input.span6 { - width: 446px; -} -input.span5, -textarea.span5, -.uneditable-input.span5 { - width: 366px; -} -input.span4, -textarea.span4, -.uneditable-input.span4 { - width: 286px; -} -input.span3, -textarea.span3, -.uneditable-input.span3 { - width: 206px; -} -input.span2, -textarea.span2, -.uneditable-input.span2 { - width: 126px; -} -input.span1, -textarea.span1, -.uneditable-input.span1 { - width: 46px; -} -.controls-row { - *zoom: 1; -} -.controls-row:before, -.controls-row:after { - display: table; - content: ""; - line-height: 0; -} -.controls-row:after { - clear: both; -} -.controls-row [class*="span"], -.row-fluid .controls-row [class*="span"] { - float: left; -} -.controls-row .checkbox[class*="span"], -.controls-row .radio[class*="span"] { - padding-top: 5px; -} -input[disabled], -select[disabled], -textarea[disabled], -input[readonly], -select[readonly], -textarea[readonly] { - cursor: not-allowed; - background-color: #f5f5f5; -} -input[type="radio"][disabled], -input[type="checkbox"][disabled], -input[type="radio"][readonly], -input[type="checkbox"][readonly] { - background-color: transparent; -} -.control-group.warning .control-label, -.control-group.warning .help-block, -.control-group.warning .help-inline { - color: #eca918; -} -.control-group.warning .checkbox, -.control-group.warning .radio, -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - color: #eca918; -} -.control-group.warning input, -.control-group.warning select, -.control-group.warning textarea { - border-color: #eca918; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.warning input:focus, -.control-group.warning select:focus, -.control-group.warning textarea:focus { - border-color: #c18910; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f4cc76; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f4cc76; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f4cc76; -} -.control-group.warning .input-prepend .add-on, -.control-group.warning .input-append .add-on { - color: #eca918; - background-color: #fcefd4; - border-color: #eca918; -} -.control-group.error .control-label, -.control-group.error .help-block, -.control-group.error .help-inline { - color: #df382c; -} -.control-group.error .checkbox, -.control-group.error .radio, -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - color: #df382c; -} -.control-group.error input, -.control-group.error select, -.control-group.error textarea { - border-color: #df382c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.error input:focus, -.control-group.error select:focus, -.control-group.error textarea:focus { - border-color: #bc271c; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ec8c85; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ec8c85; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ec8c85; -} -.control-group.error .input-prepend .add-on, -.control-group.error .input-append .add-on { - color: #df382c; - background-color: #fadfdd; - border-color: #df382c; -} -.control-group.success .control-label, -.control-group.success .help-block, -.control-group.success .help-inline { - color: #38b44a; -} -.control-group.success .checkbox, -.control-group.success .radio, -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - color: #38b44a; -} -.control-group.success input, -.control-group.success select, -.control-group.success textarea { - border-color: #38b44a; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.success input:focus, -.control-group.success select:focus, -.control-group.success textarea:focus { - border-color: #2c8d3a; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7cd689; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7cd689; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #7cd689; -} -.control-group.success .input-prepend .add-on, -.control-group.success .input-append .add-on { - color: #38b44a; - background-color: #caeecf; - border-color: #38b44a; -} -.control-group.info .control-label, -.control-group.info .help-block, -.control-group.info .help-inline { - color: #772953; -} -.control-group.info .checkbox, -.control-group.info .radio, -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - color: #772953; -} -.control-group.info input, -.control-group.info select, -.control-group.info textarea { - border-color: #772953; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -} -.control-group.info input:focus, -.control-group.info select:focus, -.control-group.info textarea:focus { - border-color: #511c39; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #bf4788; - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #bf4788; - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #bf4788; -} -.control-group.info .input-prepend .add-on, -.control-group.info .input-append .add-on { - color: #772953; - background-color: #e7b8d1; - border-color: #772953; -} -input:focus:invalid, -textarea:focus:invalid, -select:focus:invalid { - color: #b94a48; - border-color: #ee5f5b; -} -input:focus:invalid:focus, -textarea:focus:invalid:focus, -select:focus:invalid:focus { - border-color: #e9322d; - -webkit-box-shadow: 0 0 6px #f8b9b7; - -moz-box-shadow: 0 0 6px #f8b9b7; - box-shadow: 0 0 6px #f8b9b7; -} -.form-actions { - padding: 19px 20px 20px; - margin-top: 20px; - margin-bottom: 20px; - background-color: transparent; - border-top: 1px solid #e5e5e5; - *zoom: 1; -} -.form-actions:before, -.form-actions:after { - display: table; - content: ""; - line-height: 0; -} -.form-actions:after { - clear: both; -} -.help-block, -.help-inline { - color: #595959; -} -.help-block { - display: block; - margin-bottom: 10px; -} -.help-inline { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - vertical-align: middle; - padding-left: 5px; -} -.input-append, -.input-prepend { - display: inline-block; - margin-bottom: 10px; - vertical-align: middle; - font-size: 0; - white-space: nowrap; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input, -.input-append .dropdown-menu, -.input-prepend .dropdown-menu, -.input-append .popover, -.input-prepend .popover { - font-size: 14px; -} -.input-append input, -.input-prepend input, -.input-append select, -.input-prepend select, -.input-append .uneditable-input, -.input-prepend .uneditable-input { - position: relative; - margin-bottom: 0; - *margin-left: 0; - vertical-align: top; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append input:focus, -.input-prepend input:focus, -.input-append select:focus, -.input-prepend select:focus, -.input-append .uneditable-input:focus, -.input-prepend .uneditable-input:focus { - z-index: 2; -} -.input-append .add-on, -.input-prepend .add-on { - display: inline-block; - width: auto; - height: 20px; - min-width: 16px; - padding: 4px 5px; - font-size: 14px; - font-weight: normal; - line-height: 20px; - text-align: center; - text-shadow: 0 1px 0 #ffffff; - background-color: #f5f5f5; - border: 1px solid #ccc; -} -.input-append .add-on, -.input-prepend .add-on, -.input-append .btn, -.input-prepend .btn, -.input-append .btn-group > .dropdown-toggle, -.input-prepend .btn-group > .dropdown-toggle { - vertical-align: top; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-append .active, -.input-prepend .active { - background-color: #a3e2ac; - border-color: #38b44a; -} -.input-prepend .add-on, -.input-prepend .btn { - margin-right: -1px; -} -.input-prepend .add-on:first-child, -.input-prepend .btn:first-child { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input, -.input-append select, -.input-append .uneditable-input { - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-append input + .btn-group .btn:last-child, -.input-append select + .btn-group .btn:last-child, -.input-append .uneditable-input + .btn-group .btn:last-child { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-append .add-on, -.input-append .btn, -.input-append .btn-group { - margin-left: -1px; -} -.input-append .add-on:last-child, -.input-append .btn:last-child, -.input-append .btn-group:last-child > .dropdown-toggle { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append input, -.input-prepend.input-append select, -.input-prepend.input-append .uneditable-input { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.input-prepend.input-append input + .btn-group .btn, -.input-prepend.input-append select + .btn-group .btn, -.input-prepend.input-append .uneditable-input + .btn-group .btn { - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .add-on:first-child, -.input-prepend.input-append .btn:first-child { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.input-prepend.input-append .add-on:last-child, -.input-prepend.input-append .btn:last-child { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.input-prepend.input-append .btn-group:first-child { - margin-left: 0; -} -input.search-query { - padding-right: 14px; - padding-right: 4px \9; - padding-left: 14px; - padding-left: 4px \9; - /* IE7-8 doesn't have border-radius, so don't indent the padding */ - - margin-bottom: 0; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -/* Allow for input prepend/append in search forms */ -.form-search .input-append .search-query, -.form-search .input-prepend .search-query { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.form-search .input-append .search-query { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search .input-append .btn { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .search-query { - -webkit-border-radius: 0 14px 14px 0; - -moz-border-radius: 0 14px 14px 0; - border-radius: 0 14px 14px 0; -} -.form-search .input-prepend .btn { - -webkit-border-radius: 14px 0 0 14px; - -moz-border-radius: 14px 0 0 14px; - border-radius: 14px 0 0 14px; -} -.form-search input, -.form-inline input, -.form-horizontal input, -.form-search textarea, -.form-inline textarea, -.form-horizontal textarea, -.form-search select, -.form-inline select, -.form-horizontal select, -.form-search .help-inline, -.form-inline .help-inline, -.form-horizontal .help-inline, -.form-search .uneditable-input, -.form-inline .uneditable-input, -.form-horizontal .uneditable-input, -.form-search .input-prepend, -.form-inline .input-prepend, -.form-horizontal .input-prepend, -.form-search .input-append, -.form-inline .input-append, -.form-horizontal .input-append { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .hide, -.form-inline .hide, -.form-horizontal .hide { - display: none; -} -.form-search label, -.form-inline label, -.form-search .btn-group, -.form-inline .btn-group { - display: inline-block; -} -.form-search .input-append, -.form-inline .input-append, -.form-search .input-prepend, -.form-inline .input-prepend { - margin-bottom: 0; -} -.form-search .radio, -.form-search .checkbox, -.form-inline .radio, -.form-inline .checkbox { - padding-left: 0; - margin-bottom: 0; - vertical-align: middle; -} -.form-search .radio input[type="radio"], -.form-search .checkbox input[type="checkbox"], -.form-inline .radio input[type="radio"], -.form-inline .checkbox input[type="checkbox"] { - float: left; - margin-right: 3px; - margin-left: 0; -} -.control-group { - margin-bottom: 10px; -} -legend + .control-group { - margin-top: 20px; - -webkit-margin-top-collapse: separate; -} -.form-horizontal .control-group { - margin-bottom: 20px; - *zoom: 1; -} -.form-horizontal .control-group:before, -.form-horizontal .control-group:after { - display: table; - content: ""; - line-height: 0; -} -.form-horizontal .control-group:after { - clear: both; -} -.form-horizontal .control-label { - float: left; - width: 160px; - padding-top: 5px; - text-align: right; -} -.form-horizontal .controls { - *display: inline-block; - *padding-left: 20px; - margin-left: 180px; - *margin-left: 0; -} -.form-horizontal .controls:first-child { - *padding-left: 180px; -} -.form-horizontal .help-block { - margin-bottom: 0; -} -.form-horizontal input + .help-block, -.form-horizontal select + .help-block, -.form-horizontal textarea + .help-block, -.form-horizontal .uneditable-input + .help-block, -.form-horizontal .input-prepend + .help-block, -.form-horizontal .input-append + .help-block { - margin-top: 10px; -} -.form-horizontal .form-actions { - padding-left: 180px; -} -table { - max-width: 100%; - background-color: transparent; - border-collapse: collapse; - border-spacing: 0; -} -.table { - width: 100%; - margin-bottom: 20px; -} -.table th, -.table td { - padding: 8px; - line-height: 20px; - text-align: left; - vertical-align: top; - border-top: 1px solid #dddddd; -} -.table th { - font-weight: bold; -} -.table thead th { - vertical-align: bottom; -} -.table caption + thead tr:first-child th, -.table caption + thead tr:first-child td, -.table colgroup + thead tr:first-child th, -.table colgroup + thead tr:first-child td, -.table thead:first-child tr:first-child th, -.table thead:first-child tr:first-child td { - border-top: 0; -} -.table tbody + tbody { - border-top: 2px solid #dddddd; -} -.table .table { - background-color: #ffffff; -} -.table-condensed th, -.table-condensed td { - padding: 4px 5px; -} -.table-bordered { - border: 1px solid #dddddd; - border-collapse: separate; - *border-collapse: collapse; - border-left: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.table-bordered th, -.table-bordered td { - border-left: 1px solid #dddddd; -} -.table-bordered caption + thead tr:first-child th, -.table-bordered caption + tbody tr:first-child th, -.table-bordered caption + tbody tr:first-child td, -.table-bordered colgroup + thead tr:first-child th, -.table-bordered colgroup + tbody tr:first-child th, -.table-bordered colgroup + tbody tr:first-child td, -.table-bordered thead:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child th, -.table-bordered tbody:first-child tr:first-child td { - border-top: 0; -} -.table-bordered thead:first-child tr:first-child > th:first-child, -.table-bordered tbody:first-child tr:first-child > td:first-child, -.table-bordered tbody:first-child tr:first-child > th:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered thead:first-child tr:first-child > th:last-child, -.table-bordered tbody:first-child tr:first-child > td:last-child, -.table-bordered tbody:first-child tr:first-child > th:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:first-child, -.table-bordered tbody:last-child tr:last-child > td:first-child, -.table-bordered tbody:last-child tr:last-child > th:first-child, -.table-bordered tfoot:last-child tr:last-child > td:first-child, -.table-bordered tfoot:last-child tr:last-child > th:first-child { - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.table-bordered thead:last-child tr:last-child > th:last-child, -.table-bordered tbody:last-child tr:last-child > td:last-child, -.table-bordered tbody:last-child tr:last-child > th:last-child, -.table-bordered tfoot:last-child tr:last-child > td:last-child, -.table-bordered tfoot:last-child tr:last-child > th:last-child { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:first-child { - -webkit-border-bottom-left-radius: 0; - -moz-border-radius-bottomleft: 0; - border-bottom-left-radius: 0; -} -.table-bordered tfoot + tbody:last-child tr:last-child td:last-child { - -webkit-border-bottom-right-radius: 0; - -moz-border-radius-bottomright: 0; - border-bottom-right-radius: 0; -} -.table-bordered caption + thead tr:first-child th:first-child, -.table-bordered caption + tbody tr:first-child td:first-child, -.table-bordered colgroup + thead tr:first-child th:first-child, -.table-bordered colgroup + tbody tr:first-child td:first-child { - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.table-bordered caption + thead tr:first-child th:last-child, -.table-bordered caption + tbody tr:first-child td:last-child, -.table-bordered colgroup + thead tr:first-child th:last-child, -.table-bordered colgroup + tbody tr:first-child td:last-child { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; -} -.table-striped tbody > tr:nth-child(odd) > td, -.table-striped tbody > tr:nth-child(odd) > th { - background-color: #f9f9f9; -} -.table-hover tbody tr:hover > td, -.table-hover tbody tr:hover > th { - background-color: #f5f5f5; -} -table td[class*="span"], -table th[class*="span"], -.row-fluid table td[class*="span"], -.row-fluid table th[class*="span"] { - display: table-cell; - float: none; - margin-left: 0; -} -.table td.span1, -.table th.span1 { - float: none; - width: 44px; - margin-left: 0; -} -.table td.span2, -.table th.span2 { - float: none; - width: 124px; - margin-left: 0; -} -.table td.span3, -.table th.span3 { - float: none; - width: 204px; - margin-left: 0; -} -.table td.span4, -.table th.span4 { - float: none; - width: 284px; - margin-left: 0; -} -.table td.span5, -.table th.span5 { - float: none; - width: 364px; - margin-left: 0; -} -.table td.span6, -.table th.span6 { - float: none; - width: 444px; - margin-left: 0; -} -.table td.span7, -.table th.span7 { - float: none; - width: 524px; - margin-left: 0; -} -.table td.span8, -.table th.span8 { - float: none; - width: 604px; - margin-left: 0; -} -.table td.span9, -.table th.span9 { - float: none; - width: 684px; - margin-left: 0; -} -.table td.span10, -.table th.span10 { - float: none; - width: 764px; - margin-left: 0; -} -.table td.span11, -.table th.span11 { - float: none; - width: 844px; - margin-left: 0; -} -.table td.span12, -.table th.span12 { - float: none; - width: 924px; - margin-left: 0; -} -.table tbody tr.success > td { - background-color: #caeecf; -} -.table tbody tr.error > td { - background-color: #fadfdd; -} -.table tbody tr.warning > td { - background-color: #fcefd4; -} -.table tbody tr.info > td { - background-color: #e7b8d1; -} -.table-hover tbody tr.success:hover > td { - background-color: #b6e8bd; -} -.table-hover tbody tr.error:hover > td { - background-color: #f7cac7; -} -.table-hover tbody tr.warning:hover > td { - background-color: #fae6bd; -} -.table-hover tbody tr.info:hover > td { - background-color: #e0a5c5; -} -[class^="icon-"], -[class*=" icon-"] { - display: inline-block; - width: 14px; - height: 14px; - *margin-right: .3em; - line-height: 14px; - vertical-align: text-top; - background-image: url("../img/glyphicons-halflings.png"); - background-position: 14px 14px; - background-repeat: no-repeat; - margin-top: 1px; -} -/* White icons with optional class, or on hover/focus/active states of certain elements */ -.icon-white, -.nav-pills > .active > a > [class^="icon-"], -.nav-pills > .active > a > [class*=" icon-"], -.nav-list > .active > a > [class^="icon-"], -.nav-list > .active > a > [class*=" icon-"], -.navbar-inverse .nav > .active > a > [class^="icon-"], -.navbar-inverse .nav > .active > a > [class*=" icon-"], -.dropdown-menu > li > a:hover > [class^="icon-"], -.dropdown-menu > li > a:focus > [class^="icon-"], -.dropdown-menu > li > a:hover > [class*=" icon-"], -.dropdown-menu > li > a:focus > [class*=" icon-"], -.dropdown-menu > .active > a > [class^="icon-"], -.dropdown-menu > .active > a > [class*=" icon-"], -.dropdown-submenu:hover > a > [class^="icon-"], -.dropdown-submenu:focus > a > [class^="icon-"], -.dropdown-submenu:hover > a > [class*=" icon-"], -.dropdown-submenu:focus > a > [class*=" icon-"] { - background-image: url("../img/glyphicons-halflings-white.png"); -} -.icon-glass { - background-position: 0 0; -} -.icon-music { - background-position: -24px 0; -} -.icon-search { - background-position: -48px 0; -} -.icon-envelope { - background-position: -72px 0; -} -.icon-heart { - background-position: -96px 0; -} -.icon-star { - background-position: -120px 0; -} -.icon-star-empty { - background-position: -144px 0; -} -.icon-user { - background-position: -168px 0; -} -.icon-film { - background-position: -192px 0; -} -.icon-th-large { - background-position: -216px 0; -} -.icon-th { - background-position: -240px 0; -} -.icon-th-list { - background-position: -264px 0; -} -.icon-ok { - background-position: -288px 0; -} -.icon-remove { - background-position: -312px 0; -} -.icon-zoom-in { - background-position: -336px 0; -} -.icon-zoom-out { - background-position: -360px 0; -} -.icon-off { - background-position: -384px 0; -} -.icon-signal { - background-position: -408px 0; -} -.icon-cog { - background-position: -432px 0; -} -.icon-trash { - background-position: -456px 0; -} -.icon-home { - background-position: 0 -24px; -} -.icon-file { - background-position: -24px -24px; -} -.icon-time { - background-position: -48px -24px; -} -.icon-road { - background-position: -72px -24px; -} -.icon-download-alt { - background-position: -96px -24px; -} -.icon-download { - background-position: -120px -24px; -} -.icon-upload { - background-position: -144px -24px; -} -.icon-inbox { - background-position: -168px -24px; -} -.icon-play-circle { - background-position: -192px -24px; -} -.icon-repeat { - background-position: -216px -24px; -} -.icon-refresh { - background-position: -240px -24px; -} -.icon-list-alt { - background-position: -264px -24px; -} -.icon-lock { - background-position: -287px -24px; -} -.icon-flag { - background-position: -312px -24px; -} -.icon-headphones { - background-position: -336px -24px; -} -.icon-volume-off { - background-position: -360px -24px; -} -.icon-volume-down { - background-position: -384px -24px; -} -.icon-volume-up { - background-position: -408px -24px; -} -.icon-qrcode { - background-position: -432px -24px; -} -.icon-barcode { - background-position: -456px -24px; -} -.icon-tag { - background-position: 0 -48px; -} -.icon-tags { - background-position: -25px -48px; -} -.icon-book { - background-position: -48px -48px; -} -.icon-bookmark { - background-position: -72px -48px; -} -.icon-print { - background-position: -96px -48px; -} -.icon-camera { - background-position: -120px -48px; -} -.icon-font { - background-position: -144px -48px; -} -.icon-bold { - background-position: -167px -48px; -} -.icon-italic { - background-position: -192px -48px; -} -.icon-text-height { - background-position: -216px -48px; -} -.icon-text-width { - background-position: -240px -48px; -} -.icon-align-left { - background-position: -264px -48px; -} -.icon-align-center { - background-position: -288px -48px; -} -.icon-align-right { - background-position: -312px -48px; -} -.icon-align-justify { - background-position: -336px -48px; -} -.icon-list { - background-position: -360px -48px; -} -.icon-indent-left { - background-position: -384px -48px; -} -.icon-indent-right { - background-position: -408px -48px; -} -.icon-facetime-video { - background-position: -432px -48px; -} -.icon-picture { - background-position: -456px -48px; -} -.icon-pencil { - background-position: 0 -72px; -} -.icon-map-marker { - background-position: -24px -72px; -} -.icon-adjust { - background-position: -48px -72px; -} -.icon-tint { - background-position: -72px -72px; -} -.icon-edit { - background-position: -96px -72px; -} -.icon-share { - background-position: -120px -72px; -} -.icon-check { - background-position: -144px -72px; -} -.icon-move { - background-position: -168px -72px; -} -.icon-step-backward { - background-position: -192px -72px; -} -.icon-fast-backward { - background-position: -216px -72px; -} -.icon-backward { - background-position: -240px -72px; -} -.icon-play { - background-position: -264px -72px; -} -.icon-pause { - background-position: -288px -72px; -} -.icon-stop { - background-position: -312px -72px; -} -.icon-forward { - background-position: -336px -72px; -} -.icon-fast-forward { - background-position: -360px -72px; -} -.icon-step-forward { - background-position: -384px -72px; -} -.icon-eject { - background-position: -408px -72px; -} -.icon-chevron-left { - background-position: -432px -72px; -} -.icon-chevron-right { - background-position: -456px -72px; -} -.icon-plus-sign { - background-position: 0 -96px; -} -.icon-minus-sign { - background-position: -24px -96px; -} -.icon-remove-sign { - background-position: -48px -96px; -} -.icon-ok-sign { - background-position: -72px -96px; -} -.icon-question-sign { - background-position: -96px -96px; -} -.icon-info-sign { - background-position: -120px -96px; -} -.icon-screenshot { - background-position: -144px -96px; -} -.icon-remove-circle { - background-position: -168px -96px; -} -.icon-ok-circle { - background-position: -192px -96px; -} -.icon-ban-circle { - background-position: -216px -96px; -} -.icon-arrow-left { - background-position: -240px -96px; -} -.icon-arrow-right { - background-position: -264px -96px; -} -.icon-arrow-up { - background-position: -289px -96px; -} -.icon-arrow-down { - background-position: -312px -96px; -} -.icon-share-alt { - background-position: -336px -96px; -} -.icon-resize-full { - background-position: -360px -96px; -} -.icon-resize-small { - background-position: -384px -96px; -} -.icon-plus { - background-position: -408px -96px; -} -.icon-minus { - background-position: -433px -96px; -} -.icon-asterisk { - background-position: -456px -96px; -} -.icon-exclamation-sign { - background-position: 0 -120px; -} -.icon-gift { - background-position: -24px -120px; -} -.icon-leaf { - background-position: -48px -120px; -} -.icon-fire { - background-position: -72px -120px; -} -.icon-eye-open { - background-position: -96px -120px; -} -.icon-eye-close { - background-position: -120px -120px; -} -.icon-warning-sign { - background-position: -144px -120px; -} -.icon-plane { - background-position: -168px -120px; -} -.icon-calendar { - background-position: -192px -120px; -} -.icon-random { - background-position: -216px -120px; - width: 16px; -} -.icon-comment { - background-position: -240px -120px; -} -.icon-magnet { - background-position: -264px -120px; -} -.icon-chevron-up { - background-position: -288px -120px; -} -.icon-chevron-down { - background-position: -313px -119px; -} -.icon-retweet { - background-position: -336px -120px; -} -.icon-shopping-cart { - background-position: -360px -120px; -} -.icon-folder-close { - background-position: -384px -120px; - width: 16px; -} -.icon-folder-open { - background-position: -408px -120px; - width: 16px; -} -.icon-resize-vertical { - background-position: -432px -119px; -} -.icon-resize-horizontal { - background-position: -456px -118px; -} -.icon-hdd { - background-position: 0 -144px; -} -.icon-bullhorn { - background-position: -24px -144px; -} -.icon-bell { - background-position: -48px -144px; -} -.icon-certificate { - background-position: -72px -144px; -} -.icon-thumbs-up { - background-position: -96px -144px; -} -.icon-thumbs-down { - background-position: -120px -144px; -} -.icon-hand-right { - background-position: -144px -144px; -} -.icon-hand-left { - background-position: -168px -144px; -} -.icon-hand-up { - background-position: -192px -144px; -} -.icon-hand-down { - background-position: -216px -144px; -} -.icon-circle-arrow-right { - background-position: -240px -144px; -} -.icon-circle-arrow-left { - background-position: -264px -144px; -} -.icon-circle-arrow-up { - background-position: -288px -144px; -} -.icon-circle-arrow-down { - background-position: -312px -144px; -} -.icon-globe { - background-position: -336px -144px; -} -.icon-wrench { - background-position: -360px -144px; -} -.icon-tasks { - background-position: -384px -144px; -} -.icon-filter { - background-position: -408px -144px; -} -.icon-briefcase { - background-position: -432px -144px; -} -.icon-fullscreen { - background-position: -456px -144px; -} -.dropup, -.dropdown { - position: relative; -} -.dropdown-toggle { - *margin-bottom: -3px; -} -.dropdown-toggle:active, -.open .dropdown-toggle { - outline: 0; -} -.caret { - display: inline-block; - width: 0; - height: 0; - vertical-align: top; - border-top: 4px solid #000000; - border-right: 4px solid transparent; - border-left: 4px solid transparent; - content: ""; -} -.dropdown .caret { - margin-top: 8px; - margin-left: 2px; -} -.dropdown-menu { - position: absolute; - top: 100%; - left: 0; - z-index: 1000; - display: none; - float: left; - min-width: 160px; - padding: 5px 0; - margin: 2px 0 0; - list-style: none; - background-color: #ffffff; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - *border-right-width: 2px; - *border-bottom-width: 2px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; -} -.dropdown-menu.pull-right { - right: 0; - left: auto; -} -.dropdown-menu .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.dropdown-menu > li > a { - display: block; - padding: 3px 20px; - clear: both; - font-weight: normal; - line-height: 20px; - color: #dd4814; - white-space: nowrap; -} -.dropdown-menu > li > a:hover, -.dropdown-menu > li > a:focus, -.dropdown-submenu:hover > a, -.dropdown-submenu:focus > a { - text-decoration: none; - color: #ffffff; - background-color: #d44513; - background-image: -moz-linear-gradient(top, #dd4814, #c64012); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dd4814), to(#c64012)); - background-image: -webkit-linear-gradient(top, #dd4814, #c64012); - background-image: -o-linear-gradient(top, #dd4814, #c64012); - background-image: linear-gradient(to bottom, #dd4814, #c64012); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd4814', endColorstr='#ffc64012', GradientType=0); -} -.dropdown-menu > .active > a, -.dropdown-menu > .active > a:hover, -.dropdown-menu > .active > a:focus { - color: #ffffff; - text-decoration: none; - outline: 0; - background-color: #d44513; - background-image: -moz-linear-gradient(top, #dd4814, #c64012); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dd4814), to(#c64012)); - background-image: -webkit-linear-gradient(top, #dd4814, #c64012); - background-image: -o-linear-gradient(top, #dd4814, #c64012); - background-image: linear-gradient(to bottom, #dd4814, #c64012); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd4814', endColorstr='#ffc64012', GradientType=0); -} -.dropdown-menu > .disabled > a, -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - color: #999999; -} -.dropdown-menu > .disabled > a:hover, -.dropdown-menu > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - background-image: none; - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - cursor: default; -} -.open { - *z-index: 1000; -} -.open > .dropdown-menu { - display: block; -} -.pull-right > .dropdown-menu { - right: 0; - left: auto; -} -.dropup .caret, -.navbar-fixed-bottom .dropdown .caret { - border-top: 0; - border-bottom: 4px solid #000000; - content: ""; -} -.dropup .dropdown-menu, -.navbar-fixed-bottom .dropdown .dropdown-menu { - top: auto; - bottom: 100%; - margin-bottom: 1px; -} -.dropdown-submenu { - position: relative; -} -.dropdown-submenu > .dropdown-menu { - top: 0; - left: 100%; - margin-top: -6px; - margin-left: -1px; - -webkit-border-radius: 0 6px 6px 6px; - -moz-border-radius: 0 6px 6px 6px; - border-radius: 0 6px 6px 6px; -} -.dropdown-submenu:hover > .dropdown-menu { - display: block; -} -.dropup .dropdown-submenu > .dropdown-menu { - top: auto; - bottom: 0; - margin-top: 0; - margin-bottom: -2px; - -webkit-border-radius: 5px 5px 5px 0; - -moz-border-radius: 5px 5px 5px 0; - border-radius: 5px 5px 5px 0; -} -.dropdown-submenu > a:after { - display: block; - content: " "; - float: right; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; - border-width: 5px 0 5px 5px; - border-left-color: #cccccc; - margin-top: 5px; - margin-right: -10px; -} -.dropdown-submenu:hover > a:after { - border-left-color: #ffffff; -} -.dropdown-submenu.pull-left { - float: none; -} -.dropdown-submenu.pull-left > .dropdown-menu { - left: -100%; - margin-left: 10px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.dropdown .dropdown-menu .nav-header { - padding-left: 20px; - padding-right: 20px; -} -.typeahead { - z-index: 1051; - margin-top: 2px; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.well { - min-height: 20px; - padding: 19px; - margin-bottom: 20px; - background-color: #f5f5f5; - border: 1px solid #e3e3e3; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.well blockquote { - border-color: #ddd; - border-color: rgba(0, 0, 0, 0.15); -} -.well-large { - padding: 24px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.well-small { - padding: 9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.fade { - opacity: 0; - -webkit-transition: opacity 0.15s linear; - -moz-transition: opacity 0.15s linear; - -o-transition: opacity 0.15s linear; - transition: opacity 0.15s linear; -} -.fade.in { - opacity: 1; -} -.collapse { - position: relative; - height: 0; - overflow: hidden; - -webkit-transition: height 0.35s ease; - -moz-transition: height 0.35s ease; - -o-transition: height 0.35s ease; - transition: height 0.35s ease; -} -.collapse.in { - height: auto; -} -.close { - float: right; - font-size: 20px; - font-weight: bold; - line-height: 20px; - color: #000000; - text-shadow: 0 1px 0 #ffffff; - opacity: 0.2; - filter: alpha(opacity=20); -} -.close:hover, -.close:focus { - color: #000000; - text-decoration: none; - cursor: pointer; - opacity: 0.4; - filter: alpha(opacity=40); -} -button.close { - padding: 0; - cursor: pointer; - background: transparent; - border: 0; - -webkit-appearance: none; -} -.btn { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - padding: 4px 12px; - margin-bottom: 0; - font-size: 14px; - line-height: 20px; - text-align: center; - vertical-align: middle; - cursor: pointer; - color: #333333; - text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75); - background-color: #f5f5f5; - background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6)); - background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6); - background-image: -o-linear-gradient(top, #ffffff, #e6e6e6); - background-image: linear-gradient(to bottom, #ffffff, #e6e6e6); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0); - border-color: #e6e6e6 #e6e6e6 #bfbfbf; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #e6e6e6; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - border: 1px solid #cccccc; - *border: 0; - border-bottom-color: #b3b3b3; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - *margin-left: .3em; - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); -} -.btn:hover, -.btn:focus, -.btn:active, -.btn.active, -.btn.disabled, -.btn[disabled] { - color: #333333; - background-color: #e6e6e6; - *background-color: #d9d9d9; -} -.btn:active, -.btn.active { - background-color: #cccccc \9; -} -.btn:first-child { - *margin-left: 0; -} -.btn:hover, -.btn:focus { - color: #333333; - text-decoration: none; - background-position: 0 -15px; - -webkit-transition: background-position 0.1s linear; - -moz-transition: background-position 0.1s linear; - -o-transition: background-position 0.1s linear; - transition: background-position 0.1s linear; -} -.btn:focus { - outline: thin dotted #333; - outline: 5px auto -webkit-focus-ring-color; - outline-offset: -2px; -} -.btn.active, -.btn:active { - background-image: none; - outline: 0; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn.disabled, -.btn[disabled] { - cursor: default; - background-image: none; - opacity: 0.65; - filter: alpha(opacity=65); - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-large { - padding: 11px 19px; - font-size: 17.5px; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.btn-large [class^="icon-"], -.btn-large [class*=" icon-"] { - margin-top: 4px; -} -.btn-small { - padding: 2px 10px; - font-size: 11.9px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-small [class^="icon-"], -.btn-small [class*=" icon-"] { - margin-top: 0; -} -.btn-mini [class^="icon-"], -.btn-mini [class*=" icon-"] { - margin-top: -1px; -} -.btn-mini { - padding: 0px 6px; - font-size: 10.5px; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.btn-block { - display: block; - width: 100%; - padding-left: 0; - padding-right: 0; - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; -} -.btn-block + .btn-block { - margin-top: 5px; -} -input[type="submit"].btn-block, -input[type="reset"].btn-block, -input[type="button"].btn-block { - width: 100%; -} -.btn-primary.active, -.btn-warning.active, -.btn-danger.active, -.btn-success.active, -.btn-info.active, -.btn-inverse.active { - color: rgba(255, 255, 255, 0.75); -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #dd5c14; - background-image: -moz-linear-gradient(top, #dd4814, #dd7a14); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#dd4814), to(#dd7a14)); - background-image: -webkit-linear-gradient(top, #dd4814, #dd7a14); - background-image: -o-linear-gradient(top, #dd4814, #dd7a14); - background-image: linear-gradient(to bottom, #dd4814, #dd7a14); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffdd4814', endColorstr='#ffdd7a14', GradientType=0); - border-color: #dd7a14 #dd7a14 #97530e; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #dd7a14; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #dd7a14; - *background-color: #c66d12; -} -.btn-primary:active, -.btn-primary.active { - background-color: #ae6010 \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #e86537; - background-image: -moz-linear-gradient(top, #ef784e, #dd4814); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ef784e), to(#dd4814)); - background-image: -webkit-linear-gradient(top, #ef784e, #dd4814); - background-image: -o-linear-gradient(top, #ef784e, #dd4814); - background-image: linear-gradient(to bottom, #ef784e, #dd4814); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffef784e', endColorstr='#ffdd4814', GradientType=0); - border-color: #dd4814 #dd4814 #97310e; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #dd4814; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #dd4814; - *background-color: #c64012; -} -.btn-warning:active, -.btn-warning.active { - background-color: #ae3910 \9; -} -.btn-danger { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #da4f49; - background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f); - background-image: -o-linear-gradient(top, #ee5f5b, #bd362f); - background-image: linear-gradient(to bottom, #ee5f5b, #bd362f); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0); - border-color: #bd362f #bd362f #802420; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #bd362f; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-danger:hover, -.btn-danger:focus, -.btn-danger:active, -.btn-danger.active, -.btn-danger.disabled, -.btn-danger[disabled] { - color: #ffffff; - background-color: #bd362f; - *background-color: #a9302a; -} -.btn-danger:active, -.btn-danger.active { - background-color: #942a25 \9; -} -.btn-success { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #5bb75b; - background-image: -moz-linear-gradient(top, #62c462, #51a351); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351)); - background-image: -webkit-linear-gradient(top, #62c462, #51a351); - background-image: -o-linear-gradient(top, #62c462, #51a351); - background-image: linear-gradient(to bottom, #62c462, #51a351); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0); - border-color: #51a351 #51a351 #387038; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #51a351; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-success:hover, -.btn-success:focus, -.btn-success:active, -.btn-success.active, -.btn-success.disabled, -.btn-success[disabled] { - color: #ffffff; - background-color: #51a351; - *background-color: #499249; -} -.btn-success:active, -.btn-success.active { - background-color: #408140 \9; -} -.btn-info { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #99356b; - background-image: -moz-linear-gradient(top, #b03d7b, #772953); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b03d7b), to(#772953)); - background-image: -webkit-linear-gradient(top, #b03d7b, #772953); - background-image: -o-linear-gradient(top, #b03d7b, #772953); - background-image: linear-gradient(to bottom, #b03d7b, #772953); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb03d7b', endColorstr='#ff772953', GradientType=0); - border-color: #772953 #772953 #3e152b; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #772953; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-info:hover, -.btn-info:focus, -.btn-info:active, -.btn-info.active, -.btn-info.disabled, -.btn-info[disabled] { - color: #ffffff; - background-color: #772953; - *background-color: #642246; -} -.btn-info:active, -.btn-info.active { - background-color: #511c39 \9; -} -.btn-inverse { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #414141; - background-image: -moz-linear-gradient(top, #555555, #222222); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#555555), to(#222222)); - background-image: -webkit-linear-gradient(top, #555555, #222222); - background-image: -o-linear-gradient(top, #555555, #222222); - background-image: linear-gradient(to bottom, #555555, #222222); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff555555', endColorstr='#ff222222', GradientType=0); - border-color: #222222 #222222 #000000; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #222222; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-inverse:hover, -.btn-inverse:focus, -.btn-inverse:active, -.btn-inverse.active, -.btn-inverse.disabled, -.btn-inverse[disabled] { - color: #ffffff; - background-color: #222222; - *background-color: #151515; -} -.btn-inverse:active, -.btn-inverse.active { - background-color: #080808 \9; -} -button.btn, -input[type="submit"].btn { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn::-moz-focus-inner, -input[type="submit"].btn::-moz-focus-inner { - padding: 0; - border: 0; -} -button.btn.btn-large, -input[type="submit"].btn.btn-large { - *padding-top: 7px; - *padding-bottom: 7px; -} -button.btn.btn-small, -input[type="submit"].btn.btn-small { - *padding-top: 3px; - *padding-bottom: 3px; -} -button.btn.btn-mini, -input[type="submit"].btn.btn-mini { - *padding-top: 1px; - *padding-bottom: 1px; -} -.btn-link, -.btn-link:active, -.btn-link[disabled] { - background-color: transparent; - background-image: none; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; -} -.btn-link { - border-color: transparent; - cursor: pointer; - color: #dd4814; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-link:hover, -.btn-link:focus { - color: #97310e; - text-decoration: underline; - background-color: transparent; -} -.btn-link[disabled]:hover, -.btn-link[disabled]:focus { - color: #333333; - text-decoration: none; -} -.btn-group { - position: relative; - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - font-size: 0; - vertical-align: middle; - white-space: nowrap; - *margin-left: .3em; -} -.btn-group:first-child { - *margin-left: 0; -} -.btn-group + .btn-group { - margin-left: 5px; -} -.btn-toolbar { - font-size: 0; - margin-top: 10px; - margin-bottom: 10px; -} -.btn-toolbar > .btn + .btn, -.btn-toolbar > .btn-group + .btn, -.btn-toolbar > .btn + .btn-group { - margin-left: 5px; -} -.btn-group > .btn { - position: relative; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group > .btn + .btn { - margin-left: -1px; -} -.btn-group > .btn, -.btn-group > .dropdown-menu, -.btn-group > .popover { - font-size: 14px; -} -.btn-group > .btn-mini { - font-size: 10.5px; -} -.btn-group > .btn-small { - font-size: 11.9px; -} -.btn-group > .btn-large { - font-size: 17.5px; -} -.btn-group > .btn:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.btn-group > .btn:last-child, -.btn-group > .dropdown-toggle { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.btn-group > .btn.large:first-child { - margin-left: 0; - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.btn-group > .btn.large:last-child, -.btn-group > .large.dropdown-toggle { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.btn-group > .btn:hover, -.btn-group > .btn:focus, -.btn-group > .btn:active, -.btn-group > .btn.active { - z-index: 2; -} -.btn-group .dropdown-toggle:active, -.btn-group.open .dropdown-toggle { - outline: 0; -} -.btn-group > .btn + .dropdown-toggle { - padding-left: 8px; - padding-right: 8px; - -webkit-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 1px 0 0 rgba(255,255,255,.125), inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05); - *padding-top: 5px; - *padding-bottom: 5px; -} -.btn-group > .btn-mini + .dropdown-toggle { - padding-left: 5px; - padding-right: 5px; - *padding-top: 2px; - *padding-bottom: 2px; -} -.btn-group > .btn-small + .dropdown-toggle { - *padding-top: 5px; - *padding-bottom: 4px; -} -.btn-group > .btn-large + .dropdown-toggle { - padding-left: 12px; - padding-right: 12px; - *padding-top: 7px; - *padding-bottom: 7px; -} -.btn-group.open .dropdown-toggle { - background-image: none; - -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); - box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05); -} -.btn-group.open .btn.dropdown-toggle { - background-color: #e6e6e6; -} -.btn-group.open .btn-primary.dropdown-toggle { - background-color: #dd7a14; -} -.btn-group.open .btn-warning.dropdown-toggle { - background-color: #dd4814; -} -.btn-group.open .btn-danger.dropdown-toggle { - background-color: #bd362f; -} -.btn-group.open .btn-success.dropdown-toggle { - background-color: #51a351; -} -.btn-group.open .btn-info.dropdown-toggle { - background-color: #772953; -} -.btn-group.open .btn-inverse.dropdown-toggle { - background-color: #222222; -} -.btn .caret { - margin-top: 8px; - margin-left: 0; -} -.btn-large .caret { - margin-top: 6px; -} -.btn-large .caret { - border-left-width: 5px; - border-right-width: 5px; - border-top-width: 5px; -} -.btn-mini .caret, -.btn-small .caret { - margin-top: 8px; -} -.dropup .btn-large .caret { - border-bottom-width: 5px; -} -.btn-primary .caret, -.btn-warning .caret, -.btn-danger .caret, -.btn-info .caret, -.btn-success .caret, -.btn-inverse .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.btn-group-vertical { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; -} -.btn-group-vertical > .btn { - display: block; - float: none; - max-width: 100%; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.btn-group-vertical > .btn + .btn { - margin-left: 0; - margin-top: -1px; -} -.btn-group-vertical > .btn:first-child { - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.btn-group-vertical > .btn:last-child { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.btn-group-vertical > .btn-large:first-child { - -webkit-border-radius: 6px 6px 0 0; - -moz-border-radius: 6px 6px 0 0; - border-radius: 6px 6px 0 0; -} -.btn-group-vertical > .btn-large:last-child { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.alert { - padding: 8px 35px 8px 14px; - margin-bottom: 20px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - background-color: #fcefd4; - border: 1px solid #fae1c6; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.alert, -.alert h4 { - color: #eca918; -} -.alert h4 { - margin: 0; -} -.alert .close { - position: relative; - top: -2px; - right: -21px; - line-height: 20px; -} -.alert-success { - background-color: #caeecf; - border-color: #b7e8b6; - color: #38b44a; -} -.alert-success h4 { - color: #38b44a; -} -.alert-danger, -.alert-error { - background-color: #fadfdd; - border-color: #f8d0d4; - color: #df382c; -} -.alert-danger h4, -.alert-error h4 { - color: #df382c; -} -.alert-info { - background-color: #e7b8d1; - border-color: #de9ecb; - color: #772953; -} -.alert-info h4 { - color: #772953; -} -.alert-block { - padding-top: 14px; - padding-bottom: 14px; -} -.alert-block > p, -.alert-block > ul { - margin-bottom: 0; -} -.alert-block p + p { - margin-top: 5px; -} -.nav { - margin-left: 0; - margin-bottom: 20px; - list-style: none; -} -.nav > li > a { - display: block; -} -.nav > li > a:hover, -.nav > li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.nav > li > a > img { - max-width: none; -} -.nav > .pull-right { - float: right; -} -.nav-header { - display: block; - padding: 3px 15px; - font-size: 11px; - font-weight: bold; - line-height: 20px; - color: #999999; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); - text-transform: uppercase; -} -.nav li + .nav-header { - margin-top: 9px; -} -.nav-list { - padding-left: 15px; - padding-right: 15px; - margin-bottom: 0; -} -.nav-list > li > a, -.nav-list .nav-header { - margin-left: -15px; - margin-right: -15px; - text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5); -} -.nav-list > li > a { - padding: 3px 15px; -} -.nav-list > .active > a, -.nav-list > .active > a:hover, -.nav-list > .active > a:focus { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.2); - background-color: #dd4814; -} -.nav-list [class^="icon-"], -.nav-list [class*=" icon-"] { - margin-right: 2px; -} -.nav-list .divider { - *width: 100%; - height: 1px; - margin: 9px 1px; - *margin: -5px 0 5px; - overflow: hidden; - background-color: #e5e5e5; - border-bottom: 1px solid #ffffff; -} -.nav-tabs, -.nav-pills { - *zoom: 1; -} -.nav-tabs:before, -.nav-pills:before, -.nav-tabs:after, -.nav-pills:after { - display: table; - content: ""; - line-height: 0; -} -.nav-tabs:after, -.nav-pills:after { - clear: both; -} -.nav-tabs > li, -.nav-pills > li { - float: left; -} -.nav-tabs > li > a, -.nav-pills > li > a { - padding-right: 12px; - padding-left: 12px; - margin-right: 2px; - line-height: 14px; -} -.nav-tabs { - border-bottom: 1px solid #ddd; -} -.nav-tabs > li { - margin-bottom: -1px; -} -.nav-tabs > li > a { - padding-top: 8px; - padding-bottom: 8px; - line-height: 20px; - border: 1px solid transparent; - -webkit-border-radius: 4px 4px 0 0; - -moz-border-radius: 4px 4px 0 0; - border-radius: 4px 4px 0 0; -} -.nav-tabs > li > a:hover, -.nav-tabs > li > a:focus { - border-color: #f5f5f5 #f5f5f5 #dddddd; -} -.nav-tabs > .active > a, -.nav-tabs > .active > a:hover, -.nav-tabs > .active > a:focus { - color: #555555; - background-color: #ffffff; - border: 1px solid #ddd; - border-bottom-color: transparent; - cursor: default; -} -.nav-pills > li > a { - padding-top: 8px; - padding-bottom: 8px; - margin-top: 2px; - margin-bottom: 2px; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; -} -.nav-pills > .active > a, -.nav-pills > .active > a:hover, -.nav-pills > .active > a:focus { - color: #ffffff; - background-color: #dd4814; -} -.nav-stacked > li { - float: none; -} -.nav-stacked > li > a { - margin-right: 0; -} -.nav-tabs.nav-stacked { - border-bottom: 0; -} -.nav-tabs.nav-stacked > li > a { - border: 1px solid #ddd; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.nav-tabs.nav-stacked > li:first-child > a { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; -} -.nav-tabs.nav-stacked > li:last-child > a { - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.nav-tabs.nav-stacked > li > a:hover, -.nav-tabs.nav-stacked > li > a:focus { - border-color: #ddd; - z-index: 2; -} -.nav-pills.nav-stacked > li > a { - margin-bottom: 3px; -} -.nav-pills.nav-stacked > li:last-child > a { - margin-bottom: 1px; -} -.nav-tabs .dropdown-menu { - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; -} -.nav-pills .dropdown-menu { - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.nav .dropdown-toggle .caret { - border-top-color: #dd4814; - border-bottom-color: #dd4814; - margin-top: 6px; -} -.nav .dropdown-toggle:hover .caret, -.nav .dropdown-toggle:focus .caret { - border-top-color: #97310e; - border-bottom-color: #97310e; -} -/* move down carets for tabs */ -.nav-tabs .dropdown-toggle .caret { - margin-top: 8px; -} -.nav .active .dropdown-toggle .caret { - border-top-color: #fff; - border-bottom-color: #fff; -} -.nav-tabs .active .dropdown-toggle .caret { - border-top-color: #555555; - border-bottom-color: #555555; -} -.nav > .dropdown.active > a:hover, -.nav > .dropdown.active > a:focus { - cursor: pointer; -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover, -.nav > li.dropdown.open.active > a:focus { - color: #ffffff; - background-color: #999999; - border-color: #999999; -} -.nav li.dropdown.open .caret, -.nav li.dropdown.open.active .caret, -.nav li.dropdown.open a:hover .caret, -.nav li.dropdown.open a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; - opacity: 1; - filter: alpha(opacity=100); -} -.tabs-stacked .open > a:hover, -.tabs-stacked .open > a:focus { - border-color: #999999; -} -.tabbable { - *zoom: 1; -} -.tabbable:before, -.tabbable:after { - display: table; - content: ""; - line-height: 0; -} -.tabbable:after { - clear: both; -} -.tab-content { - overflow: auto; -} -.tabs-below > .nav-tabs, -.tabs-right > .nav-tabs, -.tabs-left > .nav-tabs { - border-bottom: 0; -} -.tab-content > .tab-pane, -.pill-content > .pill-pane { - display: none; -} -.tab-content > .active, -.pill-content > .active { - display: block; -} -.tabs-below > .nav-tabs { - border-top: 1px solid #ddd; -} -.tabs-below > .nav-tabs > li { - margin-top: -1px; - margin-bottom: 0; -} -.tabs-below > .nav-tabs > li > a { - -webkit-border-radius: 0 0 4px 4px; - -moz-border-radius: 0 0 4px 4px; - border-radius: 0 0 4px 4px; -} -.tabs-below > .nav-tabs > li > a:hover, -.tabs-below > .nav-tabs > li > a:focus { - border-bottom-color: transparent; - border-top-color: #ddd; -} -.tabs-below > .nav-tabs > .active > a, -.tabs-below > .nav-tabs > .active > a:hover, -.tabs-below > .nav-tabs > .active > a:focus { - border-color: transparent #ddd #ddd #ddd; -} -.tabs-left > .nav-tabs > li, -.tabs-right > .nav-tabs > li { - float: none; -} -.tabs-left > .nav-tabs > li > a, -.tabs-right > .nav-tabs > li > a { - min-width: 74px; - margin-right: 0; - margin-bottom: 3px; -} -.tabs-left > .nav-tabs { - float: left; - margin-right: 19px; - border-right: 1px solid #ddd; -} -.tabs-left > .nav-tabs > li > a { - margin-right: -1px; - -webkit-border-radius: 4px 0 0 4px; - -moz-border-radius: 4px 0 0 4px; - border-radius: 4px 0 0 4px; -} -.tabs-left > .nav-tabs > li > a:hover, -.tabs-left > .nav-tabs > li > a:focus { - border-color: #f5f5f5 #dddddd #f5f5f5 #f5f5f5; -} -.tabs-left > .nav-tabs .active > a, -.tabs-left > .nav-tabs .active > a:hover, -.tabs-left > .nav-tabs .active > a:focus { - border-color: #ddd transparent #ddd #ddd; - *border-right-color: #ffffff; -} -.tabs-right > .nav-tabs { - float: right; - margin-left: 19px; - border-left: 1px solid #ddd; -} -.tabs-right > .nav-tabs > li > a { - margin-left: -1px; - -webkit-border-radius: 0 4px 4px 0; - -moz-border-radius: 0 4px 4px 0; - border-radius: 0 4px 4px 0; -} -.tabs-right > .nav-tabs > li > a:hover, -.tabs-right > .nav-tabs > li > a:focus { - border-color: #f5f5f5 #f5f5f5 #f5f5f5 #dddddd; -} -.tabs-right > .nav-tabs .active > a, -.tabs-right > .nav-tabs .active > a:hover, -.tabs-right > .nav-tabs .active > a:focus { - border-color: #ddd #ddd #ddd transparent; - *border-left-color: #ffffff; -} -.nav > .disabled > a { - color: #999999; -} -.nav > .disabled > a:hover, -.nav > .disabled > a:focus { - text-decoration: none; - background-color: transparent; - cursor: default; -} -.navbar { - overflow: visible; - margin-bottom: 20px; - *position: relative; - *z-index: 2; -} -.navbar-inner { - min-height: 40px; - padding-left: 20px; - padding-right: 20px; - background-color: #d44413; - background-image: -moz-linear-gradient(top, #ce4213, #dd4814); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ce4213), to(#dd4814)); - background-image: -webkit-linear-gradient(top, #ce4213, #dd4814); - background-image: -o-linear-gradient(top, #ce4213, #dd4814); - background-image: linear-gradient(to bottom, #ce4213, #dd4814); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffce4213', endColorstr='#ffdd4814', GradientType=0); - border: 1px solid #c64012; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - box-shadow: 0 1px 4px rgba(0, 0, 0, 0.065); - *zoom: 1; -} -.navbar-inner:before, -.navbar-inner:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-inner:after { - clear: both; -} -.navbar .container { - width: auto; -} -.nav-collapse.collapse { - height: auto; - overflow: visible; -} -.navbar .brand { - float: left; - display: block; - padding: 10px 20px 10px; - margin-left: -20px; - font-size: 20px; - font-weight: 200; - color: #ffffff; - text-shadow: 0 1px 0 #ce4213; -} -.navbar .brand:hover, -.navbar .brand:focus { - text-decoration: none; -} -.navbar-text { - margin-bottom: 0; - line-height: 40px; - color: #ffffff; -} -.navbar-link { - color: #ffffff; -} -.navbar-link:hover, -.navbar-link:focus { - color: #ffffff; -} -.navbar .divider-vertical { - height: 40px; - margin: 0 9px; - border-left: 1px solid #dd4814; - border-right: 1px solid #ce4213; -} -.navbar .btn, -.navbar .btn-group { - margin-top: 5px; -} -.navbar .btn-group .btn, -.navbar .input-prepend .btn, -.navbar .input-append .btn, -.navbar .input-prepend .btn-group, -.navbar .input-append .btn-group { - margin-top: 0; -} -.navbar-form { - margin-bottom: 0; - *zoom: 1; -} -.navbar-form:before, -.navbar-form:after { - display: table; - content: ""; - line-height: 0; -} -.navbar-form:after { - clear: both; -} -.navbar-form input, -.navbar-form select, -.navbar-form .radio, -.navbar-form .checkbox { - margin-top: 5px; -} -.navbar-form input, -.navbar-form select, -.navbar-form .btn { - display: inline-block; - margin-bottom: 0; -} -.navbar-form input[type="image"], -.navbar-form input[type="checkbox"], -.navbar-form input[type="radio"] { - margin-top: 3px; -} -.navbar-form .input-append, -.navbar-form .input-prepend { - margin-top: 5px; - white-space: nowrap; -} -.navbar-form .input-append input, -.navbar-form .input-prepend input { - margin-top: 0; -} -.navbar-search { - position: relative; - float: left; - margin-top: 5px; - margin-bottom: 0; -} -.navbar-search .search-query { - margin-bottom: 0; - padding: 4px 14px; - font-family: 'Ubuntu', Tahoma, sans-serif; - font-size: 13px; - font-weight: normal; - line-height: 1; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.navbar-static-top { - position: static; - margin-bottom: 0; -} -.navbar-static-top .navbar-inner { - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-fixed-top, -.navbar-fixed-bottom { - position: fixed; - right: 0; - left: 0; - z-index: 1030; - margin-bottom: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - border-width: 0 0 1px; -} -.navbar-fixed-bottom .navbar-inner { - border-width: 1px 0 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-fixed-bottom .navbar-inner { - padding-left: 0; - padding-right: 0; - -webkit-border-radius: 0; - -moz-border-radius: 0; - border-radius: 0; -} -.navbar-static-top .container, -.navbar-fixed-top .container, -.navbar-fixed-bottom .container { - width: 940px; -} -.navbar-fixed-top { - top: 0; -} -.navbar-fixed-top .navbar-inner, -.navbar-static-top .navbar-inner { - -webkit-box-shadow: 0 1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 1px 10px rgba(0,0,0,.1); - box-shadow: 0 1px 10px rgba(0,0,0,.1); -} -.navbar-fixed-bottom { - bottom: 0; -} -.navbar-fixed-bottom .navbar-inner { - -webkit-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - -moz-box-shadow: 0 -1px 10px rgba(0,0,0,.1); - box-shadow: 0 -1px 10px rgba(0,0,0,.1); -} -.navbar .nav { - position: relative; - left: 0; - display: block; - float: left; - margin: 0 10px 0 0; -} -.navbar .nav.pull-right { - float: right; - margin-right: 0; -} -.navbar .nav > li { - float: left; -} -.navbar .nav > li > a { - float: none; - padding: 10px 15px 10px; - color: #ffffff; - text-decoration: none; - text-shadow: 0 1px 0 #ce4213; -} -.navbar .nav .dropdown-toggle .caret { - margin-top: 8px; -} -.navbar .nav > li > a:focus, -.navbar .nav > li > a:hover { - background-color: #a5360f; - color: #ffffff; - text-decoration: none; -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover, -.navbar .nav > .active > a:focus { - color: #ffffff; - text-decoration: none; - background-color: #a5360f; - -webkit-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - -moz-box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); - box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.125); -} -.navbar .btn-navbar { - display: none; - float: right; - padding: 7px 10px; - margin-left: 5px; - margin-right: 5px; - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #bd3d11; - background-image: -moz-linear-gradient(top, #b73b11, #c64012); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#b73b11), to(#c64012)); - background-image: -webkit-linear-gradient(top, #b73b11, #c64012); - background-image: -o-linear-gradient(top, #b73b11, #c64012); - background-image: linear-gradient(to bottom, #b73b11, #c64012); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffb73b11', endColorstr='#ffc64012', GradientType=0); - border-color: #c64012 #c64012 #7f2a0c; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #c64012; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); - -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); - box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 1px 0 rgba(255,255,255,.075); -} -.navbar .btn-navbar:hover, -.navbar .btn-navbar:focus, -.navbar .btn-navbar:active, -.navbar .btn-navbar.active, -.navbar .btn-navbar.disabled, -.navbar .btn-navbar[disabled] { - color: #ffffff; - background-color: #c64012; - *background-color: #ae3910; -} -.navbar .btn-navbar:active, -.navbar .btn-navbar.active { - background-color: #97310e \9; -} -.navbar .btn-navbar .icon-bar { - display: block; - width: 18px; - height: 2px; - background-color: #f5f5f5; - -webkit-border-radius: 1px; - -moz-border-radius: 1px; - border-radius: 1px; - -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - -moz-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); - box-shadow: 0 1px 0 rgba(0, 0, 0, 0.25); -} -.btn-navbar .icon-bar + .icon-bar { - margin-top: 3px; -} -.navbar .nav > li > .dropdown-menu:before { - content: ''; - display: inline-block; - border-left: 7px solid transparent; - border-right: 7px solid transparent; - border-bottom: 7px solid #ccc; - border-bottom-color: rgba(0, 0, 0, 0.2); - position: absolute; - top: -7px; - left: 9px; -} -.navbar .nav > li > .dropdown-menu:after { - content: ''; - display: inline-block; - border-left: 6px solid transparent; - border-right: 6px solid transparent; - border-bottom: 6px solid #ffffff; - position: absolute; - top: -6px; - left: 10px; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:before { - border-top: 7px solid #ccc; - border-top-color: rgba(0, 0, 0, 0.2); - border-bottom: 0; - bottom: -7px; - top: auto; -} -.navbar-fixed-bottom .nav > li > .dropdown-menu:after { - border-top: 6px solid #ffffff; - border-bottom: 0; - bottom: -6px; - top: auto; -} -.navbar .nav li.dropdown > a:hover .caret, -.navbar .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .nav li.dropdown.open > .dropdown-toggle, -.navbar .nav li.dropdown.active > .dropdown-toggle, -.navbar .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #a5360f; - color: #ffffff; -} -.navbar .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar .pull-right > li > .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right { - left: auto; - right: 0; -} -.navbar .pull-right > li > .dropdown-menu:before, -.navbar .nav > li > .dropdown-menu.pull-right:before { - left: auto; - right: 12px; -} -.navbar .pull-right > li > .dropdown-menu:after, -.navbar .nav > li > .dropdown-menu.pull-right:after { - left: auto; - right: 13px; -} -.navbar .pull-right > li > .dropdown-menu .dropdown-menu, -.navbar .nav > li > .dropdown-menu.pull-right .dropdown-menu { - left: auto; - right: 100%; - margin-left: 0; - margin-right: -1px; - -webkit-border-radius: 6px 0 6px 6px; - -moz-border-radius: 6px 0 6px 6px; - border-radius: 6px 0 6px 6px; -} -.navbar-inverse .navbar-inner { - background-color: #802c59; - background-image: -moz-linear-gradient(top, #862e5e, #772953); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#862e5e), to(#772953)); - background-image: -webkit-linear-gradient(top, #862e5e, #772953); - background-image: -o-linear-gradient(top, #862e5e, #772953); - background-image: linear-gradient(to bottom, #862e5e, #772953); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff862e5e', endColorstr='#ff772953', GradientType=0); - border-color: #642246; -} -.navbar-inverse .brand, -.navbar-inverse .nav > li > a { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); -} -.navbar-inverse .brand:hover, -.navbar-inverse .nav > li > a:hover, -.navbar-inverse .brand:focus, -.navbar-inverse .nav > li > a:focus { - color: #ffffff; -} -.navbar-inverse .brand { - color: #ffffff; -} -.navbar-inverse .navbar-text { - color: #ffffff; -} -.navbar-inverse .nav > li > a:focus, -.navbar-inverse .nav > li > a:hover { - background-color: #591f3e; - color: #ffffff; -} -.navbar-inverse .nav .active > a, -.navbar-inverse .nav .active > a:hover, -.navbar-inverse .nav .active > a:focus { - color: #ffffff; - background-color: #591f3e; -} -.navbar-inverse .navbar-link { - color: #ffffff; -} -.navbar-inverse .navbar-link:hover, -.navbar-inverse .navbar-link:focus { - color: #ffffff; -} -.navbar-inverse .divider-vertical { - border-left-color: #772953; - border-right-color: #862e5e; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle { - background-color: #591f3e; - color: #ffffff; -} -.navbar-inverse .nav li.dropdown > a:hover .caret, -.navbar-inverse .nav li.dropdown > a:focus .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .nav li.dropdown.open > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.active > .dropdown-toggle .caret, -.navbar-inverse .nav li.dropdown.open.active > .dropdown-toggle .caret { - border-top-color: #ffffff; - border-bottom-color: #ffffff; -} -.navbar-inverse .navbar-search .search-query { - color: #ffffff; - background-color: #c65a94; - border-color: #772953; - -webkit-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -moz-box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - box-shadow: inset 0 1px 2px rgba(0,0,0,.1), 0 1px 0 rgba(255,255,255,.15); - -webkit-transition: none; - -moz-transition: none; - -o-transition: none; - transition: none; -} -.navbar-inverse .navbar-search .search-query:-moz-placeholder { - color: #eeeeee; -} -.navbar-inverse .navbar-search .search-query:-ms-input-placeholder { - color: #eeeeee; -} -.navbar-inverse .navbar-search .search-query::-webkit-input-placeholder { - color: #eeeeee; -} -.navbar-inverse .navbar-search .search-query:focus, -.navbar-inverse .navbar-search .search-query.focused { - padding: 5px 15px; - color: #333333; - text-shadow: 0 1px 0 #ffffff; - background-color: #ffffff; - border: 0; - -webkit-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - -moz-box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - box-shadow: 0 0 3px rgba(0, 0, 0, 0.15); - outline: 0; -} -.navbar-inverse .btn-navbar { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #6d264c; - background-image: -moz-linear-gradient(top, #732850, #642246); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#732850), to(#642246)); - background-image: -webkit-linear-gradient(top, #732850, #642246); - background-image: -o-linear-gradient(top, #732850, #642246); - background-image: linear-gradient(to bottom, #732850, #642246); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff732850', endColorstr='#ff642246', GradientType=0); - border-color: #642246 #642246 #2b0f1e; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #642246; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.navbar-inverse .btn-navbar:hover, -.navbar-inverse .btn-navbar:focus, -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active, -.navbar-inverse .btn-navbar.disabled, -.navbar-inverse .btn-navbar[disabled] { - color: #ffffff; - background-color: #642246; - *background-color: #511c39; -} -.navbar-inverse .btn-navbar:active, -.navbar-inverse .btn-navbar.active { - background-color: #3e152b \9; -} -.breadcrumb { - padding: 8px 15px; - margin: 0 0 20px; - list-style: none; - background-color: #f5f5f5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.breadcrumb > li { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - text-shadow: 0 1px 0 #ffffff; -} -.breadcrumb > li > .divider { - padding: 0 5px; - color: #ccc; -} -.breadcrumb > .active { - color: #999999; -} -.pagination { - margin: 20px 0; -} -.pagination ul { - display: inline-block; - *display: inline; - /* IE7 inline-block hack */ - - *zoom: 1; - margin-left: 0; - margin-bottom: 0; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); - box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05); -} -.pagination ul > li { - display: inline; -} -.pagination ul > li > a, -.pagination ul > li > span { - float: left; - padding: 4px 12px; - line-height: 20px; - text-decoration: none; - background-color: #ffffff; - border: 1px solid #dddddd; - border-left-width: 0; -} -.pagination ul > li > a:hover, -.pagination ul > li > a:focus, -.pagination ul > .active > a, -.pagination ul > .active > span { - background-color: #f5f5f5; -} -.pagination ul > .active > a, -.pagination ul > .active > span { - color: #999999; - cursor: default; -} -.pagination ul > .disabled > span, -.pagination ul > .disabled > a, -.pagination ul > .disabled > a:hover, -.pagination ul > .disabled > a:focus { - color: #999999; - background-color: transparent; - cursor: default; -} -.pagination ul > li:first-child > a, -.pagination ul > li:first-child > span { - border-left-width: 1px; - -webkit-border-top-left-radius: 4px; - -moz-border-radius-topleft: 4px; - border-top-left-radius: 4px; - -webkit-border-bottom-left-radius: 4px; - -moz-border-radius-bottomleft: 4px; - border-bottom-left-radius: 4px; -} -.pagination ul > li:last-child > a, -.pagination ul > li:last-child > span { - -webkit-border-top-right-radius: 4px; - -moz-border-radius-topright: 4px; - border-top-right-radius: 4px; - -webkit-border-bottom-right-radius: 4px; - -moz-border-radius-bottomright: 4px; - border-bottom-right-radius: 4px; -} -.pagination-centered { - text-align: center; -} -.pagination-right { - text-align: right; -} -.pagination-large ul > li > a, -.pagination-large ul > li > span { - padding: 11px 19px; - font-size: 17.5px; -} -.pagination-large ul > li:first-child > a, -.pagination-large ul > li:first-child > span { - -webkit-border-top-left-radius: 6px; - -moz-border-radius-topleft: 6px; - border-top-left-radius: 6px; - -webkit-border-bottom-left-radius: 6px; - -moz-border-radius-bottomleft: 6px; - border-bottom-left-radius: 6px; -} -.pagination-large ul > li:last-child > a, -.pagination-large ul > li:last-child > span { - -webkit-border-top-right-radius: 6px; - -moz-border-radius-topright: 6px; - border-top-right-radius: 6px; - -webkit-border-bottom-right-radius: 6px; - -moz-border-radius-bottomright: 6px; - border-bottom-right-radius: 6px; -} -.pagination-mini ul > li:first-child > a, -.pagination-small ul > li:first-child > a, -.pagination-mini ul > li:first-child > span, -.pagination-small ul > li:first-child > span { - -webkit-border-top-left-radius: 3px; - -moz-border-radius-topleft: 3px; - border-top-left-radius: 3px; - -webkit-border-bottom-left-radius: 3px; - -moz-border-radius-bottomleft: 3px; - border-bottom-left-radius: 3px; -} -.pagination-mini ul > li:last-child > a, -.pagination-small ul > li:last-child > a, -.pagination-mini ul > li:last-child > span, -.pagination-small ul > li:last-child > span { - -webkit-border-top-right-radius: 3px; - -moz-border-radius-topright: 3px; - border-top-right-radius: 3px; - -webkit-border-bottom-right-radius: 3px; - -moz-border-radius-bottomright: 3px; - border-bottom-right-radius: 3px; -} -.pagination-small ul > li > a, -.pagination-small ul > li > span { - padding: 2px 10px; - font-size: 11.9px; -} -.pagination-mini ul > li > a, -.pagination-mini ul > li > span { - padding: 0px 6px; - font-size: 10.5px; -} -.pager { - margin: 20px 0; - list-style: none; - text-align: center; - *zoom: 1; -} -.pager:before, -.pager:after { - display: table; - content: ""; - line-height: 0; -} -.pager:after { - clear: both; -} -.pager li { - display: inline; -} -.pager li > a, -.pager li > span { - display: inline-block; - padding: 5px 14px; - background-color: #fff; - border: 1px solid #ddd; - -webkit-border-radius: 15px; - -moz-border-radius: 15px; - border-radius: 15px; -} -.pager li > a:hover, -.pager li > a:focus { - text-decoration: none; - background-color: #f5f5f5; -} -.pager .next > a, -.pager .next > span { - float: right; -} -.pager .previous > a, -.pager .previous > span { - float: left; -} -.pager .disabled > a, -.pager .disabled > a:hover, -.pager .disabled > a:focus, -.pager .disabled > span { - color: #999999; - background-color: #fff; - cursor: default; -} -.modal-backdrop { - position: fixed; - top: 0; - right: 0; - bottom: 0; - left: 0; - z-index: 1040; - background-color: #000000; -} -.modal-backdrop.fade { - opacity: 0; -} -.modal-backdrop, -.modal-backdrop.fade.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.modal { - position: fixed; - top: 10%; - left: 50%; - z-index: 1050; - width: 560px; - margin-left: -280px; - background-color: #ffffff; - border: 1px solid #999; - border: 1px solid rgba(0, 0, 0, 0.3); - *border: 1px solid #999; - /* IE6-7 */ - - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3); - -webkit-background-clip: padding-box; - -moz-background-clip: padding-box; - background-clip: padding-box; - outline: none; -} -.modal.fade { - -webkit-transition: opacity .3s linear, top .3s ease-out; - -moz-transition: opacity .3s linear, top .3s ease-out; - -o-transition: opacity .3s linear, top .3s ease-out; - transition: opacity .3s linear, top .3s ease-out; - top: -25%; -} -.modal.fade.in { - top: 10%; -} -.modal-header { - padding: 9px 15px; - border-bottom: 1px solid #eee; -} -.modal-header .close { - margin-top: 2px; -} -.modal-header h3 { - margin: 0; - line-height: 30px; -} -.modal-body { - position: relative; - overflow-y: auto; - max-height: 400px; - padding: 15px; -} -.modal-form { - margin-bottom: 0; -} -.modal-footer { - padding: 14px 15px 15px; - margin-bottom: 0; - text-align: right; - background-color: #f5f5f5; - border-top: 1px solid #ddd; - -webkit-border-radius: 0 0 6px 6px; - -moz-border-radius: 0 0 6px 6px; - border-radius: 0 0 6px 6px; - -webkit-box-shadow: inset 0 1px 0 #ffffff; - -moz-box-shadow: inset 0 1px 0 #ffffff; - box-shadow: inset 0 1px 0 #ffffff; - *zoom: 1; -} -.modal-footer:before, -.modal-footer:after { - display: table; - content: ""; - line-height: 0; -} -.modal-footer:after { - clear: both; -} -.modal-footer .btn + .btn { - margin-left: 5px; - margin-bottom: 0; -} -.modal-footer .btn-group .btn + .btn { - margin-left: -1px; -} -.modal-footer .btn-block + .btn-block { - margin-left: 0; -} -.tooltip { - position: absolute; - z-index: 1030; - display: block; - visibility: visible; - font-size: 11px; - line-height: 1.4; - opacity: 0; - filter: alpha(opacity=0); -} -.tooltip.in { - opacity: 0.8; - filter: alpha(opacity=80); -} -.tooltip.top { - margin-top: -3px; - padding: 5px 0; -} -.tooltip.right { - margin-left: 3px; - padding: 0 5px; -} -.tooltip.bottom { - margin-top: 3px; - padding: 5px 0; -} -.tooltip.left { - margin-left: -3px; - padding: 0 5px; -} -.tooltip-inner { - max-width: 200px; - padding: 8px; - color: #ffffff; - text-align: center; - text-decoration: none; - background-color: #000000; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.tooltip.top .tooltip-arrow { - bottom: 0; - left: 50%; - margin-left: -5px; - border-width: 5px 5px 0; - border-top-color: #000000; -} -.tooltip.right .tooltip-arrow { - top: 50%; - left: 0; - margin-top: -5px; - border-width: 5px 5px 5px 0; - border-right-color: #000000; -} -.tooltip.left .tooltip-arrow { - top: 50%; - right: 0; - margin-top: -5px; - border-width: 5px 0 5px 5px; - border-left-color: #000000; -} -.tooltip.bottom .tooltip-arrow { - top: 0; - left: 50%; - margin-left: -5px; - border-width: 0 5px 5px; - border-bottom-color: #000000; -} -.popover { - position: absolute; - top: 0; - left: 0; - z-index: 1010; - display: none; - max-width: 276px; - padding: 1px; - text-align: left; - background-color: #ffffff; - -webkit-background-clip: padding-box; - -moz-background-clip: padding; - background-clip: padding-box; - border: 1px solid #ccc; - border: 1px solid rgba(0, 0, 0, 0.2); - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; - -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); - white-space: normal; -} -.popover.top { - margin-top: -10px; -} -.popover.right { - margin-left: 10px; -} -.popover.bottom { - margin-top: 10px; -} -.popover.left { - margin-left: -10px; -} -.popover-title { - margin: 0; - padding: 8px 14px; - font-size: 14px; - font-weight: normal; - line-height: 18px; - background-color: #f7f7f7; - border-bottom: 1px solid #ebebeb; - -webkit-border-radius: 5px 5px 0 0; - -moz-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.popover-title:empty { - display: none; -} -.popover-content { - padding: 9px 14px; -} -.popover .arrow, -.popover .arrow:after { - position: absolute; - display: block; - width: 0; - height: 0; - border-color: transparent; - border-style: solid; -} -.popover .arrow { - border-width: 11px; -} -.popover .arrow:after { - border-width: 10px; - content: ""; -} -.popover.top .arrow { - left: 50%; - margin-left: -11px; - border-bottom-width: 0; - border-top-color: #999; - border-top-color: rgba(0, 0, 0, 0.25); - bottom: -11px; -} -.popover.top .arrow:after { - bottom: 1px; - margin-left: -10px; - border-bottom-width: 0; - border-top-color: #ffffff; -} -.popover.right .arrow { - top: 50%; - left: -11px; - margin-top: -11px; - border-left-width: 0; - border-right-color: #999; - border-right-color: rgba(0, 0, 0, 0.25); -} -.popover.right .arrow:after { - left: 1px; - bottom: -10px; - border-left-width: 0; - border-right-color: #ffffff; -} -.popover.bottom .arrow { - left: 50%; - margin-left: -11px; - border-top-width: 0; - border-bottom-color: #999; - border-bottom-color: rgba(0, 0, 0, 0.25); - top: -11px; -} -.popover.bottom .arrow:after { - top: 1px; - margin-left: -10px; - border-top-width: 0; - border-bottom-color: #ffffff; -} -.popover.left .arrow { - top: 50%; - right: -11px; - margin-top: -11px; - border-right-width: 0; - border-left-color: #999; - border-left-color: rgba(0, 0, 0, 0.25); -} -.popover.left .arrow:after { - right: 1px; - border-right-width: 0; - border-left-color: #ffffff; - bottom: -10px; -} -.thumbnails { - margin-left: -20px; - list-style: none; - *zoom: 1; -} -.thumbnails:before, -.thumbnails:after { - display: table; - content: ""; - line-height: 0; -} -.thumbnails:after { - clear: both; -} -.row-fluid .thumbnails { - margin-left: 0; -} -.thumbnails > li { - float: left; - margin-bottom: 20px; - margin-left: 20px; -} -.thumbnail { - display: block; - padding: 4px; - line-height: 20px; - border: 1px solid #ddd; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; - -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.055); - -webkit-transition: all 0.2s ease-in-out; - -moz-transition: all 0.2s ease-in-out; - -o-transition: all 0.2s ease-in-out; - transition: all 0.2s ease-in-out; -} -a.thumbnail:hover, -a.thumbnail:focus { - border-color: #dd4814; - -webkit-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - -moz-box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); - box-shadow: 0 1px 4px rgba(0, 105, 214, 0.25); -} -.thumbnail > img { - display: block; - max-width: 100%; - margin-left: auto; - margin-right: auto; -} -.thumbnail .caption { - padding: 9px; - color: #555555; -} -.media, -.media-body { - overflow: hidden; - *overflow: visible; - zoom: 1; -} -.media, -.media .media { - margin-top: 15px; -} -.media:first-child { - margin-top: 0; -} -.media-object { - display: block; -} -.media-heading { - margin: 0 0 5px; -} -.media > .pull-left { - margin-right: 10px; -} -.media > .pull-right { - margin-left: 10px; -} -.media-list { - margin-left: 0; - list-style: none; -} -.label, -.badge { - display: inline-block; - padding: 2px 4px; - font-size: 11.844px; - font-weight: bold; - line-height: 14px; - color: #ffffff; - vertical-align: baseline; - white-space: nowrap; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #999999; -} -.label { - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -.badge { - padding-left: 9px; - padding-right: 9px; - -webkit-border-radius: 9px; - -moz-border-radius: 9px; - border-radius: 9px; -} -.label:empty, -.badge:empty { - display: none; -} -a.label:hover, -a.label:focus, -a.badge:hover, -a.badge:focus { - color: #ffffff; - text-decoration: none; - cursor: pointer; -} -.label-important, -.badge-important { - background-color: #df382c; -} -.label-important[href], -.badge-important[href] { - background-color: #bc271c; -} -.label-warning, -.badge-warning { - background-color: #dd4814; -} -.label-warning[href], -.badge-warning[href] { - background-color: #ae3910; -} -.label-success, -.badge-success { - background-color: #38b44a; -} -.label-success[href], -.badge-success[href] { - background-color: #2c8d3a; -} -.label-info, -.badge-info { - background-color: #772953; -} -.label-info[href], -.badge-info[href] { - background-color: #511c39; -} -.label-inverse, -.badge-inverse { - background-color: #333333; -} -.label-inverse[href], -.badge-inverse[href] { - background-color: #1a1a1a; -} -.btn .label, -.btn .badge { - position: relative; - top: -1px; -} -.btn-mini .label, -.btn-mini .badge { - top: 0; -} -@-webkit-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-moz-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-ms-keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -@-o-keyframes progress-bar-stripes { - from { - background-position: 0 0; - } - to { - background-position: 40px 0; - } -} -@keyframes progress-bar-stripes { - from { - background-position: 40px 0; - } - to { - background-position: 0 0; - } -} -.progress { - overflow: hidden; - height: 20px; - margin-bottom: 20px; - background-color: #f7f7f7; - background-image: -moz-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5f5f5), to(#f9f9f9)); - background-image: -webkit-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: -o-linear-gradient(top, #f5f5f5, #f9f9f9); - background-image: linear-gradient(to bottom, #f5f5f5, #f9f9f9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5f5f5', endColorstr='#fff9f9f9', GradientType=0); - -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -moz-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.progress .bar { - width: 0%; - height: 100%; - color: #ffffff; - float: left; - font-size: 12px; - text-align: center; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #0e90d2; - background-image: -moz-linear-gradient(top, #149bdf, #0480be); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#149bdf), to(#0480be)); - background-image: -webkit-linear-gradient(top, #149bdf, #0480be); - background-image: -o-linear-gradient(top, #149bdf, #0480be); - background-image: linear-gradient(to bottom, #149bdf, #0480be); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff149bdf', endColorstr='#ff0480be', GradientType=0); - -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -moz-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); - -webkit-box-sizing: border-box; - -moz-box-sizing: border-box; - box-sizing: border-box; - -webkit-transition: width 0.6s ease; - -moz-transition: width 0.6s ease; - -o-transition: width 0.6s ease; - transition: width 0.6s ease; -} -.progress .bar + .bar { - -webkit-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - -moz-box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); - box-shadow: inset 1px 0 0 rgba(0,0,0,.15), inset 0 -1px 0 rgba(0,0,0,.15); -} -.progress-striped .bar { - background-color: #149bdf; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - -webkit-background-size: 40px 40px; - -moz-background-size: 40px 40px; - -o-background-size: 40px 40px; - background-size: 40px 40px; -} -.progress.active .bar { - -webkit-animation: progress-bar-stripes 2s linear infinite; - -moz-animation: progress-bar-stripes 2s linear infinite; - -ms-animation: progress-bar-stripes 2s linear infinite; - -o-animation: progress-bar-stripes 2s linear infinite; - animation: progress-bar-stripes 2s linear infinite; -} -.progress-danger .bar, -.progress .bar-danger { - background-color: #dd514c; - background-image: -moz-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#c43c35)); - background-image: -webkit-linear-gradient(top, #ee5f5b, #c43c35); - background-image: -o-linear-gradient(top, #ee5f5b, #c43c35); - background-image: linear-gradient(to bottom, #ee5f5b, #c43c35); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffc43c35', GradientType=0); -} -.progress-danger.progress-striped .bar, -.progress-striped .bar-danger { - background-color: #ee5f5b; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-success .bar, -.progress .bar-success { - background-color: #5eb95e; - background-image: -moz-linear-gradient(top, #62c462, #57a957); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#57a957)); - background-image: -webkit-linear-gradient(top, #62c462, #57a957); - background-image: -o-linear-gradient(top, #62c462, #57a957); - background-image: linear-gradient(to bottom, #62c462, #57a957); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff57a957', GradientType=0); -} -.progress-success.progress-striped .bar, -.progress-striped .bar-success { - background-color: #62c462; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-info .bar, -.progress .bar-info { - background-color: #4bb1cf; - background-image: -moz-linear-gradient(top, #5bc0de, #339bb9); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#339bb9)); - background-image: -webkit-linear-gradient(top, #5bc0de, #339bb9); - background-image: -o-linear-gradient(top, #5bc0de, #339bb9); - background-image: linear-gradient(to bottom, #5bc0de, #339bb9); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff339bb9', GradientType=0); -} -.progress-info.progress-striped .bar, -.progress-striped .bar-info { - background-color: #5bc0de; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.progress-warning .bar, -.progress .bar-warning { - background-color: #e86537; - background-image: -moz-linear-gradient(top, #ef784e, #dd4814); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ef784e), to(#dd4814)); - background-image: -webkit-linear-gradient(top, #ef784e, #dd4814); - background-image: -o-linear-gradient(top, #ef784e, #dd4814); - background-image: linear-gradient(to bottom, #ef784e, #dd4814); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffef784e', endColorstr='#ffdd4814', GradientType=0); -} -.progress-warning.progress-striped .bar, -.progress-striped .bar-warning { - background-color: #ef784e; - background-image: -webkit-gradient(linear, 0 100%, 100% 0, color-stop(0.25, rgba(255, 255, 255, 0.15)), color-stop(0.25, transparent), color-stop(0.5, transparent), color-stop(0.5, rgba(255, 255, 255, 0.15)), color-stop(0.75, rgba(255, 255, 255, 0.15)), color-stop(0.75, transparent), to(transparent)); - background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -moz-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); - background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -} -.accordion { - margin-bottom: 20px; -} -.accordion-group { - margin-bottom: 2px; - border: 1px solid #e5e5e5; - -webkit-border-radius: 4px; - -moz-border-radius: 4px; - border-radius: 4px; -} -.accordion-heading { - border-bottom: 0; -} -.accordion-heading .accordion-toggle { - display: block; - padding: 8px 15px; -} -.accordion-toggle { - cursor: pointer; -} -.accordion-inner { - padding: 9px 15px; - border-top: 1px solid #e5e5e5; -} -.carousel { - position: relative; - margin-bottom: 20px; - line-height: 1; -} -.carousel-inner { - overflow: hidden; - width: 100%; - position: relative; -} -.carousel-inner > .item { - display: none; - position: relative; - -webkit-transition: 0.6s ease-in-out left; - -moz-transition: 0.6s ease-in-out left; - -o-transition: 0.6s ease-in-out left; - transition: 0.6s ease-in-out left; -} -.carousel-inner > .item > img, -.carousel-inner > .item > a > img { - display: block; - line-height: 1; -} -.carousel-inner > .active, -.carousel-inner > .next, -.carousel-inner > .prev { - display: block; -} -.carousel-inner > .active { - left: 0; -} -.carousel-inner > .next, -.carousel-inner > .prev { - position: absolute; - top: 0; - width: 100%; -} -.carousel-inner > .next { - left: 100%; -} -.carousel-inner > .prev { - left: -100%; -} -.carousel-inner > .next.left, -.carousel-inner > .prev.right { - left: 0; -} -.carousel-inner > .active.left { - left: -100%; -} -.carousel-inner > .active.right { - left: 100%; -} -.carousel-control { - position: absolute; - top: 40%; - left: 15px; - width: 40px; - height: 40px; - margin-top: -20px; - font-size: 60px; - font-weight: 100; - line-height: 30px; - color: #ffffff; - text-align: center; - background: #222222; - border: 3px solid #ffffff; - -webkit-border-radius: 23px; - -moz-border-radius: 23px; - border-radius: 23px; - opacity: 0.5; - filter: alpha(opacity=50); -} -.carousel-control.right { - left: auto; - right: 15px; -} -.carousel-control:hover, -.carousel-control:focus { - color: #ffffff; - text-decoration: none; - opacity: 0.9; - filter: alpha(opacity=90); -} -.carousel-indicators { - position: absolute; - top: 15px; - right: 15px; - z-index: 5; - margin: 0; - list-style: none; -} -.carousel-indicators li { - display: block; - float: left; - width: 10px; - height: 10px; - margin-left: 5px; - text-indent: -999px; - background-color: #ccc; - background-color: rgba(255, 255, 255, 0.25); - border-radius: 5px; -} -.carousel-indicators .active { - background-color: #fff; -} -.carousel-caption { - position: absolute; - left: 0; - right: 0; - bottom: 0; - padding: 15px; - background: #333333; - background: rgba(0, 0, 0, 0.75); -} -.carousel-caption h4, -.carousel-caption p { - color: #ffffff; - line-height: 20px; -} -.carousel-caption h4 { - margin: 0 0 5px; -} -.carousel-caption p { - margin-bottom: 0; -} -.hero-unit { - padding: 60px; - margin-bottom: 30px; - font-size: 18px; - font-weight: 200; - line-height: 30px; - color: inherit; - background-color: #f5f5f5; - -webkit-border-radius: 6px; - -moz-border-radius: 6px; - border-radius: 6px; -} -.hero-unit h1 { - margin-bottom: 0; - font-size: 60px; - line-height: 1; - color: inherit; - letter-spacing: -1px; -} -.hero-unit li { - line-height: 30px; -} -.pull-right { - float: right; -} -.pull-left { - float: left; -} -.hide { - display: none; -} -.show { - display: block; -} -.invisible { - visibility: hidden; -} -.affix { - position: fixed; -} -.navbar .nav > li > a { - border-right: 1px solid rgba(0, 0, 0, 0.2); - border-left: 1px solid rgba(255, 255, 255, 0.1); -} -.navbar .nav > li > a:hover { - border-left: 1px solid rgba(0, 0, 0, 0.2); -} -.navbar .nav > .active > a, -.navbar .nav > .active > a:hover { - border-left: 1px solid rgba(0, 0, 0, 0.2); -} -.navbar .divider-vertical { - background-color: inherit; - border-right: 1px solid rgba(0, 0, 0, 0.2); -} -.navbar .navbar-text { - padding: 9px 10px 11px; - line-height: 19px; - color: #ffffff; -} -.navbar .navbar-search .search-query { - margin-bottom: 3px; - border: 1px solid #97310e; -} -@media (max-width: 979px) { - .navbar .nav-collapse .nav li > a { - color: #ffffff; - border-left: 0px solid #dd4814; - border-right: 0px solid #dd4814; - } - .navbar .nav-collapse .nav li > a:hover { - background-color: rgba(0, 0, 0, 0.3) !important; - background-image: none; - } - .navbar .nav-collapse .navbar-form, - .navbar .nav-collapse .navbar-search { - border-top: 0px solid #dd4814; - border-bottom: 0px solid #dd4814; - -webkit-box-shadow: none; - -moz-box-shadow: none; - box-shadow: none; - } - .navbar .nav-collapse .nav-header { - color: #f5f5f5; - } -} -.nav-tabs .open .dropdown-toggle, -.nav-pills .open .dropdown-toggle, -.nav > li.dropdown.open.active > a:hover { - border-right: 1px solid #C03D14; - border-left: 1px solid #E6633A; -} -.btn-primary { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #e86537; - background-image: -moz-linear-gradient(top, #ef784e, #dd4814); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ef784e), to(#dd4814)); - background-image: -webkit-linear-gradient(top, #ef784e, #dd4814); - background-image: -o-linear-gradient(top, #ef784e, #dd4814); - background-image: linear-gradient(to bottom, #ef784e, #dd4814); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffef784e', endColorstr='#ffdd4814', GradientType=0); - border-color: #dd4814 #dd4814 #97310e; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #dd4814; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-primary:hover, -.btn-primary:focus, -.btn-primary:active, -.btn-primary.active, -.btn-primary.disabled, -.btn-primary[disabled] { - color: #ffffff; - background-color: #dd4814; - *background-color: #c64012; -} -.btn-primary:active, -.btn-primary.active { - background-color: #ae3910 \9; -} -.btn-warning { - color: #ffffff; - text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25); - background-color: #f3c768; - background-image: -moz-linear-gradient(top, #f5d185, #efb73e); - background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f5d185), to(#efb73e)); - background-image: -webkit-linear-gradient(top, #f5d185, #efb73e); - background-image: -o-linear-gradient(top, #f5d185, #efb73e); - background-image: linear-gradient(to bottom, #f5d185, #efb73e); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fff5d185', endColorstr='#ffefb73e', GradientType=0); - border-color: #efb73e #efb73e #cf9311; - border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25); - *background-color: #efb73e; - /* Darken IE7 buttons by default so they stand out more given they won't have borders */ - - filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); -} -.btn-warning:hover, -.btn-warning:focus, -.btn-warning:active, -.btn-warning.active, -.btn-warning.disabled, -.btn-warning[disabled] { - color: #ffffff; - background-color: #efb73e; - *background-color: #edae26; -} -.btn-warning:active, -.btn-warning.active { - background-color: #e7a413 \9; -} -.alert { - text-shadow: none; -} -.hero-unit { - border: 1px solid rgba(0, 0, 0, 0.05); - -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - -moz-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); - box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); -} -.hero-unit h1 { - line-height: 1.6em; -} -#main { - margin-top: 56px; -} -.navbar-fixed-top .navbar-inner { - padding-left: 20px; - padding-right: 20px; -} -.navbar .dropdown-menu { - padding: 20px; - max-height: 300px; - overflow: auto; - width: 300px; - background-color: #772953; -} -.navbar .dropdown-menu a, -.navbar .dropdown-menu a:visited { - color: #ffffff; -} -.navbar .dropdown-menu a:hover { - color: #ffffff; - background-color: #591f3e; -} -.navbar .dropdown-menu a:active { - color: #ffffff; - background-color: #591f3e; -} -.navbar .dropdown-menu a { - padding-left: 0; - padding-right: 5px; - font-weight: 500; - font-size: 115%; -} -#toc { - position: fixed; - top: 56px; - width: 29%; - max-height: 90%; - overflow: auto; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - border: 1px #dd4814 solid; - padding: 5px; -} -#toc .toc-active { - background-color: #a5360f; - color: #ffffff; - -webkit-border-radius: 3px; - -moz-border-radius: 3px; - border-radius: 3px; -} -#toc .toc-active a, -#toc .toc-active a:hover, -#toc .toc-active a:active, -#toc .toc-active a:visited { - background-color: #a5360f; - color: #ffffff; -} -.toc-shim { - padding-top: 56px; - margin-top: -56px; - display: block; -} -.toc-h1 { - margin-left: 2px; - margin-right: 2px; -} -.toc-h2 { - margin-left: 7px; - margin-right: 7px; -} -.toc-h3 { - margin-left: 14px; - margin-right: 7px; -} -.toc-h4 { - margin-left: 21px; - margin-right: 7px; -} -.copyright { - font-size: 90%; - text-align: center; - color: #772953; - width: 100%; - display: block; -} -.jsdoc-message { - font-size: 90%; - text-align: center; - color: #772953; - width: 100%; - display: block; -} -.page-title { - font-size: 220%; - color: #772953; - font-weight: 700; - padding-top: 10px; - display: block; -} -footer { - border-top: 1px solid #862e5e; - padding-top: 15px; -} -code { - background-color: none; - border: none; - color: #dd4814; -} -.buffered-name { - padding-top: 56px; - margin-top: -56px; -} -.member-collapsed { - background-color: #772953; - color: #ffffff; -} -.member-open { - background-color: inherit; - color: inherit; -} -.member { - -webkit-transition: background-color 0.5s linear; - -moz-transition: background-color 0.5s linear; - -o-transition: background-color 0.5s linear; - transition: background-color 0.5s linear; - -webkit-transition: color 0.5s linear; - -moz-transition: color 0.5s linear; - -o-transition: color 0.5s linear; - transition: color 0.5s linear; - -webkit-border-radius: 5px; - -moz-border-radius: 5px; - border-radius: 5px; - padding: 10px; -} diff --git a/examples/_site/js/phaser-examples.js b/examples/_site/js/phaser-examples.js index 67083539fa..3b9260f43e 100644 --- a/examples/_site/js/phaser-examples.js +++ b/examples/_site/js/phaser-examples.js @@ -95,7 +95,9 @@ $(document).ready(function(){ .done(function(data) { - if (data.version !== '1.1') + console.log(data); + + if (data.version !== '1.1.3') { $("#upgrade").append(data.version); $("#upgrade").css('display', 'inline-block'); diff --git a/examples/_site/js/phaser-viewer.js b/examples/_site/js/phaser-viewer.js index ab6c64bb6a..80fd3a4989 100644 --- a/examples/_site/js/phaser-viewer.js +++ b/examples/_site/js/phaser-viewer.js @@ -54,4 +54,18 @@ $(document).ready(function(){ }); + $.getJSON("http://phaser.io/version.json") + + .done(function(data) { + + console.log(data); + + if (data.version !== '1.1.3') + { + $("#upgrade").append(data.version); + $("#upgrade").css('display', 'inline-block'); + } + + }); + }); diff --git a/examples/_site/view_full.html b/examples/_site/view_full.html index 83af548b86..931c65a0f6 100644 --- a/examples/_site/view_full.html +++ b/examples/_site/view_full.html @@ -68,9 +68,11 @@ + + @@ -79,6 +81,7 @@ + @@ -89,45 +92,60 @@ + + + + + + + + + + + + + + + @@ -138,7 +156,7 @@
    - Phaser Version: 1.1 + Phaser Version: 1.1.3 New version:
    diff --git a/examples/_site/view_lite.html b/examples/_site/view_lite.html index fb8343f919..7a8d2b666b 100644 --- a/examples/_site/view_lite.html +++ b/examples/_site/view_lite.html @@ -58,6 +58,7 @@ + @@ -66,10 +67,12 @@ + + @@ -78,6 +81,7 @@ + @@ -88,44 +92,58 @@ + + + + + + + + + + + + + + diff --git a/examples/loader/load tilemap json.js b/examples/loader/load tilemap json.js index 5c5d71616a..9447c153b3 100644 --- a/examples/loader/load tilemap json.js +++ b/examples/loader/load tilemap json.js @@ -1,5 +1,5 @@ -var game = new Phaser.Game(800, 600, Phaser.AUTO, 'phaser-example', { preload: preload, create: create, update: update }); +var game = new Phaser.Game(800, 600, Phaser.AUTO, 'phaser-example', { preload: preload, create: create }); function preload() { @@ -37,18 +37,6 @@ function create() { tileset = game.add.tileset('tiles'); - layer = game.add.tilemapLayer(0, 100, 800, 600, tileset, map, 0); - - layer.fixedToCamera = false; - - // layer.position.y = 200; - - layer.resizeWorld(); + layer = game.add.tilemapLayer(0, 0, 800, 600, tileset, map, 0); } - -function update() { - - layer.scrollX--; - -} \ No newline at end of file diff --git a/src/core/Filter.js b/src/core/Filter.js index bfaf9b266a..5c11e2eace 100644 --- a/src/core/Filter.js +++ b/src/core/Filter.js @@ -70,7 +70,6 @@ Phaser.Filter.prototype = { /** * Should be over-ridden. * @method Phaser.Filter#init - * @param {...} */ init: function () { // This should be over-ridden. Will receive a variable number of arguments. diff --git a/src/core/Signal.js b/src/core/Signal.js index 7a3db73c7f..4caf87e745 100644 --- a/src/core/Signal.js +++ b/src/core/Signal.js @@ -13,13 +13,13 @@ Phaser.Signal = function () { /** - * @property {Array.} _bindings - Description. + * @property {Array.} _bindings - Internal variable. * @private */ this._bindings = []; /** - * @property {Description} _prevParams - Description. + * @property {any} _prevParams - Internal variable. * @private */ this._prevParams = null; @@ -28,7 +28,7 @@ Phaser.Signal = function () { var self = this; /** - * @property {Description} dispatch - Description. + * @property {function} dispatch - The dispatch function is what sends the Signal out. */ this.dispatch = function(){ Phaser.Signal.prototype.dispatch.apply(self, arguments); @@ -63,7 +63,7 @@ Phaser.Signal.prototype = { /** * @method Phaser.Signal#validateListener * @param {function} listener - Signal handler function. - * @param {Description} fnName - Description. + * @param {string} fnName - Function name. * @private */ validateListener: function (listener, fnName) { @@ -222,7 +222,7 @@ Phaser.Signal.prototype = { /** * Stop propagation of the event, blocking the dispatch to next listeners on the queue. - *

    IMPORTANT: should be called only during signal dispatch, calling it before/after dispatch won't affect signal broadcast.

    + * IMPORTANT: should be called only during signal dispatch, calling it before/after dispatch won't affect signal broadcast. * @see Signal.prototype.disable * * @method Phaser.Signal#halt @@ -235,7 +235,7 @@ Phaser.Signal.prototype = { * Dispatch/Broadcast Signal to all listeners added to the queue. * * @method Phaser.Signal#dispatch - * @param {...} [params] - Parameters that should be passed to each handler. + * @param {any} [params] - Parameters that should be passed to each handler. */ dispatch: function () { @@ -280,7 +280,7 @@ Phaser.Signal.prototype = { /** * Remove all bindings from signal and destroy any reference to external objects (destroy Signal object). - *

    IMPORTANT: calling any method on the signal instance after calling dispose will throw errors.

    + * IMPORTANT: calling any method on the signal instance after calling dispose will throw errors. * * @method Phaser.Signal#dispose */ diff --git a/src/core/SignalBinding.js b/src/core/SignalBinding.js index d5c47acd67..cfad954653 100644 --- a/src/core/SignalBinding.js +++ b/src/core/SignalBinding.js @@ -8,15 +8,15 @@ * Phaser.SignalBinding * * Object that represents a binding between a Signal and a listener function. -*
    - This is an internal constructor and shouldn't be called by regular users. -*
    - inspired by Joa Ebert AS3 SignalBinding and Robert Penner's Slot classes. +* This is an internal constructor and shouldn't be called by regular users. +* Inspired by Joa Ebert AS3 SignalBinding and Robert Penner's Slot classes. * * @class Phaser.SignalBinding * @name SignalBinding * @author Miller Medeiros http://millermedeiros.github.com/js-signals/ * @constructor * @inner -* @param {Signal} signal - Reference to Signal object that listener is currently bound to. +* @param {Phaser.Signal} signal - Reference to Signal object that listener is currently bound to. * @param {function} listener - Handler function bound to the signal. * @param {boolean} isOnce - If binding should be executed just once. * @param {object} [listenerContext] - Context on which listener will be executed (object that should represent the `this` variable inside listener function). @@ -43,7 +43,7 @@ Phaser.SignalBinding = function (signal, listener, isOnce, listenerContext, prio this.context = listenerContext; /** - * @property {Signal} _signal - Reference to Signal object that listener is currently bound to. + * @property {Phaser.Signal} _signal - Reference to Signal object that listener is currently bound to. * @private */ this._signal = signal; @@ -74,10 +74,10 @@ Phaser.SignalBinding.prototype = { /** * Call listener passing arbitrary parameters. - *

    If binding was added using `Signal.addOnce()` it will be automatically removed from signal dispatch queue, this method is used internally for the signal dispatch.

    + * If binding was added using `Signal.addOnce()` it will be automatically removed from signal dispatch queue, this method is used internally for the signal dispatch. * @method Phaser.SignalBinding#execute * @param {array} [paramsArr] - Array of parameters that should be passed to the listener. - * @return {Description} Value returned by the listener. + * @return {any} Value returned by the listener. */ execute: function (paramsArr) { @@ -100,7 +100,7 @@ Phaser.SignalBinding.prototype = { /** * Detach binding from signal. - *

    alias to: @see mySignal.remove(myBinding.getListener()); + * alias to: @see mySignal.remove(myBinding.getListener()); * @method Phaser.SignalBinding#detach * @return {function|null} Handler function bound to the signal or `null` if binding was previously detached. */ diff --git a/src/gameobjects/BitmapData.js b/src/gameobjects/BitmapData.js index 4f3a0aeea8..1fb081588c 100644 --- a/src/gameobjects/BitmapData.js +++ b/src/gameobjects/BitmapData.js @@ -5,9 +5,16 @@ */ /** -* Creates a new `BitmapData` object. +* Creates a new BitmapData object. * * @class Phaser.BitmapData +* +* @classdesc Note: This object is still experimental and likely to change. +* +* A BitmapData object can be thought of as a blank canvas onto which you can perform graphics operations as you would on a normal canvas, +* such as drawing lines, circles, arcs, fills and copying and setting blocks of pixel data. A single BitmapData can be used as the texture +* for multiple Sprites. So if you need to dynamically create a Sprite texture then they are a good choice. It supports the EaselJS Tiny API. +* * @constructor * @param {Phaser.Game} game - A reference to the currently running game. * @param {number} [width=256] - The width of the BitmapData in pixels. @@ -99,7 +106,7 @@ Phaser.BitmapData.prototype = { /** * Updates the given Sprite so that it uses this BitmapData as its texture. - * @method Phaser.BitmapData.add + * @method Phaser.BitmapData#add * @param {Phaser.Sprite} sprite - The sprite to apply this texture to. */ add: function (sprite) { @@ -110,7 +117,7 @@ Phaser.BitmapData.prototype = { /** * Given an array of Sprites it will update each of them so that their Textures reference this BitmapData. - * @method Phaser.BitmapData.addTo + * @method Phaser.BitmapData#addTo * @param {Phaser.Sprite[]} sprites - An array of Sprites to apply this texture to. */ addTo: function (sprites) { @@ -127,7 +134,7 @@ Phaser.BitmapData.prototype = { /** * Clears the BitmapData. - * @method Phaser.BitmapData.clear + * @method Phaser.BitmapData#clear */ clear: function () { @@ -149,7 +156,7 @@ Phaser.BitmapData.prototype = { /** * Sets the color of the given pixel to the specified red, green, blue and alpha values. - * @method Phaser.BitmapData.setPixel32 + * @method Phaser.BitmapData#setPixel32 * @param {number} x - The X coordinate of the pixel to be set. * @param {number} y - The Y coordinate of the pixel to be set. * @param {number} red - The red color value, between 0 and 0xFF (255). @@ -185,7 +192,7 @@ Phaser.BitmapData.prototype = { /** * Sets the color of the given pixel to the specified red, green and blue values. - * @method Phaser.BitmapData.setPixel + * @method Phaser.BitmapData#setPixel * @param {number} x - The X coordinate of the pixel to be set. * @param {number} y - The Y coordinate of the pixel to be set. * @param {number} red - The red color value (between 0 and 255) @@ -242,7 +249,7 @@ Phaser.BitmapData.prototype = { /** * Adds an arc to the path which is centered at (x, y) position with radius r starting at startAngle and ending at endAngle * going in the given direction by anticlockwise (defaulting to clockwise). - * @method Phaser.BitmapData.arc + * @method Phaser.BitmapData#arc * @param {number} x - The x axis of the coordinate for the arc's center * @param {number} y - The y axis of the coordinate for the arc's center * @param {number} radius - The arc's radius @@ -263,7 +270,7 @@ Phaser.BitmapData.prototype = { /** * Adds an arc with the given control points and radius, connected to the previous point by a straight line. - * @method Phaser.BitmapData.arcTo + * @method Phaser.BitmapData#arcTo * @param {number} x1 * @param {number} y1 * @param {number} x2 @@ -281,7 +288,7 @@ Phaser.BitmapData.prototype = { /** * Begins a fill with the specified color. This ends the current sub-path. - * @method Phaser.BitmapData.beginFill + * @method Phaser.BitmapData#beginFill * @param {string} color - A CSS compatible color value (ex. "red", "#FF0000", or "rgba(255,0,0,0.5)"). Setting to null will result in no fill. * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ @@ -299,7 +306,7 @@ Phaser.BitmapData.prototype = { * * ```myGraphics.beginLinearGradientFill(["#000","#FFF"], [0, 1], 0, 20, 0, 120).rect(20, 20, 120, 120);``` * - * @method Phaser.BitmapData.beginLinearGradientFill + * @method Phaser.BitmapData#beginLinearGradientFill * @param {Array} colors - An array of CSS compatible color values. For example, ["#F00","#00F"] would define a gradient drawing from red to blue. * @param {Array} ratios - An array of gradient positions which correspond to the colors. For example, [0.1, 0.9] would draw the first color to 10% then interpolating to the second color at 90%. * @param {number} x0 - The position of the first point defining the line that defines the gradient direction and size. @@ -330,7 +337,7 @@ Phaser.BitmapData.prototype = { * * ```myGraphics.setStrokeStyle(10).beginLinearGradientStroke(["#000","#FFF"], [0, 1], 0, 20, 0, 120).drawRect(20, 20, 120, 120);``` * - * @method Phaser.BitmapData.beginLinearGradientStroke + * @method Phaser.BitmapData#beginLinearGradientStroke * @param {Array} colors - An array of CSS compatible color values. For example, ["#F00","#00F"] would define a gradient drawing from red to blue. * @param {Array} ratios - An array of gradient positions which correspond to the colors. For example, [0.1, 0.9] would draw the first color to 10% then interpolating to the second color at 90%. * @param {number} x0 - The position of the first point defining the line that defines the gradient direction and size. @@ -362,7 +369,7 @@ Phaser.BitmapData.prototype = { * .beginRadialGradientStroke(["#F00","#00F"], [0, 1], 100, 100, 0, 100, 100, 50) * .drawRect(50, 90, 150, 110); * - * @method Phaser.BitmapData.beginRadialGradientStroke + * @method Phaser.BitmapData#beginRadialGradientStroke * @param {Array} colors - An array of CSS compatible color values. For example, ["#F00","#00F"] would define a gradient drawing from red to blue. * @param {Array} ratios - An array of gradient positions which correspond to the colors. For example, [0.1, 0.9] would draw the first color to 10% then interpolating to the second color at 90%. * @param {number} x0 - Center position of the inner circle that defines the gradient. @@ -390,7 +397,7 @@ Phaser.BitmapData.prototype = { /** * Starts a new path by resetting the list of sub-paths. Call this method when you want to create a new path. - * @method Phaser.BitmapData.beginPath + * @method Phaser.BitmapData#beginPath * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ beginPath: function () { @@ -402,7 +409,7 @@ Phaser.BitmapData.prototype = { /** * Begins a stroke with the specified color. This ends the current sub-path. - * @method Phaser.BitmapData.beginStroke + * @method Phaser.BitmapData#beginStroke * @param {String} color A CSS compatible color value (ex. "#FF0000", "red", or "rgba(255,0,0,0.5)"). Setting to null will result in no stroke. * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ @@ -415,7 +422,7 @@ Phaser.BitmapData.prototype = { /** * Adds a bezier curve from the current context point to (x, y) using the control points (cp1x, cp1y) and (cp2x, cp2y). - * @method Phaser.BitmapData.bezierCurveTo + * @method Phaser.BitmapData#bezierCurveTo * @param {number} cp1x - The x axis of control point 1. * @param {number} cp1y - The y axis of control point 1. * @param {number} cp2x - The x axis of control point 2. @@ -434,7 +441,7 @@ Phaser.BitmapData.prototype = { /** * Draws a circle with the specified radius at (x, y). - * @method Phaser.BitmapData.circle + * @method Phaser.BitmapData#circle * @param {number} x - x coordinate center point of circle. * @param {number} y - y coordinate center point of circle. * @param {number} radius - Radius of circle in radians. @@ -449,7 +456,7 @@ Phaser.BitmapData.prototype = { /** * Sets all pixels in the rectangle defined by starting point (x, y) and size (width, height) to transparent black. - * @method Phaser.BitmapData.clearRect + * @method Phaser.BitmapData#clearRect * @param {number} x - The x axis of the coordinate for the rectangle starting point. * @param {number} y - The y axis of the coordinate for the rectangle starting point. * @param {number} width - The rectangles width. @@ -466,7 +473,7 @@ Phaser.BitmapData.prototype = { /** * Creates a clipping path from the current sub-paths. Everything drawn after clip() is called appears inside the clipping path only. - * @method Phaser.BitmapData.clip + * @method Phaser.BitmapData#clip * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ clip: function () { @@ -479,7 +486,7 @@ Phaser.BitmapData.prototype = { /** * Tries to draw a straight line from the current point to the start. If the shape has already been closed or has only one point, this function does nothing. - * @method Phaser.BitmapData.closePath + * @method Phaser.BitmapData#closePath * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ closePath: function () { @@ -493,7 +500,7 @@ Phaser.BitmapData.prototype = { /** * Creates a linear gradient with defined by an imaginary line which implies the direction of the gradient. * Once the gradient is created colors can be inserted using the addColorStop method. - * @method Phaser.BitmapData.createLinearGradient + * @method Phaser.BitmapData#createLinearGradient * @param {number} x - The x axis of the coordinate for the gradients starting point. * @param {number} y - The y axis of the coordinate for the gradients starting point. * @param {number} width - The width of the gradient. @@ -510,7 +517,7 @@ Phaser.BitmapData.prototype = { /** * Creates a radial gradient. - * @method Phaser.BitmapData.createRadialGradient + * @method Phaser.BitmapData#createRadialGradient * @param {number} x0 * @param {number} y0 * @param {number} r0 @@ -530,7 +537,7 @@ Phaser.BitmapData.prototype = { /** * Draws an ellipse (oval) with a specified width (w) and height (h). - * @method Phaser.BitmapData.ellipse + * @method Phaser.BitmapData#ellipse * @param {number} x - x coordinate center point of ellipse. * @param {number} y - y coordinate center point of ellipse. * @param {number} w - height (horizontal diameter) of ellipse. The horizontal radius will be half of this number. @@ -559,7 +566,7 @@ Phaser.BitmapData.prototype = { /** * Fills the subpaths with the current fill style. - * @method Phaser.BitmapData.fill + * @method Phaser.BitmapData#fill * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ fill: function () { @@ -572,7 +579,7 @@ Phaser.BitmapData.prototype = { /** * Draws a filled rectangle at (x, y) position whose size is determined by width and height. - * @method Phaser.BitmapData.fillRect + * @method Phaser.BitmapData#fillRect * @param {number} x - The x axis of the coordinate for the rectangle starting point. * @param {number} y - The y axis of the coordinate for the rectangle starting point. * @param {number} width - The rectangles width. @@ -589,7 +596,7 @@ Phaser.BitmapData.prototype = { /** * Sets the fill style. - * @method Phaser.BitmapData.fillStyle + * @method Phaser.BitmapData#fillStyle * @param {string} color - The fill color value in CSS format: #RRGGBB or rgba(r,g,b,a) * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ @@ -604,7 +611,7 @@ Phaser.BitmapData.prototype = { /** * Sets the font. - * @method Phaser.BitmapData.font + * @method Phaser.BitmapData#font * @param {DOMString} font - The font to be used for any text rendering. Default value 10px sans-serif. * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ @@ -617,7 +624,7 @@ Phaser.BitmapData.prototype = { /** * Alpha value that is applied to shapes and images before they are composited onto the canvas. Default 1.0 (opaque). - * @method Phaser.BitmapData.globalAlpha + * @method Phaser.BitmapData#globalAlpha * @param {number} alpha - Alpha value that is applied to shapes and images before they are composited onto the canvas. Default 1.0 (opaque). * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ @@ -631,7 +638,7 @@ Phaser.BitmapData.prototype = { /** * With globalAlpha applied this sets how shapes and images are drawn onto the existing bitmap. Possible values: source-atop, source-in, source-out, * source-over (default), destination-atop, destination-in, destination-out, destination-over, lighter, darker, copy and xor. - * @method Phaser.BitmapData.globalCompositeOperation + * @method Phaser.BitmapData#globalCompositeOperation * @param {DOMString} operation - The composite operation to apply. * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ @@ -644,7 +651,7 @@ Phaser.BitmapData.prototype = { /** * Type of endings on the end of lines. Possible values: butt (default), round, square. - * @method Phaser.BitmapData.lineCap + * @method Phaser.BitmapData#lineCap * @param {DOMString} style - Possible values: butt (default), round, square * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ @@ -657,7 +664,7 @@ Phaser.BitmapData.prototype = { /** * Specifies where to start a dasharray on a line. - * @method Phaser.BitmapData.lineDashOffset + * @method Phaser.BitmapData#lineDashOffset * @param {number} offset - Specifies where to start a dasharray on a line. * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ @@ -670,7 +677,7 @@ Phaser.BitmapData.prototype = { /** * Defines the type of corners where two lines meet. Possible values: round, bevel, miter (default) - * @method Phaser.BitmapData.lineJoin + * @method Phaser.BitmapData#lineJoin * @param {DOMString} join - Possible values: round, bevel, miter (default) * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ @@ -683,7 +690,7 @@ Phaser.BitmapData.prototype = { /** * Width of lines. Default 1.0 - * @method Phaser.BitmapData.lineWidth + * @method Phaser.BitmapData#lineWidth * @param {number} width - Width of lines. Default 1.0 * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ @@ -696,7 +703,7 @@ Phaser.BitmapData.prototype = { /** * Default 10. - * @method Phaser.BitmapData.miterLimit + * @method Phaser.BitmapData#miterLimit * @param {number} limit - Default 10. * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ @@ -714,7 +721,7 @@ Phaser.BitmapData.prototype = { /** * Connects the last point in the subpath to the x, y coordinates with a straight line. - * @method Phaser.BitmapData.lineTo + * @method Phaser.BitmapData#lineTo * @param {number} x - The x axis of the coordinate for the end of the line. * @param {number} y - The y axis of the coordinate for the end of the line. * @return {Phaser.BitmapData} The BitmapData instance this method was called on. @@ -731,7 +738,7 @@ Phaser.BitmapData.prototype = { /** * Moves the starting point of a new subpath to the (x, y) coordinates. - * @method Phaser.BitmapData.moveTo + * @method Phaser.BitmapData#moveTo * @param {number} x - The x axis of the point. * @param {number} y - The y axis of the point. * @return {Phaser.BitmapData} The BitmapData instance this method was called on. @@ -747,7 +754,7 @@ Phaser.BitmapData.prototype = { /** * Draws a quadratic curve from the current drawing point to (x, y) using the control point (cpx, cpy). - * @method Phaser.BitmapData.quadraticCurveTo + * @method Phaser.BitmapData#quadraticCurveTo * @param {Number} cpx - The x axis of the control point. * @param {Number} cpy - The y axis of the control point. * @param {Number} x - The x axis of the ending point. @@ -764,7 +771,7 @@ Phaser.BitmapData.prototype = { /** * Draws a rectangle at (x, y) position whose size is determined by width and height. - * @method Phaser.BitmapData.rect + * @method Phaser.BitmapData#rect * @param {number} x - The x axis of the coordinate for the rectangle starting point. * @param {number} y - The y axis of the coordinate for the rectangle starting point. * @param {number} width - The rectangles width. @@ -781,7 +788,7 @@ Phaser.BitmapData.prototype = { /** * Restores the drawing style state to the last element on the 'state stack' saved by save(). - * @method Phaser.BitmapData.restore + * @method Phaser.BitmapData#restore * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ restore: function () { @@ -794,7 +801,7 @@ Phaser.BitmapData.prototype = { /** * Rotates the drawing context values by r radians. - * @method Phaser.BitmapData.rotate + * @method Phaser.BitmapData#rotate * @param {number} angle - The angle of rotation given in radians. * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ @@ -812,7 +819,7 @@ Phaser.BitmapData.prototype = { * * ```myGraphics.setStrokeStyle(8,"round").beginStroke("#F00");``` * - * @method Phaser.BitmapData.setStrokeStyle + * @method Phaser.BitmapData#setStrokeStyle * @param {number} thickness - The width of the stroke. * @param {string|number} [caps=0] - Indicates the type of caps to use at the end of lines. One of butt, round, or square. Defaults to "butt". Also accepts the values 0 (butt), 1 (round), and 2 (square) for use with he tiny API. * @param {string|number} [joints=0] Specifies the type of joints that should be used where two lines meet. One of bevel, round, or miter. Defaults to "miter". Also accepts the values 0 (miter), 1 (round), and 2 (bevel) for use with the tiny API. @@ -841,7 +848,7 @@ Phaser.BitmapData.prototype = { /** * Saves the current drawing style state using a stack so you can revert any change you make to it using restore(). - * @method Phaser.BitmapData.save + * @method Phaser.BitmapData#save * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ save: function () { @@ -854,7 +861,7 @@ Phaser.BitmapData.prototype = { /** * Scales the current drawing context. - * @method Phaser.BitmapData.scale + * @method Phaser.BitmapData#scale * @param {number} x * @param {number} y * @return {Phaser.BitmapData} The BitmapData instance this method was called on. @@ -869,7 +876,7 @@ Phaser.BitmapData.prototype = { /** * - * @method Phaser.BitmapData.scrollPathIntoView + * @method Phaser.BitmapData#scrollPathIntoView * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ scrollPathIntoView: function () { @@ -885,7 +892,7 @@ Phaser.BitmapData.prototype = { /** * Strokes the subpaths with the current stroke style. - * @method Phaser.BitmapData.stroke + * @method Phaser.BitmapData#stroke * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ stroke: function () { @@ -898,7 +905,7 @@ Phaser.BitmapData.prototype = { /** * Paints a rectangle which has a starting point at (x, y) and has a w width and an h height onto the canvas, using the current stroke style. - * @method Phaser.BitmapData.strokeRect + * @method Phaser.BitmapData#strokeRect * @param {number} x - The x axis for the starting point of the rectangle. * @param {number} y - The y axis for the starting point of the rectangle. * @param {number} width - The rectangles width. @@ -915,7 +922,7 @@ Phaser.BitmapData.prototype = { /** * Color or style to use for the lines around shapes. Default #000 (black). - * @method Phaser.BitmapData.strokeStyle + * @method Phaser.BitmapData#strokeStyle * @param {string} style - Color or style to use for the lines around shapes. Default #000 (black). * @return {Phaser.BitmapData} The BitmapData instance this method was called on. */ @@ -933,7 +940,7 @@ Phaser.BitmapData.prototype = { /** * If the game is running in WebGL this will push the texture up to the GPU if it's dirty. * This is called automatically if the BitmapData is being used by a Sprite, otherwise you need to remember to call it in your render function. - * @method Phaser.BitmapData.render + * @method Phaser.BitmapData#render */ render: function () { diff --git a/src/gameobjects/BitmapText.js b/src/gameobjects/BitmapText.js index e3bd57e2ca..2ccece4b19 100644 --- a/src/gameobjects/BitmapText.js +++ b/src/gameobjects/BitmapText.js @@ -5,11 +5,16 @@ */ /** -* Creates a new `BitmapText` object. BitmapText work by taking a texture file and an XML file that describes the font layout. +* Creates a new BitmapText object. +* +* @class Phaser.BitmapText +* +* @classdesc BitmapText objects work by taking a texture file and an XML file that describes the font layout. +* * On Windows you can use the free app BMFont: http://www.angelcode.com/products/bmfont/ +* * On OS X we recommend Glyph Designer: http://www.71squared.com/en/glyphdesigner * -* @class Phaser.BitmapText * @constructor * @param {Phaser.Game} game - A reference to the currently running game. * @param {number} x - X position of the new bitmapText object. diff --git a/src/gameobjects/Button.js b/src/gameobjects/Button.js index 7abff94d5b..bdbad2ab43 100644 --- a/src/gameobjects/Button.js +++ b/src/gameobjects/Button.js @@ -5,14 +5,17 @@ */ /** -* Create a new `Button` object. A Button is a special type of Sprite that is set-up to handle Pointer events automatically. The four states a Button responds to are: -* 'Over' - when the Pointer moves over the Button. This is also commonly known as 'hover'. -* 'Out' - when the Pointer that was previously over the Button moves out of it. -* 'Down' - when the Pointer is pressed down on the Button. I.e. touched on a touch enabled device or clicked with the mouse. -* 'Up' - when the Pointer that was pressed down on the Button is released again. +* @class Phaser.Button +* +* @classdesc Create a new `Button` object. A Button is a special type of Sprite that is set-up to handle Pointer events automatically. The four states a Button responds to are: +* +* * 'Over' - when the Pointer moves over the Button. This is also commonly known as 'hover'. +* * 'Out' - when the Pointer that was previously over the Button moves out of it. +* * 'Down' - when the Pointer is pressed down on the Button. I.e. touched on a touch enabled device or clicked with the mouse. +* * 'Up' - when the Pointer that was pressed down on the Button is released again. +* * You can set a unique texture frame and Sound for any of these states. * -* @class Phaser.Button * @constructor * * @param {Phaser.Game} game Current game instance. diff --git a/src/gameobjects/Events.js b/src/gameobjects/Events.js index fb5cc1f864..44c109566a 100644 --- a/src/gameobjects/Events.js +++ b/src/gameobjects/Events.js @@ -5,9 +5,18 @@ */ /** -* The Events component is a collection of events fired by the parent game object and its components. -* * @class Phaser.Events +* +* @classdesc The Events component is a collection of events fired by the parent game object. +* +* For example to tell when a Sprite has been added to a new group: +* +* ```sprite.events.onAddedToGroup.add(yourFunction, this);``` +* +* Where `yourFunction` is the function you want called when this event occurs. +* +* Note that the Input related events only exist if the Sprite has had `inputEnabled` set to `true`. +* * @constructor * * @param {Phaser.Sprite} sprite - A reference to Description. diff --git a/src/gameobjects/GameObjectFactory.js b/src/gameobjects/GameObjectFactory.js index ae4f33823e..872b89ff56 100644 --- a/src/gameobjects/GameObjectFactory.js +++ b/src/gameobjects/GameObjectFactory.js @@ -295,19 +295,19 @@ Phaser.GameObjectFactory.prototype = { * A WebGL shader/filter that can be applied to Sprites. * * @method Phaser.GameObjectFactory#filter - * @param {string} filter - The name of the filter you wish to create, for example "HueRotate" or "SineWave" - * @param {...} - Whatever parameters are needed to be passed to the filter init function. + * @param {string} filter - The name of the filter you wish to create, for example HueRotate or SineWave. + * @param {any} - Whatever parameters are needed to be passed to the filter init function. * @return {Phaser.Filter} The newly created Phaser.Filter object. */ filter: function (filter) { var args = Array.prototype.splice.call(arguments, 1); - var f = new Phaser.Filter[filter](this.game); + var filter = new Phaser.Filter[filter](this.game); - f.init.apply(f, args); + filter.init.apply(filter, args); - return f; + return filter; } diff --git a/src/gameobjects/Sprite.js b/src/gameobjects/Sprite.js index 2df513b637..be7ab1e98a 100644 --- a/src/gameobjects/Sprite.js +++ b/src/gameobjects/Sprite.js @@ -5,12 +5,14 @@ */ /** -* Create a new `Sprite` object. Sprites are the lifeblood of your game, used for nearly everything visual. +* @class Phaser.Sprite +* +* @classdesc Create a new `Sprite` object. Sprites are the lifeblood of your game, used for nearly everything visual. +* * At its most basic a Sprite consists of a set of coordinates and a texture that is rendered to the canvas. * They also contain additional properties allowing for physics motion (via Sprite.body), input handling (via Sprite.input), * events (via Sprite.events), animation (via Sprite.animations), camera culling and more. Please see the Examples for use cases. * -* @class Phaser.Sprite * @constructor * @param {Phaser.Game} game - A reference to the currently running game. * @param {number} x - The x coordinate (in world space) to position the Sprite at. diff --git a/src/loader/Loader.js b/src/loader/Loader.js index 20a4087480..ee77aae47f 100644 --- a/src/loader/Loader.js +++ b/src/loader/Loader.js @@ -934,9 +934,10 @@ Phaser.Loader.prototype = { return; } - this._fileList[index].loaded = true; var file = this._fileList[index]; + file.loaded = true; + var loadNext = true; var _this = this; diff --git a/src/tilemap/Tile.js b/src/tilemap/Tile.js index 8a03ebaf68..1c21c6f403 100644 --- a/src/tilemap/Tile.js +++ b/src/tilemap/Tile.js @@ -2,7 +2,6 @@ * @author Richard Davey * @copyright 2013 Photon Storm Ltd. * @license {@link https://github.com/photonstorm/phaser/blob/master/license.txt|MIT License} -* @module Phaser.Tile */ /**