add more class

This commit is contained in:
ATM john 2019-04-11 21:29:01 +02:00
parent 3390ba0e77
commit bc4db54722
3 changed files with 16 additions and 4 deletions

View File

@ -600,8 +600,8 @@ if ($resql)
if($user->rights->facture->creer)
{
$newcardbutton='<a class="title-button" href="'.DOL_URL_ROOT.'/compta/facture/card.php?action=create">';
$newcardbutton.= '<span class="fa fa-plus"></span>';
$newcardbutton.= '<span class="text-plus-circle">'.$langs->trans('NewBill').'</span>';
$newcardbutton.= '<span class="fa fa-plus title-button-icon"></span>';
$newcardbutton.= '<span class="title-button-label text-plus-circle">'.$langs->trans('NewBill').'</span>';
$newcardbutton.= '</a>';
}

View File

@ -143,8 +143,8 @@ if ($resql)
if ($user->rights->don->creer)
{
$newcardbutton='<a class="title-button" href="'.DOL_URL_ROOT.'/don/card.php?action=create">';
$newcardbutton.= '<span class="fa fa-plus-circle valignmiddle"></span>';
$newcardbutton.= '<span class="text-plus-circle">'.$langs->trans('NewDonation').'</span>';
$newcardbutton.= '<span class="fa fa-plus-circle title-button-icon"></span>';
$newcardbutton.= '<span class="title-button-label text-plus-circle">'.$langs->trans('NewDonation').'</span>';
$newcardbutton.= '</a>';
}

View File

@ -171,6 +171,14 @@ a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-ci
background-color: #fbfbfb;
}
.title-button-icon{
}
.title-button-label{
color: #666666;
}
.title-button:hover, a.title-button:hover {
border-radius: 3px;
position: relative;
@ -183,6 +191,10 @@ a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-ci
box-shadow: none;
}
.title-button:hover .title-button-label{
color: #ffffff;
}
.title-button>.fa {
font-size: 20px;
display: block;