Files
visual-vue-v1/resource/html/03traffic/03/css.css
T
2023-10-18 16:30:26 +08:00

593 lines
14 KiB
CSS

/*样式重置*/
*{
margin: 0;
padding: 0;
}
li{
list-style: none;
}
img{
border: none;
}
.clearfix:after {
content: " ";
display: block;
height: 0;
clear: both;
visibility: hidden;
}
.icon {
width: 1em; height: 1em;
vertical-align: -0.15em;
fill: currentColor;
overflow: hidden;
}
@font-face
{
font-family: myFirstFont;
src:
url('fonts/LiquidCrystal-Bold.svg'),
url('fonts/LiquidCrystal-Bold.eot'),
url('fonts/LiquidCrystal-Bold.ttf'),
url('fonts/LiquidCrystal-Bold.woff'),
url('fonts/LiquidCrystal-Bold.otf');
}
/*容器样式*/
.container{
position: relative;
box-sizing: border-box;
width: 100%;
height: 100vh;
padding-top: 68px;
background-color: #030915;
}
/*头部样式*/
.container .head{
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 68px;
text-align: center;
line-height: 68px;
font-size: 30px;
font-weight: bold;
color: #fff;
background: url("images/bg_head.png") center no-repeat;
background-size: 100% 100%;
}
.container .head .inner{
width: 508px;
height: 68px;
margin: 0 auto;
}
.container .head .inner li{
float: left;
letter-spacing:3px;
}
.container .head .inner .logo{
margin: 8px 10px 0 0 ;
width: 130px;
height: 38px;
}
.container .head .province{
position: absolute;
top: -12px;
left: 20px;
font-size: 24px;
color: #fff;
}
.container .head .machineDate{
position: absolute;
right: 0px;
top: -12px;
width: 200px;
text-align: left;
height: 20px;
font-size: 16px;
color: white;
font-weight: normal;
}
/*列样式*/
.container .slide{
box-sizing: border-box;
float: left;
width: 484px;
height: 100%;
padding: 18px 12px 12px 12px;
}
.container .slide .column1{
float: left;
width: 460px;
height: 100%;
}
.container .slide .column1>.inner{
position: relative;
width: 100%;
height: 100%;
border-radius: 6px;
background-color:#081329;
}
.container .slide .column1 .inner .content{
width: 100%;
height: 100%;
}
.container .slide .column1 .inner .content .item1{
box-sizing: border-box;
display: flex;
justify-content: center;
align-items: center;
position: relative;
width: 100%;
height: 18%;
padding-top: 46px;
}
.container .slide .column1 .inner .content .item1 .unit{
font-size: 24px;
color: #1ebedd;
}
.container .slide .column1 .inner .content .item1 .title{
box-sizing: border-box;
width: 100%;
height: 46px;
padding-left: 12px;
line-height: 46px;
font-size: 20px;
font-weight: bold;
color: #fff;
background-color: #09193a;
}
.container .slide .column1 .inner .content .item2{
position: relative;
box-sizing: border-box;
width: 100%;
height: 22%;
padding-top: 46px;
}
.container .slide .column1 .inner .content .item2 .title{
box-sizing: border-box;
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 46px;
padding-left: 12px;
line-height: 46px;
font-size: 20px;
font-weight: bold;
color: #fff;
background-color: #09193a;
}
.container .slide .column1 .inner .content .item2 .onlineStatis{
width: 100%;
height: 100%;
}
.container .slide .column1 .inner .content .item2 .onlineStatis>div{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%,-50%);
width: 300px;
height: 60px;
margin-top: 23px;
}
.container .slide .column1 .inner .content .item2 .onlineStatis>div ul{
float: left;
width: 150px;
text-align: center;
}
.container .slide .column1 .inner .content .item2 .onlineStatis>div .name{
margin-bottom: 10px;
color: #fff;
font-size: 14px;
}
.container .slide .column1 .inner .content .item2 .onlineStatis>div .value span:first-child{
color: #1ebedd;
font-size: 32px;
font-family: myFirstFont;
}
.container .slide .column1 .inner .content .item2 .onlineStatis>div .value span:last-child{
color: #1ebedd;
font-size: 16px;
}
.container .slide .column1 .inner .content .item3{
position: relative;
box-sizing: border-box;
width: 100%;
height: 60%;
padding-top: 46px;
}
.container .slide .column1 .inner .content .item3 .tabbar{
position: absolute;
top: 0;
left: 0;
box-sizing: border-box;
width: 100%;
height: 46px;
line-height: 46px;
font-size: 16px;
background-color: #09193a;
}
.container .slide .column1 .inner .content .item3 .tabbar .inner{
width: 180px;
margin: 0 auto;
}
.container .slide .column1 .inner .content .item3 .tabbar li{
box-sizing: border-box;
float: left;
width: 90px;
height: 42px;
padding-bottom: 6px;
color: #1e60c0;
text-align: center;
cursor: pointer;
}
.container .slide .column1 .inner .content .item3 .tabbar .active{
color: #fff;
font-size: 20px;
font-weight: bold;
border-bottom: 3px solid #fff;
}
.container .slide .column1 .inner .content .item3 .tab{
display: none;
width: 100%;
height: 100%;
overflow: hidden;
}
.container .slide .column1 .inner .content .item3 .tab .rank{
width: 100%;
height: 100%;
}
.container .slide .column1 .inner .content .item3 .money,
.container .slide .column1 .inner .content .item3 .flow{
float: left;
width: 50%;
}
.container .slide .column1 .inner .content .item3 .tab .money ul,
.container .slide .column1 .inner .content .item3 .tab .flow ul{
position: relative;
width: 100%;
height: 20px;
margin: 28px 0;
}
.container .slide .column1 .inner .content .item3 ul li{
float: left;
}
.container .slide .column1 .inner .content .item3 .flow ul .power{
position: absolute;
top: 0;
left: 59px;
/*width: 104px;*/
height: 18px;
border-radius: 20px;
background: linear-gradient(to right, rgba(11,42,84, 0.3),#1ace4a); /* 标准的语法 */
}
.container .slide .column1 .inner .content .item3 .money ul .power{
position: absolute;
top: 0;
left: 59px;
/*width: 104px;*/
height: 18px;
border-radius: 20px;
background: linear-gradient(to right, rgba(11,42,84,.3) , #ffa800); /* 标准的语法 */
}
.container .slide .column1 .inner .content .item3 ul .amount{
box-sizing: border-box;
padding-left: 6px;
font-size: 12px;
color: rgba(255,255,255,.9);
height: 18px;
line-height: 18px;
}
.container .slide .column1 .inner .content .item3 .tab .flow ul .amount span{
display: inline-block;
padding-right: 4px;
font-size: 14px;
font-weight: bold;
color: #1ace4a;
}
.container .slide .column1 .inner .content .item3 .tab .money ul .amount span{
display: inline-block;
padding-right: 4px;
font-size: 14px;
font-weight: bold;
color: #ffa800;
}
.container .slide .column1 .inner .content .item3 .tab .money ul .name,
.container .slide .column1 .inner .content .item3 .tab .flow ul .name{
width: 46px;
margin: 0 6px;
text-align: left;
font-size: 12px;
color: #00b3ff;
}
.container .slide .column1 .inner .content .item3 .tab .money ul .base,
.container .slide .column1 .inner .content .item3 .tab .flow ul .base{
width: 103px;
height: 18px;
border-left: 1px solid white;
}
.container .slide .column1 .inner .content .item3 .tab .listTitle{
width: 100%;
height: 32px;
/*border-bottom: 1px solid #234179;*/
background-color: #081327;
}
.container .slide .column1 .inner .content .item3 .tab .listTitle li{
float: left;
width: 74px;
height: 32px;
line-height: 32px;
text-align: center;
font-size: 14px;
color: #00b3ff;
}
.container .slide .column1 .inner .content .item3 .tab .listContent{
position: relative;
width: 100%;
height: 100%;
overflow: hidden;
}
.container .slide .column1 .inner .content .item3 .tab .listContent .itemwrap{
position: absolute;
bottom: 0;
left: 0;
}
.container .slide .column1 .inner .content .item3 .tab .listContent ul{
width: 100%;
height: 30px;
padding: 4px 0;
line-height: 30px;
cursor: pointer;
border-bottom: 1px solid #0e234a;
}
.container .slide .column1 .inner .content .item3 .tab .listContent ul:hover{
background-color: #04173a;
}
.container .slide .column1 .inner .content .item3 .tab .listContent .active{
background-color: #04173a;
}
.container .slide .column1 .inner .content .item3 .tab .listContent li{
float: left;
width: 74px;
height: 30px;
text-align: center;
font-size: 12px;
color: rgba(255,255,255,.9);
}
.container .slide .column1 .inner .content .item3 .tab .listContent .double span{
display: block;
height: 15px;
line-height: 15px;
}
/*地图容器样式*/
.container .main{
box-sizing: border-box;
height: 100%;
padding: 18px 12px 12px 0 ;
overflow: hidden;
}
.container .main>.inner{
position: relative;
width: 100%;
height: 100%;
border-radius: 6px;
overflow: hidden;
}
.container .main .inner .tab{
display: none;
width: 100%;
height: 100%;
}
.container .main .inner .map1,
.container .main .inner .map2{
width: 100%;
height: 100%;
}
.container .main .inner .back{
position: absolute;
left: 4px;
top: 10px;
z-index: 999;
height: 38px;
padding: 0 10px;
color: white;
cursor: pointer;
text-align: center;
border-radius: 4px;
background-color: rgba(0,0,0,.5);
}
.container .main .inner .back .symbol{
float: left;
font-size: 24px;
line-height: 38px;
color: #fff;
}
.container .main .inner .back .text{
float: left;
font-size: 12px;
line-height: 38px;
color: #fff;
}
.container .main .inner .simple .infoDetail-simple{
position: absolute;
z-index: 999;
bottom: 0;
left: 0;
width: 100%;
height: 220px;
box-sizing: border-box;
padding: 12px;
}
.container .main .inner .simple .infoDetail-simple .inner{
width: 100%;
height: 100%;
border-radius: 6px;
border: 4px solid #fff;
background-color: rgba(0,0,0,.5);
}
.container .main .inner .simple .infoDetail-simple .inner .tags{
width: 728px;
height: 32px;
margin: 12px auto;
}
.container .main .inner .simple .infoDetail-simple .inner .tags ul li{
float: left;
width: 140px;
height: 30px;
margin: 0 20px;
line-height: 30px;
color: #fff;
border: 1px solid #fff;
border-radius: 6px;
text-align: center;
background-color: #030915;
}
.container .main .inner .simple .infoDetail-simple .inner .tags ul li span{
color: #f8ae5d;
}
.container .main .inner .simple .infoDetail-simple .inner .title{
width: 100%;
height: 30px;
line-height: 30px;
}
.container .main .inner .simple .infoDetail-simple .inner .title li{
float: left;
width: 25%;
color: #00b3ff;
font-weight: bold;
text-align: center;
}
.container .main .inner .simple .infoDetail-simple .inner .list ul{
height: 34px;
line-height: 34px;
overflow: hidden;
}
.container .main .inner .simple .infoDetail-simple .inner .list ul li{
float: left;
width: 25%;
text-align: center;
font-weight: bold;
color: #fff;
}
.container .main .inner .simple .infoDetail-simple .inner .list ul li .fixWidth{
width: 60px;
margin: 0 auto;
}
.container .main .inner .simple .infoDetail-simple .inner .list ul li .fixWidth .symbol{
display: block;
float: left;
margin-right: 2px;
}
.container .main .inner .simple .infoDetail-simple .inner .list ul li .fixWidth .symbol img{
margin-top: 6px;
}
.container .main .inner .simple .infoDetail-simple .inner .list ul li .fixWidth .text{
display: block;
float: left;
}
/*.container .main .inner .desc{*/
/*box-sizing: border-box;*/
/*position: absolute;*/
/*top: 10px;*/
/*right: 10px;*/
/*padding: 8px;*/
/*background-color: rgba(0,0,0,.5);*/
/*}*/
/*.container .main .inner .desc ul{*/
/*width: 100%;*/
/*height: 32px;*/
/*margin-bottom: 12px;*/
/*line-height: 32px;*/
/*cursor: pointer;*/
/*}*/
/*.container .main .inner .desc ul li{*/
/*float: left;*/
/*}*/
/*.container .main .inner .desc ul .symbol{*/
/*width: 32px;*/
/*height: 32px;*/
/*border-radius: 50%;*/
/*line-height: 32px;*/
/*text-align: center;*/
/*font-size: 26px;*/
/*color: #fff;*/
/*background-color: #208af1;*/
/*}*/
/*.container .main .inner .desc ul .text{*/
/*margin-left: 12px;*/
/*color: white;*/
/*font-size: 12px;*/
/*line-height: 32px;*/
/*}*/
/*高德消息窗*/
.map1 .info-middle {
padding: 10px 16px;
border-radius: 6px;
line-height: 20px;
color: #fff;
font-weight: bold;
font-size: 18px;
background-color: rgba(79,177,235,.5);
}
.map1 .info-middle .total{
/*padding: 12px;*/
}
.map1 .info-bottom {
height: 0px;
width: 100%;
clear: both;
text-align: center;
}
.map1 .info-bottom img {
position: relative;
z-index: 104;
}
.map1 .info-middle img {
float: left;
margin-right: 6px;
}
/***********/
.map2 .info-middle {
padding: 10px 16px;
border-radius: 6px;
line-height: 20px;
font-size: 16px;
background-color: rgba(79,177,235,.5);
}
.map2 .info-middle .item{
height: 30px;
line-height: 30px;
}
.map2 .info-middle .item li{
float: left;
}
.map2 .info-middle .item .name{
width: 60px;
margin-right: 6px;
color: #fff;
text-align-last:justify;
font-weight: bold;
}
.map2 .info-middle .item .value{
color: rgba(255,255,255,.8);
}
.map2 .info-bottom {
height: 0px;
width: 100%;
clear: both;
text-align: center;
}
.map2 .info-bottom img {
position: relative;
z-index: 104;
}
.map2 .info-middle img {
float: left;
margin-right: 6px;
}