forked from Wavyzz/dolibarr
CSS
This commit is contained in:
@@ -12706,9 +12706,9 @@ function dolGetButtonAction($label, $text = '', $actionType = 'default', $url =
|
|||||||
|
|
||||||
if (empty($reshook)) {
|
if (empty($reshook)) {
|
||||||
if (dol_textishtml($text)) { // If content already HTML encoded
|
if (dol_textishtml($text)) { // If content already HTML encoded
|
||||||
return '<' . $tag . ' ' . $compiledAttributes . '>' . $text . '</' . $tag . '>';
|
return '<' . $tag . ' ' . $compiledAttributes . '><span class="textbutton">' . $text . '</span></' . $tag . '>';
|
||||||
} else {
|
} else {
|
||||||
return '<' . $tag . ' ' . $compiledAttributes . '>' . dol_escape_htmltag($text) . '</' . $tag . '>';
|
return '<' . $tag . ' ' . $compiledAttributes . '><span class="textbutton">' . dol_escape_htmltag($text) . '</span></' . $tag . '>';
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
return $hookmanager->resPrint;
|
return $hookmanager->resPrint;
|
||||||
|
|||||||
@@ -164,6 +164,19 @@ span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
|
|||||||
box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
|
box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
.butActionDelete#action-delete::before {
|
||||||
|
content: "\f1f8";
|
||||||
|
font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>";
|
||||||
|
font-weight: 600;
|
||||||
|
width: 20px;
|
||||||
|
visibility: visible;
|
||||||
|
}
|
||||||
|
.butActionDelete#action-delete span.textbutton {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
.butActionRefused {
|
.butActionRefused {
|
||||||
text-decoration: none !important;
|
text-decoration: none !important;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|||||||
Reference in New Issue
Block a user