geo_info_platform/css/demo.css

386 lines
6.0 KiB
CSS

body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,button,textarea,p,blockquote,th,td {
margin:0;
padding:0;
}
ul,ol {
list-style: none;
}
a {
text-decoration: none;
}
img{
border: none;
}
em,
i{
font-style: normal;
}
html,
body {
width: 100%;
min-width: 1240px;
}
body{
background-image: #1D346F;
font-family: Helvetica;
font-size: 16px;
}
/* .div-a{ position: fixed;width:400px;height:536px;padding:10px;z-index: 1;background-color: rgba(0,0,0,0.3);}
.div-b{ width:400px;height:536px;padding:5px;color:rgb(255, 255, 255);position: relative;} */
/* .div-a{ position: fixed;height:100%;z-index: 1;background-color: rgba(0,0,0,0.3);} */
/* .div-b{ width:400px;height:536px;padding:5px;color:rgb(255, 255, 255);position: relative;} */
.div-a{
position: fixed;
width: 400px;
height: 100%;
background-color: rgba(0,0,0,0.3);
transition: width .3s;
z-index: 20;
}
.div-a.active{
text-align: center;
width: 100%;
height: 100%;
}
.ml10{
margin-left: 10px;
}
.ml5{
margin-left: 5px;
}
.ml15{
margin-left: 15px;
}
.div-b,
.div-c{
color:rgb(255, 255, 255);
}
.div-b{
height: 60%;
background: green;
}
.div-b > div{
width: 100% !important;
height: 100% !important;
}
.div-c{
position: relative;
box-sizing: border-box;
height: 40%;
}
.div-c::before{
position: absolute;
left: 0px;
right: 0px;
content: '';
border-top: 1px solid #fff;
}
.div-a.active .div-c{
display: none;
}
.div-a.active .div-b{
width: 100%;
height: 100%;
}
.div-video{
height: 60%;
/* background: pink; */
}
.div-img{
position: relative;
height: 40%;
}
.screen-btn{
position: absolute;
right: 15px;
top: 15px;
color: #fff;
z-index: 100;
cursor: pointer;
color: #fff;
}
.show_detail{
position: relative;
}
.search-menu{
width: 30px;
height: 60px;
line-height: 60px;
float: right;
position: relative;
}
.search-input-item{
opacity: 0;
position: relative;
top: -1px;
outline: none;
border: none;
width: 0px;
height: 32px;
border-radius: 4px;
transition: .3s;
}
.search-input-item.active{
opacity: 1;
width: 160px;
padding: 0 10px;
margin-right: 10px;
}
.ml10{margin-left: 10px;}
.more_icon{
display: inline-block;
width: 30px;
height: 30px;
border-radius: 50%;
background: #fff;
text-align: center;
line-height: 30px;
/* color: #fff; */
transform: rotate(90deg);
font-size: 20px !important;
cursor: pointer;
color: black;
}
.detail_info{
display: none;
position: absolute;
background: #fff;
left: -20px;
top: 50px;
border-radius: 5px;
z-index: 50;
transition: .3s;
}
.detail_info::before{
position: absolute;
right: 50%;
top: -16px;
margin-right: -6px;
content: '';
width: 0;
height: 0;
border: 8px solid transparent;
border-bottom-color: #fff;
}
.info_txt{
width: 45px;
line-height: 24px;
font-size: 14px;
padding: 5px 15px;
border-bottom: 1px solid #eee;
cursor: pointer;
text-align: left;
color: black;
transition: color .3s;
text-align: center;
}
.info_txt:hover{
color: #1890ff;
}
.info_txt:last-child{
border-bottom-color: transparent;
}
.search-prov{
position: relative;
top: 5px;
font-size: 0;
margin-right: 10px;
/* margin-top: 5px; */
}
.search-prov,
.lat_lon_sec{
display: none;
/* display: block; */
/* margin-top: 10px; */
}
.search_input,
.search_icon{
display: inline-block;
height: 40px;
line-height: 40px;
vertical-align: top;
}
.search_input_common,
.search_input {
outline: none;
border: none;
}
.search_input{
/* width: 100px; */
overflow: hidden;
width: 0;
transition: width 0.3s;
}
.search_input.active{
width: 150px;
padding: 0 15px;
}
.search_icon{
cursor: pointer;
width: 40px;
line-height: 40px;
text-align: center;
background: #fff;
border: 1px solid #eee;
box-sizing: border-box;
color: black;
/* box-shadow: 5px 5px 10px #eee; */
}
.search_input_common{
position: relative;
top: -1px;
outline: none;
border: none;
/* padding: 5px 10px; */
width: 100px;
height: 40px;
padding: 0 10px;
}
.lat_lon_search{
display: inline-block;
vertical-align: top;
position: relative;
top: 5px;
cursor: pointer;
background: #fff;
width: 40px;
height: 40px;
vertical-align: top;
text-align: center;
margin-right: 10px;
line-height: 42px;
color: black;
}
.drop-down-item{
width: 40px;
}
.main-panel{
position: relative;
}
.banner-header{
background:url('../image/banner.png') top center;
background-size: 100% 100%;
height: 380px;
}
.banner-panel{
padding-top: 60px;
position: relative;
}
.carouselBottom{
position: absolute;
width: 100%;
height: 76px;
bottom: 0px;
background: rgba(0, 0, 0, 0.3);
display: flex;
justify-content: center;
}
.carouselBottom .bottomItem{
display: flex;
align-items: center;
padding:0px 60px;
color: #fff;
font-size: 20px;
}
.carouselBottom .bottomItem img{
margin:0px 20px 0px 10px;
width: 38px;
}
.carouselBottom .bottomItem:hover,.carouselBottom .bottomItem.active {
background: rgba(255,255,255,0.2);
}
.map_left {
display: flex;
align-items: center;
min-width: 30%;
justify-content: space-between;
height: 100%;
}
.map-nav{
display: flex;
height: 100%;
}
.map-nav li{
padding:0px 10px;
height: 100%;
display: flex;
align-items: center;
}
.map-nav li a{
color: #fff;
}
.voicePanel{
position: fixed;
top:0px;
left: 0px;
width: 100%;
height: 100%;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
opacity: 0;
z-index: -100;
}
.voicePanel.active{
opacity: 1;
z-index: 10000;
}
.voice-vocal{
width: 200px;
height: 200px;
border-radius: 14px;
background: rgba(0,0,0,0.8);
display: flex;
align-content: flex-end;
flex-direction: column;
color: rgba(255,255,255,0.7);
align-items: center;
}
.voice-btn{
width: 100%;
margin-top: 15px;
}
.voice-btn a{
margin:0px 12px;
color: rgba(255,255,255,0.7);
font-size: 13px;
}
.voice-btn a:hover{
color: rgba(255,255,255,1);
}
.map-container{
position: relative;
width: 100%;
height: 100vh;
}