cosmetic : position inner_box on larger screen

This commit is contained in:
sparkyx 2021-02-04 15:59:45 +01:00
parent 06d51c0abb
commit ee543225e7
2 changed files with 7 additions and 6 deletions

View file

@ -596,7 +596,8 @@ function fill_ipopcard(obj)
if ( nTop > 300 ) {
nTop=170;
}
var str_top=fixed_position(250,nTop)
var str_top="top:"+calcy(nTop)+"px";
var str_style=str_top+";width:45em;height:auto;position:absolute";
var popup={'id': content,'cssclass':'inner_box','style':str_style,'html':loading(),'drag':false};

View file

@ -917,7 +917,7 @@ div.inner_box {
overflow:hidden;
z-index:3;
position:absolute;
left:10%;
left : 5px;
border:1px solid #00008B;
-moz-box-shadow: 10px 10px 5px #888;
/*! -webkit-box-shadow: 10px 10px 5px #888; */
@ -933,6 +933,7 @@ div.inner_box {
width: 85%;
border-radius: 9px;
/*! padding: 5px; */
left:10%;
}
}
div.op_detail_title {
@ -1804,13 +1805,12 @@ li.highlight a,tr.highlight a{
color: inherit;
}
/*******************************************************************************
* Inner_box on a smaller screen
* Inner_box on a larger screen
*******************************************************************************/
@media only screen and (min-width: 1280px) {
div.inner_box {
width: 95%;
left:2%;
/*! margin-bottom: 2%; */
width: 75%;
left:5%;
padding-bottom: 10px;
}
}