geo_info_platform/css/demo.css

389 lines
6.1 KiB
CSS
Raw Permalink Normal View History

2019-12-10 18:06:23 +08:00
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{
2019-12-11 16:08:22 +08:00
background-image: #1D346F;
2019-12-10 18:06:23 +08:00
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;} */
2019-12-11 11:51:00 +08:00
/* .div-a{ position: fixed;height:100%;z-index: 1;background-color: rgba(0,0,0,0.3);} */
2019-12-10 18:06:23 +08:00
/* .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%;
2019-12-11 11:51:00 +08:00
height: 100%;
2019-12-10 18:06:23 +08:00
}
2019-12-11 11:51:00 +08:00
2019-12-19 22:22:00 +08:00
.ml10{
margin-left: 10px;
}
.ml5{
margin-left: 5px;
}
.ml15{
margin-left: 15px;
}
2019-12-10 18:06:23 +08:00
.div-b,
.div-c{
color:rgb(255, 255, 255);
}
2019-12-11 11:51:00 +08:00
.div-b{
height: 60%;
background: green;
}
.div-b > div{
width: 100% !important;
height: 100% !important;
}
2019-12-10 18:06:23 +08:00
.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;
}
2019-12-11 11:51:00 +08:00
.div-a.active .div-c{
display: none;
}
.div-a.active .div-b{
width: 100%;
height: 100%;
}
2019-12-10 18:06:23 +08:00
.div-video{
height: 60%;
/* background: pink; */
}
.div-img{
position: relative;
height: 40%;
}
2019-12-20 16:50:33 +08:00
.screen-btn,.photo_icon{
2019-12-19 15:16:38 +08:00
position: absolute;
right: 15px;
top: 15px;
2019-12-10 18:06:23 +08:00
color: #fff;
2019-12-11 15:17:54 +08:00
z-index: 100;
2019-12-10 18:06:23 +08:00
cursor: pointer;
color: #fff;
}
.show_detail{
position: relative;
}
2019-12-18 18:28:38 +08:00
.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;
}
2019-12-24 16:42:00 +08:00
.search-input-item.empty{
border:1px solid red;
}
2019-12-18 18:28:38 +08:00
.ml10{margin-left: 10px;}
2019-12-10 18:06:23 +08:00
.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;
2019-12-11 11:51:00 +08:00
color: black;
2019-12-10 18:06:23 +08:00
}
.detail_info{
display: none;
position: absolute;
background: #fff;
2019-12-18 18:28:38 +08:00
left: -20px;
top: 50px;
2019-12-10 18:06:23 +08:00
border-radius: 5px;
2019-12-11 11:51:00 +08:00
z-index: 50;
2019-12-18 18:28:38 +08:00
transition: .3s;
2019-12-10 18:06:23 +08:00
}
.detail_info::before{
position: absolute;
2019-12-18 18:28:38 +08:00
right: 50%;
top: -16px;
margin-right: -6px;
2019-12-10 18:06:23 +08:00
content: '';
width: 0;
height: 0;
2019-12-18 18:28:38 +08:00
border: 8px solid transparent;
border-bottom-color: #fff;
2019-12-10 18:06:23 +08:00
}
.info_txt{
2019-12-11 16:08:22 +08:00
width: 45px;
2019-12-10 18:06:23 +08:00
line-height: 24px;
font-size: 14px;
padding: 5px 15px;
border-bottom: 1px solid #eee;
cursor: pointer;
text-align: left;
2019-12-11 11:51:00 +08:00
color: black;
2019-12-10 18:06:23 +08:00
transition: color .3s;
2019-12-18 18:28:38 +08:00
text-align: center;
2019-12-10 18:06:23 +08:00
}
.info_txt:hover{
color: #1890ff;
}
.info_txt:last-child{
border-bottom-color: transparent;
}
.search-prov{
2019-12-11 11:51:00 +08:00
position: relative;
top: 5px;
2019-12-10 18:06:23 +08:00
font-size: 0;
2019-12-11 11:51:00 +08:00
margin-right: 10px;
2019-12-10 18:06:23 +08:00
/* margin-top: 5px; */
}
.search-prov,
.lat_lon_sec{
display: none;
2019-12-11 11:51:00 +08:00
/* display: block; */
/* margin-top: 10px; */
2019-12-10 18:06:23 +08:00
}
.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;
}
2019-12-11 11:51:00 +08:00
2019-12-10 18:06:23 +08:00
.search_icon{
cursor: pointer;
width: 40px;
2019-12-11 11:51:00 +08:00
line-height: 40px;
2019-12-10 18:06:23 +08:00
text-align: center;
background: #fff;
border: 1px solid #eee;
box-sizing: border-box;
2019-12-11 11:51:00 +08:00
color: black;
2019-12-10 18:06:23 +08:00
/* box-shadow: 5px 5px 10px #eee; */
}
.search_input_common{
2019-12-11 11:51:00 +08:00
position: relative;
top: -1px;
2019-12-10 18:06:23 +08:00
outline: none;
border: none;
2019-12-11 11:51:00 +08:00
/* padding: 5px 10px; */
width: 100px;
height: 40px;
padding: 0 10px;
2019-12-10 18:06:23 +08:00
}
.lat_lon_search{
2019-12-11 11:51:00 +08:00
display: inline-block;
vertical-align: top;
position: relative;
top: 5px;
2019-12-10 18:06:23 +08:00
cursor: pointer;
background: #fff;
2019-12-11 11:51:00 +08:00
width: 40px;
height: 40px;
2019-12-10 18:06:23 +08:00
vertical-align: top;
text-align: center;
2019-12-11 11:51:00 +08:00
margin-right: 10px;
line-height: 42px;
color: black;
2019-12-10 18:06:23 +08:00
}
2019-12-11 16:08:22 +08:00
.drop-down-item{
width: 40px;
}
2019-12-18 18:28:38 +08:00
.main-panel{
position: relative;
}
.banner-header{
background:url('../image/banner.png') top center;
background-size: 100% 100%;
2019-12-20 14:37:43 +08:00
height: 280px;
2019-12-18 18:28:38 +08:00
}
.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;
2019-12-19 09:29:32 +08:00
min-width: 30%;
2019-12-18 18:28:38 +08:00
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;
}
2019-12-10 18:06:23 +08:00
2019-12-18 18:28:38 +08:00
.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);
2019-12-19 15:16:38 +08:00
}
.map-container{
position: relative;
width: 100%;
height: 100vh;
2019-12-18 18:28:38 +08:00
}