add style to md
This commit is contained in:
parent
53721ae606
commit
3a21805a02
7
htdocs/theme/md/progress.inc.php
Normal file
7
htdocs/theme/md/progress.inc.php
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
<?php
|
||||||
|
if (! defined('ISLOADEDBYSTEELSHEET')) die('Must be call by steelsheet');
|
||||||
|
|
||||||
|
include dol_buildpath($path.'/theme/eldy/progress.inc.php', 0); // actually md use same style as eldy theme
|
||||||
|
|
||||||
|
?>
|
||||||
|
/* <style type="text/css" > */
|
||||||
@ -690,6 +690,23 @@ textarea.centpercent {
|
|||||||
opacity: 0.7;
|
opacity: 0.7;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-warning{
|
||||||
|
color : <?php print $textWarning ; ?>
|
||||||
|
}
|
||||||
|
body[class*="colorblind-"] .text-warning{
|
||||||
|
color : <?php print $colorblind_deuteranopes_textWarning ; ?>
|
||||||
|
}
|
||||||
|
.text-success{
|
||||||
|
color : <?php print $textSuccess ; ?>
|
||||||
|
}
|
||||||
|
body[class*="colorblind-"] .text-success{
|
||||||
|
color : <?php print $colorblind_deuteranopes_textSuccess ; ?>
|
||||||
|
}
|
||||||
|
|
||||||
|
.text-danger{
|
||||||
|
color : <?php print $textDanger ; ?>
|
||||||
|
}
|
||||||
|
|
||||||
/* Themes for badges */
|
/* Themes for badges */
|
||||||
.badge {
|
.badge {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
@ -5860,6 +5877,8 @@ border-top-right-radius: 6px;
|
|||||||
|
|
||||||
include dol_buildpath($path.'/theme/'.$theme.'/dropdown.inc.php', 0);
|
include dol_buildpath($path.'/theme/'.$theme.'/dropdown.inc.php', 0);
|
||||||
|
|
||||||
|
include dol_buildpath($path.'/theme/'.$theme.'/progress.inc.php', 0);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (is_object($db)) $db->close();
|
if (is_object($db)) $db->close();
|
||||||
|
|||||||
@ -54,3 +54,10 @@ $colortext='0,0,0';
|
|||||||
$colortextlink='0,0,120';
|
$colortextlink='0,0,120';
|
||||||
$fontsize='14';
|
$fontsize='14';
|
||||||
$fontsizesmaller='11';
|
$fontsizesmaller='11';
|
||||||
|
|
||||||
|
// text color
|
||||||
|
$textSuccess ='#28a745';
|
||||||
|
$colorblind_deuteranopes_textSuccess ='#37de5d';
|
||||||
|
$textDanger ='#dc3545';
|
||||||
|
$textWarning ='#f39c12';
|
||||||
|
$colorblind_deuteranopes_textWarning = $textWarning; // currently not tested with a color blind people so use default color
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user