main.css 5.6 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.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;
}


/*.tooltip{
    position: absolute;
    z-index: 99999;
   /*  border-radius: 5px !important;
    border: 1px solid rgba(94, 150, 210, 1);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 5px 0 rgba(0,0,0,0.16),0 2px 10px 0 rgba(0,0,0,0.12);
    width: 185px;
}*/

.tooltip {
    position: relative;
    padding-bottom: 130px;
    width: 208px;
}

.tooltip hr {
    border-top: 1px solid #6b6b6b;
    width: calc(100% + 20px);
    margin: 13px 0 13px -10px;
}


/*.tooltip.fixed{
	transition: all .5s ease;
	border: 1px solid #fff;
	background: #fff;
}*/

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

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

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


/*.tooltip .tooltip-container div a{
	color: #fff;
}*/

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


/*
.tooltip .tooltip-container .subtitle,
.tooltip .tooltip-container .subtitle a{
    color: #999;
    font-size: 13px;
}*/

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

.tooltip .tip_map_wrap {
    position: absolute;
    bottom: -12px;
    left: -10px;
    width: calc(100% + 18px);
    background: #fff;
    height: 130px;
    border-radius: 0 0 5px 5px;
}


/*.tooltip.tooltip-modal{
width: 700px;
height: 400px;
    box-shadow: 0 12px 15px 0 rgba(0,0,0,0.24),0 17px 50px 0 rgba(0,0,0,0.19);
}

.tooltip #tip_map_wrap{
	width: 100%;
	height: 100%;
}*/


/*svg g.gps-wrap>g.down>g.gps>rect{
  stroke:#e43a45;
}

svg g.down>g.gps>text{
  fill:#e43a45;
}*/


/*svg g.gps-wrap>g.up>g.gps>text{
  transform: translate(3px, 17px);
}

svg g.gps-wrap>g.down>g.gps>text{
  transform: translate(3px, -17px);
}*/


/*.uk-modal .uk-form-row.readonly-checkbox{
  margin: 8px 0 -10px;
  font-size: 12px;
  color: grey;
}

.uk-modal .uk-form-row.readonly-checkbox input{
  vertical-align: middle;
}*/