lineChart.css 3.13 KB

svg.line-chart {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;

    /* 文本css */
    font-style: normal;
    font-variant-ligatures: normal;
    font-variant-caps: normal;
    font-variant-numeric: normal;
    font-variant-east-asian: normal;
    font-weight: 400;
    font-stretch: normal;
    font-size: 14px;
    line-height: 20px;
    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
}

svg.line-chart circle.station_circle {
    fill: #5e96d2;
    r: 5.5;
    stroke: rgb(253, 253, 253);
    stroke-width: 3;
    Pointer-events: none;
}

svg.line-chart circle.station_circle.down {
    fill: #c92121;
}

svg.line-chart path.station_link {
    stroke-width: 3.5px;
    stroke: #5E96D2;
    Pointer-events: none;
}

svg.line-chart path.station_link.down {
    stroke: #c92121;
}

svg.line-chart path.station_link.down.loop_line {
    stroke-dasharray: 4, 3;
    stroke-width: 1px;
}

svg.line-chart text.station_text {
    writing-mode: tb;
    fill: #3e3e3e;
    letter-spacing: -.2px;
    text-shadow: 0 0 2px #dadada;
    Pointer-events: none;
}

svg.line-chart text.station_text.up {
    fill: #4556b6;
}

svg.line-chart text.station_text.down {
    fill: #c94f21;
}

svg.line-chart g.item:first-child > text {
    stroke: #6f6e6e;
    fill: none;
}

svg.line-chart g.item:nth-last-child(3) > text {
    stroke: #6f6e6e;
    fill: none;
}

svg.line-chart g.item:first-child > text.up,
svg.line-chart g.item:nth-last-child(3) > text.up {
    stroke: #4556b6;
}

svg.line-chart g.item:first-child > text.down,
svg.line-chart g.item:nth-last-child(3) > text.down {
    stroke: #c94f21;
}

svg.line-chart g.gps-wrap > rect {
    width: 30px;
    height: 15px;
    /* fill: #fff; */
    rx: 2px;
    cursor: pointer;
}

svg.line-chart g.gps-wrap > rect[updown="0"] {
    stroke: rgb(62, 80, 179);
    fill: rgb(62, 80, 179);
}

svg.line-chart g.gps-wrap > rect[updown="1"] {
    stroke: #c94f21;
    fill: #c94f21;
}

svg.line-chart g.gps-wrap > rect.hover {
    stroke-width: 2;
}

svg.line-chart g.gps-wrap > text {
    font-size: 12px;
    transform: translate(0, 12px);
    pointer-events: none;
}

svg.line-chart g.gps-wrap > text[updown="0"] {
    fill: #fff;
}

svg.line-chart g.gps-wrap > text[updown="1"] {
    fill: #fff;
}

svg.line-chart g.gps-wrap > rect.abnormal[updown="0"],
svg.line-chart g.gps-wrap > rect.abnormal[updown="1"] {
    width: 40px;
    fill: yellow;
    stroke: yellow;
}

svg.line-chart g.gps-wrap > text.abnormal[updown="0"],
svg.line-chart g.gps-wrap > text.abnormal[updown="1"] {
    fill: black;
}

svg.line-chart .merge_hide {
    display: none !important;
}

svg.line-chart g.merge-item rect {
    width: 22px;
    height: 22px;
    rx: 15px;
    fill: #19a53a;
    cursor: pointer;
    stroke: #19a53a;
    stroke-dasharray: 1, 2;
    stroke-width: 3px;
}

svg.line-chart g.merge-item text {
    fill: #fff;
    pointer-events: none;
}

.top-center-big-text {
    height: 44px;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    color: #babdbd;
    font-size: 30px;
    padding: 20px 0px;
    font-weight: bold;
    font-family: "Open Sans", sans-serif;
}