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;
145 font-family: inherit;
147 line-height: inherit;
149 box-sizing: content-box;
150 -webkit-appearance: none;
153.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
154 text-decoration: none;
155 text-transform: uppercase;
158 margin: 0em 0.3em 0 0.3em !important;
159 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em 0.3em;
161 display:
inline-block;
167 border-color: rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.15) rgba(0, 0, 0, 0.25);
168 display: inline-block;
169 padding: 0.4em <?php echo($dol_optimize_smallscreen ? '0.4' : '0.7'); ?>em;
170 margin: 0em <?php echo($dol_optimize_smallscreen ? '0.7' : '0.9'); ?>em;
173 vertical-align: middle;
175 color:
#333333 !important;
176 text-decoration: none !important;
177 text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
178 background-color: #f5f5f5;
179 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
180 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
181 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
182 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
183 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
184 background-repeat: repeat-x;
185 border-color: #e6e6e6 #e6e6e6 #bfbfbf;
186 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
187 border: 1px solid
#bbbbbb;
188 border-bottom-color: #a2a2a2;
190 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 1px 2px rgba(0, 0, 0, 0.05);
192.butActionNew, .butActionNewRefused, .butActionNew:link, .butActionNew:visited, .butActionNew:hover, .butActionNew:
active {
193 text-decoration: none;
195 display:
inline-block;
196 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
197 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
200 vertical-align: middle;
204a.butActionNew>span.fa-plus-circle { padding-left: 6px; font-size: 1.5em; }
205a.butActionNewRefused>span.fa-plus-circle { padding-left: 6px; font-size: 1.5em; }
207.tableforfieldcreate a.butActionNew>span.fa-plus-circle, .tableforfieldcreate a.butActionNew>span.fa-plus-circle:hover,
208.tableforfieldedit a.butActionNew>span.fa-plus-circle, .tableforfieldedit a.butActionNew>span.fa-plus-circle:hover,
209span.butActionNew>span.fa-plus-circle, span.butActionNew>span.fa-plus-circle:hover,
210a.butActionNewRefused>span.fa-plus-circle, a.butActionNewRefused>span.fa-plus-circle:hover,
211span.butActionNewRefused>span.fa-plus-circle, span.butActionNewRefused>span.fa-plus-circle:hover,
212a.butActionNew>span.fa-list-alt, a.butActionNew>span.fa-list-alt:hover,
213span.butActionNew>span.fa-list-alt, span.butActionNew>span.fa-list-alt:hover,
214a.butActionNewRefused>span.fa-list-alt, a.butActionNewRefused>span.fa-list-alt:hover,
215span.butActionNewRefused>span.fa-list-alt, span.butActionNewRefused>span.fa-list-alt:hover
222 color: #ffffff !important;
223 text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
224 background-color: #006dcc;
225 background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
226 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
227 background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
228 background-image: -o-linear-gradient(top, #0088cc, #0044cc);
229 background-image: linear-gradient(to bottom, #0088cc, #0044cc);
230 background-repeat: repeat-x;
231 border-color: #0044cc #0044cc #002a80;
232 border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
235 color: #666 !important;
240 background-color: #f5f5f5;
241 background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
242 background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
243 background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
244 background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
245 background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
246 background-repeat: repeat-x
253a.butActionNew>span.fa, a.butActionNew>span.fa:hover,
254span.butActionNew>span.fa, span.butActionNew>span.fa:hover,
255a.butActionNewRefused>span.fa, a.butActionNewRefused>span.fa:hover,
256span.butActionNewRefused>span.fa, span.butActionNewRefused>span.fa:hover
258 padding-<?php echo $left; ?>: 6px;
265 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), inset 0px 0px 200px rgba(60,60,60,0.1);
268 text-decoration: underline;
269 box-shadow: unset !important;
272.butActionDanger, .butActionDanger:link, .butActionDanger:visited, .butActionDanger:hover, .butActionDanger:
active, .buttonDanger {
273 background: var(--butactiondeletebg);
274 color: #633 !important;
277.butActionDelete, .butActionDelete:link, .butActionDelete:visited, .butActionDelete:hover, .butActionDelete:
active, .buttonDelete {
278 background: var(--butactiondeletebg);
279 color: #633 !important;
281.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) {
282 background: var(--butactioncancelbg) !important;
283 color: #888 !important;
286.butActionDelete:hover {
287 box-shadow: 0px 0px 6px 1px rgba(50, 50, 50, 0.4), 0px 0px 0px rgba(60,60,60,0.1);
289.button.button-cancel:hover:not(.buttongen) {
290 box-shadow: 0px 0px 4px 1px rgba(50, 50, 50, 0.2), 0px 0px 0px rgba(60,60,60,0.1);
294#action-clone .textbutton, .butAction.butActionClone .textbutton {
296 display:
inline-block;
298#action-clone .textbutton::before, .butAction.butActionClone .textbutton::before {
300 font-family:
"Font Awesome 5 Free";
304 display:
inline-block;
305 transform: rotate(90deg);
309#action-email .textbutton, .butAction.butActionEmail .textbutton {
311 display:
inline-block;
313#action-email .textbutton::before, .butAction.butActionEmail .textbutton::before {
315 font-family:
"Font Awesome 5 Free";
321#action-delete .textbutton, .butAction.butActionDelete .textbutton {
323 display:
inline-block;
325#action-delete .textbutton::before, .butAction.butActionDelete .textbutton::before {
327 font-family:
"Font Awesome 5 Free";
333 text-decoration: none !important;
334 text-transform: uppercase;
335 font-weight: bold !important;
337 cursor: not-allowed !important;
338 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.9'); ?>em;
339 padding: 0.6em <?php echo($dol_optimize_smallscreen ?
'0.6' :
'0.7'); ?>em;
340 font-family: <?php print
$fontlist ?> !important;
341 display:
inline-block;
344 color: #999 !important;
346 border: 1px solid #ccc;
347 box-sizing: border-box;
348 -moz-box-sizing: border-box;
349 -webkit-box-sizing: border-box;
351.butActionNewRefused, .butActionNewRefused:link, .butActionNewRefused:visited, .butActionNewRefused:hover, .butActionNewRefused:
active {
352 text-decoration: none !important;
353 text-transform: uppercase;
354 font-weight: normal !important;
356 white-space: nowrap !important;
357 cursor: not-allowed !important;
358 margin: 0em <?php echo($dol_optimize_smallscreen ?
'0.7' :
'0.9'); ?>em;
359 padding: 0.2em <?php echo($dol_optimize_smallscreen ?
'0.4' :
'0.7'); ?>em;
360 font-family: <?php print
$fontlist ?> !important;
361 display:
inline-block;
364 color: #999 !important;
366 box-shadow: none !important;
369.butActionTransparent {
370 color: #222 ! important;
371 background-color: transparent ! important;
375 background-color: var(--butactionbg);
383div.pagination li:first-child a.btnTitle, div.pagination li.paginationafterarrows a.btnTitle,
384table.table-fiche-title tr.titre td.col-center div.nowraponall a.btnTitle,
385table.table-fiche-title tr.titre td.col-right a.btnTitle {
386 margin-<?php echo $left; ?>: 10px;
389.btnTitle, a.btnTitle {
390 display:
inline-block;
397 vertical-align: middle;
398 -ms-touch-action: manipulation;
399 touch-action: manipulation;
401 -webkit-
user-select: none;
402 -moz-
user-select: none;
403 -ms-
user-select: none;
406 text-decoration: none;
410 color: var(--btncolortext);
414 border: 1px solid transparent;
417.btnTitle, a.btnTitle {
421a.btnTitle.btnTitleSelected {
422 border: 1px solid #ccc;
426.btnTitle > .btnTitle-icon{
430.btnTitle > .btnTitle-label{
434.btnTitle:hover, a.btnTitle:hover {
440 background-color: #eee;
442 text-decoration: none;
446.btnTitle.refused, a.btnTitle.refused, .btnTitle.refused:hover, a.btnTitle.refused:hover {
449 background-color: #fbfbfb;
450 background: repeating-linear-gradient( 45deg, #ffffff, #f1f1f1 4px, #f1f1f1 4px, #f1f1f1 4px );
453.btnTitle:hover .btnTitle-label{
454 color:var(--btncolorborderhover);
456div.pagination .btnTitle:hover .btnTitle-label{
457 color: rgb(<?php print $colortextlink; ?>);
460.btnTitle.refused .btnTitle-label, .btnTitle.refused:hover .btnTitle-label{
469.paginationafterarrows a.btnTitlePlus, .titre_right a.btnTitlePlus {
472 background-color: unset;
474.paginationafterarrows a.btnTitlePlus:hover, .titre_right a.btnTitlePlus:hover {
486@media only screen and (max-width: <?php echo
getDolGlobalString(
'THEME_ELDY_WITDHOFFSET_FOR_REDUC1', round($nbtopmenuentries * 90, 0) + 340); ?>px)
488 .btnTitle, a.btnTitle {
494@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)
496 .butAction, .butActionRefused, .butActionDelete {
502@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)
504 .butAction, .butActionRefused, .butActionDelete {
510@media only screen and (max-width: 767px)
512 .butAction, .butActionRefused, .butActionDelete {
517 .btnTitle, a.btnTitle {
518 display:
inline-block;
519 padding: 4px 4px 4px 4px;
522 .paginationafterarrows a.btnTitlePlus:hover span:before, .titre_right a.btnTitlePlus:hover span:before {
523 font-size: unset !important;
529.butActionRefused, .butActionNewRefused, .btnTitle.refused {
530 display: none !important;
541 border: 1px solid #ddd;
545 text-decoration: none !important;
549 background-color: #ddd;
550 border: 1px solid #ddd;
561 display:
inline-block;
573 background: transparent;
576 color: var(--colortextlink, inherit);
581 -webkit-font-smoothing: inherit;
582 -moz-osx-font-smoothing: inherit;
585 -webkit-appearance: none;
588 transition: background 0.8s;
589 background: transparent radial-gradient(circle, transparent 1%, hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1) 1%, transparent 10%) center/15000%;
592button.btn-low-emphasis.--btn-icon{
596button.btn-low-emphasis :is(.fa, .fas){
597 color: var(--colortextlink, inherit);
601button.btn-low-emphasis:is(:focus,:hover) :is(.fa, .fas){
606 background-color: hsla(var(--colortextlink-h),var(--colortextlink-s) ,var(--colortextlink-l) , 0.1);
607 background-size: 100%;
608 transition: background 0s;
612input.button-save, input.button-cancel {
614 margin-left: 8px !important;
615 margin-right: 8px !important;
620@media only screen and (max-width: 767px)
622 input.button-save, input.button-cancel {
624 margin-left: 4px !important;
625 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.
$conf db user
Active Directory does not allow anonymous connections.
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.