geo_info_platform/css/demo.css

248 lines
3.8 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%;
}
.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;
left: -50px;
top: 60px;
color: #fff;
z-index: 100;
cursor: pointer;
color: #fff;
}
.show_detail{
position: relative;
top: 2px;
}
.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: block; */
display: none;
position: absolute;
background: #fff;
/* padding: 10px 0; */
left: 40px;
top: 6px;
border-radius: 5px;
z-index: 50;
}
.detail_info::before{
position: absolute;
right: 100%;
top: 12px;
content: '';
width: 0;
height: 0;
border: 6px solid transparent;
border-right-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;
}
.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;
}