Fix: css
This commit is contained in:
parent
a886136e67
commit
806477977d
@ -679,7 +679,7 @@ foreach ($usernames as $username)
|
||||
{
|
||||
$var = ! $var;
|
||||
echo "<tr>";
|
||||
echo '<td class="cal_current_month"'.($var?' style="background: #F8F8F8"':'').'>' . $username->getNomUrl(1). '</td>';
|
||||
echo '<td class="cal_current_month cal_peruserviewname"'.($var?' style="background: #F8F8F8"':'').'>' . $username->getNomUrl(1). '</td>';
|
||||
$tmpday = $sav;
|
||||
|
||||
// Lopp on each day of week
|
||||
|
||||
@ -354,7 +354,7 @@ function print_text_menu_entry($text, $showmode, $url, $id, $idsel, $classname,
|
||||
if ($showmode == 1)
|
||||
{
|
||||
print '<a class="tmenuimage" href="'.$url.'"'.($atarget?' target="'.$atarget.'"':'').'>';
|
||||
print '<div class="'.$id.' '.$idsel.'"><span class="'.$id.' tmenuimage" id="mainmenuspan_'.$idsel.'"></span></div>';
|
||||
print '<div class="'.$id.' '.$idsel.' topmenuimage"><span class="'.$id.' tmenuimage" id="mainmenuspan_'.$idsel.'"></span></div>';
|
||||
print '</a>';
|
||||
print '<a '.$classname.' id="mainmenua_'.$idsel.'" href="'.$url.'"'.($atarget?' target="'.$atarget.'"':'').'>';
|
||||
print '<span class="mainmenuaspan">';
|
||||
|
||||
12
htdocs/theme/eldy/img/menus/README.md
Normal file
12
htdocs/theme/eldy/img/menus/README.md
Normal file
@ -0,0 +1,12 @@
|
||||
|
||||
Tutorial to create a new image for menu:
|
||||
|
||||
1) First find an image.
|
||||
2) With Gimp, open image and check there is a alpha channel. If not add one.
|
||||
3) Convert image into back and white.
|
||||
4) Use the degrade tool with option:
|
||||
* Erase color
|
||||
* Opacity: 50 +/-
|
||||
* Offset: 0
|
||||
* Shape: Linear
|
||||
Il est possible aussi d'augmenter la transparence globale depuis le calque.
|
||||
BIN
htdocs/theme/eldy/img/menus/chart.png
Normal file
BIN
htdocs/theme/eldy/img/menus/chart.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.8 KiB |
@ -526,8 +526,8 @@ margin : 0px auto;
|
||||
|
||||
<?php
|
||||
$minwidthtmenu=66;
|
||||
$heightmenu=52;
|
||||
$heightmenu2=40;
|
||||
$heightmenu=46; /* height of top menu, part with image */
|
||||
$heightmenu2=46; /* height of top menu, ârt with login */
|
||||
?>
|
||||
|
||||
div#tmenu_tooltip {
|
||||
@ -673,7 +673,7 @@ div.mainmenu {
|
||||
position : relative;
|
||||
background-repeat:no-repeat;
|
||||
background-position:center top;
|
||||
height: <?php echo ($heightmenu-17); ?>px;
|
||||
height: <?php echo ($heightmenu-19); ?>px;
|
||||
margin-left: 0px;
|
||||
min-width: 40px;
|
||||
}
|
||||
@ -698,16 +698,10 @@ div.mainmenu.bank {
|
||||
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/bank.png',1) ?>);
|
||||
}
|
||||
|
||||
div.mainmenu.bookmark {
|
||||
}
|
||||
|
||||
div.mainmenu.cashdesk {
|
||||
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/pointofsale.png',1) ?>);
|
||||
}
|
||||
|
||||
div.mainmenu.click2dial {
|
||||
}
|
||||
|
||||
div.mainmenu.companies {
|
||||
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/company.png',1) ?>);
|
||||
}
|
||||
@ -728,12 +722,6 @@ div.mainmenu.ftp {
|
||||
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools.png',1) ?>);
|
||||
}
|
||||
|
||||
div.mainmenu.gravatar {
|
||||
}
|
||||
|
||||
div.mainmenu.geopipmaxmind {
|
||||
}
|
||||
|
||||
div.mainmenu.hrm {
|
||||
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/holiday.png',1) ?>);
|
||||
}
|
||||
@ -742,9 +730,6 @@ div.mainmenu.members {
|
||||
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/members.png',1) ?>);
|
||||
}
|
||||
|
||||
div.mainmenu.paypal {
|
||||
}
|
||||
|
||||
div.mainmenu.products {
|
||||
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/products.png',1) ?>);
|
||||
margin-left: 10px;
|
||||
@ -758,14 +743,6 @@ div.mainmenu.tools {
|
||||
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/tools.png',1) ?>);
|
||||
}
|
||||
|
||||
div.mainmenu.webservices {
|
||||
}
|
||||
|
||||
div.mainmenu.google {
|
||||
background-image: url(<?php echo dol_buildpath($path.'/theme/'.$theme.'/img/menus/globe.png',1) ?>);
|
||||
}
|
||||
|
||||
|
||||
<?php
|
||||
// Add here more div for other menu entries. moduletomainmenu=array('module name'=>'name of class for div')
|
||||
|
||||
@ -2423,6 +2400,11 @@ li.cal_event { border: none; list-style-type: none; }
|
||||
.cal_event a:active { color: #111111; font-size: 11px; font-weight: normal !important; }
|
||||
.cal_event a:hover { color: #111111; font-size: 11px; font-weight: normal !important; color:rgba(255,255,255,.75); }
|
||||
.cal_event_busy { }
|
||||
.cal_peruserviewname { max-width: 100px; height: 22px; }
|
||||
|
||||
.topmenuimage {
|
||||
background-size: 28px auto;
|
||||
}
|
||||
|
||||
/* ============================================================================== */
|
||||
/* Ajax - Liste deroulante de l'autocompletion */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user