main.css 6.51 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%;
    overflow: hidden;
}

.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: #3e3e3e;
    letter-spacing: -.2px;
    text-shadow: 0 0 2px #dadada;
}

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: 4px;
    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: 13px;
    transform: translate(3px, 17px);
    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 .merge_hide {
    display: none;
}

svg.line-chart g.merge-item rect {
    width: 24px;
    height: 24px;
    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;
}

.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;
}

.main-container .load-panel{
    display: block;
    color: #999797;
}

.uk-panel-box-danger {
    background-color: #fff1f0;
    color: #d85030;
    border-color: rgba(216,80,48,.3);
}

.uk-panel-box-danger .uk-panel-title {
    color: #d85030;
}

.uk-badge-default {
    background-color: #a09b9c;
    background-image: -webkit-linear-gradient(top,#9a9898,#8c8687);
    background-image: linear-gradient(to bottom,#9a9898,#8c8687);
}

.ct-bottom-drawer{
    width: 100%;
    background: rgb(255, 255, 255);
    position: fixed;
    bottom: 0;
    box-shadow: 0 0 10px rgba(0,0,0,.3);
    transition: all .3s ease;
    height: 0;
}

.ct-bottom-drawer.open{
    height: 320px;
}

.ct-bottom-drawer a.ct-bottom-drawer-close{
    position: absolute;
    right: 10px;
    top: 10px;
    color: #c3c3c3;
    width: 20px;
    line-height: 20px;
}

.ct-bottom-drawer a.ct-bottom-drawer-close:hover{
    text-decoration: none;
    color: grey;
}

.ct-bottom-drawer a.ct-bottom-drawer-close:after {
    display: block;
    content: "\f00d";
    font-family: FontAwesome;
}

.ct-bottom-drawer-body{
    width: 100%;
    height: 100%;
}