main.css 5.19 KB
/* ^_^ baidu map hide logo */

.anchorBL, .anchorBL, .amap-logo, .amap-copyright {
    display: none;
}

audio, canvas, img, svg, video {
    max-width: none;
}

html, body {
    width: 100%;
    height: 100%;
}

.main-container {
    height: calc(100% - 120px);
}

#main-tab-content {
    height: 100%;
    margin-bottom: 0;
}

::-webkit-scrollbar {
    width: 15px;
    height: 16px;
}

::-webkit-scrollbar-track, ::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 5px solid transparent;
}

::-webkit-scrollbar-track {
    box-shadow: 1px 1px 5px rgba(0, 0, 0, .2) inset;
}

::-webkit-scrollbar-thumb {
    min-height: 20px;
    background-clip: content-box;
    box-shadow: 0 0 0 5px rgba(0, 0, 0, .2) inset;
}

::-webkit-scrollbar-corner {
    background: transparent;
}

.uk-modal .uk-form.fv-form, .uk-modal .ct-modal-body {
    margin-bottom: -20px !important;
}

.uk-modal .uk-form.fv-form.fixed-tool {
    width: 100%;
    position: relative;
    height: 100%;
}

.uk-modal .ct-modal-body .uk-modal-footer {
    margin-left: 0;
}

.uk-modal .uk-form.fv-form.fixed-tool .uk-modal-footer {
    position: absolute;
    bottom: 0;
    width: calc(100% - 20px);
}

table.ct-fixed-table {
    table-layout: fixed;
}

table.ct-fixed-table tr.context-menu-active{
    background: #f0f0f0;
}

table.ct-fixed-table.uk-table tr td {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

table.ct-fixed-table.uk-table .uk-badge {
    padding: 2px 5px;
}

.horizontal-field {
    vertical-align: middle;
    margin: 0 5px;
}

.legend-tools {
    float: right;
    font-size: 11px;
}

.legend-tools a.uk-icon-small {
    margin: 0 5px;
    cursor: pointer;
}

.text-succ {
    color: #659f13;
}

.text-err {
    color: red;
}

.text-grey {
    color: grey;
}

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

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

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

svg.line-chart path.station_link {
    stroke-width: 5.4px;
    stroke: #5E96D2;
}

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

svg.line-chart text.station_text {
    writing-mode: tb;
    fill: #676767;
    text-shadow: 1px 1px 1px #e0e0e0;
}

svg.line-chart text.station_text.up {
    fill: #5E96D2;
}

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

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

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

svg.line-chart g.gps-wrap>rect {
    width: 28px;
    height: 24px;
    fill: #fff;
    rx: 5px;
    cursor: pointer;
}

svg.line-chart g.gps-wrap>rect[updown="0"] {
    stroke: #5e96d2;
}

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

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

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

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

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

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

svg.line-chart g.merge-item rect {
    width: 24px;
    height: 24px;
    rx: 15px;
    fill: rgb(62, 80, 179);
    cursor: pointer;
}

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

.qtip-multi-gps {
    max-width: 716px !important;
}

.qtip-bootstrap.qtip-multi-gps .qtip-content {
    padding: 0;
}

.tooltip {
    position: relative;
    padding-bottom: 160px;
    width: 220px;
}

.multi-tooltip-wrap{
  width: 100%;
  max-height: 350px;
  overflow: auto;
}

.tip_map_wrap.multi{
  width: 100%;
  height: 130px;
}

.tooltip.multi-tooltip {
    width: 160px;
    display: inline-block;
    padding: 10px 0 10px 15px;
    border-right: 1px solid #eeeeee;
    border-bottom: 1px solid #eeeeee;
}

.tooltip hr {
    border-top: 1px solid #eeeeee;
    width: calc(100% + 30px);
    margin: 7px 0 11px -15px;
}

.tooltip.multi-tooltip hr {
    width: calc(100% + 16px);
}

.tooltip .tooltip-container {
    padding: 1px;
}

.tooltip .tooltip-container div, .tooltip .tooltip-container div a {
    margin: 7px 1px;
    font-size: 13px;
    color: rgb(76, 76, 76);
}

.tooltip .tooltip-container div.title {
    margin: 8px 1px 12px;
}

.tooltip .tooltip-container .title a {
    font-size: 18px;
    font-family: 微软雅黑;
}

.tooltip span.field {
    color: #7d7d7b;
    margin-right: 5px;
}

.tooltip .tip_map_wrap {
    position: absolute;
    bottom: -16px;
    left: -15px;
    width: calc(100% + 28px);
    background: #fff;
    height: 165px;
    border-radius: 0 0 5px 5px;
    border-top: 1px solid #e6e4e4;
}

canvas.crosshair-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.33);
    left: 0;
}

li.map-panel{
  height: 100%;
  position: relative;
}