add more class
This commit is contained in:
parent
3390ba0e77
commit
bc4db54722
@ -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>';
|
||||
}
|
||||
|
||||
|
||||
@ -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>';
|
||||
}
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user