geo_info_platform/css/demo.css

248 lines
3.8 KiB
CSS
Raw 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-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%;
}
.screen-btn{
position: absolute;
2019-12-11 16:08:04 +08:00
left: -50px;
2019-12-11 11:51:00 +08:00
top: 60px;
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-11 11:51:00 +08:00
top: 2px;
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{
2019-12-11 11:51:00 +08:00
/* display: block; */
2019-12-10 18:06:23 +08:00
display: none;
position: absolute;
background: #fff;
2019-12-11 11:51:00 +08:00
/* padding: 10px 0; */
left: 40px;
top: 6px;
2019-12-10 18:06:23 +08:00
border-radius: 5px;
2019-12-11 11:51:00 +08:00
z-index: 50;
2019-12-10 18:06:23 +08:00
}
.detail_info::before{
position: absolute;
2019-12-11 11:51:00 +08:00
right: 100%;
top: 12px;
2019-12-10 18:06:23 +08:00
content: '';
width: 0;
height: 0;
2019-12-11 11:51:00 +08:00
border: 6px solid transparent;
border-right-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;
}
.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-10 18:06:23 +08:00