diff --git a/htdocs/theme/eldy/global.inc.php b/htdocs/theme/eldy/global.inc.php index 164fc74bc35..0ffc4e84786 100644 --- a/htdocs/theme/eldy/global.inc.php +++ b/htdocs/theme/eldy/global.inc.php @@ -1888,7 +1888,7 @@ div.blockvmenulogo margin-left: 11px; margin-right: 9px; padding: 0; - height: px; + height: px; /* width: 100px; */ max-width: 100px; vertical-align: middle; @@ -4936,6 +4936,11 @@ tr.visible { /* Module website */ /* ============================================================================== */ +.websiteformtoolbar { + position: sticky; + top: ; +} + .exampleapachesetup { overflow-y: auto; height: 100px; @@ -4988,7 +4993,13 @@ span[phptag] { /* display: inline-block; */ padding-: 10px; vertical-align: middle; - /* line-height: 28px; */ + line-height: 28px; +} +.websiteselectionsection { + font-size: 0.85em; +} +.websiteselection span { + vertical-align: middle; } .websitetools { float: right; @@ -5000,7 +5011,7 @@ span[phptag] { } .websiteinputurl { display: inline-block; - vertical-align: top; + vertical-align: middle; line-height: 28px; } .websiteiframenoborder { @@ -5035,6 +5046,10 @@ span.websitebuttonsitepreviewdisabled img, a.websitebuttonsitepreviewdisabled im line-height: 1em; } +.websitebar input.bordertransp { + line-height: normal !important; +} + #divbodywebsite section p { margin: unset; } @@ -7340,7 +7355,7 @@ div.clipboardCPValue.hidewithsize { .websiteselectionsection { border-left: unset; - boerder-right: unset; + border-right: unset; padding-left: 5px; } diff --git a/htdocs/theme/md/btn.inc.php b/htdocs/theme/md/btn.inc.php index 17ab4d83f28..a593f6ecdbf 100644 --- a/htdocs/theme/md/btn.inc.php +++ b/htdocs/theme/md/btn.inc.php @@ -234,6 +234,7 @@ span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover background: var(--butactiondeletebg); /* border: 1px solid #633; */ color: #633; + vertical-align: middle; } .butActionDelete:hover { diff --git a/htdocs/theme/md/main_menu_fa_icons.inc.php b/htdocs/theme/md/main_menu_fa_icons.inc.php index d234ff15d4a..b8f45808293 100644 --- a/htdocs/theme/md/main_menu_fa_icons.inc.php +++ b/htdocs/theme/md/main_menu_fa_icons.inc.php @@ -11,7 +11,7 @@ font-variant: normal; text-rendering: auto; line-height: 26px; - font-size: 1.5em; + font-size: 1.3em; -webkit-font-smoothing: antialiased; text-align:center; text-decoration:none; diff --git a/htdocs/theme/md/style.css.php b/htdocs/theme/md/style.css.php index 0257ca2465c..1d794d60de1 100644 --- a/htdocs/theme/md/style.css.php +++ b/htdocs/theme/md/style.css.php @@ -3041,11 +3041,11 @@ div.blockvmenulogo border-bottom: 0 !important; } .menulogocontainer { - margin: px; + margin: px; margin-left: 12px; margin-right: 6px; padding: 0; - height: px; + height: px; /* width: 100px; */ max-width: 100px; vertical-align: middle; @@ -4862,6 +4862,11 @@ tr.visible { /* Module website */ /* ============================================================================== */ +.websiteformtoolbar { + position: sticky; + top: ; +} + .exampleapachesetup { overflow-y: auto; max-height: 100px; @@ -4891,7 +4896,10 @@ span[phptag] { border-bottom: 1px solid #ccc; background: #eee; display: inline-block; - padding: 4px 0 4px 0; + padding: 5px 5px 5px 5px; +} +.centpercent.websitebar { + width: calc(100% - 10px); } .websitebar .buttonDelete, .websitebar .button { text-shadow: none; @@ -4908,7 +4916,7 @@ span[phptag] { } .websiteselection { /* display: inline-block; */ - padding-left: 10px; + padding-: 10px; vertical-align: middle; } .websitetools { @@ -7126,7 +7134,7 @@ div.clipboardCPValue.hidewithsize { .websiteselectionsection { border-left: unset; - boerder-right: unset; + border-right: unset; padding-left: 5px; } diff --git a/htdocs/website/index.php b/htdocs/website/index.php index cdadc2c3eba..af2f3a96ae1 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -2508,7 +2508,7 @@ llxHeader($moreheadcss.$moreheadjs, $langs->trans("WebsiteSetup"), $helpurl, '', print "\n"; print ''."\n"; -print '
'; +print ''; print ''; print ''; @@ -2669,7 +2669,7 @@ if (!GETPOST('hide_websitemenu')) { print '   '; //print ''; - print ''.dol_escape_htmltag($langs->trans($conf->dol_optimize_smallscreen ? "Properties" : "EditCss")).''; + print ''.dol_escape_htmltag($langs->trans("EditCss")).''; $importlabel = $langs->trans("ImportSite"); $exportlabel = $langs->trans("ExportSite"); @@ -2692,24 +2692,24 @@ if (!GETPOST('hide_websitemenu')) { print ''; // Regenerate all pages - print 'ref.'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("RegenerateWebsiteContent")).'">'; + print 'ref.'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("RegenerateWebsiteContent")).'">'; // Generate site map - print 'ref.'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("GenerateSitemaps")).'">'; + print 'ref.'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("GenerateSitemaps")).'">'; - print 'ref.'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("ReplaceWebsiteContent")).'">'; + print 'ref.'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("ReplaceWebsiteContent")).'">'; } print ''; if ($websitekey && $websitekey != '-1' && ($action == 'preview' || $action == 'createfromclone' || $action == 'createpagefromclone' || $action == 'deletesite')) { print ''; - //print 'ref.'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("MediaFiles")).'">'; - print dolButtonToOpenUrlInDialogPopup('file_manager', $langs->transnoentitiesnoconv("MediaFiles"), '', '/website/index.php?action=file_manager&website='.$website->ref, $disabled); + //print 'ref.'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("MediaFiles")).'">'; + print dolButtonToOpenUrlInDialogPopup('file_manager', $langs->transnoentitiesnoconv("MediaFiles"), '', '/website/index.php?action=file_manager&website='.$website->ref, $disabled); if (!empty($conf->categorie->enabled)) { - //print ''; - print dolButtonToOpenUrlInDialogPopup('categories', $langs->transnoentitiesnoconv("Categories"), '', '/categories/index.php?leftmenu=website&nosearch=1&type=website_page&website='.$website->ref, $disabled); + //print ''; + print dolButtonToOpenUrlInDialogPopup('categories', $langs->transnoentitiesnoconv("Categories"), '', '/categories/index.php?leftmenu=website&nosearch=1&type=website_page&website='.$website->ref, $disabled); } print ''; @@ -2808,7 +2808,7 @@ if (!GETPOST('hide_websitemenu')) { print ''; print ''; - print 'ref.'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("AddPage")).'">'; + print 'ref.'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("AddPage")).'">'; print ''; //print ''; @@ -2846,9 +2846,10 @@ if (!GETPOST('hide_websitemenu')) { print $langs->trans("New"); } - //print ''; - print ''; + print ''; + + print ''; // Print nav arrows $pagepreviousid = 0; @@ -2887,6 +2888,8 @@ if (!GETPOST('hide_websitemenu')) { print ''.img_next($langs->trans("Next")).''; } + print ''; + $websitepage = new WebSitePage($db); if ($pageid > 0 && ($action == 'preview' || $action == 'createfromclone' || $action == 'createpagefromclone')) { $websitepage->fetch($pageid); @@ -2962,13 +2965,16 @@ if (!GETPOST('hide_websitemenu')) { print $formconfirm; } + print ''; + print '   '; //print ''; - print ''.dol_escape_htmltag($langs->trans($conf->dol_optimize_smallscreen ? "Properties" : "EditPageMeta")).''; + print ''.dol_escape_htmltag($langs->trans("EditPageMeta")).''; //print ''; print ''.dol_escape_htmltag($langs->trans($conf->dol_optimize_smallscreen ? "HTML" : "EditHTMLSource")).''; + print ''; print ''."\n"; print '
'; @@ -3055,11 +3061,11 @@ if (!GETPOST('hide_websitemenu')) { //$disabled=' disabled="disabled"'; //print ''; //print ''; - print ''; + print ''; } else { //$disabled=''; //print ''; - print 'ref.'&pageid='.$pageid.'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("SetAsHomePage")).'">'; + print 'ref.'&pageid='.$pageid.'" class="button bordertransp"'.$disabled.' title="'.dol_escape_htmltag($langs->trans("SetAsHomePage")).'">'; } print ''; print '';