18if (!defined(
'ISLOADEDBYSTEELSHEET')) {
19 die(
'Must be call by steelsheet');
37@phan-var-force string $butactionbg
38@phan-var-force string $colorbackhmenu1
39@phan-var-force string $colortextlink
40@phan-var-force int<0,1> $dol_optimize_smallscreen
41@phan-var-force string $fontlist
42@phan-var-force string $left
43@phan-var-force int<0,max> $nbtopmenuentries
44@phan-var-force string $right
45@phan-var-force string $textbutaction
52 --btncolortext: rgb(<?php print $colortextlink; ?>);
53 --btncolorbg: #fbfbfb;
54 --btncolorborderhover: none;
55 --btncolorborder: #FFF;
56 --butactiondeletebg: rgb(234,228,225);
57 --butactioncancelbg: #e3e3e3;
58 --butactionbg: rgb(<?php print $butactionbg; ?>);
59 --textbutaction: rgb(<?php print $textbutaction; ?>);
64 print
"/* For dark mode */\n";
66 print
"@media (prefers-color-scheme: dark) {";
68 print
"@media not print {";
74 --btncolorbg: rgb(26,27,27);
75 --btncolorborderhover: #ffffff;
76 --btncolorborder: #2b2c2e;
77 --butactiondeletebg: rgb(252,84,91);
78 --butactionbg: rgb(173,140,79);
79 --textbutaction: rgb(255,255,255);
92div.tabsAction > a.butAction, div.tabsAction > a.butActionRefused, div.tabsAction > a.butActionDelete,
93div.tabsAction > span.butAction, div.tabsAction > span.butActionRefused, div.tabsAction > span.butActionDelete,
94div.tabsAction > div.divButAction > span.butAction,
95div.tabsAction > div.divButAction > span.butActionDelete,
96div.tabsAction > div.divButAction > span.butActionRefused,
97div.tabsAction > div.divButAction > a.butAction,
98div.tabsAction > div.divButAction > a.butActionDelete,
99div.tabsAction > div.divButAction > a.butActionRefused,
100div.tabsAction > .dropdown > .dropdown-toggle {
101 margin-bottom: 1.4em !important;
102 margin-right: 0px !important;
107 padding: 0 !important;
108 margin: 0 !important;
110div.tabsActionNoBottom > a.butAction, div.tabsActionNoBottom > a.butActionRefused {
111 margin-bottom: 0 !important;
114span.butAction, span.butActionDelete {
117.paginationafterarrows .butAction {
121 background: var(--butactionbg);
122 color: var(--textbutaction) !important;
125.butActionRefused, .butAction, .butActionDelete {
128:not(.center) > .butActionRefused:last-child, :not(.center) > .butAction:last-child, :not(.center) > .butActionDelete:last-child {
129 margin-<?php echo $right; ?>: 0px !important;
131.butActionRefused, .butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:
active, .butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active,
134 text-decoration: none;
135 text-transform: uppercase;
138 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'1'); ?>em;
139 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
140 display:
inline-block;
144 border: 1px solid transparent;
154.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
155 text-decoration: none;
156 text-transform: uppercase;
159 margin: 0em 0.3em 0 0.3em !important;
160 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em 0.3em;
162 display:
inline-block;
167.tableforfieldcreate a.butActionNew>span.fa-plus-circle, .tableforfieldcreate a.butActionNew>span.fa-plus-circle:hover,
168.tableforfieldedit a.butActionNew>span.fa-plus-circle, .tableforfieldedit a.butActionNew>span.fa-plus-circle:hover,
169span.butActionNew>span.fa-plus-circle, span.butActionNew>span.fa-plus-circle:hover,
170a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-circle:hover,
171span.butActionNewRefused>span.fa-plus-circle, span.butActionNewRefused>span.fa-plus-circle:hover,
172a.butActionNew>span.fa-list-alt, a.butActionNew>span.fa-list-alt:hover,
173span.butActionNew>span.fa-list-alt, span.butActionNew>span.fa-list-alt:hover,
174a.butActionNewRefused>span.fa-list-alt, a.butActionNewRefused>span.fa-list-alt:hover,
175span.butActionNewRefused>span.fa-list-alt, span.butActionNewRefused>span.fa-list-alt:hover
181a.butActionNew>span.fa, a.butActionNew>span.fa:hover,
182span.butActionNew>span.fa, span.butActionNew>span.fa:hover,
183a.butActionNewRefused>span.fa, a.butActionNewRefused>span.fa:hover,
184span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
186 padding-<?php echo $left; ?>: 6px;
190 webkit-box-shadow: none;
193.butAction:hover, .dropdown-holder.open > .butAction {
195 box-shadow: 0px 0px 6px rgba(50,50,50,0.4), inset 0px 0px 200px rgba(0,0,0,0.3);
198 text-decoration: underline;
199 box-shadow: unset !important;
202.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active, .buttonDelete {
203 background: var(--butactiondeletebg) !important;
205 color: #633 !important;
207.button.button-cancel:not(.buttongen), .button.button-cancel:link:not(.buttongen), .button.button-cancel:visited:not(.buttongen), .button.button-cancel:hover:not(.buttongen), .button.button-cancel:
active:not(.buttongen), .button.button-cancel:not(.buttongen) {
208 background: var(--butactioncancelbg) !important;
210 color: #333 !important;
213.butActionDelete:hover {
214 box-shadow: 0px 0px 4px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
216.button.button-cancel:hover:not(.buttongen) {
217 box-shadow: 0px 0px 4px 1px rgba(50, 50, 50, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
240 text-decoration: none !important;
241 text-transform: uppercase;
242 font-weight: bold !important;
244 cursor: not-allowed !important;
245 font-family: <?php print
$fontlist ?> !important;
246 display:
inline-block;
249 box-sizing: border-box;
250 -moz-box-sizing: border-box;
251 -webkit-box-sizing: border-box;
252 color: #999 !important;
254 border: 1px solid #ccc;
256.butActionNewRefused, .butActionNewRefused:link, .butActionNewRefused:visited, .butActionNewRefused:hover, .butActionNewRefused:
active {
257 text-decoration: none !important;
258 text-transform: uppercase;
259 font-weight: normal !important;
261 white-space: nowrap !important;
262 cursor: not-allowed !important;
263 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
264 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
265 font-family: <?php print
$fontlist ?> !important;
266 display:
inline-block;
269 color: #999 !important;
271 box-shadow: none !important;
274.butActionTransparent {
275 color: #222 ! important;
276 background-color: transparent ! important;
279.butActionLogin, .butActionLogin:link, .butActionLogin:visited, .butActionLogin:hover, .butActionLogin:
active {
280 background-color: rgb(<?php echo $colorbackhmenu1; ?>);
289.btnTitle, a.btnTitle {
290 display:
inline-block;
296 vertical-align: middle;
297 -ms-touch-action: manipulation;
298 touch-action: manipulation;
300 -webkit-
user-select: none;
301 -moz-
user-select: none;
302 -ms-
user-select: none;
304 box-shadow: var(--btncolorbg);
305 text-decoration: none;
310 color: var(--btncolortext);
314 border: 1px solid transparent;
317a.btnTitle.btnTitleSelected {
318 border: 1px solid #ccc;
322.btnTitle > .btnTitle-icon{
326.btnTitle > .btnTitle-label{
330.btnTitle:hover, a.btnTitle:hover {
331 border: 1px solid #bbb;
336 text-decoration: none;
345.btnTitle.refused, a.btnTitle.refused, .btnTitle.refused:hover, a.btnTitle.refused:hover {
348 background-color: #fbfbfb;
349 background: repeating-linear-gradient( 45deg, #ffffff, #f1f1f1 4px, #f1f1f1 4px, #f1f1f1 4px );
352.btnTitle:hover .btnTitle-label {
353 color: var(--btncolorborderhover);
355.btnTitle.reposition:not(.btnTitleSelected) {
356 background-color: unset;
357 border: 1px solid transparent;
360.btnTitle.refused .btnTitle-label, .btnTitle.refused:hover .btnTitle-label {
369div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle,
370table.table-fiche-title tr.toptitle td.col-center div.nowraponall a.btnTitle,
371table.table-fiche-title tr.titre td.col-center div.nowraponall a.btnTitle,
372table.table-fiche-title tr.toptitle td.col-right a.btnTitle,
373table.table-fiche-title tr.titre td.col-right a.btnTitle {
374 margin-<?php echo $left; ?>: 10px;
377.button-title-separator{
378 display:
inline-block;
389@media only screen and (max-width: <?php echo !
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC2') ? round($nbtopmenuentries * 69, 0) + 130 :
$conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC2; ?>px)
391 .butAction, .butActionRefused, .butActionDelete {
397@media only screen and (max-width: <?php echo !
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC3') ? round($nbtopmenuentries * 47, 0) + 130 :
$conf->global->THEME_ELDY_WITDHOFFSET_FOR_REDUC3; ?>px)
399 .butAction, .butActionRefused, .butActionDelete {
406@media only screen and (max-width: 767px)
408 .butAction, .butActionRefused, .butActionDelete {
413 .btnTitle, a.btnTitle {
414 display:
inline-block;
415 padding: 4px 4px 4px 4px;
418 .paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
419 font-size: unset !important;
425.butActionRefused, .butActionNewRefused, .btnTitle.refused {
426 display: none !important;
437 border: 1px solid #ddd;
441 text-decoration: none !important;
445 background-color: #ddd;
446 border: 1px solid #ddd;
456 display:
inline-block;
468 background: transparent;
471 color: var(--colortextlink, inherit);
476 -webkit-font-smoothing: inherit;
477 -moz-osx-font-smoothing: inherit;
480 -webkit-appearance: none;
483 transition: background 0.8s;
484 background: transparent radial-gradient(circle, transparent 1%, hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1) 1%, transparent 10%) center/15000%;
487button.btn-low-emphasis.--btn-icon{
491button.btn-low-emphasis :is(.fa, .fas){
492 color: var(--colortextlink, inherit);
496button.btn-low-emphasis:is(:focus,:hover) :is(.fa, .fas){
501 background-color: hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1);
502 background-size: 100%;
503 transition: background 0s;
507input.button-save, input.button-cancel {
509 margin-left: 8px !important;
510 margin-right: 8px !important;
515@media only screen and (max-width: 767px)
517 input.button-save, input.button-cancel {
519 margin-left: 4px !important;
520 margin-right: 4px !important;
getDolGlobalInt($key, $default=0)
Return a Dolibarr global constant int value.
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.
multi select button
0 = Do not include form tag and submit button -1 = Do not include form tag but include submit button
treeview li table
No Email.
$conf db user
Active Directory does not allow anonymous connections.