geo_info_platform/css/demo.css

217 lines
3.4 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: linear-gradient(120deg,#6fc9b7,#093637);
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;width:400px;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%;
}
.div-a.active .div-c{
display: none;
}
.div-b,
.div-c{
color:rgb(255, 255, 255);
}
.div-b{ height: 60%; }
.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-video{
height: 60%;
/* background: pink; */
}
.div-img{
position: relative;
height: 40%;
}
.screen-btn{
position: absolute;
right: 10px;
top: 10px;
color: #fff;
z-index: 10;
cursor: pointer;
color: #fff;
}
.search-area{
position: fixed;
right: 20px;
top: 20px;
z-index: 10;
text-align: right;
}
.show_detail{
position: relative;
}
.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;
}
.detail_info{
display: none;
position: absolute;
background: #fff;
padding: 10px 0;
right: 40px;
top: -10px;
border-radius: 5px;
}
.detail_info::before{
position: absolute;
left: 100%;
top: 18px;
content: '';
width: 0;
height: 0;
border: 8px solid transparent;
border-left-color: #fff;
}
.info_txt{
width: 50px;
line-height: 24px;
font-size: 14px;
padding: 5px 15px;
border-bottom: 1px solid #eee;
cursor: pointer;
text-align: left;
transition: color .3s;
}
.info_txt:hover{
color: #1890ff;
}
.info_txt:last-child{
border-bottom-color: transparent;
}
.search-prov{
font-size: 0;
/* margin-top: 5px; */
}
.search-prov,
.lat_lon_sec{
display: none;
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;
text-align: center;
background: #fff;
border: 1px solid #eee;
box-sizing: border-box;
/* box-shadow: 5px 5px 10px #eee; */
}
.search_input_common{
outline: none;
border: none;
padding: 5px 10px;
width: 50px;
}
.lat_lon_search{
cursor: pointer;
background: #fff;
display: inline-block;
height: 24px;
line-height: 24px;
width: 24px;
vertical-align: top;
text-align: center;
}