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 $fontsize
43@phan-var-force string $left
44@phan-var-force int<0,max> $nbtopmenuentries
45@phan-var-force string $right
46@phan-var-force string $textbutaction
53 --btncolortext:rgb(<?php print $colortextlink; ?>);
54 --btncolorbg: #fbfbfb;
55 --btncolorborderhover: none;
56 --btncolorborder: #FFF;
57 --butactiondeletebg: rgb(234,228,225);
58 --butactioncancelbg: #bbb;
59 --butactionbg: rgb(<?php print $butactionbg; ?>);
60 --textbutaction: rgb(<?php print $textbutaction; ?>);
65 print
"/* For dark mode */\n";
67 print
"@media (prefers-color-scheme: dark) {";
69 print
"@media not print {";
75 --btncolorbg: rgb(26,27,27);
76 --btncolorborderhover: #ffffff;
77 --btncolorborder: #2b2c2e;
78 --butactiondeletebg: rgb(252,84,91);
79 --butactioncancelbg: #888;
80 --butactionbg: rgb(173,140,79);
81 --textbutaction: rgb(255,255,255);
93div.tabsAction > a.butAction, div.tabsAction > a.butActionRefused, div.tabsAction > a.butActionDelete,
94div.tabsAction > span.butAction, div.tabsAction > span.butActionRefused, div.tabsAction > span.butActionDelete,
95div.tabsAction > div.divButAction > span.butAction,
96div.tabsAction > div.divButAction > span.butActionDelete,
97div.tabsAction > div.divButAction > span.butActionRefused,
98div.tabsAction > div.divButAction > a.butAction,
99div.tabsAction > div.divButAction > a.butActionDelete,
100div.tabsAction > div.divButAction > a.butActionRefused,
101div.tabsAction > .dropdown > .dropdown-toggle {
102 margin-bottom: 1.4em !important;
103 margin-right: 0px !important;
105div.tabsActionNoBottom > a.butAction, div.tabsActionNoBottom > a.butActionRefused {
106 margin-bottom: 0 !important;
109span.butAction, span.butActionDelete {
112.paginationafterarrows .butAction {
117 background: var(--butactionbg);
118 color: var(--textbutaction) !important;
121.butAction, .butActionRefused, .butActionDelete {
124:not(.center) > .butActionRefused:last-child, :not(.center) > .butAction:last-child, :not(.center) > .butActionDelete:last-child {
125 margin-<?php echo $right; ?>: 0px !important;
127.butAction, .butAction:link, .butAction:visited, .butAction:hover, .butAction:
active,
129.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active {
130 text-decoration: none;
131 text-transform: uppercase;
135 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.9'); ?>em;
136 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
137 display:
inline-block;
143.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
144 text-decoration: none;
145 text-transform: uppercase;
148 margin: 0em 0.3em 0 0.3em !important;
149 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em 0.3em;
151 display:
inline-block;
157 border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
158 display: inline-block;
159 padding: 0.4em <?php echo($dol_optimize_smallscreen ? '0.4' : '0.7'); ?>em;
160 margin: 0em <?php echo($dol_optimize_smallscreen ? '0.7' : '0.9'); ?>em;
163 vertical-align: middle;
165 color:
#333333 !important;
166 text-decoration: none !important;
167 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
168 background-color: #f5f5f5;
169 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
170 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
171 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
172 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
173 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
174 background-repeat: repeat-x;
175 border-color: #e6e6e6 #e6e6e6 #bfbfbf;
176 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
177 border: 1px solid
#bbbbbb;
178 border-bottom-color: #a2a2a2;
180 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
182.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
183 text-decoration: none;
185 display:
inline-block;
186 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
187 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
190 vertical-align: middle;
194a.butActionNew>span.fa-plus-circle { padding-left: 6px; font-size: 1.5em; }
195a.butActionNewRefused>span.fa-plus-circle { padding-left: 6px; font-size: 1.5em; }
197.tableforfieldcreate a.butActionNew>span.fa-plus-circle, .tableforfieldcreate a.butActionNew>span.fa-plus-circle:hover,
198.tableforfieldedit a.butActionNew>span.fa-plus-circle, .tableforfieldedit a.butActionNew>span.fa-plus-circle:hover,
199span.butActionNew>span.fa-plus-circle, span.butActionNew>span.fa-plus-circle:hover,
200a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-circle:hover,
201span.butActionNewRefused>span.fa-plus-circle, span.butActionNewRefused>span.fa-plus-circle:hover,
202a.butActionNew>span.fa-list-alt, a.butActionNew>span.fa-list-alt:hover,
203span.butActionNew>span.fa-list-alt, span.butActionNew>span.fa-list-alt:hover,
204a.butActionNewRefused>span.fa-list-alt, a.butActionNewRefused>span.fa-list-alt:hover,
205span.butActionNewRefused>span.fa-list-alt, span.butActionNewRefused>span.fa-list-alt:hover
212 color: #ffffff !important;
213 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
214 background-color: #006dcc;
215 background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
216 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
217 background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
218 background-image: -o-linear-gradient(top, #0088cc, #0044cc);
219 background-image: linear-gradient(to bottom, #0088cc, #0044cc);
220 background-repeat: repeat-x;
221 border-color: #0044cc #0044cc #002a80;
222 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
225 color: #666 !important;
230 background-color: #f5f5f5;
231 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
232 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
233 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
234 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
235 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
236 background-repeat: repeat-x
243a.butActionNew>span.fa, a.butActionNew>span.fa:hover,
244span.butActionNew>span.fa, span.butActionNew>span.fa:hover,
245a.butActionNewRefused>span.fa, a.butActionNewRefused>span.fa:hover,
246span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
248 padding-<?php echo $left; ?>: 6px;
255 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), inset 0px 0px 200px rgba(60,60,60,0.1);
258 text-decoration: underline;
259 box-shadow: unset !important;
262.butActionDanger, .butActionDanger:link, .butActionDanger:visited, .butActionDanger:hover, .butActionDanger:
active, .buttonDanger {
263 background: var(--butactiondeletebg);
264 color: #633 !important;
267.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active, .buttonDelete {
268 background: var(--butactiondeletebg);
269 color: #633 !important;
271.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) {
272 background: var(--butactioncancelbg) !important;
273 color: #888 !important;
276.butActionDelete:hover {
277 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
279.button.button-cancel:hover:not(.buttongen) {
280 box-shadow: 0px 0px 4px 1px rgba(50, 50, 50, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
284#action-clone .textbutton, .butAction.butActionClone .textbutton {
286 display:
inline-block;
288#action-clone .textbutton::before, .butAction.butActionClone .textbutton::before {
290 font-family:
"Font Awesome 5 Free";
297#action-delete .textbutton, .butAction.butActionDelete .textbutton {
299 display:
inline-block;
301#action-delete .textbutton::before, .butAction.butActionDelete .textbutton::before {
303 font-family:
"Font Awesome 5 Free";
309 text-decoration: none !important;
310 text-transform: uppercase;
311 font-weight: bold !important;
313 white-space: nowrap !important;
314 cursor: not-allowed !important;
315 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.9'); ?>em;
316 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
317 font-family: <?php print
$fontlist ?> !important;
318 display:
inline-block;
321 color: #999 !important;
323 border: 1px solid #ccc;
324 box-sizing: border-box;
325 -moz-box-sizing: border-box;
326 -webkit-box-sizing: border-box;
328.butActionNewRefused, .butActionNewRefused:link, .butActionNewRefused:visited, .butActionNewRefused:hover, .butActionNewRefused:
active {
329 text-decoration: none !important;
330 text-transform: uppercase;
331 font-weight: normal !important;
333 white-space: nowrap !important;
334 cursor: not-allowed !important;
335 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
336 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
337 font-family: <?php print
$fontlist ?> !important;
338 display:
inline-block;
341 color: #999 !important;
343 box-shadow: none !important;
346.butActionTransparent {
347 color: #222 ! important;
348 background-color: transparent ! important;
352 background-color: var(--butactionbg);
360div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle,
361table.table-fiche-title tr.titre td.col-center div.nowraponall a.btnTitle,
362table.table-fiche-title tr.titre td.col-right a.btnTitle {
363 margin-<?php echo $left; ?>: 10px;
366.btnTitle, a.btnTitle {
367 display:
inline-block;
374 vertical-align: middle;
375 -ms-touch-action: manipulation;
376 touch-action: manipulation;
378 -webkit-
user-select: none;
379 -moz-
user-select: none;
380 -ms-
user-select: none;
383 text-decoration: none;
387 color: var(--btncolortext);
391 border: 1px solid transparent;
394.btnTitle, a.btnTitle {
398a.btnTitle.btnTitleSelected {
399 border: 1px solid #ccc;
403.btnTitle > .btnTitle-icon{
407.btnTitle > .btnTitle-label{
411.btnTitle:hover, a.btnTitle:hover {
417 background-color: #eee;
419 text-decoration: none;
423.btnTitle.refused, a.btnTitle.refused, .btnTitle.refused:hover, a.btnTitle.refused:hover {
426 background-color: #fbfbfb;
427 background: repeating-linear-gradient( 45deg, #ffffff, #f1f1f1 4px, #f1f1f1 4px, #f1f1f1 4px );
430.btnTitle:hover .btnTitle-label{
431 color:var(--btncolorborderhover);
433div.pagination .btnTitle:hover .btnTitle-label{
434 color: rgb(<?php print $colortextlink; ?>);
437.btnTitle.refused .btnTitle-label, .btnTitle.refused:hover .btnTitle-label{
446.paginationafterarrows a.btnTitlePlus, .titre_right a.btnTitlePlus {
449 background-color: unset;
451.paginationafterarrows a.btnTitlePlus:hover, .titre_right a.btnTitlePlus:hover {
463@media only screen and (max-width: <?php echo
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC1', round($nbtopmenuentries * 90, 0) + 340); ?>px)
465 .btnTitle, a.btnTitle {
471@media only screen and (max-width: <?php echo !
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC2') ? round($nbtopmenuentries * 69, 0) + 130 :
getDolGlobalInt(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC2'); ?>px)
473 .butAction, .butActionRefused, .butActionDelete {
479@media only screen and (max-width: <?php echo !
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC3') ? round($nbtopmenuentries * 47, 0) + 130 :
getDolGlobalInt(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC3'); ?>px)
481 .butAction, .butActionRefused, .butActionDelete {
487@media only screen and (max-width: 767px)
489 .butAction, .butActionRefused, .butActionDelete {
494 .btnTitle, a.btnTitle {
495 display:
inline-block;
496 padding: 4px 4px 4px 4px;
499 .paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
500 font-size: unset !important;
506.butActionRefused, .butActionNewRefused, .btnTitle.refused {
507 display: none !important;
518 border: 1px solid #ddd;
522 text-decoration: none !important;
526 background-color: #ddd;
527 border: 1px solid #ddd;
538 display:
inline-block;
550 background: transparent;
553 color: var(--colortextlink, inherit);
558 -webkit-font-smoothing: inherit;
559 -moz-osx-font-smoothing: inherit;
562 -webkit-appearance: none;
565 transition: background 0.8s;
566 background: transparent radial-gradient(circle, transparent 1%, hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1) 1%, transparent 10%) center/15000%;
569button.btn-low-emphasis.--btn-icon{
573button.btn-low-emphasis :is(.fa, .fas){
574 color: var(--colortextlink, inherit);
578button.btn-low-emphasis:is(:focus,:hover) :is(.fa, .fas){
583 background-color: hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1);
584 background-size: 100%;
585 transition: background 0s;
589input.button-save, input.button-cancel {
591 margin-left: 8px !important;
592 margin-right: 8px !important;
597@media only screen and (max-width: 767px)
599 input.button-save, input.button-cancel {
601 margin-left: 4px !important;
602 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.