rubyvis 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +6 -1
- data/Manifest.txt +421 -1
- data/README.txt +12 -10
- data/examples/first.rb +2 -2
- data/examples/second.rb +6 -3
- data/lib/rubyvis.rb +18 -3
- data/lib/rubyvis/mark.rb +101 -83
- data/lib/rubyvis/mark/anchor.rb +5 -7
- data/lib/rubyvis/mark/area.rb +19 -17
- data/lib/rubyvis/mark/bar.rb +3 -10
- data/lib/rubyvis/mark/label.rb +3 -4
- data/lib/rubyvis/mark/line.rb +20 -4
- data/lib/rubyvis/mark/panel.rb +31 -6
- data/lib/rubyvis/mark/rule.rb +8 -4
- data/lib/rubyvis/property.rb +11 -0
- data/lib/rubyvis/scene/svg_label.rb +1 -1
- data/lib/rubyvis/scene/svg_scene.rb +2 -1
- data/lib/rubyvis/sceneelement.rb +2 -0
- data/spec/bar_spec.rb +50 -0
- data/spec/label_spec.rb +41 -0
- data/spec/mark_spec.rb +16 -0
- data/spec/panel_spec.rb +22 -4
- data/spec/spec_helper.rb +1 -0
- data/vendor/FUTURE +62 -0
- data/vendor/Makefile +138 -0
- data/vendor/TODO +22 -0
- data/vendor/examples/antibiotics/antibiotics-scatter.html +113 -0
- data/vendor/examples/antibiotics/antibiotics.html +140 -0
- data/vendor/examples/antibiotics/antibiotics.js +20 -0
- data/vendor/examples/barley/barley.html +102 -0
- data/vendor/examples/barley/barley.js +122 -0
- data/vendor/examples/cars/cars.html +90 -0
- data/vendor/examples/cars/cars.js +408 -0
- data/vendor/examples/clock/clock.html +91 -0
- data/vendor/examples/crimea/crimea-grouped-bar.html +65 -0
- data/vendor/examples/crimea/crimea-line.html +61 -0
- data/vendor/examples/crimea/crimea-stacked-area.html +61 -0
- data/vendor/examples/crimea/crimea-stacked-bar.html +60 -0
- data/vendor/examples/crimea/crimea.html +100 -0
- data/vendor/examples/crimea/crimea.js +33 -0
- data/vendor/examples/downloadify/LICENSE.txt +22 -0
- data/vendor/examples/downloadify/download.png +0 -0
- data/vendor/examples/downloadify/downloadify.html +57 -0
- data/vendor/examples/downloadify/downloadify.min.js +3 -0
- data/vendor/examples/downloadify/downloadify.swf +0 -0
- data/vendor/examples/downloadify/swfobject.js +4 -0
- data/vendor/examples/ex.css +17 -0
- data/vendor/examples/eyes/eyes.html +53 -0
- data/vendor/examples/eyes/matrix.html +44 -0
- data/vendor/examples/flowers/flowers.html +109 -0
- data/vendor/examples/flowers/flowers.js +154 -0
- data/vendor/examples/group-stack/group-stack.html +79 -0
- data/vendor/examples/group-stack/headcount.js +23 -0
- data/vendor/examples/hotel/hotel.html +76 -0
- data/vendor/examples/hotel/hotel.js +245 -0
- data/vendor/examples/jobs/jobs.html +71 -0
- data/vendor/examples/jobs/jobs.js +1024 -0
- data/vendor/examples/jquery-1.4.2.min.js +154 -0
- data/vendor/examples/nba/nba.html +83 -0
- data/vendor/examples/nba/nba.js +53 -0
- data/vendor/examples/nba/nba2.html +82 -0
- data/vendor/examples/sankey/gdp2009.js +184 -0
- data/vendor/examples/sankey/sankey.html +77 -0
- data/vendor/examples/slider/cell.html +112 -0
- data/vendor/examples/slider/cell.js +31 -0
- data/vendor/examples/slider/horizon.html +85 -0
- data/vendor/examples/slider/jquery-ui-1.8rc3.custom.min.js +71 -0
- data/vendor/examples/slider/slider.html +50 -0
- data/vendor/examples/slider/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png +0 -0
- data/vendor/examples/slider/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png +0 -0
- data/vendor/examples/slider/ui-lightness/images/ui-bg_flat_10_000000_40x100.png +0 -0
- data/vendor/examples/slider/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png +0 -0
- data/vendor/examples/slider/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png +0 -0
- data/vendor/examples/slider/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
- data/vendor/examples/slider/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png +0 -0
- data/vendor/examples/slider/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png +0 -0
- data/vendor/examples/slider/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png +0 -0
- data/vendor/examples/slider/ui-lightness/images/ui-icons_222222_256x240.png +2 -0
- data/vendor/examples/slider/ui-lightness/images/ui-icons_228ef1_256x240.png +2 -0
- data/vendor/examples/slider/ui-lightness/images/ui-icons_ef8c08_256x240.png +2 -0
- data/vendor/examples/slider/ui-lightness/images/ui-icons_ffd27a_256x240.png +2 -0
- data/vendor/examples/slider/ui-lightness/images/ui-icons_ffffff_256x240.png +2 -0
- data/vendor/examples/slider/ui-lightness/jquery-ui-1.8rc3.custom.css +302 -0
- data/vendor/examples/tipsy/jquery.tipsy.js +198 -0
- data/vendor/examples/tipsy/tipsy-bar.html +65 -0
- data/vendor/examples/tipsy/tipsy-line.html +67 -0
- data/vendor/examples/tipsy/tipsy.css +12 -0
- data/vendor/examples/tipsy/tipsy.gif +0 -0
- data/vendor/examples/tipsy/tipsy.js +66 -0
- data/vendor/examples/weather/weather.html +86 -0
- data/vendor/examples/weather/weather.js +42 -0
- data/vendor/examples/wheat/wheat.html +130 -0
- data/vendor/examples/wheat/wheat.js +70 -0
- data/vendor/lib/google-compiler/COPYING +202 -0
- data/vendor/lib/google-compiler/README +224 -0
- data/vendor/lib/google-compiler/compiler-20100201.jar +0 -0
- data/vendor/protovis-d3.3.js +15726 -0
- data/vendor/protovis-r3.3.js +287 -0
- data/vendor/src/behavior/Behavior.js +32 -0
- data/vendor/src/behavior/Drag.js +112 -0
- data/vendor/src/behavior/Pan.js +110 -0
- data/vendor/src/behavior/Point.js +157 -0
- data/vendor/src/behavior/Resize.js +104 -0
- data/vendor/src/behavior/Select.js +100 -0
- data/vendor/src/behavior/Zoom.js +85 -0
- data/vendor/src/color/Color.js +598 -0
- data/vendor/src/color/Colors.js +135 -0
- data/vendor/src/color/Ramp.js +17 -0
- data/vendor/src/data/Arrays.js +277 -0
- data/vendor/src/data/Dom.js +380 -0
- data/vendor/src/data/Flatten.js +146 -0
- data/vendor/src/data/Histogram.js +120 -0
- data/vendor/src/data/LinearScale.js +54 -0
- data/vendor/src/data/LogScale.js +142 -0
- data/vendor/src/data/Nest.js +257 -0
- data/vendor/src/data/Numbers.js +313 -0
- data/vendor/src/data/Objects.js +78 -0
- data/vendor/src/data/OrdinalScale.js +267 -0
- data/vendor/src/data/QuantileScale.js +180 -0
- data/vendor/src/data/QuantitativeScale.js +440 -0
- data/vendor/src/data/RootScale.js +55 -0
- data/vendor/src/data/Scale.js +86 -0
- data/vendor/src/data/Transform.js +109 -0
- data/vendor/src/data/Tree.js +124 -0
- data/vendor/src/data/Vector.js +118 -0
- data/vendor/src/geo/Geo.js +5 -0
- data/vendor/src/geo/GeoScale.js +307 -0
- data/vendor/src/geo/LatLng.js +23 -0
- data/vendor/src/geo/Projection.js +43 -0
- data/vendor/src/geo/Projections.js +117 -0
- data/vendor/src/lang/Array.js +112 -0
- data/vendor/src/lang/init.js +26 -0
- data/vendor/src/layout/Arc.js +178 -0
- data/vendor/src/layout/Bullet.js +164 -0
- data/vendor/src/layout/Cluster.js +205 -0
- data/vendor/src/layout/Force.js +309 -0
- data/vendor/src/layout/Grid.js +119 -0
- data/vendor/src/layout/Hierarchy.js +249 -0
- data/vendor/src/layout/Horizon.js +159 -0
- data/vendor/src/layout/Indent.js +83 -0
- data/vendor/src/layout/Layout.js +56 -0
- data/vendor/src/layout/Matrix.js +177 -0
- data/vendor/src/layout/Network.js +302 -0
- data/vendor/src/layout/Pack.js +323 -0
- data/vendor/src/layout/Partition.js +203 -0
- data/vendor/src/layout/Rollup.js +203 -0
- data/vendor/src/layout/Stack.js +391 -0
- data/vendor/src/layout/Tree.js +282 -0
- data/vendor/src/layout/Treemap.js +347 -0
- data/vendor/src/mark/Anchor.js +81 -0
- data/vendor/src/mark/Area.js +268 -0
- data/vendor/src/mark/Bar.js +93 -0
- data/vendor/src/mark/Dot.js +212 -0
- data/vendor/src/mark/Ease.js +150 -0
- data/vendor/src/mark/Image.js +154 -0
- data/vendor/src/mark/Label.js +155 -0
- data/vendor/src/mark/Line.js +195 -0
- data/vendor/src/mark/Mark.js +1237 -0
- data/vendor/src/mark/Panel.js +273 -0
- data/vendor/src/mark/Rule.js +143 -0
- data/vendor/src/mark/Transient.js +7 -0
- data/vendor/src/mark/Transition.js +195 -0
- data/vendor/src/mark/Wedge.js +244 -0
- data/vendor/src/physics/BoundConstraint.js +75 -0
- data/vendor/src/physics/ChargeForce.js +184 -0
- data/vendor/src/physics/CollisionConstraint.js +113 -0
- data/vendor/src/physics/Constraint.js +26 -0
- data/vendor/src/physics/DragForce.js +49 -0
- data/vendor/src/physics/Force.js +25 -0
- data/vendor/src/physics/Particle.js +81 -0
- data/vendor/src/physics/PositionConstraint.js +72 -0
- data/vendor/src/physics/Quadtree.js +195 -0
- data/vendor/src/physics/Simulation.js +159 -0
- data/vendor/src/physics/SpringForce.js +141 -0
- data/vendor/src/pv-internals.js +154 -0
- data/vendor/src/pv.js +95 -0
- data/vendor/src/scene/SvgArea.js +172 -0
- data/vendor/src/scene/SvgBar.js +28 -0
- data/vendor/src/scene/SvgCurve.js +354 -0
- data/vendor/src/scene/SvgDot.js +81 -0
- data/vendor/src/scene/SvgImage.js +45 -0
- data/vendor/src/scene/SvgLabel.js +46 -0
- data/vendor/src/scene/SvgLine.js +159 -0
- data/vendor/src/scene/SvgPanel.js +126 -0
- data/vendor/src/scene/SvgRule.js +26 -0
- data/vendor/src/scene/SvgScene.js +185 -0
- data/vendor/src/scene/SvgWedge.js +66 -0
- data/vendor/src/text/DateFormat.js +262 -0
- data/vendor/src/text/Format.js +78 -0
- data/vendor/src/text/NumberFormat.js +227 -0
- data/vendor/src/text/TimeFormat.js +115 -0
- data/vendor/test1.html +30 -0
- data/vendor/tests/behavior/drag-events.html +47 -0
- data/vendor/tests/behavior/drag.html +32 -0
- data/vendor/tests/behavior/drag2.html +33 -0
- data/vendor/tests/behavior/point-area-stacked.html +73 -0
- data/vendor/tests/behavior/point-area-stacked2.html +70 -0
- data/vendor/tests/behavior/point-area.html +67 -0
- data/vendor/tests/behavior/point-bar.html +62 -0
- data/vendor/tests/behavior/point-dot.html +60 -0
- data/vendor/tests/behavior/point-line.html +62 -0
- data/vendor/tests/behavior/point-lines-grid.html +65 -0
- data/vendor/tests/behavior/point-lines.html +61 -0
- data/vendor/tests/behavior/point-wedge.html +43 -0
- data/vendor/tests/behavior/resize.html +69 -0
- data/vendor/tests/behavior/select.html +37 -0
- data/vendor/tests/bzr.js +62 -0
- data/vendor/tests/center.js +13 -0
- data/vendor/tests/data/deviation.html +54 -0
- data/vendor/tests/data/histogram-discrete.html +50 -0
- data/vendor/tests/data/histogram.html +56 -0
- data/vendor/tests/data/log-adjusted.html +48 -0
- data/vendor/tests/data/log-ceil.html +48 -0
- data/vendor/tests/data/log-floor.html +48 -0
- data/vendor/tests/data/log-symmetric.html +48 -0
- data/vendor/tests/data/log.html +48 -0
- data/vendor/tests/data/max-index.html +36 -0
- data/vendor/tests/data/max.html +36 -0
- data/vendor/tests/data/min-index.html +36 -0
- data/vendor/tests/data/min.html +36 -0
- data/vendor/tests/data/ordinal-split-banded.html +45 -0
- data/vendor/tests/data/ordinal-split-banded2.html +45 -0
- data/vendor/tests/data/ordinal-split-flush.html +51 -0
- data/vendor/tests/data/ordinal-split.html +51 -0
- data/vendor/tests/data/range.html +105 -0
- data/vendor/tests/data/scale-date.html +46 -0
- data/vendor/tests/data/scale-date2.html +38 -0
- data/vendor/tests/data/scale-date3.html +38 -0
- data/vendor/tests/data/scale-date4.html +38 -0
- data/vendor/tests/data/scale-degenerate.html +143 -0
- data/vendor/tests/data/scale-linear.html +59 -0
- data/vendor/tests/data/scale-log.html +60 -0
- data/vendor/tests/data/scale-log2.html +60 -0
- data/vendor/tests/data/scale-log3.html +60 -0
- data/vendor/tests/data/scale-log4.html +60 -0
- data/vendor/tests/data/scale-log5.html +60 -0
- data/vendor/tests/data/scale-log6.html +60 -0
- data/vendor/tests/data/scale-quantile.html +47 -0
- data/vendor/tests/data/scale-quantile2.html +50 -0
- data/vendor/tests/data/scale-quantile3.html +48 -0
- data/vendor/tests/data/scale-root.html +60 -0
- data/vendor/tests/data/scale-root2.html +39 -0
- data/vendor/tests/data/scale-tick-format.html +54 -0
- data/vendor/tests/data/scale-ticks.html +45 -0
- data/vendor/tests/data/sum.html +42 -0
- data/vendor/tests/data/variance.html +42 -0
- data/vendor/tests/diamond.js +40 -0
- data/vendor/tests/flare-imports.js +222 -0
- data/vendor/tests/flare.js +284 -0
- data/vendor/tests/geo/countries-hires.js +257 -0
- data/vendor/tests/geo/countries-lores.js +197 -0
- data/vendor/tests/geo/population.js +250 -0
- data/vendor/tests/geo/scale-aitoff.html +58 -0
- data/vendor/tests/geo/scale-gall-peters.html +56 -0
- data/vendor/tests/geo/scale-hammer.html +58 -0
- data/vendor/tests/geo/scale-identity.html +56 -0
- data/vendor/tests/geo/scale-mercator.html +56 -0
- data/vendor/tests/geo/scale-sinusoidal.html +57 -0
- data/vendor/tests/geo/scale-smart-domain.html +58 -0
- data/vendor/tests/geo/scale.html +55 -0
- data/vendor/tests/geo/scale2.html +40 -0
- data/vendor/tests/geo/us-states.js +61 -0
- data/vendor/tests/heatmap.js +63 -0
- data/vendor/tests/lang/globals.html +41 -0
- data/vendor/tests/lang/init.html +31 -0
- data/vendor/tests/layers.js +28 -0
- data/vendor/tests/layout/arc-directed.html +33 -0
- data/vendor/tests/layout/arc-radial.html +36 -0
- data/vendor/tests/layout/arc-undirected.html +32 -0
- data/vendor/tests/layout/arc.html +33 -0
- data/vendor/tests/layout/arc2.html +32 -0
- data/vendor/tests/layout/bullet-multiples.html +60 -0
- data/vendor/tests/layout/bullet.html +45 -0
- data/vendor/tests/layout/bullets.js +37 -0
- data/vendor/tests/layout/cluster-fill-group.html +24 -0
- data/vendor/tests/layout/cluster-fill.html +28 -0
- data/vendor/tests/layout/cluster-partition-radial-fill.html +43 -0
- data/vendor/tests/layout/cluster-radial-fill-radius.html +26 -0
- data/vendor/tests/layout/cluster-radial-fill.html +29 -0
- data/vendor/tests/layout/cluster-radial-group-fill.html +30 -0
- data/vendor/tests/layout/cluster-radial-radius.html +30 -0
- data/vendor/tests/layout/cluster-radial.html +28 -0
- data/vendor/tests/layout/cluster-radial2.html +33 -0
- data/vendor/tests/layout/cluster.html +34 -0
- data/vendor/tests/layout/cluster2.html +32 -0
- data/vendor/tests/layout/force-toggle.html +46 -0
- data/vendor/tests/layout/force.html +45 -0
- data/vendor/tests/layout/force2.html +58 -0
- data/vendor/tests/layout/force3.html +41 -0
- data/vendor/tests/layout/force4.html +45 -0
- data/vendor/tests/layout/force5.html +53 -0
- data/vendor/tests/layout/grid-cols.html +31 -0
- data/vendor/tests/layout/grid-heatmap.html +25 -0
- data/vendor/tests/layout/grid-rows.html +31 -0
- data/vendor/tests/layout/grid.html +34 -0
- data/vendor/tests/layout/horizon-color.html +31 -0
- data/vendor/tests/layout/horizon.html +31 -0
- data/vendor/tests/layout/indent-toggle.html +62 -0
- data/vendor/tests/layout/indent.html +25 -0
- data/vendor/tests/layout/indent2.html +33 -0
- data/vendor/tests/layout/matrix-sort.html +28 -0
- data/vendor/tests/layout/matrix.html +35 -0
- data/vendor/tests/layout/network.html +43 -0
- data/vendor/tests/layout/pack-bubble.html +45 -0
- data/vendor/tests/layout/pack.html +26 -0
- data/vendor/tests/layout/pack2.html +32 -0
- data/vendor/tests/layout/partition-fill.html +27 -0
- data/vendor/tests/layout/partition-fill2.html +22 -0
- data/vendor/tests/layout/partition-fill3.html +27 -0
- data/vendor/tests/layout/partition-radial-fill-radius.html +25 -0
- data/vendor/tests/layout/partition-radial-fill.html +26 -0
- data/vendor/tests/layout/partition-radial-fill2.html +23 -0
- data/vendor/tests/layout/partition-radial-fill3.html +29 -0
- data/vendor/tests/layout/partition-radial-radius.html +29 -0
- data/vendor/tests/layout/partition-radial.html +30 -0
- data/vendor/tests/layout/partition-radial2.html +33 -0
- data/vendor/tests/layout/partition.html +33 -0
- data/vendor/tests/layout/partition2.html +32 -0
- data/vendor/tests/layout/rollup.html +50 -0
- data/vendor/tests/layout/stack-empty.html +27 -0
- data/vendor/tests/layout/stack-expand.html +41 -0
- data/vendor/tests/layout/stack-reverse.html +42 -0
- data/vendor/tests/layout/stack-right.html +42 -0
- data/vendor/tests/layout/stack-rule.html +61 -0
- data/vendor/tests/layout/stack-visible.html +43 -0
- data/vendor/tests/layout/stack.html +53 -0
- data/vendor/tests/layout/tree-radial.html +31 -0
- data/vendor/tests/layout/tree-radial2.html +34 -0
- data/vendor/tests/layout/tree-toggle.html +36 -0
- data/vendor/tests/layout/tree.html +31 -0
- data/vendor/tests/layout/tree2.html +35 -0
- data/vendor/tests/layout/treemap-hierarchy.html +40 -0
- data/vendor/tests/layout/treemap-margin.html +26 -0
- data/vendor/tests/layout/treemap-round.html +40 -0
- data/vendor/tests/layout/treemap-slice.html +34 -0
- data/vendor/tests/layout/treemap.html +37 -0
- data/vendor/tests/life.js +212 -0
- data/vendor/tests/mark/anchor.html +25 -0
- data/vendor/tests/mark/area-anchor-chain.html +42 -0
- data/vendor/tests/mark/area-anchor-line.html +57 -0
- data/vendor/tests/mark/area-anchor-stack.html +35 -0
- data/vendor/tests/mark/area-anchor.html +43 -0
- data/vendor/tests/mark/area-anchor2.html +33 -0
- data/vendor/tests/mark/area-cardinal.html +57 -0
- data/vendor/tests/mark/area-monotone.html +57 -0
- data/vendor/tests/mark/area-segmented-basis.html +30 -0
- data/vendor/tests/mark/area-segmented-cardinal.html +30 -0
- data/vendor/tests/mark/area-segmented-monotone.html +30 -0
- data/vendor/tests/mark/area-segmented-step.html +44 -0
- data/vendor/tests/mark/area-segmented.html +29 -0
- data/vendor/tests/mark/area-stacked-cardinal.html +54 -0
- data/vendor/tests/mark/area-stacked-monotone.html +54 -0
- data/vendor/tests/mark/area-stacked.html +53 -0
- data/vendor/tests/mark/area-step.html +43 -0
- data/vendor/tests/mark/area-zero.html +32 -0
- data/vendor/tests/mark/area.html +57 -0
- data/vendor/tests/mark/bar-anchor-stack.html +51 -0
- data/vendor/tests/mark/bar-anchor.html +44 -0
- data/vendor/tests/mark/bar-column-grouped.html +63 -0
- data/vendor/tests/mark/bar-column-stacked.html +56 -0
- data/vendor/tests/mark/bar-column.html +54 -0
- data/vendor/tests/mark/bar-grouped.html +63 -0
- data/vendor/tests/mark/bar-stacked.html +57 -0
- data/vendor/tests/mark/bar.html +54 -0
- data/vendor/tests/mark/cursor.html +41 -0
- data/vendor/tests/mark/def-type.html +23 -0
- data/vendor/tests/mark/dot-anchor.html +33 -0
- data/vendor/tests/mark/dot-radius.html +22 -0
- data/vendor/tests/mark/dot-stroke.html +43 -0
- data/vendor/tests/mark/dot.html +52 -0
- data/vendor/tests/mark/dot2.html +61 -0
- data/vendor/tests/mark/ease.html +90 -0
- data/vendor/tests/mark/event-dblclick.html +30 -0
- data/vendor/tests/mark/event-prototype.html +45 -0
- data/vendor/tests/mark/event-render.html +45 -0
- data/vendor/tests/mark/event.html +24 -0
- data/vendor/tests/mark/image-color-inherit.html +33 -0
- data/vendor/tests/mark/image-color.html +35 -0
- data/vendor/tests/mark/image-color2.html +35 -0
- data/vendor/tests/mark/image-heatmap.html +29 -0
- data/vendor/tests/mark/image.html +32 -0
- data/vendor/tests/mark/label-break.html +54 -0
- data/vendor/tests/mark/label-decoration.html +22 -0
- data/vendor/tests/mark/label-events.html +32 -0
- data/vendor/tests/mark/line-anchor.html +42 -0
- data/vendor/tests/mark/line-basis.html +54 -0
- data/vendor/tests/mark/line-brownian.html +57 -0
- data/vendor/tests/mark/line-cardinal.html +77 -0
- data/vendor/tests/mark/line-catmull-rom.html +78 -0
- data/vendor/tests/mark/line-curve.html +65 -0
- data/vendor/tests/mark/line-eccentricity.html +39 -0
- data/vendor/tests/mark/line-fill.html +24 -0
- data/vendor/tests/mark/line-join.html +51 -0
- data/vendor/tests/mark/line-monotone-non-monotone.html +53 -0
- data/vendor/tests/mark/line-monotone-two-way.html +61 -0
- data/vendor/tests/mark/line-monotone.html +53 -0
- data/vendor/tests/mark/line-polar.html +36 -0
- data/vendor/tests/mark/line-segmented-basis.html +57 -0
- data/vendor/tests/mark/line-segmented-cardinal.html +80 -0
- data/vendor/tests/mark/line-segmented-join.html +52 -0
- data/vendor/tests/mark/line-segmented-monotone.html +56 -0
- data/vendor/tests/mark/line-segmented-polar.html +30 -0
- data/vendor/tests/mark/line-segmented-step.html +41 -0
- data/vendor/tests/mark/line-segmented-step2.html +32 -0
- data/vendor/tests/mark/line-segmented.html +30 -0
- data/vendor/tests/mark/line-step.html +39 -0
- data/vendor/tests/mark/line-tension.html +59 -0
- data/vendor/tests/mark/line.html +51 -0
- data/vendor/tests/mark/panel-anchor.html +37 -0
- data/vendor/tests/mark/panel-anchor2.html +31 -0
- data/vendor/tests/mark/panel-anchor3.html +22 -0
- data/vendor/tests/mark/panel-anchor4.html +28 -0
- data/vendor/tests/mark/panel-anchor5.html +28 -0
- data/vendor/tests/mark/panel-append.html +29 -0
- data/vendor/tests/mark/panel-canvas.html +107 -0
- data/vendor/tests/mark/panel-fill.html +50 -0
- data/vendor/tests/mark/panel-mouse.html +53 -0
- data/vendor/tests/mark/panel-transform.html +67 -0
- data/vendor/tests/mark/property-cast.html +24 -0
- data/vendor/tests/mark/render-partial.html +42 -0
- data/vendor/tests/mark/rule-anchor.html +29 -0
- data/vendor/tests/mark/title.html +41 -0
- data/vendor/tests/mark/transition-anchor.html +47 -0
- data/vendor/tests/mark/transition-wedge.html +47 -0
- data/vendor/tests/mark/transition.html +106 -0
- data/vendor/tests/mark/wedge-donut.html +35 -0
- data/vendor/tests/mark/wedge-implied.html +42 -0
- data/vendor/tests/mark/wedge-pie.html +37 -0
- data/vendor/tests/mark/wedge-ring.html +27 -0
- data/vendor/tests/miserables.js +348 -0
- data/vendor/tests/physics/dorling.html +70 -0
- data/vendor/tests/physics/simulation.html +56 -0
- data/vendor/tests/social.js +28 -0
- data/vendor/tests/stanford.png +0 -0
- data/vendor/tests/style.css +5 -0
- data/vendor/tests/testify.css +29 -0
- data/vendor/tests/testify.js +16 -0
- data/vendor/tests/text/format-number.html +75 -0
- data/web/first.svg +1 -0
- data/web/index.html +48 -0
- metadata +434 -31
- data.tar.gz.sig +0 -0
- metadata.gz.sig +0 -2
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* jQuery UI CSS Framework
|
|
3
|
+
* Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
|
|
4
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
|
|
5
|
+
*/
|
|
6
|
+
|
|
7
|
+
/* Layout helpers
|
|
8
|
+
----------------------------------*/
|
|
9
|
+
.ui-helper-hidden { display: none; }
|
|
10
|
+
.ui-helper-hidden-accessible { position: absolute; left: -99999999px; }
|
|
11
|
+
.ui-helper-reset { margin: 0; padding: 0; border: 0; outline: 0; line-height: 1.3; text-decoration: none; font-size: 100%; list-style: none; }
|
|
12
|
+
.ui-helper-clearfix:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
|
|
13
|
+
.ui-helper-clearfix { display: inline-block; }
|
|
14
|
+
/* required comment for clearfix to work in Opera \*/
|
|
15
|
+
* html .ui-helper-clearfix { height:1%; }
|
|
16
|
+
.ui-helper-clearfix { display:block; }
|
|
17
|
+
/* end clearfix */
|
|
18
|
+
.ui-helper-zfix { width: 100%; height: 100%; top: 0; left: 0; position: absolute; opacity: 0; filter:Alpha(Opacity=0); }
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
/* Interaction Cues
|
|
22
|
+
----------------------------------*/
|
|
23
|
+
.ui-state-disabled { cursor: default !important; }
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
/* Icons
|
|
27
|
+
----------------------------------*/
|
|
28
|
+
|
|
29
|
+
/* states and images */
|
|
30
|
+
.ui-icon { display: block; text-indent: -99999px; overflow: hidden; background-repeat: no-repeat; }
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
/* Misc visuals
|
|
34
|
+
----------------------------------*/
|
|
35
|
+
|
|
36
|
+
/* Overlays */
|
|
37
|
+
.ui-widget-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
/*
|
|
41
|
+
* jQuery UI CSS Framework
|
|
42
|
+
* Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about)
|
|
43
|
+
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
|
|
44
|
+
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Trebuchet%20MS,%20Tahoma,%20Verdana,%20Arial,%20sans-serif&fwDefault=bold&fsDefault=1.1em&cornerRadius=4px&bgColorHeader=f6a828&bgTextureHeader=12_gloss_wave.png&bgImgOpacityHeader=35&borderColorHeader=e78f08&fcHeader=ffffff&iconColorHeader=ffffff&bgColorContent=eeeeee&bgTextureContent=03_highlight_soft.png&bgImgOpacityContent=100&borderColorContent=dddddd&fcContent=333333&iconColorContent=222222&bgColorDefault=f6f6f6&bgTextureDefault=02_glass.png&bgImgOpacityDefault=100&borderColorDefault=cccccc&fcDefault=1c94c4&iconColorDefault=ef8c08&bgColorHover=fdf5ce&bgTextureHover=02_glass.png&bgImgOpacityHover=100&borderColorHover=fbcb09&fcHover=c77405&iconColorHover=ef8c08&bgColorActive=ffffff&bgTextureActive=02_glass.png&bgImgOpacityActive=65&borderColorActive=fbd850&fcActive=eb8f00&iconColorActive=ef8c08&bgColorHighlight=ffe45c&bgTextureHighlight=03_highlight_soft.png&bgImgOpacityHighlight=75&borderColorHighlight=fed22f&fcHighlight=363636&iconColorHighlight=228ef1&bgColorError=b81900&bgTextureError=08_diagonals_thick.png&bgImgOpacityError=18&borderColorError=cd0a0a&fcError=ffffff&iconColorError=ffd27a&bgColorOverlay=666666&bgTextureOverlay=08_diagonals_thick.png&bgImgOpacityOverlay=20&opacityOverlay=50&bgColorShadow=000000&bgTextureShadow=01_flat.png&bgImgOpacityShadow=10&opacityShadow=20&thicknessShadow=5px&offsetTopShadow=-5px&offsetLeftShadow=-5px&cornerRadiusShadow=5px
|
|
45
|
+
*/
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
/* Component containers
|
|
49
|
+
----------------------------------*/
|
|
50
|
+
.ui-widget { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1.1em; }
|
|
51
|
+
.ui-widget .ui-widget { font-size: 1em; }
|
|
52
|
+
.ui-widget input, .ui-widget select, .ui-widget textarea, .ui-widget button { font-family: Trebuchet MS, Tahoma, Verdana, Arial, sans-serif; font-size: 1em; }
|
|
53
|
+
.ui-widget-content { border: 1px solid #dddddd; background: #eeeeee url(images/ui-bg_highlight-soft_100_eeeeee_1x100.png) 50% top repeat-x; color: #333333; }
|
|
54
|
+
.ui-widget-content a { color: #333333; }
|
|
55
|
+
.ui-widget-header { border: 1px solid #e78f08; background: #f6a828 url(images/ui-bg_gloss-wave_35_f6a828_500x100.png) 50% 50% repeat-x; color: #ffffff; font-weight: bold; }
|
|
56
|
+
.ui-widget-header a { color: #ffffff; }
|
|
57
|
+
|
|
58
|
+
/* Interaction states
|
|
59
|
+
----------------------------------*/
|
|
60
|
+
.ui-state-default, .ui-widget-content .ui-state-default { border: 1px solid #cccccc; background: #f6f6f6 url(images/ui-bg_glass_100_f6f6f6_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #1c94c4; }
|
|
61
|
+
.ui-state-default a, .ui-state-default a:link, .ui-state-default a:visited { color: #1c94c4; text-decoration: none; }
|
|
62
|
+
.ui-state-hover, .ui-widget-content .ui-state-hover, .ui-state-focus, .ui-widget-content .ui-state-focus { border: 1px solid #fbcb09; background: #fdf5ce url(images/ui-bg_glass_100_fdf5ce_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #c77405; }
|
|
63
|
+
.ui-state-hover a, .ui-state-hover a:hover { color: #c77405; text-decoration: none; }
|
|
64
|
+
.ui-state-active, .ui-widget-content .ui-state-active { border: 1px solid #fbd850; background: #ffffff url(images/ui-bg_glass_65_ffffff_1x400.png) 50% 50% repeat-x; font-weight: bold; color: #eb8f00; }
|
|
65
|
+
.ui-state-active a, .ui-state-active a:link, .ui-state-active a:visited { color: #eb8f00; text-decoration: none; }
|
|
66
|
+
.ui-widget :active { outline: none; }
|
|
67
|
+
|
|
68
|
+
/* Interaction Cues
|
|
69
|
+
----------------------------------*/
|
|
70
|
+
.ui-state-highlight, .ui-widget-content .ui-state-highlight {border: 1px solid #fed22f; background: #ffe45c url(images/ui-bg_highlight-soft_75_ffe45c_1x100.png) 50% top repeat-x; color: #363636; }
|
|
71
|
+
.ui-state-highlight a, .ui-widget-content .ui-state-highlight a { color: #363636; }
|
|
72
|
+
.ui-state-error, .ui-widget-content .ui-state-error {border: 1px solid #cd0a0a; background: #b81900 url(images/ui-bg_diagonals-thick_18_b81900_40x40.png) 50% 50% repeat; color: #ffffff; }
|
|
73
|
+
.ui-state-error a, .ui-widget-content .ui-state-error a { color: #ffffff; }
|
|
74
|
+
.ui-state-error-text, .ui-widget-content .ui-state-error-text { color: #ffffff; }
|
|
75
|
+
.ui-priority-primary, .ui-widget-content .ui-priority-primary { font-weight: bold; }
|
|
76
|
+
.ui-priority-secondary, .ui-widget-content .ui-priority-secondary { opacity: .7; filter:Alpha(Opacity=70); font-weight: normal; }
|
|
77
|
+
.ui-state-disabled, .ui-widget-content .ui-state-disabled { opacity: .35; filter:Alpha(Opacity=35); background-image: none; }
|
|
78
|
+
|
|
79
|
+
/* Icons
|
|
80
|
+
----------------------------------*/
|
|
81
|
+
|
|
82
|
+
/* states and images */
|
|
83
|
+
.ui-icon { width: 16px; height: 16px; background-image: url(images/ui-icons_222222_256x240.png); }
|
|
84
|
+
.ui-widget-content .ui-icon {background-image: url(images/ui-icons_222222_256x240.png); }
|
|
85
|
+
.ui-widget-header .ui-icon {background-image: url(images/ui-icons_ffffff_256x240.png); }
|
|
86
|
+
.ui-state-default .ui-icon { background-image: url(images/ui-icons_ef8c08_256x240.png); }
|
|
87
|
+
.ui-state-hover .ui-icon, .ui-state-focus .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
|
|
88
|
+
.ui-state-active .ui-icon {background-image: url(images/ui-icons_ef8c08_256x240.png); }
|
|
89
|
+
.ui-state-highlight .ui-icon {background-image: url(images/ui-icons_228ef1_256x240.png); }
|
|
90
|
+
.ui-state-error .ui-icon, .ui-state-error-text .ui-icon {background-image: url(images/ui-icons_ffd27a_256x240.png); }
|
|
91
|
+
|
|
92
|
+
/* positioning */
|
|
93
|
+
.ui-icon-carat-1-n { background-position: 0 0; }
|
|
94
|
+
.ui-icon-carat-1-ne { background-position: -16px 0; }
|
|
95
|
+
.ui-icon-carat-1-e { background-position: -32px 0; }
|
|
96
|
+
.ui-icon-carat-1-se { background-position: -48px 0; }
|
|
97
|
+
.ui-icon-carat-1-s { background-position: -64px 0; }
|
|
98
|
+
.ui-icon-carat-1-sw { background-position: -80px 0; }
|
|
99
|
+
.ui-icon-carat-1-w { background-position: -96px 0; }
|
|
100
|
+
.ui-icon-carat-1-nw { background-position: -112px 0; }
|
|
101
|
+
.ui-icon-carat-2-n-s { background-position: -128px 0; }
|
|
102
|
+
.ui-icon-carat-2-e-w { background-position: -144px 0; }
|
|
103
|
+
.ui-icon-triangle-1-n { background-position: 0 -16px; }
|
|
104
|
+
.ui-icon-triangle-1-ne { background-position: -16px -16px; }
|
|
105
|
+
.ui-icon-triangle-1-e { background-position: -32px -16px; }
|
|
106
|
+
.ui-icon-triangle-1-se { background-position: -48px -16px; }
|
|
107
|
+
.ui-icon-triangle-1-s { background-position: -64px -16px; }
|
|
108
|
+
.ui-icon-triangle-1-sw { background-position: -80px -16px; }
|
|
109
|
+
.ui-icon-triangle-1-w { background-position: -96px -16px; }
|
|
110
|
+
.ui-icon-triangle-1-nw { background-position: -112px -16px; }
|
|
111
|
+
.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
|
|
112
|
+
.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
|
|
113
|
+
.ui-icon-arrow-1-n { background-position: 0 -32px; }
|
|
114
|
+
.ui-icon-arrow-1-ne { background-position: -16px -32px; }
|
|
115
|
+
.ui-icon-arrow-1-e { background-position: -32px -32px; }
|
|
116
|
+
.ui-icon-arrow-1-se { background-position: -48px -32px; }
|
|
117
|
+
.ui-icon-arrow-1-s { background-position: -64px -32px; }
|
|
118
|
+
.ui-icon-arrow-1-sw { background-position: -80px -32px; }
|
|
119
|
+
.ui-icon-arrow-1-w { background-position: -96px -32px; }
|
|
120
|
+
.ui-icon-arrow-1-nw { background-position: -112px -32px; }
|
|
121
|
+
.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
|
|
122
|
+
.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
|
|
123
|
+
.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
|
|
124
|
+
.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
|
|
125
|
+
.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
|
|
126
|
+
.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
|
|
127
|
+
.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
|
|
128
|
+
.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
|
|
129
|
+
.ui-icon-arrowthick-1-n { background-position: 0 -48px; }
|
|
130
|
+
.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
|
|
131
|
+
.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
|
|
132
|
+
.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
|
|
133
|
+
.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
|
|
134
|
+
.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
|
|
135
|
+
.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
|
|
136
|
+
.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
|
|
137
|
+
.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
|
|
138
|
+
.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
|
|
139
|
+
.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
|
|
140
|
+
.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
|
|
141
|
+
.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
|
|
142
|
+
.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
|
|
143
|
+
.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
|
|
144
|
+
.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
|
|
145
|
+
.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
|
|
146
|
+
.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
|
|
147
|
+
.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
|
|
148
|
+
.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
|
|
149
|
+
.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
|
|
150
|
+
.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
|
|
151
|
+
.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
|
|
152
|
+
.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
|
|
153
|
+
.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
|
|
154
|
+
.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
|
|
155
|
+
.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
|
|
156
|
+
.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
|
|
157
|
+
.ui-icon-arrow-4 { background-position: 0 -80px; }
|
|
158
|
+
.ui-icon-arrow-4-diag { background-position: -16px -80px; }
|
|
159
|
+
.ui-icon-extlink { background-position: -32px -80px; }
|
|
160
|
+
.ui-icon-newwin { background-position: -48px -80px; }
|
|
161
|
+
.ui-icon-refresh { background-position: -64px -80px; }
|
|
162
|
+
.ui-icon-shuffle { background-position: -80px -80px; }
|
|
163
|
+
.ui-icon-transfer-e-w { background-position: -96px -80px; }
|
|
164
|
+
.ui-icon-transferthick-e-w { background-position: -112px -80px; }
|
|
165
|
+
.ui-icon-folder-collapsed { background-position: 0 -96px; }
|
|
166
|
+
.ui-icon-folder-open { background-position: -16px -96px; }
|
|
167
|
+
.ui-icon-document { background-position: -32px -96px; }
|
|
168
|
+
.ui-icon-document-b { background-position: -48px -96px; }
|
|
169
|
+
.ui-icon-note { background-position: -64px -96px; }
|
|
170
|
+
.ui-icon-mail-closed { background-position: -80px -96px; }
|
|
171
|
+
.ui-icon-mail-open { background-position: -96px -96px; }
|
|
172
|
+
.ui-icon-suitcase { background-position: -112px -96px; }
|
|
173
|
+
.ui-icon-comment { background-position: -128px -96px; }
|
|
174
|
+
.ui-icon-person { background-position: -144px -96px; }
|
|
175
|
+
.ui-icon-print { background-position: -160px -96px; }
|
|
176
|
+
.ui-icon-trash { background-position: -176px -96px; }
|
|
177
|
+
.ui-icon-locked { background-position: -192px -96px; }
|
|
178
|
+
.ui-icon-unlocked { background-position: -208px -96px; }
|
|
179
|
+
.ui-icon-bookmark { background-position: -224px -96px; }
|
|
180
|
+
.ui-icon-tag { background-position: -240px -96px; }
|
|
181
|
+
.ui-icon-home { background-position: 0 -112px; }
|
|
182
|
+
.ui-icon-flag { background-position: -16px -112px; }
|
|
183
|
+
.ui-icon-calendar { background-position: -32px -112px; }
|
|
184
|
+
.ui-icon-cart { background-position: -48px -112px; }
|
|
185
|
+
.ui-icon-pencil { background-position: -64px -112px; }
|
|
186
|
+
.ui-icon-clock { background-position: -80px -112px; }
|
|
187
|
+
.ui-icon-disk { background-position: -96px -112px; }
|
|
188
|
+
.ui-icon-calculator { background-position: -112px -112px; }
|
|
189
|
+
.ui-icon-zoomin { background-position: -128px -112px; }
|
|
190
|
+
.ui-icon-zoomout { background-position: -144px -112px; }
|
|
191
|
+
.ui-icon-search { background-position: -160px -112px; }
|
|
192
|
+
.ui-icon-wrench { background-position: -176px -112px; }
|
|
193
|
+
.ui-icon-gear { background-position: -192px -112px; }
|
|
194
|
+
.ui-icon-heart { background-position: -208px -112px; }
|
|
195
|
+
.ui-icon-star { background-position: -224px -112px; }
|
|
196
|
+
.ui-icon-link { background-position: -240px -112px; }
|
|
197
|
+
.ui-icon-cancel { background-position: 0 -128px; }
|
|
198
|
+
.ui-icon-plus { background-position: -16px -128px; }
|
|
199
|
+
.ui-icon-plusthick { background-position: -32px -128px; }
|
|
200
|
+
.ui-icon-minus { background-position: -48px -128px; }
|
|
201
|
+
.ui-icon-minusthick { background-position: -64px -128px; }
|
|
202
|
+
.ui-icon-close { background-position: -80px -128px; }
|
|
203
|
+
.ui-icon-closethick { background-position: -96px -128px; }
|
|
204
|
+
.ui-icon-key { background-position: -112px -128px; }
|
|
205
|
+
.ui-icon-lightbulb { background-position: -128px -128px; }
|
|
206
|
+
.ui-icon-scissors { background-position: -144px -128px; }
|
|
207
|
+
.ui-icon-clipboard { background-position: -160px -128px; }
|
|
208
|
+
.ui-icon-copy { background-position: -176px -128px; }
|
|
209
|
+
.ui-icon-contact { background-position: -192px -128px; }
|
|
210
|
+
.ui-icon-image { background-position: -208px -128px; }
|
|
211
|
+
.ui-icon-video { background-position: -224px -128px; }
|
|
212
|
+
.ui-icon-script { background-position: -240px -128px; }
|
|
213
|
+
.ui-icon-alert { background-position: 0 -144px; }
|
|
214
|
+
.ui-icon-info { background-position: -16px -144px; }
|
|
215
|
+
.ui-icon-notice { background-position: -32px -144px; }
|
|
216
|
+
.ui-icon-help { background-position: -48px -144px; }
|
|
217
|
+
.ui-icon-check { background-position: -64px -144px; }
|
|
218
|
+
.ui-icon-bullet { background-position: -80px -144px; }
|
|
219
|
+
.ui-icon-radio-off { background-position: -96px -144px; }
|
|
220
|
+
.ui-icon-radio-on { background-position: -112px -144px; }
|
|
221
|
+
.ui-icon-pin-w { background-position: -128px -144px; }
|
|
222
|
+
.ui-icon-pin-s { background-position: -144px -144px; }
|
|
223
|
+
.ui-icon-play { background-position: 0 -160px; }
|
|
224
|
+
.ui-icon-pause { background-position: -16px -160px; }
|
|
225
|
+
.ui-icon-seek-next { background-position: -32px -160px; }
|
|
226
|
+
.ui-icon-seek-prev { background-position: -48px -160px; }
|
|
227
|
+
.ui-icon-seek-end { background-position: -64px -160px; }
|
|
228
|
+
.ui-icon-seek-start { background-position: -80px -160px; }
|
|
229
|
+
/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
|
|
230
|
+
.ui-icon-seek-first { background-position: -80px -160px; }
|
|
231
|
+
.ui-icon-stop { background-position: -96px -160px; }
|
|
232
|
+
.ui-icon-eject { background-position: -112px -160px; }
|
|
233
|
+
.ui-icon-volume-off { background-position: -128px -160px; }
|
|
234
|
+
.ui-icon-volume-on { background-position: -144px -160px; }
|
|
235
|
+
.ui-icon-power { background-position: 0 -176px; }
|
|
236
|
+
.ui-icon-signal-diag { background-position: -16px -176px; }
|
|
237
|
+
.ui-icon-signal { background-position: -32px -176px; }
|
|
238
|
+
.ui-icon-battery-0 { background-position: -48px -176px; }
|
|
239
|
+
.ui-icon-battery-1 { background-position: -64px -176px; }
|
|
240
|
+
.ui-icon-battery-2 { background-position: -80px -176px; }
|
|
241
|
+
.ui-icon-battery-3 { background-position: -96px -176px; }
|
|
242
|
+
.ui-icon-circle-plus { background-position: 0 -192px; }
|
|
243
|
+
.ui-icon-circle-minus { background-position: -16px -192px; }
|
|
244
|
+
.ui-icon-circle-close { background-position: -32px -192px; }
|
|
245
|
+
.ui-icon-circle-triangle-e { background-position: -48px -192px; }
|
|
246
|
+
.ui-icon-circle-triangle-s { background-position: -64px -192px; }
|
|
247
|
+
.ui-icon-circle-triangle-w { background-position: -80px -192px; }
|
|
248
|
+
.ui-icon-circle-triangle-n { background-position: -96px -192px; }
|
|
249
|
+
.ui-icon-circle-arrow-e { background-position: -112px -192px; }
|
|
250
|
+
.ui-icon-circle-arrow-s { background-position: -128px -192px; }
|
|
251
|
+
.ui-icon-circle-arrow-w { background-position: -144px -192px; }
|
|
252
|
+
.ui-icon-circle-arrow-n { background-position: -160px -192px; }
|
|
253
|
+
.ui-icon-circle-zoomin { background-position: -176px -192px; }
|
|
254
|
+
.ui-icon-circle-zoomout { background-position: -192px -192px; }
|
|
255
|
+
.ui-icon-circle-check { background-position: -208px -192px; }
|
|
256
|
+
.ui-icon-circlesmall-plus { background-position: 0 -208px; }
|
|
257
|
+
.ui-icon-circlesmall-minus { background-position: -16px -208px; }
|
|
258
|
+
.ui-icon-circlesmall-close { background-position: -32px -208px; }
|
|
259
|
+
.ui-icon-squaresmall-plus { background-position: -48px -208px; }
|
|
260
|
+
.ui-icon-squaresmall-minus { background-position: -64px -208px; }
|
|
261
|
+
.ui-icon-squaresmall-close { background-position: -80px -208px; }
|
|
262
|
+
.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
|
|
263
|
+
.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
|
|
264
|
+
.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
|
|
265
|
+
.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
|
|
266
|
+
.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
|
|
267
|
+
.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
/* Misc visuals
|
|
271
|
+
----------------------------------*/
|
|
272
|
+
|
|
273
|
+
/* Corner radius */
|
|
274
|
+
.ui-corner-tl { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; }
|
|
275
|
+
.ui-corner-tr { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
|
|
276
|
+
.ui-corner-bl { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
|
|
277
|
+
.ui-corner-br { -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
|
278
|
+
.ui-corner-top { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; }
|
|
279
|
+
.ui-corner-bottom { -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
|
280
|
+
.ui-corner-right { -moz-border-radius-topright: 4px; -webkit-border-top-right-radius: 4px; border-top-right-radius: 4px; -moz-border-radius-bottomright: 4px; -webkit-border-bottom-right-radius: 4px; border-bottom-right-radius: 4px; }
|
|
281
|
+
.ui-corner-left { -moz-border-radius-topleft: 4px; -webkit-border-top-left-radius: 4px; border-top-left-radius: 4px; -moz-border-radius-bottomleft: 4px; -webkit-border-bottom-left-radius: 4px; border-bottom-left-radius: 4px; }
|
|
282
|
+
.ui-corner-all { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
|
|
283
|
+
|
|
284
|
+
/* Overlays */
|
|
285
|
+
.ui-widget-overlay { background: #666666 url(images/ui-bg_diagonals-thick_20_666666_40x40.png) 50% 50% repeat; opacity: .50;filter:Alpha(Opacity=50); }
|
|
286
|
+
.ui-widget-shadow { margin: -5px 0 0 -5px; padding: 5px; background: #000000 url(images/ui-bg_flat_10_000000_40x100.png) 50% 50% repeat-x; opacity: .20;filter:Alpha(Opacity=20); -moz-border-radius: 5px; -webkit-border-radius: 5px; border-radius: 5px; }/* Slider
|
|
287
|
+
----------------------------------*/
|
|
288
|
+
.ui-slider { position: relative; text-align: left; }
|
|
289
|
+
.ui-slider .ui-slider-handle { position: absolute; z-index: 2; width: 1.2em; height: 1.2em; cursor: default; }
|
|
290
|
+
.ui-slider .ui-slider-range { position: absolute; z-index: 1; font-size: .7em; display: block; border: 0; background-position: 0 0; }
|
|
291
|
+
|
|
292
|
+
.ui-slider-horizontal { height: .8em; }
|
|
293
|
+
.ui-slider-horizontal .ui-slider-handle { top: -.3em; margin-left: -.6em; }
|
|
294
|
+
.ui-slider-horizontal .ui-slider-range { top: 0; height: 100%; }
|
|
295
|
+
.ui-slider-horizontal .ui-slider-range-min { left: 0; }
|
|
296
|
+
.ui-slider-horizontal .ui-slider-range-max { right: 0; }
|
|
297
|
+
|
|
298
|
+
.ui-slider-vertical { width: .8em; height: 100px; }
|
|
299
|
+
.ui-slider-vertical .ui-slider-handle { left: -.3em; margin-left: 0; margin-bottom: -.6em; }
|
|
300
|
+
.ui-slider-vertical .ui-slider-range { left: 0; width: 100%; }
|
|
301
|
+
.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
|
|
302
|
+
.ui-slider-vertical .ui-slider-range-max { top: 0; }
|
|
@@ -0,0 +1,198 @@
|
|
|
1
|
+
// tipsy, facebook style tooltips for jquery
|
|
2
|
+
// version 1.0.0a
|
|
3
|
+
// (c) 2008-2010 jason frame [jason@onehackoranother.com]
|
|
4
|
+
// releated under the MIT license
|
|
5
|
+
|
|
6
|
+
(function($) {
|
|
7
|
+
|
|
8
|
+
function fixTitle($ele) {
|
|
9
|
+
if ($ele.attr('title') || typeof($ele.attr('original-title')) != 'string') {
|
|
10
|
+
$ele.attr('original-title', $ele.attr('title') || '').removeAttr('title');
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function Tipsy(element, options) {
|
|
15
|
+
this.$element = $(element);
|
|
16
|
+
this.options = options;
|
|
17
|
+
this.enabled = true;
|
|
18
|
+
fixTitle(this.$element);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
Tipsy.prototype = {
|
|
22
|
+
show: function() {
|
|
23
|
+
var title = this.getTitle();
|
|
24
|
+
if (title && this.enabled) {
|
|
25
|
+
var $tip = this.tip();
|
|
26
|
+
|
|
27
|
+
$tip.find('.tipsy-inner')[this.options.html ? 'html' : 'text'](title);
|
|
28
|
+
$tip[0].className = 'tipsy'; // reset classname in case of dynamic gravity
|
|
29
|
+
$tip.remove().css({top: 0, left: 0, visibility: 'hidden', display: 'block'}).appendTo(document.body);
|
|
30
|
+
|
|
31
|
+
var pos = $.extend({}, this.$element.offset(), {
|
|
32
|
+
width: this.$element[0].offsetWidth,
|
|
33
|
+
height: this.$element[0].offsetHeight
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
var actualWidth = $tip[0].offsetWidth, actualHeight = $tip[0].offsetHeight;
|
|
37
|
+
var gravity = (typeof this.options.gravity == 'function')
|
|
38
|
+
? this.options.gravity.call(this.$element[0])
|
|
39
|
+
: this.options.gravity;
|
|
40
|
+
|
|
41
|
+
var tp;
|
|
42
|
+
switch (gravity.charAt(0)) {
|
|
43
|
+
case 'n':
|
|
44
|
+
tp = {top: pos.top + pos.height + this.options.offset, left: pos.left + pos.width / 2 - actualWidth / 2};
|
|
45
|
+
break;
|
|
46
|
+
case 's':
|
|
47
|
+
tp = {top: pos.top - actualHeight - this.options.offset, left: pos.left + pos.width / 2 - actualWidth / 2};
|
|
48
|
+
break;
|
|
49
|
+
case 'e':
|
|
50
|
+
tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left - actualWidth - this.options.offset};
|
|
51
|
+
break;
|
|
52
|
+
case 'w':
|
|
53
|
+
tp = {top: pos.top + pos.height / 2 - actualHeight / 2, left: pos.left + pos.width + this.options.offset};
|
|
54
|
+
break;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
if (gravity.length == 2) {
|
|
58
|
+
if (gravity.charAt(1) == 'w') {
|
|
59
|
+
tp.left = pos.left + pos.width / 2 - 15;
|
|
60
|
+
} else {
|
|
61
|
+
tp.left = pos.left + pos.width / 2 - actualWidth + 15;
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
$tip.css(tp).addClass('tipsy-' + gravity);
|
|
66
|
+
|
|
67
|
+
if (this.options.fade) {
|
|
68
|
+
$tip.stop().css({opacity: 0, display: 'block', visibility: 'visible'}).animate({opacity: this.options.opacity});
|
|
69
|
+
} else {
|
|
70
|
+
$tip.css({visibility: 'visible', opacity: this.options.opacity});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
|
|
75
|
+
hide: function() {
|
|
76
|
+
if (this.options.fade) {
|
|
77
|
+
this.tip().stop().fadeOut(function() { $(this).remove(); });
|
|
78
|
+
} else {
|
|
79
|
+
this.tip().remove();
|
|
80
|
+
}
|
|
81
|
+
},
|
|
82
|
+
|
|
83
|
+
getTitle: function() {
|
|
84
|
+
var title, $e = this.$element, o = this.options;
|
|
85
|
+
fixTitle($e);
|
|
86
|
+
var title, o = this.options;
|
|
87
|
+
if (typeof o.title == 'string') {
|
|
88
|
+
title = $e.attr(o.title == 'title' ? 'original-title' : o.title);
|
|
89
|
+
} else if (typeof o.title == 'function') {
|
|
90
|
+
title = o.title.call($e[0]);
|
|
91
|
+
}
|
|
92
|
+
title = ('' + title).replace(/(^\s*|\s*$)/, "");
|
|
93
|
+
return title || o.fallback;
|
|
94
|
+
},
|
|
95
|
+
|
|
96
|
+
tip: function() {
|
|
97
|
+
if (!this.$tip) {
|
|
98
|
+
this.$tip = $('<div class="tipsy"></div>').html('<div class="tipsy-arrow"></div><div class="tipsy-inner"/></div>');
|
|
99
|
+
}
|
|
100
|
+
return this.$tip;
|
|
101
|
+
},
|
|
102
|
+
|
|
103
|
+
validate: function() {
|
|
104
|
+
if (!this.$element[0].parentNode) {
|
|
105
|
+
this.hide();
|
|
106
|
+
this.$element = null;
|
|
107
|
+
this.options = null;
|
|
108
|
+
}
|
|
109
|
+
},
|
|
110
|
+
|
|
111
|
+
enable: function() { this.enabled = true; },
|
|
112
|
+
disable: function() { this.enabled = false; },
|
|
113
|
+
toggleEnabled: function() { this.enabled = !this.enabled; }
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
$.fn.tipsy = function(options) {
|
|
117
|
+
|
|
118
|
+
if (options === true) {
|
|
119
|
+
return this.data('tipsy');
|
|
120
|
+
} else if (typeof options == 'string') {
|
|
121
|
+
return this.data('tipsy')[options]();
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
options = $.extend({}, $.fn.tipsy.defaults, options);
|
|
125
|
+
|
|
126
|
+
function get(ele) {
|
|
127
|
+
var tipsy = $.data(ele, 'tipsy');
|
|
128
|
+
if (!tipsy) {
|
|
129
|
+
tipsy = new Tipsy(ele, $.fn.tipsy.elementOptions(ele, options));
|
|
130
|
+
$.data(ele, 'tipsy', tipsy);
|
|
131
|
+
}
|
|
132
|
+
return tipsy;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
function enter() {
|
|
136
|
+
var tipsy = get(this);
|
|
137
|
+
tipsy.hoverState = 'in';
|
|
138
|
+
if (options.delayIn == 0) {
|
|
139
|
+
tipsy.show();
|
|
140
|
+
} else {
|
|
141
|
+
setTimeout(function() { if (tipsy.hoverState == 'in') tipsy.show(); }, options.delayIn);
|
|
142
|
+
}
|
|
143
|
+
};
|
|
144
|
+
|
|
145
|
+
function leave() {
|
|
146
|
+
var tipsy = get(this);
|
|
147
|
+
tipsy.hoverState = 'out';
|
|
148
|
+
if (options.delayOut == 0) {
|
|
149
|
+
tipsy.hide();
|
|
150
|
+
} else {
|
|
151
|
+
setTimeout(function() { if (tipsy.hoverState == 'out') tipsy.hide(); }, options.delayOut);
|
|
152
|
+
}
|
|
153
|
+
};
|
|
154
|
+
|
|
155
|
+
if (!options.live) this.each(function() { get(this); });
|
|
156
|
+
|
|
157
|
+
if (options.trigger != 'manual') {
|
|
158
|
+
var binder = options.live ? 'live' : 'bind',
|
|
159
|
+
eventIn = options.trigger == 'hover' ? 'mouseenter' : 'focus',
|
|
160
|
+
eventOut = options.trigger == 'hover' ? 'mouseleave' : 'blur';
|
|
161
|
+
this[binder](eventIn, enter)[binder](eventOut, leave);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
return this;
|
|
165
|
+
|
|
166
|
+
};
|
|
167
|
+
|
|
168
|
+
$.fn.tipsy.defaults = {
|
|
169
|
+
delayIn: 0,
|
|
170
|
+
delayOut: 0,
|
|
171
|
+
fade: false,
|
|
172
|
+
fallback: '',
|
|
173
|
+
gravity: 'n',
|
|
174
|
+
html: false,
|
|
175
|
+
live: false,
|
|
176
|
+
offset: 0,
|
|
177
|
+
opacity: 0.8,
|
|
178
|
+
title: 'title',
|
|
179
|
+
trigger: 'hover'
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
// Overwrite this method to provide options on a per-element basis.
|
|
183
|
+
// For example, you could store the gravity in a 'tipsy-gravity' attribute:
|
|
184
|
+
// return $.extend({}, options, {gravity: $(ele).attr('tipsy-gravity') || 'n' });
|
|
185
|
+
// (remember - do not modify 'options' in place!)
|
|
186
|
+
$.fn.tipsy.elementOptions = function(ele, options) {
|
|
187
|
+
return $.metadata ? $.extend({}, options, $(ele).metadata()) : options;
|
|
188
|
+
};
|
|
189
|
+
|
|
190
|
+
$.fn.tipsy.autoNS = function() {
|
|
191
|
+
return $(this).offset().top > ($(document).scrollTop() + $(window).height() / 2) ? 's' : 'n';
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
$.fn.tipsy.autoWE = function() {
|
|
195
|
+
return $(this).offset().left > ($(document).scrollLeft() + $(window).width() / 2) ? 'e' : 'w';
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
})(jQuery);
|