From 800247692d11492607ad5619a39245df6902f972 Mon Sep 17 00:00:00 2001 From: sparkyx Date: Sun, 7 Feb 2021 09:47:20 +0100 Subject: [PATCH] Cosmetic --- html/index.css | 5 ++-- html/js/managetable.js | 7 ++++- html/style-classic7.css | 40 +++++++++++++------------- include/class/fiche.class.php | 2 +- include/lib/manage_table_sql.class.php | 4 ++- 5 files changed, 33 insertions(+), 25 deletions(-) diff --git a/html/index.css b/html/index.css index 437daa09a..0e0b06718 100644 --- a/html/index.css +++ b/html/index.css @@ -142,7 +142,7 @@ BODY { position:absolute; z-index:-1; height:auto; - width:10%; + width:125px; left:1%; top:30px; @@ -196,11 +196,12 @@ BODY { } #recover_link { position:absolute; - margin-top:397px; + /*! margin-top:397px; */ left:1px; background-color: white; bottom: initial; width: 20rem; + bottom: 30px; } } @media only screen and (min-width : 1100px) { diff --git a/html/js/managetable.js b/html/js/managetable.js index b6f2795de..da5b8605f 100644 --- a/html/js/managetable.js +++ b/html/js/managetable.js @@ -74,7 +74,7 @@ var ManageTable = function (p_table_name) { this.callback = "ajax.php"; //!< File to call this.control = "dtr"; //readOnly=$p_readonly; $ret.=tr( - td(_("Actif")).td($enable_is->input()) + td(_("Actif"),'class="input_text"').td($enable_is->input(),'class="input_text"') ); diff --git a/include/lib/manage_table_sql.class.php b/include/lib/manage_table_sql.class.php index b0e8cfa1f..f0a3e645e 100644 --- a/include/lib/manage_table_sql.class.php +++ b/include/lib/manage_table_sql.class.php @@ -124,7 +124,9 @@ class Manage_Table_SQL // By default no js sort $this->sort_column=""; $this->dialog_box="dtr"; - $this->dialogbox_style=array("position"=> "fixed", "top"=> '15%',"width"=> "auto", "margin-left"=> "20%"); + $this->dialogbox_style=array("position"=> "fixed", "top"=> '15%',"width"=> "auto", + "max-width"=>"60%", + "margin-left"=> "20%"); } /** * send the XML headers for the ajax call