Path: blob/master/sandbox/RFinance2014/libraries/widgets/nvd3/css/nv.d3.css
1433 views
1/********************2* HTML CSS3*/456.chartWrap {7margin: 0;8padding: 0;9overflow: hidden;10}111213/********************14* TOOLTIP CSS15*/1617.nvtooltip {18position: absolute;19background-color: rgba(255,255,255,1);20padding: 1px;21border: 1px solid rgba(0,0,0,.2);22z-index: 10000;2324font-family: Arial;25font-size: 13px;2627transition: opacity 500ms linear;28-moz-transition: opacity 500ms linear;29-webkit-transition: opacity 500ms linear;3031transition-delay: 500ms;32-moz-transition-delay: 500ms;33-webkit-transition-delay: 500ms;3435-moz-box-shadow: 0 5px 10px rgba(0,0,0,.2);36-webkit-box-shadow: 0 5px 10px rgba(0,0,0,.2);37box-shadow: 0 5px 10px rgba(0,0,0,.2);3839-webkit-border-radius: 6px;40-moz-border-radius: 6px;41border-radius: 6px;4243pointer-events: none;4445-webkit-touch-callout: none;46-webkit-user-select: none;47-khtml-user-select: none;48-moz-user-select: none;49-ms-user-select: none;50user-select: none;51}5253.nvtooltip.x-nvtooltip,54.nvtooltip.y-nvtooltip {55padding: 8px;56}5758.nvtooltip h3 {59margin: 0;60padding: 4px 14px;61line-height: 18px;62font-weight: normal;63background-color: #f7f7f7;64text-align: center;6566border-bottom: 1px solid #ebebeb;6768-webkit-border-radius: 5px 5px 0 0;69-moz-border-radius: 5px 5px 0 0;70border-radius: 5px 5px 0 0;71}7273.nvtooltip p {74margin: 0;75padding: 5px 14px;76text-align: center;77}7879.nvtooltip span {80display: inline-block;81margin: 2px 0;82}8384.nvtooltip-pending-removal {85position: absolute;86pointer-events: none;87}888990/********************91* SVG CSS92*/939495svg {96-webkit-touch-callout: none;97-webkit-user-select: none;98-khtml-user-select: none;99-moz-user-select: none;100-ms-user-select: none;101user-select: none;102/* Trying to get SVG to act like a greedy block in all browsers */103display: block;104width:100%;105height:100%;106}107108109svg text {110font: normal 12px Arial;111}112113svg .title {114font: bold 14px Arial;115}116117.nvd3 .nv-background {118fill: white;119fill-opacity: 0;120/*121pointer-events: none;122*/123}124125.nvd3.nv-noData {126font-size: 18px;127font-weight: bold;128}129130131/**********132* Brush133*/134135.nv-brush .extent {136fill-opacity: .125;137shape-rendering: crispEdges;138}139140141142/**********143* Legend144*/145146.nvd3 .nv-legend .nv-series {147cursor: pointer;148}149150.nvd3 .nv-legend .disabled circle {151fill-opacity: 0;152}153154155156/**********157* Axes158*/159160.nvd3 .nv-axis path {161fill: none;162stroke: #000;163stroke-opacity: .75;164shape-rendering: crispEdges;165}166167.nvd3 .nv-axis path.domain {168stroke-opacity: .75;169}170171.nvd3 .nv-axis.nv-x path.domain {172stroke-opacity: 0;173}174175.nvd3 .nv-axis line {176fill: none;177stroke: #000;178stroke-opacity: .25;179shape-rendering: crispEdges;180}181182.nvd3 .nv-axis line.zero {183stroke-opacity: .75;184}185186.nvd3 .nv-axis .nv-axisMaxMin text {187font-weight: bold;188}189190.nvd3 .x .nv-axis .nv-axisMaxMin text,191.nvd3 .x2 .nv-axis .nv-axisMaxMin text,192.nvd3 .x3 .nv-axis .nv-axisMaxMin text {193text-anchor: middle194}195196197198/**********199* Brush200*/201202.nv-brush .resize path {203fill: #eee;204stroke: #666;205}206207208209/**********210* Bars211*/212213.nvd3 .nv-bars .negative rect {214zfill: brown;215}216217.nvd3 .nv-bars rect {218zfill: steelblue;219fill-opacity: .75;220221transition: fill-opacity 250ms linear;222-moz-transition: fill-opacity 250ms linear;223-webkit-transition: fill-opacity 250ms linear;224}225226.nvd3 .nv-bars rect:hover {227fill-opacity: 1;228}229230.nvd3 .nv-bars .hover rect {231fill: lightblue;232}233234.nvd3 .nv-bars text {235fill: rgba(0,0,0,0);236}237238.nvd3 .nv-bars .hover text {239fill: rgba(0,0,0,1);240}241242243/**********244* Bars245*/246247.nvd3 .nv-multibar .nv-groups rect,248.nvd3 .nv-multibarHorizontal .nv-groups rect,249.nvd3 .nv-discretebar .nv-groups rect {250stroke-opacity: 0;251252transition: fill-opacity 250ms linear;253-moz-transition: fill-opacity 250ms linear;254-webkit-transition: fill-opacity 250ms linear;255}256257.nvd3 .nv-multibar .nv-groups rect:hover,258.nvd3 .nv-multibarHorizontal .nv-groups rect:hover,259.nvd3 .nv-discretebar .nv-groups rect:hover {260fill-opacity: 1;261}262263.nvd3 .nv-discretebar .nv-groups text,264.nvd3 .nv-multibarHorizontal .nv-groups text {265font-weight: bold;266fill: rgba(0,0,0,1);267stroke: rgba(0,0,0,0);268}269270/***********271* Pie Chart272*/273274.nvd3.nv-pie path {275stroke-opacity: 0;276277transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;278-moz-transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;279-webkit-transition: fill-opacity 250ms linear, stroke-width 250ms linear, stroke-opacity 250ms linear;280281}282283.nvd3.nv-pie .nv-slice text {284stroke: #000;285stroke-width: 0;286}287288.nvd3.nv-pie path {289stroke: #fff;290stroke-width: 1px;291stroke-opacity: 1;292}293294.nvd3.nv-pie .hover path {295fill-opacity: .7;296/*297stroke-width: 6px;298stroke-opacity: 1;299*/300}301302.nvd3.nv-pie .nv-label rect {303fill-opacity: 0;304stroke-opacity: 0;305}306307/**********308* Lines309*/310311.nvd3 .nv-groups path.nv-line {312fill: none;313stroke-width: 2.5px;314/*315stroke-linecap: round;316shape-rendering: geometricPrecision;317318transition: stroke-width 250ms linear;319-moz-transition: stroke-width 250ms linear;320-webkit-transition: stroke-width 250ms linear;321322transition-delay: 250ms323-moz-transition-delay: 250ms;324-webkit-transition-delay: 250ms;325*/326}327328.nvd3 .nv-groups path.nv-area {329stroke: none;330/*331stroke-linecap: round;332shape-rendering: geometricPrecision;333334stroke-width: 2.5px;335transition: stroke-width 250ms linear;336-moz-transition: stroke-width 250ms linear;337-webkit-transition: stroke-width 250ms linear;338339transition-delay: 250ms340-moz-transition-delay: 250ms;341-webkit-transition-delay: 250ms;342*/343}344345.nvd3 .nv-line.hover path {346stroke-width: 6px;347}348349/*350.nvd3.scatter .groups .point {351fill-opacity: 0.1;352stroke-opacity: 0.1;353}354*/355356.nvd3.nv-line .nvd3.nv-scatter .nv-groups .nv-point {357fill-opacity: 0;358stroke-opacity: 0;359}360361.nvd3.nv-scatter.nv-single-point .nv-groups .nv-point {362fill-opacity: .5 !important;363stroke-opacity: .5 !important;364}365366367.nvd3 .nv-groups .nv-point {368transition: stroke-width 250ms linear, stroke-opacity 250ms linear;369-moz-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;370-webkit-transition: stroke-width 250ms linear, stroke-opacity 250ms linear;371}372373.nvd3.nv-scatter .nv-groups .nv-point.hover,374.nvd3 .nv-groups .nv-point.hover {375stroke-width: 20px;376fill-opacity: .5 !important;377stroke-opacity: .5 !important;378}379380381.nvd3 .nv-point-paths path {382stroke: #aaa;383stroke-opacity: 0;384fill: #eee;385fill-opacity: 0;386}387388389390.nvd3 .nv-indexLine {391cursor: ew-resize;392}393394395/**********396* Distribution397*/398399.nvd3 .nv-distribution {400pointer-events: none;401}402403404405/**********406* Scatter407*/408409/* **Attempting to remove this for useVoronoi(false), need to see if it's required anywhere410.nvd3 .nv-groups .nv-point {411pointer-events: none;412}413*/414415.nvd3 .nv-groups .nv-point.hover {416stroke-width: 20px;417stroke-opacity: .5;418}419420.nvd3 .nv-scatter .nv-point.hover {421fill-opacity: 1;422}423424/*425.nv-group.hover .nv-point {426fill-opacity: 1;427}428*/429430431/**********432* Stacked Area433*/434435.nvd3.nv-stackedarea path.nv-area {436fill-opacity: .7;437/*438stroke-opacity: .65;439fill-opacity: 1;440*/441stroke-opacity: 0;442443transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;444-moz-transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;445-webkit-transition: fill-opacity 250ms linear, stroke-opacity 250ms linear;446447/*448transition-delay: 500ms;449-moz-transition-delay: 500ms;450-webkit-transition-delay: 500ms;451*/452453}454455.nvd3.nv-stackedarea path.nv-area.hover {456fill-opacity: .9;457/*458stroke-opacity: .85;459*/460}461/*462.d3stackedarea .groups path {463stroke-opacity: 0;464}465*/466467468469.nvd3.nv-stackedarea .nv-groups .nv-point {470stroke-opacity: 0;471fill-opacity: 0;472}473474.nvd3.nv-stackedarea .nv-groups .nv-point.hover {475stroke-width: 20px;476stroke-opacity: .75;477fill-opacity: 1;478}479480481482/**********483* Line Plus Bar484*/485486.nvd3.nv-linePlusBar .nv-bar rect {487fill-opacity: .75;488}489490.nvd3.nv-linePlusBar .nv-bar rect:hover {491fill-opacity: 1;492}493494495/**********496* Bullet497*/498499.nvd3.nv-bullet { font: 10px sans-serif; }500.nvd3.nv-bullet .nv-measure { fill-opacity: .8; }501.nvd3.nv-bullet .nv-measure:hover { fill-opacity: 1; }502.nvd3.nv-bullet .nv-marker { stroke: #000; stroke-width: 2px; }503.nvd3.nv-bullet .nv-markerTriangle { stroke: #000; fill: #fff; stroke-width: 1.5px; }504.nvd3.nv-bullet .nv-tick line { stroke: #666; stroke-width: .5px; }505.nvd3.nv-bullet .nv-range.nv-s0 { fill: #eee; }506.nvd3.nv-bullet .nv-range.nv-s1 { fill: #ddd; }507.nvd3.nv-bullet .nv-range.nv-s2 { fill: #ccc; }508.nvd3.nv-bullet .nv-title { font-size: 14px; font-weight: bold; }509.nvd3.nv-bullet .nv-subtitle { fill: #999; }510511512.nvd3.nv-bullet .nv-range {513fill: #999;514fill-opacity: .4;515}516.nvd3.nv-bullet .nv-range:hover {517fill-opacity: .7;518}519520521522/**********523* Sparkline524*/525526.nvd3.nv-sparkline path {527fill: none;528}529530.nvd3.nv-sparklineplus g.nv-hoverValue {531pointer-events: none;532}533534.nvd3.nv-sparklineplus .nv-hoverValue line {535stroke: #333;536stroke-width: 1.5px;537}538539.nvd3.nv-sparklineplus,540.nvd3.nv-sparklineplus g {541pointer-events: all;542}543544.nvd3 .nv-hoverArea {545fill-opacity: 0;546stroke-opacity: 0;547}548549.nvd3.nv-sparklineplus .nv-xValue,550.nvd3.nv-sparklineplus .nv-yValue {551/*552stroke: #666;553*/554stroke-width: 0;555font-size: .9em;556font-weight: normal;557}558559.nvd3.nv-sparklineplus .nv-yValue {560stroke: #f66;561}562563.nvd3.nv-sparklineplus .nv-maxValue {564stroke: #2ca02c;565fill: #2ca02c;566}567568.nvd3.nv-sparklineplus .nv-minValue {569stroke: #d62728;570fill: #d62728;571}572573.nvd3.nv-sparklineplus .nv-currentValue {574/*575stroke: #444;576fill: #000;577*/578font-weight: bold;579font-size: 1.1em;580}581582/**********583* historical stock584*/585586.nvd3.nv-ohlcBar .nv-ticks .nv-tick {587stroke-width: 2px;588}589590.nvd3.nv-ohlcBar .nv-ticks .nv-tick.hover {591stroke-width: 4px;592}593594.nvd3.nv-ohlcBar .nv-ticks .nv-tick.positive {595stroke: #2ca02c;596}597598.nvd3.nv-ohlcBar .nv-ticks .nv-tick.negative {599stroke: #d62728;600}601602.nvd3.nv-historicalStockChart .nv-axis .nv-axislabel {603font-weight: bold;604}605606.nvd3.nv-historicalStockChart .nv-dragTarget {607fill-opacity: 0;608stroke: none;609cursor: move;610}611612.nvd3 .nv-brush .extent {613/*614cursor: ew-resize !important;615*/616fill-opacity: 0 !important;617}618619.nvd3 .nv-brushBackground rect {620stroke: #000;621stroke-width: .4;622fill: #fff;623fill-opacity: .7;624}625626627628/**********629* Indented Tree630*/631632633/**634* TODO: the following 3 selectors are based on classes used in the example. I should either make them standard and leave them here, or move to a CSS file not included in the library635*/636.nvd3.nv-indentedtree .name {637margin-left: 5px;638}639640.nvd3.nv-indentedtree .clickable {641color: #08C;642cursor: pointer;643}644645.nvd3.nv-indentedtree span.clickable:hover {646color: #005580;647text-decoration: underline;648}649650651.nvd3.nv-indentedtree .nv-childrenCount {652display: inline-block;653margin-left: 5px;654}655656.nvd3.nv-indentedtree .nv-treeicon {657cursor: pointer;658/*659cursor: n-resize;660*/661}662663.nvd3.nv-indentedtree .nv-treeicon.nv-folded {664cursor: pointer;665/*666cursor: s-resize;667*/668}669670671672673