Skip to content

Commit

Permalink
clean tooltip : remove drooling edge
Browse files Browse the repository at this point in the history
  • Loading branch information
atm-john committed Feb 22, 2019
1 parent 1457b5d commit 1da6a2b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 8 deletions.
24 changes: 16 additions & 8 deletions htdocs/theme/eldy/_global.css.php
Expand Up @@ -3557,16 +3557,24 @@
div.ui-tooltip {
max-width: <?php print dol_size(600, 'width'); ?>px !important;
}
.mytooltip {
border-top: solid 1px #BBBBBB;
border-<?php print $left; ?>: solid 1px #BBBBBB;
border-<?php print $right; ?>: solid 1px #444444;
border-bottom: solid 1px #444444;
padding: 5px 20px;
div.ui-tooltip.mytooltip {
border: none !important;
padding: 10px 15px;
border-radius: 0;
box-shadow: 0 0 4px grey;

margin: 2px;
font-stretch: condensed;

-moz-box-shadow: 0.5px 0.5px 4px 0px rgba(0, 0, 0, 0.5);
-webkit-box-shadow:0.5px 0.5px 4px 0px rgba(0, 0, 0, 0.5);
-o-box-shadow: 0.5px 0.5px 4px 0px rgba(0, 0, 0, 0.5);
box-shadow: 0.5px 0.5px 4px 0px rgba(0, 0, 0, 0.5);
filter:progid:DXImageTransform.Microsoft.Shadow(color=#656565, Direction=134, Strength=5);

background: <?php print $toolTipBgColor; ?> !important;
color : <?php print $toolTipFontColor; ?>;


}


Expand Down Expand Up @@ -5679,4 +5687,4 @@
min-width: auto;
font-size: 12px;
}
}
}
2 changes: 2 additions & 0 deletions htdocs/theme/eldy/theme_vars.php
Expand Up @@ -57,6 +57,8 @@
$fontsize='0.86em';
$fontsizesmaller='0.75em';
$topMenuFontSize='1.1em';
$toolTipBgColor='rgba(255, 255, 255, 0.96);';
$toolTipFontColor='#333';

if (defined('THEME_ONLY_CONSTANT')) return;

Expand Down

0 comments on commit 1da6a2b

Please sign in to comment.