Clean CSS

This commit is contained in:
Laurent Destailleur 2021-10-25 13:04:52 +02:00
parent 940c69b46d
commit 664fd13428
3 changed files with 8 additions and 13 deletions

View File

@ -1889,7 +1889,7 @@ function top_menu($head, $title = '', $target = '', $disablejs = 0, $disablehead
} }
// Link to print main content area // Link to print main content area
if (empty($conf->global->MAIN_PRINT_DISABLELINK) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER) && $conf->browser->layout != 'phone') { if (empty($conf->global->MAIN_PRINT_DISABLELINK) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) {
$qs = dol_escape_htmltag($_SERVER["QUERY_STRING"]); $qs = dol_escape_htmltag($_SERVER["QUERY_STRING"]);
if (isset($_POST) && is_array($_POST)) { if (isset($_POST) && is_array($_POST)) {

View File

@ -7050,7 +7050,7 @@ div.clipboardCPValue.hidewithsize {
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
padding-bottom: 16px; padding-bottom: 16px;
top: inherit !important; top: auto;
left: 0 !important; left: 0 !important;
text-align: center; text-align: center;
vertical-align: middle; vertical-align: middle;

View File

@ -1869,11 +1869,6 @@ body.sidebar-collapse .side-nav, body.sidebar-collapse .login_block
.side-nav-vert { .side-nav-vert {
margin-left: 0; margin-left: 0;
} }
div.login_block {
/* border-right: none ! important; */
top: inherit !important;
border-right: 1px solid rgba(0,0,0,0.3);
}
.side-nav { .side-nav {
<?php <?php
@ -1899,10 +1894,6 @@ div.backgroundsemitransparent {
/* Login */ /* Login */
div.login_block {
/* position: initial !important;*/
/*display: none;*/
}
.login_block_getinfo { .login_block_getinfo {
text-align: center; text-align: center;
} }
@ -2722,11 +2713,11 @@ table.login_table_securitycode tr td {
} }
div.login_block { div.login_block {
/* border-right: 1px solid rgba(0,0,0,0.3); */ top: 0;
border-right: 1px solid rgba(0,0,0,0.3);
padding-top: 3px; padding-top: 3px;
padding-bottom: 3px; padding-bottom: 3px;
<?php print $left; ?>: 0; <?php print $left; ?>: 0;
top: 0px;
<?php if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?> <?php if (in_array($conf->browser->layout, array('phone', 'tablet')) && empty($conf->global->MAIN_OPTIMIZEFORTEXTBROWSER)) { ?>
position: absolute; position: absolute;
<?php } else { ?> <?php } else { ?>
@ -6834,6 +6825,10 @@ div.clipboardCPValue.hidewithsize {
/* rule to reduce top menu - 3rd reduction */ /* rule to reduce top menu - 3rd reduction */
@media only screen and (max-width: 570px) @media only screen and (max-width: 570px)
{ {
div.login_block {
top: auto;
}
div#tmenu_tooltip { div#tmenu_tooltip {
<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?> <?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
display:none; display:none;