CSS esthetic, documentation

This commit is contained in:
sparkyx 2021-08-13 15:07:06 +02:00
parent 03c8b004d0
commit 6f3ba35940
4 changed files with 17 additions and 11 deletions

View file

@ -985,32 +985,34 @@ div.inner_box {
font-size:14.4px; font-size:14.4px;
font-size:0.9rem; font-size:0.9rem;
width: 100%; width: 100%;
left:0px !important;
} }
/* SM */ /* SM */
@media (min-width: 576px) { @media (min-width: 576px) {
div.inner_box { div.inner_box {
width: 100%;
left:0px !important;
} }
} }
/* MD */ /* MD */
@media (min-width: 768px) { @media (min-width: 768px) {
div.inner_box { div.inner_box {
width: 100%;
left:0px !important;
} }
} }
/* LG */ /* LG */
@media (min-width: 992px) { @media (min-width: 992px) {
div.inner_box { div.inner_box {
width: 90%; left:0px !important;
left:5%;
border-radius: 7px; border-radius: 7px;
} }
} }
/* XL */ /* XL */
@media (min-width: 1200px) { @media (min-width: 1200px) {
div.inner_box { div.inner_box {
width: 95%; width: 90%;
left:2%; left:5% !important;
/*! margin-bottom: 2%; */ /*! margin-bottom: 2%; */
padding-bottom: 10px; padding-bottom: 10px;
} }
@ -2183,7 +2185,7 @@ td.box {
position: absolute; position: absolute;
top: 25%; top: 25%;
width: 40%; width: 40%;
left: 50%; left: 50% !important;
margin-left: -20%; margin-left: -20%;
border-radius:7px; border-radius:7px;
} }

View file

@ -3053,7 +3053,7 @@ function create_anchor_up()
*/ */
function init_scroll() function init_scroll()
{ {
var up = new Element('div', {"class": "inner_box", var up = new Element('div', {"class": "",
"style": "padding:5px;left:auto;width:auto;height: auto;display:none;position:fixed;bottom:30%;right:50px;text-align:center;font-size:20px", "style": "padding:5px;left:auto;width:auto;height: auto;display:none;position:fixed;bottom:30%;right:50px;text-align:center;font-size:20px",
id: "go_up" id: "go_up"
}); });

View file

@ -34,6 +34,7 @@ require_once NOALYSS_INCLUDE.'/lib/user_common.php';
*/ */
/** /**
* \class
* \brief class_action for manipulating actions * \brief class_action for manipulating actions
* action can be : * action can be :
* <ul> * <ul>
@ -1252,7 +1253,7 @@ class Follow_Up
/** /**
* @briefGet date from $_GET and create the sql stmt for the query * @briefGet date from $_GET and create the sql stmt for the query
* @note the query is taken in $_REQUEST * @note the query is taken from $_GET
* @see Follow_Up::ShowActionList * @see Follow_Up::ShowActionList
* @return string SQL condition * @return string SQL condition
*/ */
@ -1410,6 +1411,7 @@ class Follow_Up
/** /**
* @brief export to CSV the query the p_array has * @brief export to CSV the query the p_array has
* @param array $p_array * @param array $p_array
@see ::create_query
*/ */
function export_csv($p_array) function export_csv($p_array)
{ {
@ -1455,7 +1457,9 @@ class Follow_Up
); );
} }
/** /**
* @brief export to CSV the query the p_array has * @brief export to CSV the detailled actions (tags, comment, related operations...),
* it could be a query in $p_array * task #0002035
* @see ::create_query
* @param array $p_array * @param array $p_array
*/ */
function export_csv_detail($p_array) function export_csv_detail($p_array)

View file

@ -70,7 +70,7 @@ echo $mtable->display_table(" where pcm_val::text like '{$g_start}%' order by pc
*/ */
?> ?>
<div id="go_up" class="inner_box" style="padding:0px;left:auto;width:250px;height: 100px;display:none;position:fixed;bottom:30%;right:20px"> <div id="go_up" class="" style="padding:0px;left:auto;width:250px;height: 100px;display:none;position:fixed;bottom:30%;right:20px">
<div style="margin:3%;padding:3%"> <div style="margin:3%;padding:3%">
<a class="icon" href="#up_top" >&#xe81a;</a><a href="javascript:show_calc()" class="icon">&#xf1ec;</a> <a class="icon" href="#up_top" >&#xe81a;</a><a href="javascript:show_calc()" class="icon">&#xf1ec;</a>
<input type="button" class="smallbutton" id="pcmn_update_add_bt3" value="<?php echo _('Ajout poste comptable'); ?>"> <input type="button" class="smallbutton" id="pcmn_update_add_bt3" value="<?php echo _('Ajout poste comptable'); ?>">