CSS for dark theme

This commit is contained in:
Laurent Destailleur 2021-04-11 17:08:48 +02:00
parent f437e70ac6
commit 6f6c9058c1

View File

@ -116,6 +116,7 @@ body {
margin-right: 0; margin-right: 0;
margin-left: 0; margin-left: 0;
font-weight: 400; font-weight: 400;
background-color: var(--colorbackbody);
<?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?> <?php print 'direction: '.$langs->trans("DIRECTION").";\n"; ?>
} }
@ -1696,6 +1697,11 @@ td.showDragHandle {
z-index: 1001; z-index: 1001;
} }
<?php } ?> <?php } ?>
<?php if (!empty($conf->global->THEME_DARKMODEENABLED)) { ?>
.side-nav-vert {
border-bottom: 1px solid #888;
}
<?php } ?>
.side-nav { .side-nav {
/*display: block; /*display: block;
@ -2071,7 +2077,7 @@ span.widthpictotitle.pictotitle {
opacity: 0.4; opacity: 0.4;
} }
.pictofixedwidth { .pictofixedwidth {
text-align: left; text-align: <?php echo $left; ?>;
width: 20px; width: 20px;
padding-right: 0; padding-right: 0;
} }
@ -2810,7 +2816,7 @@ a.help:link, a.help:visited, a.help:hover, a.help:active, span.help { text-align
.helppresentcircle { .helppresentcircle {
color: var(--colorbackhmenu1); color: var(--colorbackhmenu1);
filter: invert(0.8); filter: invert(0.8);
margin-left: -7px; margin-<?php echo $left ?>: -7px;
display: inline-block; display: inline-block;
margin-top: -10px; margin-top: -10px;
font-size: x-small; font-size: x-small;
@ -5709,7 +5715,7 @@ input.select2-input {
-webkit-box-shadow: none !important; -webkit-box-shadow: none !important;
box-shadow: none !important; box-shadow: none !important;
border-radius: 0 !important; border-radius: 0 !important;
color: black; /* color: black; */
} }
.select2-container-active .select2-choice, .select2-container-active .select2-choices .select2-container-active .select2-choice, .select2-container-active .select2-choices
{ {