Fix pb of responsive design
This commit is contained in:
parent
20a2282efc
commit
1e037a9b95
BIN
doc/images/dolibarr_screenshot6_1280x800.png
Normal file
BIN
doc/images/dolibarr_screenshot6_1280x800.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 175 KiB |
@ -176,7 +176,7 @@ if (ini_get('safe_mode') && ! empty($conf->global->MAIN_ANTIVIRUS_COMMAND))
|
||||
dol_syslog("safe_mode is on, basedir is ".$basedir.", safe_mode_exec_dir is ".ini_get('safe_mode_exec_dir'), LOG_WARNING);
|
||||
}
|
||||
}
|
||||
print '<input type="text" name="MAIN_ANTIVIRUS_COMMAND" size="72" value="'.(! empty($conf->global->MAIN_ANTIVIRUS_COMMAND)?dol_htmlentities($conf->global->MAIN_ANTIVIRUS_COMMAND):'').'">';
|
||||
print '<input type="text" name="MAIN_ANTIVIRUS_COMMAND" class="minwidth500imp" value="'.(! empty($conf->global->MAIN_ANTIVIRUS_COMMAND)?dol_htmlentities($conf->global->MAIN_ANTIVIRUS_COMMAND):'').'">';
|
||||
print "</td>";
|
||||
print '</tr>';
|
||||
|
||||
@ -187,7 +187,7 @@ print '<td colspan="2">'.$langs->trans("AntiVirusParam").'<br>';
|
||||
print $langs->trans("AntiVirusParamExample");
|
||||
print '</td>';
|
||||
print '<td>';
|
||||
print '<input type="text" name="MAIN_ANTIVIRUS_PARAM" size="72" value="'.(! empty($conf->global->MAIN_ANTIVIRUS_PARAM)?dol_htmlentities($conf->global->MAIN_ANTIVIRUS_PARAM):'').'">';
|
||||
print '<input type="text" name="MAIN_ANTIVIRUS_PARAM" class="minwidth500imp" value="'.(! empty($conf->global->MAIN_ANTIVIRUS_PARAM)?dol_htmlentities($conf->global->MAIN_ANTIVIRUS_PARAM):'').'">';
|
||||
print "</td>";
|
||||
print '</tr>';
|
||||
|
||||
|
||||
@ -603,6 +603,12 @@ div.myavailability {
|
||||
.minwidth300 { min-width: 300px; }
|
||||
.minwidth400 { min-width: 400px; }
|
||||
.minwidth500 { min-width: 500px; }
|
||||
.minwidth50imp { min-width: 50px !important; }
|
||||
.minwidth100imp { min-width: 100px !important; }
|
||||
.minwidth200imp { min-width: 200px !important; }
|
||||
.minwidth300imp { min-width: 300px !important; }
|
||||
.minwidth400imp { min-width: 400px !important; }
|
||||
.minwidth500imp { min-width: 500px !important; }
|
||||
.maxwidth100 { max-width: 100px; }
|
||||
.maxwidth150 { max-width: 150px; }
|
||||
.maxwidth200 { max-width: 200px; }
|
||||
@ -619,6 +625,22 @@ div.myavailability {
|
||||
{
|
||||
.titlefield { width: 30% !important; }
|
||||
.titlefieldcreate { width: 30% !important; }
|
||||
.minwidth50imp { min-width: 50px !important; }
|
||||
.minwidth100imp { min-width: 100px !important; }
|
||||
.minwidth200imp { min-width: 200px !important; }
|
||||
.minwidth300imp { min-width: 300px !important; }
|
||||
.minwidth400imp { min-width: 300px !important; }
|
||||
.minwidth500imp { min-width: 300px !important; }
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 960px)
|
||||
{
|
||||
.minwidth50imp { min-width: 50px !important; }
|
||||
.minwidth100imp { min-width: 50px !important; }
|
||||
.minwidth200imp { min-width: 100px !important; }
|
||||
.minwidth300imp { min-width: 100px !important; }
|
||||
.minwidth400imp { min-width: 100px !important; }
|
||||
.minwidth500imp { min-width: 100px !important; }
|
||||
}
|
||||
|
||||
/* Force values for small screen */
|
||||
@ -631,6 +653,12 @@ div.myavailability {
|
||||
.maxwidth200onsmartphone { max-width: 200px; }
|
||||
.maxwidth300onsmartphone { max-width: 300px; }
|
||||
.maxwidth400onsmartphone { max-width: 400px; }
|
||||
.minwidth50imp { min-width: 50px !important; }
|
||||
.minwidth100imp { min-width: 50px !important; }
|
||||
.minwidth200imp { min-width: 50px !important; }
|
||||
.minwidth300imp { min-width: 50px !important; }
|
||||
.minwidth400imp { min-width: 50px !important; }
|
||||
.minwidth500imp { min-width: 50px !important; }
|
||||
.titlefield { width: auto; }
|
||||
.titlefieldcreate { width: auto; }
|
||||
}
|
||||
|
||||
@ -601,6 +601,12 @@ div.myavailability {
|
||||
.minwidth300 { min-width: 300px; }
|
||||
.minwidth400 { min-width: 400px; }
|
||||
.minwidth500 { min-width: 500px; }
|
||||
.minwidth50imp { min-width: 50px !important; }
|
||||
.minwidth100imp { min-width: 100px !important; }
|
||||
.minwidth200imp { min-width: 200px !important; }
|
||||
.minwidth300imp { min-width: 300px !important; }
|
||||
.minwidth400imp { min-width: 400px !important; }
|
||||
.minwidth500imp { min-width: 500px !important; }
|
||||
.maxwidth100 { max-width: 100px; }
|
||||
.maxwidth150 { max-width: 150px; }
|
||||
.maxwidth200 { max-width: 200px; }
|
||||
@ -617,6 +623,22 @@ div.myavailability {
|
||||
{
|
||||
.titlefield { width: 30% !important; }
|
||||
.titlefieldcreate { width: 30% !important; }
|
||||
.minwidth50imp { min-width: 50px !important; }
|
||||
.minwidth100imp { min-width: 100px !important; }
|
||||
.minwidth200imp { min-width: 200px !important; }
|
||||
.minwidth300imp { min-width: 300px !important; }
|
||||
.minwidth400imp { min-width: 300px !important; }
|
||||
.minwidth500imp { min-width: 300px !important; }
|
||||
}
|
||||
|
||||
@media only screen and (max-width: 960px)
|
||||
{
|
||||
.minwidth50imp { min-width: 50px !important; }
|
||||
.minwidth100imp { min-width: 50px !important; }
|
||||
.minwidth200imp { min-width: 100px !important; }
|
||||
.minwidth300imp { min-width: 100px !important; }
|
||||
.minwidth400imp { min-width: 100px !important; }
|
||||
.minwidth500imp { min-width: 100px !important; }
|
||||
}
|
||||
|
||||
/* Force values for small screen */
|
||||
@ -629,6 +651,12 @@ div.myavailability {
|
||||
.maxwidth200onsmartphone { max-width: 200px; }
|
||||
.maxwidth300onsmartphone { max-width: 300px; }
|
||||
.maxwidth400onsmartphone { max-width: 400px; }
|
||||
.minwidth50imp { min-width: 50px !important; }
|
||||
.minwidth100imp { min-width: 50px !important; }
|
||||
.minwidth200imp { min-width: 50px !important; }
|
||||
.minwidth300imp { min-width: 50px !important; }
|
||||
.minwidth400imp { min-width: 50px !important; }
|
||||
.minwidth500imp { min-width: 50px !important; }
|
||||
.titlefield { width: auto; }
|
||||
.titlefieldcreate { width: auto; }
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user