css
This commit is contained in:
parent
9ab2adab7e
commit
d8e0036817
@ -241,9 +241,9 @@ print '<input type="hidden" name="action" value="update">';
|
||||
clearstatcache();
|
||||
|
||||
print '<br>';
|
||||
print '<table summary="edit" class="noborder centpercent">';
|
||||
print '<tr class="liste_titre"><td>'.$langs->trans("Language").'</td><td></td>';
|
||||
print '<td width="20"> </td>';
|
||||
print '<table summary="edit" class="noborder centpercent editmode">';
|
||||
print '<tr class="liste_titre"><th>'.$langs->trans("Language").'</th><th></th>';
|
||||
print '<th width="20"> </td>';
|
||||
print '</tr>';
|
||||
|
||||
// Default language
|
||||
@ -268,9 +268,9 @@ showSkins(null, 1);
|
||||
print '<br>';
|
||||
|
||||
// Other
|
||||
print '<table summary="otherparameters" class="noborder centpercent">';
|
||||
print '<tr class="liste_titre"><td class="titlefield">'.$langs->trans("Miscellaneous").'</td><td></td>';
|
||||
print '<td width="20"> </td>';
|
||||
print '<table summary="otherparameters" class="noborder centpercent editmode">';
|
||||
print '<tr class="liste_titre"><th>'.$langs->trans("Miscellaneous").'</th><th></th>';
|
||||
print '<th width="20"> </tg>';
|
||||
print '</tr>';
|
||||
|
||||
// Disable javascript and ajax
|
||||
@ -385,9 +385,9 @@ print '<br>';
|
||||
|
||||
// Other
|
||||
print '<div class="div-table-responsive-no-min">';
|
||||
print '<table summary="edit" class="noborder centpercent">';
|
||||
print '<tr class="liste_titre"><td class="titlefield">'.$langs->trans("LoginPage").'</td><td></td>';
|
||||
print '<td width="20"> </td>';
|
||||
print '<table summary="edit" class="noborder centpercent editmode">';
|
||||
print '<tr class="liste_titre"><th class="titlefield">'.$langs->trans("LoginPage").'</th><th></th>';
|
||||
print '<th width="20"> </th>';
|
||||
print '</tr>';
|
||||
|
||||
// Message on login page
|
||||
|
||||
@ -331,7 +331,7 @@ function showSkins($fuser, $edit = 0, $foruserprofile = false)
|
||||
if ($foruserprofile) $colspan = 4;
|
||||
|
||||
$thumbsbyrow = 6;
|
||||
print '<table class="noborder centpercent">';
|
||||
print '<table class="noborder centpercent'.($edit ? ' editmode' : '').'">';
|
||||
|
||||
// Title
|
||||
if ($foruserprofile)
|
||||
|
||||
@ -1724,7 +1724,7 @@ div#id-top {
|
||||
display:none;
|
||||
<?php } else { ?>
|
||||
background: var(--colorbackhmenu1);
|
||||
background-image: linear-gradient(-45deg, <?php echo colorAdjustBrightness(colorArrayToHex(colorStringToArray($colorbackhmenu1)), '5'); ?>, var(--colorbackhmenu1));
|
||||
/* background-image: linear-gradient(-45deg, <?php echo colorAdjustBrightness(colorArrayToHex(colorStringToArray($colorbackhmenu1)), '5'); ?>, var(--colorbackhmenu1)); */
|
||||
/* box-shadow: 0px 0px 5px #eee; */
|
||||
<?php } ?>
|
||||
}
|
||||
|
||||
@ -229,6 +229,42 @@ print '*/'."\n";
|
||||
/* Default styles */
|
||||
/* ============================================================================== */
|
||||
|
||||
:root {
|
||||
--colorbackhmenu1: rgb(<?php print $colorbackhmenu1; ?>);
|
||||
--colorbackvmenu1: rgb(<?php print $colorbackvmenu1; ?>);
|
||||
--colorbacktitle1: rgb(<?php print $colorbacktitle1; ?>);
|
||||
--colorbacktabcard1: rgb(<?php print $colorbacktabcard1; ?>);
|
||||
--colorbacktabactive: rgb(<?php print $colorbacktabactive; ?>);
|
||||
--colorbacklineimpair1: rgb(<?php print $colorbacklineimpair1; ?>);
|
||||
--colorbacklineimpair2: rgb(<?php print $colorbacklineimpair2; ?>);
|
||||
--colorbacklinepair1: rgb(<?php print $colorbacklinepair1; ?>);
|
||||
--colorbacklinepair2: rgb(<?php print $colorbacklinepair2; ?>);
|
||||
--colorbacklinepairhover: rgb(<?php print $colorbacklinepairhover; ?>);
|
||||
--colorbacklinepairchecked: rgb(<?php print $colorbacklinepairchecked; ?>);
|
||||
--colorbackbody: rgb(<?php print $colorbackbody; ?>);
|
||||
--colortexttitlenotab: rgb(<?php print $colortexttitlenotab; ?>);
|
||||
--colortexttitle: rgb(<?php print $colortexttitle; ?>);
|
||||
--colortext: rgb(<?php print $colortext; ?>);
|
||||
--colortextlink: rgb(<?php print $colortextlink; ?>);
|
||||
--colortextbackhmenu: #<?php echo $colortextbackhmenu; ?>;
|
||||
--colortextbackvmenu: #<?php print $colortextbackvmenu; ?>;
|
||||
--listetotal: #551188;
|
||||
--inputbackgroundcolor: #FFF;
|
||||
--inputbordercolor: rgba(0,0,0,.2);
|
||||
--tooltipbgcolor: <?php print $toolTipBgColor; ?>;
|
||||
--tooltipfontcolor : <?php print $toolTipFontColor; ?>;
|
||||
--oddevencolor: #202020;
|
||||
--colorboxstatsborder: #ddd;
|
||||
--dolgraphbg: rgba(255,255,255,0);
|
||||
--fieldrequiredcolor: #000055;
|
||||
--colortextbacktab: #<?php print $colortextbacktab; ?>;
|
||||
--colorboxiconbg: #eee;
|
||||
--refidnocolor:#444;
|
||||
--tableforfieldcolor:#666;
|
||||
--amountremaintopaycolor:#880000;
|
||||
--amountpaymentcomplete:#008800;
|
||||
--amountremaintopaybackcolor:none;
|
||||
}
|
||||
|
||||
body {
|
||||
<?php if (GETPOST('optioncss', 'aZ09') == 'print') { ?>
|
||||
@ -3846,7 +3882,7 @@ div.titre {
|
||||
}
|
||||
div.titre, .secondary {
|
||||
font-family: <?php print $fontlist ?>;
|
||||
color: rgb(<?php print $colortexttitlenotab; ?>);
|
||||
color: var(--colortexttitlenotab);
|
||||
}
|
||||
|
||||
table.centpercent.notopnoleftnoright.table-fiche-title {
|
||||
|
||||
@ -63,7 +63,7 @@ $colorbacklinepairhover = '230,237,244'; // line hover
|
||||
$colorbacklinepairchecked = '230,237,244'; // line checked
|
||||
$colorbacklinebreak = '214,218,220';
|
||||
$colorbackbody = '248,248,248';
|
||||
$colortexttitlenotab = '90,90,90';
|
||||
$colortexttitlenotab = '80,71,5';
|
||||
$colortexttitle = '20,20,20';
|
||||
$colortext = '0,0,0';
|
||||
$colortextlink = '0,0,120';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user