Fix responsive design
This commit is contained in:
parent
6ab47a845e
commit
b6af1f7e6e
@ -65,6 +65,11 @@ a:hover {
|
|||||||
}
|
}
|
||||||
@media only screen and (max-width: 420px)
|
@media only screen and (max-width: 420px)
|
||||||
{
|
{
|
||||||
|
.demomaxoveflow {
|
||||||
|
max-width: none !important;
|
||||||
|
overflow: hidden;
|
||||||
|
text-overflow: ellipsis;
|
||||||
|
}
|
||||||
.csscolumns {
|
.csscolumns {
|
||||||
-webkit-column-count: 1; /* Chrome, Safari, Opera */
|
-webkit-column-count: 1; /* Chrome, Safari, Opera */
|
||||||
-moz-column-count: 1; /* Firefox */
|
-moz-column-count: 1; /* Firefox */
|
||||||
|
|||||||
@ -328,7 +328,7 @@ foreach ($demoprofiles as $profilearray)
|
|||||||
print '<input type="hidden" name="dol_no_mouse_hover" value="'.$conf->dol_no_mouse_hover.'">'."\n";
|
print '<input type="hidden" name="dol_no_mouse_hover" value="'.$conf->dol_no_mouse_hover.'">'."\n";
|
||||||
print '<input type="hidden" name="dol_use_jmobile" value="'.$conf->dol_use_jmobile.'">'."\n";
|
print '<input type="hidden" name="dol_use_jmobile" value="'.$conf->dol_use_jmobile.'">'."\n";
|
||||||
|
|
||||||
print '<div summary="Dolibarr online demonstration for profile '.$profilearray['label'].'" class="center inline-block CTable CTableRow'.($i%2==0?'1':'0').'" style="width: 400px;">'."\n";
|
print '<div summary="Dolibarr online demonstration for profile '.$profilearray['label'].'" class="center inline-block CTable CTableRow'.($i%2==0?'1':'0').'" style="width: 340px;">'."\n";
|
||||||
|
|
||||||
|
|
||||||
print '<div id="a1'.$profilearray['key'].'" class="demobox '.(empty($profilearray['url'])?'modulelineshow cursorpointer':'nomodulelines').'">';
|
print '<div id="a1'.$profilearray['key'].'" class="demobox '.(empty($profilearray['url'])?'modulelineshow cursorpointer':'nomodulelines').'">';
|
||||||
@ -351,9 +351,10 @@ foreach ($demoprofiles as $profilearray)
|
|||||||
// Modules
|
// Modules
|
||||||
if (empty($profilearray['url']))
|
if (empty($profilearray['url']))
|
||||||
{
|
{
|
||||||
print '<div id="tr1'.$profilearray['key'].'" class="moduleline hidden" style="font-size:14px; line-height: 110%; padding-bottom: 8px">';
|
print '<div id="tr1'.$profilearray['key'].'" class="moduleline hidden" style="margin-left: 8px; margin-right: 8px; text-align: justify; font-size:14px; line-height: 130%; padding-bottom: 8px">';
|
||||||
|
|
||||||
|
print $langs->trans("ThisIsListOfModules").'<br><br>';
|
||||||
|
|
||||||
print $langs->trans("ThisIsListOfModules").'<br>';
|
|
||||||
print '<div class="csscolumns">';
|
print '<div class="csscolumns">';
|
||||||
|
|
||||||
$listofdisabledmodules=explode(',',$profilearray['disablemodules']);
|
$listofdisabledmodules=explode(',',$profilearray['disablemodules']);
|
||||||
@ -395,7 +396,7 @@ foreach ($demoprofiles as $profilearray)
|
|||||||
|
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
print '<div class="center">';
|
print '<br><div class="center">';
|
||||||
print '<input type="submit" value=" '.$langs->trans("Start").' " class="button">';
|
print '<input type="submit" value=" '.$langs->trans("Start").' " class="button">';
|
||||||
print '</div>';
|
print '</div>';
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user