diff --git a/html/ajax_card.php b/html/ajax_card.php index 2d3506d27..63dd8b509 100644 --- a/html/ajax_card.php +++ b/html/ajax_card.php @@ -122,7 +122,8 @@ case 'rmfa': case 'dc': $f=new Fiche($cn); /* add title + close */ - $html=HtmlInput::button_close($ctl); + $html=""; + $html=HtmlInput::anchor_close($ctl); $html.=h2info('Détail fiche'); if ( $qcode != '') { @@ -176,7 +177,7 @@ case 'bc': if ( $user->check_action(FICADD)==1 ) { $r=''; - $r=HtmlInput::button_close($ctl); + $r=HtmlInput::anchor_close($ctl); /* get cat. name */ $cat_name=$cn->get_value('select fd_label from fiche_def where fd_id=$1', array($fd_id)); @@ -244,7 +245,7 @@ case 'st': } } $array=$cn->make_array($sql); - $html=HtmlInput::button_close('select_card_div'); + $html=HtmlInput::anchor_close('select_card_div'); $html.=h2info('Choix de la catégorie'); if ( empty($array)) { diff --git a/html/js/card.js b/html/js/card.js index 2a0ca0819..01f21c279 100644 --- a/html/js/card.js +++ b/html/js/card.js @@ -408,7 +408,7 @@ function select_card_type(obj) sx=document.body.scrollTop+60; } - var str_style="top:"+sx+";left:10%;width:80%;height:auto"; + var str_style="top:"+sx+";left:25%;width:50%;height:auto"; var popup={'id': content,'cssclass':'op_detail','style':str_style,'html':loading(),'drag':true}; diff --git a/html/style-color.css b/html/style-color.css index c4b0778ab..4f0613eb5 100644 --- a/html/style-color.css +++ b/html/style-color.css @@ -585,7 +585,7 @@ div.popup_back{ height:100%; z-index:1; /*background-color:lightgrey;*/ - +background-color: rgba(203, 203,203, 0.2); display:none; } diff --git a/html/style-light.css b/html/style-light.css index 1b33217c2..53fbc648e 100644 --- a/html/style-light.css +++ b/html/style-light.css @@ -602,7 +602,7 @@ height: 150%; z-index:1; /*background-color:lightgrey;*/ -background-color: rgba(165, 213,195, 0.5); +background-color: rgba(203, 203,203, 0.2); display:none; } diff --git a/include/class_html_input.php b/include/class_html_input.php index c6827b43a..a43ad8783 100755 --- a/include/class_html_input.php +++ b/include/class_html_input.php @@ -397,11 +397,12 @@ class HtmlInput */ static function button_close($div_name) { - $html='