mirror of
https://github.com/heavyai/heavyai-charting.git
synced 2026-01-25 14:57:45 +00:00
472 lines
7.1 KiB
CSS
472 lines
7.1 KiB
CSS
art {
|
|
float: left;
|
|
}
|
|
|
|
.dc-chart rect.bar {
|
|
stroke: none;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dc-chart rect.bar.accented {
|
|
fill: #E637A8;
|
|
}
|
|
|
|
.dc-chart rect.bar:hover {
|
|
fill-opacity: .5;
|
|
}
|
|
|
|
.dc-chart rect.stack1 {
|
|
stroke: none;
|
|
fill: red;
|
|
}
|
|
|
|
.dc-chart rect.stack2 {
|
|
stroke: none;
|
|
fill: green;
|
|
}
|
|
|
|
.dc-chart rect.deselected {
|
|
stroke: none;
|
|
fill: #ccc;
|
|
}
|
|
|
|
.dc-chart text.deselected {
|
|
fill: #ccc !important; /*why do we need to override?*/
|
|
}
|
|
|
|
.dc-chart .empty-chart .pie-slice path {
|
|
fill: #FFEEEE;
|
|
cursor: default;
|
|
}
|
|
|
|
.dc-chart .empty-chart .pie-slice {
|
|
cursor: default;
|
|
}
|
|
|
|
.dc-chart .pie-slice {
|
|
fill: white;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dc-chart .pie-slice.external{
|
|
fill: black;
|
|
}
|
|
|
|
.dc-chart .pie-slice :hover {
|
|
fill-opacity: .8;
|
|
}
|
|
|
|
.dc-chart .pie-slice.accented {
|
|
fill-opacity: .8;
|
|
stroke-width: 3;
|
|
//stroke: white;
|
|
stroke: #E637A8;
|
|
//stroke: rgb(188,71,71);
|
|
}
|
|
|
|
.dc-chart line.accented {
|
|
stroke-width: 2;
|
|
stroke: #E637A8;
|
|
//stroke: rgb(188,71,71);
|
|
}
|
|
|
|
.dc-chart thead {
|
|
position: relative;
|
|
top: 38px;
|
|
}
|
|
|
|
.dc-chart .selected path {
|
|
stroke-width: 1;
|
|
stroke: #ccc;
|
|
fill-opacity: 1;
|
|
}
|
|
|
|
.dc-chart .deselected path {
|
|
stroke: none;
|
|
fill-opacity: .5;
|
|
fill: #ccc;
|
|
}
|
|
|
|
.dc-chart .axis path, .axis line {
|
|
fill: none;
|
|
stroke: #000;
|
|
shape-rendering: crispEdges;
|
|
}
|
|
|
|
.dc-chart .axis text {
|
|
font: 10px sans-serif;
|
|
}
|
|
|
|
.dc-chart .grid-line {
|
|
fill: none;
|
|
stroke: #ccc;
|
|
opacity: .5;
|
|
shape-rendering: crispEdges;
|
|
}
|
|
|
|
.dc-chart .grid-line line {
|
|
fill: none;
|
|
stroke: #ccc;
|
|
opacity: .5;
|
|
shape-rendering: crispEdges;
|
|
}
|
|
|
|
.dc-chart .brush rect.background {
|
|
z-index: -999;
|
|
}
|
|
|
|
.dc-chart .brush rect.extent {
|
|
fill: steelblue;
|
|
fill-opacity: .125;
|
|
}
|
|
|
|
.dc-chart .brush .resize path {
|
|
fill: #eee;
|
|
stroke: #666;
|
|
}
|
|
|
|
.dc-chart path.line {
|
|
fill: none;
|
|
stroke-width: 1.5px;
|
|
}
|
|
|
|
.dc-chart circle.dot {
|
|
stroke: none;
|
|
}
|
|
|
|
.dc-chart g.dc-tooltip path {
|
|
fill: none;
|
|
stroke: grey;
|
|
stroke-opacity: .8;
|
|
}
|
|
|
|
.dc-chart path.area {
|
|
fill-opacity: .3;
|
|
stroke: none;
|
|
}
|
|
|
|
.dc-chart .node {
|
|
font-size: 0.7em;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dc-chart .node :hover {
|
|
fill-opacity: .8;
|
|
}
|
|
/*
|
|
.dc-chart .outlined {
|
|
fill-opacity: .8;
|
|
}
|
|
*/
|
|
|
|
.dc-chart .accented circle {
|
|
fill-opacity: .8;
|
|
stroke-width: 3;
|
|
stroke: #E637A8;
|
|
//stroke: rgb(188,71,71);
|
|
}
|
|
|
|
.dc-chart .selected circle {
|
|
stroke-width: 1;
|
|
stroke: #ccc;
|
|
fill-opacity: 1;
|
|
}
|
|
|
|
.dc-chart .deselected circle {
|
|
stroke: none;
|
|
fill-opacity: .5;
|
|
fill: #ccc;
|
|
}
|
|
|
|
.dc-chart .bubble {
|
|
stroke: none;
|
|
fill-opacity: 0.6;
|
|
}
|
|
|
|
.dc-data-count {
|
|
//float: right;
|
|
margin-top: 15px;
|
|
margin-right: 15px;
|
|
}
|
|
|
|
.dc-data-count .filter-count {
|
|
color: #3182bd;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.dc-data-count .total-count {
|
|
color: #3182bd;
|
|
font-weight: bold;
|
|
}
|
|
|
|
.dc-data-table {
|
|
}
|
|
|
|
.dc-table-column:hover{
|
|
-webkit-transition: all 0.2s;
|
|
transition: all 0.2s;
|
|
}
|
|
|
|
.dc-table-column:hover{
|
|
color:black;
|
|
font-weight:bold;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dc-chart g.state {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dc-chart g.state :hover {
|
|
fill-opacity: .8;
|
|
}
|
|
|
|
.dc-chart g.state path {
|
|
stroke: white;
|
|
}
|
|
|
|
.dc-chart g.selected path {
|
|
}
|
|
|
|
.dc-chart g.deselected path {
|
|
fill: grey;
|
|
}
|
|
|
|
.dc-chart g.selected text {
|
|
}
|
|
|
|
.dc-chart g.deselected text {
|
|
display: none;
|
|
}
|
|
|
|
.dc-chart g.county path {
|
|
stroke: white;
|
|
//fill: none;
|
|
}
|
|
|
|
.dc-chart g.county :hover {
|
|
fill-opacity: .8;
|
|
}
|
|
|
|
.dc-chart g.debug rect {
|
|
fill: blue;
|
|
fill-opacity: .2;
|
|
}
|
|
|
|
.dc-chart g.row rect {
|
|
fill-opacity: 0.8;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dc-chart g.row rect:hover {
|
|
fill-opacity: 0.6;
|
|
}
|
|
|
|
.dc-chart g.row.accented rect {
|
|
fill-opacity: 0.6;
|
|
stroke-width: 3;
|
|
stroke: #E637A8;
|
|
//stroke: rgb(188,71,71);
|
|
//stroke: white;
|
|
}
|
|
|
|
.dc-chart g.row text {
|
|
fill: white;
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dc-legend {
|
|
font-size: 11px;
|
|
}
|
|
|
|
.dc-legend-item {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dc-chart g.axis text {
|
|
/* Makes it so the user can't accidentally click and select text that is meant as a label only */
|
|
-webkit-user-select: none; /* Chrome/Safari */
|
|
-moz-user-select: none; /* Firefox */
|
|
-ms-user-select: none; /* IE10 */
|
|
-o-user-select: none;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.dc-chart .accented path {
|
|
fill-opacity: .8;
|
|
stroke-width: 3;
|
|
stroke: #E637A8 !important;
|
|
//stroke: rgb(188,71,71) !important;
|
|
}
|
|
|
|
.dc-chart .highlight {
|
|
fill-opacity: 1;
|
|
stroke-opacity: 1;
|
|
}
|
|
|
|
.dc-chart .fadeout {
|
|
fill-opacity: 0.2;
|
|
stroke-opacity: 0.2;
|
|
}
|
|
|
|
.dc-chart path.dc-symbol, g.dc-legend-item.fadeout {
|
|
fill-opacity: 0.5;
|
|
stroke-opacity: 0.5;
|
|
}
|
|
|
|
.dc-hard .number-display {
|
|
float: none;
|
|
}
|
|
|
|
.dc-chart .box text {
|
|
font: 10px sans-serif;
|
|
-webkit-user-select: none; /* Chrome/Safari */
|
|
-moz-user-select: none; /* Firefox */
|
|
-ms-user-select: none; /* IE10 */
|
|
-o-user-select: none;
|
|
user-select: none;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.dc-chart .box line,
|
|
.dc-chart .box circle {
|
|
fill: #fff;
|
|
stroke: #000;
|
|
stroke-width: 1.5px;
|
|
}
|
|
|
|
.dc-chart .box rect {
|
|
stroke: #000;
|
|
stroke-width: 1.5px;
|
|
}
|
|
|
|
.dc-chart .box .center {
|
|
stroke-dasharray: 3,3;
|
|
}
|
|
|
|
.dc-chart .box .outlier {
|
|
fill: none;
|
|
stroke: #ccc;
|
|
}
|
|
|
|
.dc-chart .box.deselected .box {
|
|
fill: #ccc;
|
|
}
|
|
|
|
.dc-chart .box.deselected {
|
|
opacity: .5;
|
|
}
|
|
|
|
.dc-chart .symbol{
|
|
stroke: none;
|
|
}
|
|
|
|
.dc-chart .heatmap .box-group.deselected rect {
|
|
stroke: none;
|
|
fill-opacity: .5;
|
|
fill: #ccc;
|
|
}
|
|
|
|
.dc-chart .heatmap g.axis text {
|
|
pointer-events: all;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dc-chart .heat-box {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.dc-chart .heat-box:hover{
|
|
fill-opacity:0.8;
|
|
}
|
|
|
|
/* loading */
|
|
|
|
/* spinner */
|
|
|
|
.chart-loading-overlay {
|
|
opacity: 0.5;
|
|
pointer-events: none;
|
|
}
|
|
|
|
.loading-widget-dc {
|
|
font-size: 12px;
|
|
position: absolute;
|
|
top: calc(50% - 24px);
|
|
left: calc(50% - 24px);
|
|
transform: translate(-50%, -50%);
|
|
color: blue;
|
|
text-transform: uppercase;
|
|
text-align: center;
|
|
font-weight: bold;
|
|
}
|
|
.loading-widget-dc .loading-msg {
|
|
margin-top: 24px;
|
|
}
|
|
|
|
.waiting, .waiting *{
|
|
cursor: wait !important;
|
|
}
|
|
|
|
.main-loading-icon {
|
|
position: absolute;
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 4px solid transparent;
|
|
border-top-color: blue;
|
|
border-radius: 50%;
|
|
animation: mainLoadIconAnimation .6s infinite linear;
|
|
}
|
|
|
|
.main-loading-icon:before, .main-loading-icon:after {
|
|
z-index: -1;
|
|
position: absolute;
|
|
content: "";
|
|
width: calc(100% + 8px);
|
|
height: calc(100% + 8px);
|
|
border-radius: 50%;
|
|
border: 4px solid transparent;
|
|
border-top-color: blue;
|
|
top: -4px;
|
|
left: -4px;
|
|
animation: beforeGrow .3s infinite linear alternate;
|
|
}
|
|
|
|
.main-loading-icon:after {
|
|
animation: afterGrow .3s infinite linear alternate;
|
|
}
|
|
|
|
@keyframes beforeGrow {
|
|
0% {
|
|
transform: rotate(0);
|
|
}
|
|
100% {
|
|
transform: rotate(180deg);
|
|
}
|
|
}
|
|
|
|
@keyframes afterGrow {
|
|
0% {
|
|
transform: rotate(0);
|
|
}
|
|
100% {
|
|
transform: rotate(90deg);
|
|
}
|
|
}
|
|
|
|
@keyframes mainLoadIconAnimation {
|
|
0% {
|
|
transform: rotate(0);
|
|
}
|
|
50% {
|
|
transform: rotate(90deg);
|
|
}
|
|
100% {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|