Cosmetic add inner_box2

This commit is contained in:
sparkyx 2024-09-03 19:28:32 +02:00
parent cf200507ca
commit 64e8fe3675
4 changed files with 50 additions and 12 deletions

View file

@ -1060,7 +1060,7 @@ div.inner_box {
overflow:hidden;
z-index:3;
position:absolute;
border-radius: 0px;
border:1px solid #00008B;
-moz-box-shadow: 10px 10px 5px #888;
box-shadow: 15px 15px 15px #888;
@ -1069,24 +1069,55 @@ div.inner_box {
width: 100%;
left:0px ;
}
div.inner_box2 {
background-color: #DCE1EF;
font-family: Arial, Helvetica, "Liberation Sans", FreeSans, sans-serif;
font-family: 'OpenSansRegular';
/*! font-family: 'SansationLight'; */
/*! padding:2px; */
margin:0px;
overflow:hidden;
z-index:3;
position:absolute;
border-radius: 0px;
border:1px solid #00008B;
-moz-box-shadow: 10px 10px 5px #888;
box-shadow: 15px 15px 15px #888;
font-size:14.4px;
font-size:0.9rem;
width: 50%;
left:22% ;
}
/* SM */
@media (max-width: 576px) {
div.inner_box {
div.inner_box,div.inner_box2 {
width: 100%;
left:0px !important ;
border-radius: 0px;
}
}
/* MD */
@media (min-width: 768px) {
div.inner_box {
div.inner_box{
width: 100%;
left:0px ;
border-radius: 0px;
}
div.inner_box2 {
width: 75%;
left:5% ;
border-radius: 0px;
}
}
/* LG */
@media (max-width: 992px) {
div.inner_box {
left:0px !important;
@media (min-width: 992px) {
div.inner_box {
left:0px;
border-radius: 7px;
}
div.inner_box2 {
width: 75%;
left:5% ;
border-radius: 7px;
}
}
@ -1097,8 +1128,15 @@ div.inner_box {
left:5%;
/*! margin-bottom: 2%; */
padding-bottom: 10px;
border-radius: 10px;
border-radius: 10px;
border-radius: 7px;
}
div.inner_box2{
width: 50%;
left: 20%;
padding-bottom: 10px;
border-radius: 7px;
}
}
/***********************************************************************************/
div.op_detail_title {

View file

@ -1476,7 +1476,7 @@ function manage_search_filter(p_obj) {
var y = calcy(200)
create_div({
'id': 'boxfilter' + p_obj.div,
'cssclass': 'inner_box',
'cssclass': 'inner_box2',
'html': req.responseText,
'style': 'top:' + y + 'px;left:' + x + 'px;position:absolute;width:400px',
drag: 1
@ -1685,7 +1685,7 @@ function display_list_filter(p_dossier,access_code,ledger_type)
try {
var posy=calcy(250)
var div = create_div({"id":"display_list_filter_div",
'cssclass': "inner_box", 'style': 'width:90%,right:5%;top:'+posy+"px"});
'cssclass': "inner_box2", 'style': 'right:5%;top:'+posy+"px"});
div.update(responseHtml.responseText);
div.show();
}catch (e) {

View file

@ -606,9 +606,9 @@ function fill_ipopcard(obj)
}
var str_top="top:"+calcy(nTop)+"px";
var str_style=str_top+";width:45em;height:auto;position:absolute";
var str_style=str_top+";height:auto;position:absolute";
waiting_box();
var popup={'id': content,'cssclass':'inner_box','style':str_style,'html':"",'drag':false};
var popup={'id': content,'cssclass':'inner_box2','style':str_style,'html':"",'drag':false};
add_div(popup);
var dossier=$('gDossier').value;

View file

@ -423,7 +423,7 @@ function list_filter_followup(p_dossier,access_code)
{
var posy=calcy(250)
var div = create_div({"id":"filter_followup_id",
'cssclass': "inner_box", 'style': 'width:90%,right:5%;top:'+posy+"px"});
'cssclass': "inner_box2", 'style': 'top:'+posy+"px"});
div.update(responseHtml.responseText);
div.show();
}